1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 21:00:16 +00:00

Update generated code

This commit is contained in:
Darren Shepherd
2018-03-26 18:11:11 -07:00
parent a6f730e83b
commit 329e9047b2
74 changed files with 130 additions and 130 deletions

View File

@@ -43,7 +43,7 @@ type ActiveDirectoryConfig struct {
AllowedPrincipalIDs []string `json:"allowedPrincipalIds,omitempty" yaml:"allowedPrincipalIds,omitempty"`
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
Certificate string `json:"certificate,omitempty" yaml:"certificate,omitempty"`
ConnectionTimeout *int64 `json:"connectionTimeout,omitempty" yaml:"connectionTimeout,omitempty"`
ConnectionTimeout int64 `json:"connectionTimeout,omitempty" yaml:"connectionTimeout,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
DefaultLoginDomain string `json:"defaultLoginDomain,omitempty" yaml:"defaultLoginDomain,omitempty"`
@@ -58,14 +58,14 @@ type ActiveDirectoryConfig struct {
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
Port *int64 `json:"port,omitempty" yaml:"port,omitempty"`
Port int64 `json:"port,omitempty" yaml:"port,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
Servers []string `json:"servers,omitempty" yaml:"servers,omitempty"`
ServiceAccountPassword string `json:"serviceAccountPassword,omitempty" yaml:"serviceAccountPassword,omitempty"`
ServiceAccountUsername string `json:"serviceAccountUsername,omitempty" yaml:"serviceAccountUsername,omitempty"`
TLS bool `json:"tls,omitempty" yaml:"tls,omitempty"`
Type string `json:"type,omitempty" yaml:"type,omitempty"`
UserDisabledBitMask *int64 `json:"userDisabledBitMask,omitempty" yaml:"userDisabledBitMask,omitempty"`
UserDisabledBitMask int64 `json:"userDisabledBitMask,omitempty" yaml:"userDisabledBitMask,omitempty"`
UserEnabledAttribute string `json:"userEnabledAttribute,omitempty" yaml:"userEnabledAttribute,omitempty"`
UserLoginAttribute string `json:"userLoginAttribute,omitempty" yaml:"userLoginAttribute,omitempty"`
UserNameAttribute string `json:"userNameAttribute,omitempty" yaml:"userNameAttribute,omitempty"`

View File

@@ -29,11 +29,11 @@ type AzureKubernetesServiceConfig struct {
BaseURL string `json:"baseUrl,omitempty" yaml:"baseUrl,omitempty"`
ClientID string `json:"clientId,omitempty" yaml:"clientId,omitempty"`
ClientSecret string `json:"clientSecret,omitempty" yaml:"clientSecret,omitempty"`
Count *int64 `json:"count,omitempty" yaml:"count,omitempty"`
Count int64 `json:"count,omitempty" yaml:"count,omitempty"`
KubernetesVersion string `json:"kubernetesVersion,omitempty" yaml:"kubernetesVersion,omitempty"`
Location string `json:"location,omitempty" yaml:"location,omitempty"`
MasterDNSPrefix string `json:"masterDnsPrefix,omitempty" yaml:"masterDnsPrefix,omitempty"`
OsDiskSizeGB *int64 `json:"osDiskSizeGb,omitempty" yaml:"osDiskSizeGb,omitempty"`
OsDiskSizeGB int64 `json:"osDiskSizeGb,omitempty" yaml:"osDiskSizeGb,omitempty"`
ResourceGroup string `json:"resourceGroup,omitempty" yaml:"resourceGroup,omitempty"`
SSHPublicKeyContents string `json:"sshPublicKeyContents,omitempty" yaml:"sshPublicKeyContents,omitempty"`
SubscriptionID string `json:"subscriptionId,omitempty" yaml:"subscriptionId,omitempty"`

View File

@@ -38,14 +38,14 @@ type ClusterAlert struct {
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
InitialWaitSeconds *int64 `json:"initialWaitSeconds,omitempty" yaml:"initialWaitSeconds,omitempty"`
InitialWaitSeconds int64 `json:"initialWaitSeconds,omitempty" yaml:"initialWaitSeconds,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
Recipients []Recipient `json:"recipients,omitempty" yaml:"recipients,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
RepeatIntervalSeconds *int64 `json:"repeatIntervalSeconds,omitempty" yaml:"repeatIntervalSeconds,omitempty"`
RepeatIntervalSeconds int64 `json:"repeatIntervalSeconds,omitempty" yaml:"repeatIntervalSeconds,omitempty"`
Severity string `json:"severity,omitempty" yaml:"severity,omitempty"`
State string `json:"state,omitempty" yaml:"state,omitempty"`
TargetEvent *TargetEvent `json:"targetEvent,omitempty" yaml:"targetEvent,omitempty"`

View File

@@ -18,9 +18,9 @@ type ClusterAlertSpec struct {
ClusterId string `json:"clusterId,omitempty" yaml:"clusterId,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
InitialWaitSeconds *int64 `json:"initialWaitSeconds,omitempty" yaml:"initialWaitSeconds,omitempty"`
InitialWaitSeconds int64 `json:"initialWaitSeconds,omitempty" yaml:"initialWaitSeconds,omitempty"`
Recipients []Recipient `json:"recipients,omitempty" yaml:"recipients,omitempty"`
RepeatIntervalSeconds *int64 `json:"repeatIntervalSeconds,omitempty" yaml:"repeatIntervalSeconds,omitempty"`
RepeatIntervalSeconds int64 `json:"repeatIntervalSeconds,omitempty" yaml:"repeatIntervalSeconds,omitempty"`
Severity string `json:"severity,omitempty" yaml:"severity,omitempty"`
TargetEvent *TargetEvent `json:"targetEvent,omitempty" yaml:"targetEvent,omitempty"`
TargetNode *TargetNode `json:"targetNode,omitempty" yaml:"targetNode,omitempty"`

View File

@@ -30,7 +30,7 @@ type ClusterEvent struct {
types.Resource
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
ClusterId string `json:"clusterId,omitempty" yaml:"clusterId,omitempty"`
Count *int64 `json:"count,omitempty" yaml:"count,omitempty"`
Count int64 `json:"count,omitempty" yaml:"count,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
EventType string `json:"eventType,omitempty" yaml:"eventType,omitempty"`

View File

@@ -41,7 +41,7 @@ type ClusterLogging struct {
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
OutputFlushInterval *int64 `json:"outputFlushInterval,omitempty" yaml:"outputFlushInterval,omitempty"`
OutputFlushInterval int64 `json:"outputFlushInterval,omitempty" yaml:"outputFlushInterval,omitempty"`
OutputTags map[string]string `json:"outputTags,omitempty" yaml:"outputTags,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`

View File

@@ -19,7 +19,7 @@ type ClusterLoggingSpec struct {
ElasticsearchConfig *ElasticsearchConfig `json:"elasticsearchConfig,omitempty" yaml:"elasticsearchConfig,omitempty"`
EmbeddedConfig *EmbeddedConfig `json:"embeddedConfig,omitempty" yaml:"embeddedConfig,omitempty"`
KafkaConfig *KafkaConfig `json:"kafkaConfig,omitempty" yaml:"kafkaConfig,omitempty"`
OutputFlushInterval *int64 `json:"outputFlushInterval,omitempty" yaml:"outputFlushInterval,omitempty"`
OutputFlushInterval int64 `json:"outputFlushInterval,omitempty" yaml:"outputFlushInterval,omitempty"`
OutputTags map[string]string `json:"outputTags,omitempty" yaml:"outputTags,omitempty"`
SplunkConfig *SplunkConfig `json:"splunkConfig,omitempty" yaml:"splunkConfig,omitempty"`
SyslogConfig *SyslogConfig `json:"syslogConfig,omitempty" yaml:"syslogConfig,omitempty"`

View File

@@ -8,5 +8,5 @@ const (
type ContainerImage struct {
Names []string `json:"names,omitempty" yaml:"names,omitempty"`
SizeBytes *int64 `json:"sizeBytes,omitempty" yaml:"sizeBytes,omitempty"`
SizeBytes int64 `json:"sizeBytes,omitempty" yaml:"sizeBytes,omitempty"`
}

View File

@@ -6,5 +6,5 @@ const (
)
type CPUInfo struct {
Count *int64 `json:"count,omitempty" yaml:"count,omitempty"`
Count int64 `json:"count,omitempty" yaml:"count,omitempty"`
}

View File

@@ -6,5 +6,5 @@ const (
)
type DaemonEndpoint struct {
Port *int64 `json:"Port,omitempty" yaml:"Port,omitempty"`
Port int64 `json:"Port,omitempty" yaml:"Port,omitempty"`
}

View File

@@ -24,10 +24,10 @@ type Field struct {
Default *Values `json:"default,omitempty" yaml:"default,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
InvalidChars string `json:"invalidChars,omitempty" yaml:"invalidChars,omitempty"`
Max *int64 `json:"max,omitempty" yaml:"max,omitempty"`
MaxLength *int64 `json:"maxLength,omitempty" yaml:"maxLength,omitempty"`
Min *int64 `json:"min,omitempty" yaml:"min,omitempty"`
MinLength *int64 `json:"minLength,omitempty" yaml:"minLength,omitempty"`
Max int64 `json:"max,omitempty" yaml:"max,omitempty"`
MaxLength int64 `json:"maxLength,omitempty" yaml:"maxLength,omitempty"`
Min int64 `json:"min,omitempty" yaml:"min,omitempty"`
MinLength int64 `json:"minLength,omitempty" yaml:"minLength,omitempty"`
Nullable bool `json:"nullable,omitempty" yaml:"nullable,omitempty"`
Options []string `json:"options,omitempty" yaml:"options,omitempty"`
Required bool `json:"required,omitempty" yaml:"required,omitempty"`

View File

@@ -29,7 +29,7 @@ type GoogleKubernetesEngineConfig struct {
ClusterIpv4Cidr string `json:"clusterIpv4Cidr,omitempty" yaml:"clusterIpv4Cidr,omitempty"`
Credential string `json:"credential,omitempty" yaml:"credential,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
DiskSizeGb *int64 `json:"diskSizeGb,omitempty" yaml:"diskSizeGb,omitempty"`
DiskSizeGb int64 `json:"diskSizeGb,omitempty" yaml:"diskSizeGb,omitempty"`
EnableAlphaFeature bool `json:"enableAlphaFeature,omitempty" yaml:"enableAlphaFeature,omitempty"`
HTTPLoadBalancing bool `json:"httpLoadBalancing,omitempty" yaml:"httpLoadBalancing,omitempty"`
HorizontalPodAutoscaling bool `json:"horizontalPodAutoscaling,omitempty" yaml:"horizontalPodAutoscaling,omitempty"`
@@ -42,7 +42,7 @@ type GoogleKubernetesEngineConfig struct {
MasterVersion string `json:"masterVersion,omitempty" yaml:"masterVersion,omitempty"`
Network string `json:"network,omitempty" yaml:"network,omitempty"`
NetworkPolicyConfig bool `json:"networkPolicyConfig,omitempty" yaml:"networkPolicyConfig,omitempty"`
NodeCount *int64 `json:"nodeCount,omitempty" yaml:"nodeCount,omitempty"`
NodeCount int64 `json:"nodeCount,omitempty" yaml:"nodeCount,omitempty"`
NodeVersion string `json:"nodeVersion,omitempty" yaml:"nodeVersion,omitempty"`
ProjectID string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
SubNetwork string `json:"subNetwork,omitempty" yaml:"subNetwork,omitempty"`

View File

@@ -7,6 +7,6 @@ const (
)
type HostPortRange struct {
Max *int64 `json:"max,omitempty" yaml:"max,omitempty"`
Min *int64 `json:"min,omitempty" yaml:"min,omitempty"`
Max int64 `json:"max,omitempty" yaml:"max,omitempty"`
Min int64 `json:"min,omitempty" yaml:"min,omitempty"`
}

View File

@@ -7,6 +7,6 @@ const (
)
type IDRange struct {
Max *int64 `json:"max,omitempty" yaml:"max,omitempty"`
Min *int64 `json:"min,omitempty" yaml:"min,omitempty"`
Max int64 `json:"max,omitempty" yaml:"max,omitempty"`
Min int64 `json:"min,omitempty" yaml:"min,omitempty"`
}

View File

@@ -54,7 +54,7 @@ type ListenConfig struct {
IssuedAt string `json:"issuedAt,omitempty" yaml:"issuedAt,omitempty"`
Issuer string `json:"issuer,omitempty" yaml:"issuer,omitempty"`
Key string `json:"key,omitempty" yaml:"key,omitempty"`
KeySize *int64 `json:"keySize,omitempty" yaml:"keySize,omitempty"`
KeySize int64 `json:"keySize,omitempty" yaml:"keySize,omitempty"`
KnownIPs []string `json:"knownIps,omitempty" yaml:"knownIps,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Mode string `json:"mode,omitempty" yaml:"mode,omitempty"`
@@ -65,7 +65,7 @@ type ListenConfig struct {
SubjectAlternativeNames []string `json:"subjectAlternativeNames,omitempty" yaml:"subjectAlternativeNames,omitempty"`
TOS []string `json:"tos,omitempty" yaml:"tos,omitempty"`
Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
Version *int64 `json:"version,omitempty" yaml:"version,omitempty"`
Version int64 `json:"version,omitempty" yaml:"version,omitempty"`
}
type ListenConfigCollection struct {
types.Collection

View File

@@ -6,5 +6,5 @@ const (
)
type MemoryInfo struct {
MemTotalKiB *int64 `json:"memTotalKiB,omitempty" yaml:"memTotalKiB,omitempty"`
MemTotalKiB int64 `json:"memTotalKiB,omitempty" yaml:"memTotalKiB,omitempty"`
}

View File

@@ -48,7 +48,7 @@ type NodePool struct {
NodeLabels map[string]string `json:"nodeLabels,omitempty" yaml:"nodeLabels,omitempty"`
NodeTemplateId string `json:"nodeTemplateId,omitempty" yaml:"nodeTemplateId,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
Quantity *int64 `json:"quantity,omitempty" yaml:"quantity,omitempty"`
Quantity int64 `json:"quantity,omitempty" yaml:"quantity,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
State string `json:"state,omitempty" yaml:"state,omitempty"`
Status *NodePoolStatus `json:"status,omitempty" yaml:"status,omitempty"`

View File

@@ -23,6 +23,6 @@ type NodePoolSpec struct {
NodeAnnotations map[string]string `json:"nodeAnnotations,omitempty" yaml:"nodeAnnotations,omitempty"`
NodeLabels map[string]string `json:"nodeLabels,omitempty" yaml:"nodeLabels,omitempty"`
NodeTemplateId string `json:"nodeTemplateId,omitempty" yaml:"nodeTemplateId,omitempty"`
Quantity *int64 `json:"quantity,omitempty" yaml:"quantity,omitempty"`
Quantity int64 `json:"quantity,omitempty" yaml:"quantity,omitempty"`
Worker bool `json:"worker,omitempty" yaml:"worker,omitempty"`
}

View File

@@ -46,7 +46,7 @@ type Pipeline struct {
LastStarted string `json:"lastStarted,omitempty" yaml:"lastStarted,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
NextRun *int64 `json:"nextRun,omitempty" yaml:"nextRun,omitempty"`
NextRun int64 `json:"nextRun,omitempty" yaml:"nextRun,omitempty"`
NextStart string `json:"nextStart,omitempty" yaml:"nextStart,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
PipelineState string `json:"pipelineState,omitempty" yaml:"pipelineState,omitempty"`

View File

@@ -47,7 +47,7 @@ type PipelineExecution struct {
PipelineId string `json:"pipelineId,omitempty" yaml:"pipelineId,omitempty"`
ProjectId string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
Run *int64 `json:"run,omitempty" yaml:"run,omitempty"`
Run int64 `json:"run,omitempty" yaml:"run,omitempty"`
Stages []StageStatus `json:"stages,omitempty" yaml:"stages,omitempty"`
Started string `json:"started,omitempty" yaml:"started,omitempty"`
State string `json:"state,omitempty" yaml:"state,omitempty"`

View File

@@ -29,7 +29,7 @@ type PipelineExecutionLog struct {
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Line *int64 `json:"line,omitempty" yaml:"line,omitempty"`
Line int64 `json:"line,omitempty" yaml:"line,omitempty"`
Message string `json:"message,omitempty" yaml:"message,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
@@ -37,8 +37,8 @@ type PipelineExecutionLog struct {
PipelineExecutionId string `json:"pipelineExecutionId,omitempty" yaml:"pipelineExecutionId,omitempty"`
ProjectId string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
Stage *int64 `json:"stage,omitempty" yaml:"stage,omitempty"`
Step *int64 `json:"step,omitempty" yaml:"step,omitempty"`
Stage int64 `json:"stage,omitempty" yaml:"stage,omitempty"`
Step int64 `json:"step,omitempty" yaml:"step,omitempty"`
Uuid string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}
type PipelineExecutionLogCollection struct {

View File

@@ -10,9 +10,9 @@ const (
)
type PipelineExecutionLogSpec struct {
Line *int64 `json:"line,omitempty" yaml:"line,omitempty"`
Line int64 `json:"line,omitempty" yaml:"line,omitempty"`
Message string `json:"message,omitempty" yaml:"message,omitempty"`
PipelineExecutionId string `json:"pipelineExecutionId,omitempty" yaml:"pipelineExecutionId,omitempty"`
Stage *int64 `json:"stage,omitempty" yaml:"stage,omitempty"`
Step *int64 `json:"step,omitempty" yaml:"step,omitempty"`
Stage int64 `json:"stage,omitempty" yaml:"stage,omitempty"`
Step int64 `json:"step,omitempty" yaml:"step,omitempty"`
}

View File

@@ -12,7 +12,7 @@ const (
type PipelineExecutionSpec struct {
Pipeline *Pipeline `json:"pipeline,omitempty" yaml:"pipeline,omitempty"`
PipelineId string `json:"pipelineId,omitempty" yaml:"pipelineId,omitempty"`
Run *int64 `json:"run,omitempty" yaml:"run,omitempty"`
Run int64 `json:"run,omitempty" yaml:"run,omitempty"`
TriggerUserId string `json:"triggerUserId,omitempty" yaml:"triggerUserId,omitempty"`
TriggeredBy string `json:"triggeredBy,omitempty" yaml:"triggeredBy,omitempty"`
}

View File

@@ -17,7 +17,7 @@ type PipelineStatus struct {
LastExecutionID string `json:"lastExecutionId,omitempty" yaml:"lastExecutionId,omitempty"`
LastRunState string `json:"lastRunState,omitempty" yaml:"lastRunState,omitempty"`
LastStarted string `json:"lastStarted,omitempty" yaml:"lastStarted,omitempty"`
NextRun *int64 `json:"nextRun,omitempty" yaml:"nextRun,omitempty"`
NextRun int64 `json:"nextRun,omitempty" yaml:"nextRun,omitempty"`
NextStart string `json:"nextStart,omitempty" yaml:"nextStart,omitempty"`
PipelineState string `json:"pipelineState,omitempty" yaml:"pipelineState,omitempty"`
SourceCodeCredential *SourceCodeCredential `json:"sourceCodeCredential,omitempty" yaml:"sourceCodeCredential,omitempty"`

View File

@@ -36,7 +36,7 @@ type ProjectAlert struct {
Created string `json:"created,omitempty" yaml:"created,omitempty"`
CreatorID string `json:"creatorId,omitempty" yaml:"creatorId,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
InitialWaitSeconds *int64 `json:"initialWaitSeconds,omitempty" yaml:"initialWaitSeconds,omitempty"`
InitialWaitSeconds int64 `json:"initialWaitSeconds,omitempty" yaml:"initialWaitSeconds,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
@@ -44,7 +44,7 @@ type ProjectAlert struct {
ProjectId string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
Recipients []Recipient `json:"recipients,omitempty" yaml:"recipients,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
RepeatIntervalSeconds *int64 `json:"repeatIntervalSeconds,omitempty" yaml:"repeatIntervalSeconds,omitempty"`
RepeatIntervalSeconds int64 `json:"repeatIntervalSeconds,omitempty" yaml:"repeatIntervalSeconds,omitempty"`
Severity string `json:"severity,omitempty" yaml:"severity,omitempty"`
State string `json:"state,omitempty" yaml:"state,omitempty"`
TargetPod *TargetPod `json:"targetPod,omitempty" yaml:"targetPod,omitempty"`

View File

@@ -16,10 +16,10 @@ const (
type ProjectAlertSpec struct {
Description string `json:"description,omitempty" yaml:"description,omitempty"`
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
InitialWaitSeconds *int64 `json:"initialWaitSeconds,omitempty" yaml:"initialWaitSeconds,omitempty"`
InitialWaitSeconds int64 `json:"initialWaitSeconds,omitempty" yaml:"initialWaitSeconds,omitempty"`
ProjectId string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
Recipients []Recipient `json:"recipients,omitempty" yaml:"recipients,omitempty"`
RepeatIntervalSeconds *int64 `json:"repeatIntervalSeconds,omitempty" yaml:"repeatIntervalSeconds,omitempty"`
RepeatIntervalSeconds int64 `json:"repeatIntervalSeconds,omitempty" yaml:"repeatIntervalSeconds,omitempty"`
Severity string `json:"severity,omitempty" yaml:"severity,omitempty"`
TargetPod *TargetPod `json:"targetPod,omitempty" yaml:"targetPod,omitempty"`
TargetWorkload *TargetWorkload `json:"targetWorkload,omitempty" yaml:"targetWorkload,omitempty"`

View File

@@ -38,7 +38,7 @@ type ProjectLogging struct {
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty" yaml:"namespaceId,omitempty"`
OutputFlushInterval *int64 `json:"outputFlushInterval,omitempty" yaml:"outputFlushInterval,omitempty"`
OutputFlushInterval int64 `json:"outputFlushInterval,omitempty" yaml:"outputFlushInterval,omitempty"`
OutputTags map[string]string `json:"outputTags,omitempty" yaml:"outputTags,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
ProjectId string `json:"projectId,omitempty" yaml:"projectId,omitempty"`

View File

@@ -16,7 +16,7 @@ type ProjectLoggingSpec struct {
DisplayName string `json:"displayName,omitempty" yaml:"displayName,omitempty"`
ElasticsearchConfig *ElasticsearchConfig `json:"elasticsearchConfig,omitempty" yaml:"elasticsearchConfig,omitempty"`
KafkaConfig *KafkaConfig `json:"kafkaConfig,omitempty" yaml:"kafkaConfig,omitempty"`
OutputFlushInterval *int64 `json:"outputFlushInterval,omitempty" yaml:"outputFlushInterval,omitempty"`
OutputFlushInterval int64 `json:"outputFlushInterval,omitempty" yaml:"outputFlushInterval,omitempty"`
OutputTags map[string]string `json:"outputTags,omitempty" yaml:"outputTags,omitempty"`
ProjectId string `json:"projectId,omitempty" yaml:"projectId,omitempty"`
SplunkConfig *SplunkConfig `json:"splunkConfig,omitempty" yaml:"splunkConfig,omitempty"`

View File

@@ -14,7 +14,7 @@ type PublicEndpoint struct {
Address string `json:"address,omitempty" yaml:"address,omitempty"`
NodeId string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"`
PodId string `json:"podId,omitempty" yaml:"podId,omitempty"`
Port *int64 `json:"port,omitempty" yaml:"port,omitempty"`
Port int64 `json:"port,omitempty" yaml:"port,omitempty"`
Protocol string `json:"protocol,omitempty" yaml:"protocol,omitempty"`
ServiceId string `json:"serviceId,omitempty" yaml:"serviceId,omitempty"`
}

View File

@@ -24,10 +24,10 @@ type Question struct {
Group string `json:"group,omitempty" yaml:"group,omitempty"`
InvalidChars string `json:"invalidChars,omitempty" yaml:"invalidChars,omitempty"`
Label string `json:"label,omitempty" yaml:"label,omitempty"`
Max *int64 `json:"max,omitempty" yaml:"max,omitempty"`
MaxLength *int64 `json:"maxLength,omitempty" yaml:"maxLength,omitempty"`
Min *int64 `json:"min,omitempty" yaml:"min,omitempty"`
MinLength *int64 `json:"minLength,omitempty" yaml:"minLength,omitempty"`
Max int64 `json:"max,omitempty" yaml:"max,omitempty"`
MaxLength int64 `json:"maxLength,omitempty" yaml:"maxLength,omitempty"`
Min int64 `json:"min,omitempty" yaml:"min,omitempty"`
MinLength int64 `json:"minLength,omitempty" yaml:"minLength,omitempty"`
Options []string `json:"options,omitempty" yaml:"options,omitempty"`
Required bool `json:"required,omitempty" yaml:"required,omitempty"`
Type string `json:"type,omitempty" yaml:"type,omitempty"`

View File

@@ -14,7 +14,7 @@ type SMTPConfig struct {
DefaultRecipient string `json:"defaultRecipient,omitempty" yaml:"defaultRecipient,omitempty"`
Host string `json:"host,omitempty" yaml:"host,omitempty"`
Password string `json:"password,omitempty" yaml:"password,omitempty"`
Port *int64 `json:"port,omitempty" yaml:"port,omitempty"`
Port int64 `json:"port,omitempty" yaml:"port,omitempty"`
TLS bool `json:"tls,omitempty" yaml:"tls,omitempty"`
Username string `json:"username,omitempty" yaml:"username,omitempty"`
}

View File

@@ -14,7 +14,7 @@ const (
type Status struct {
APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
Code *int64 `json:"code,omitempty" yaml:"code,omitempty"`
Code int64 `json:"code,omitempty" yaml:"code,omitempty"`
Details *StatusDetails `json:"details,omitempty" yaml:"details,omitempty"`
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
ListMeta *ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`

View File

@@ -15,6 +15,6 @@ type StatusDetails struct {
Group string `json:"group,omitempty" yaml:"group,omitempty"`
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
RetryAfterSeconds *int64 `json:"retryAfterSeconds,omitempty" yaml:"retryAfterSeconds,omitempty"`
RetryAfterSeconds int64 `json:"retryAfterSeconds,omitempty" yaml:"retryAfterSeconds,omitempty"`
UID string `json:"uid,omitempty" yaml:"uid,omitempty"`
}

View File

@@ -12,5 +12,5 @@ type Step struct {
PublishImageConfig *PublishImageConfig `json:"publishImageConfig,omitempty" yaml:"publishImageConfig,omitempty"`
RunScriptConfig *RunScriptConfig `json:"runScriptConfig,omitempty" yaml:"runScriptConfig,omitempty"`
SourceCodeConfig *SourceCodeConfig `json:"sourceCodeConfig,omitempty" yaml:"sourceCodeConfig,omitempty"`
Timeout *int64 `json:"timeout,omitempty" yaml:"timeout,omitempty"`
Timeout int64 `json:"timeout,omitempty" yaml:"timeout,omitempty"`
}

View File

@@ -10,9 +10,9 @@ const (
)
type TargetNode struct {
CPUThreshold *int64 `json:"cpuThreshold,omitempty" yaml:"cpuThreshold,omitempty"`
CPUThreshold int64 `json:"cpuThreshold,omitempty" yaml:"cpuThreshold,omitempty"`
Condition string `json:"condition,omitempty" yaml:"condition,omitempty"`
MemThreshold *int64 `json:"memThreshold,omitempty" yaml:"memThreshold,omitempty"`
MemThreshold int64 `json:"memThreshold,omitempty" yaml:"memThreshold,omitempty"`
NodeId string `json:"nodeId,omitempty" yaml:"nodeId,omitempty"`
Selector map[string]string `json:"selector,omitempty" yaml:"selector,omitempty"`
}

View File

@@ -11,6 +11,6 @@ const (
type TargetPod struct {
Condition string `json:"condition,omitempty" yaml:"condition,omitempty"`
PodId string `json:"podId,omitempty" yaml:"podId,omitempty"`
RestartIntervalSeconds *int64 `json:"restartIntervalSeconds,omitempty" yaml:"restartIntervalSeconds,omitempty"`
RestartTimes *int64 `json:"restartTimes,omitempty" yaml:"restartTimes,omitempty"`
RestartIntervalSeconds int64 `json:"restartIntervalSeconds,omitempty" yaml:"restartIntervalSeconds,omitempty"`
RestartTimes int64 `json:"restartTimes,omitempty" yaml:"restartTimes,omitempty"`
}

View File

@@ -8,7 +8,7 @@ const (
)
type TargetWorkload struct {
AvailablePercentage *int64 `json:"availablePercentage,omitempty" yaml:"availablePercentage,omitempty"`
AvailablePercentage int64 `json:"availablePercentage,omitempty" yaml:"availablePercentage,omitempty"`
Selector map[string]string `json:"selector,omitempty" yaml:"selector,omitempty"`
WorkloadID string `json:"workloadId,omitempty" yaml:"workloadId,omitempty"`
}

View File

@@ -45,7 +45,7 @@ type Token struct {
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
ProviderInfo map[string]string `json:"providerInfo,omitempty" yaml:"providerInfo,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
TTLMillis *int64 `json:"ttl,omitempty" yaml:"ttl,omitempty"`
TTLMillis int64 `json:"ttl,omitempty" yaml:"ttl,omitempty"`
Token string `json:"token,omitempty" yaml:"token,omitempty"`
UserID string `json:"userId,omitempty" yaml:"userId,omitempty"`
UserPrincipal string `json:"userPrincipal,omitempty" yaml:"userPrincipal,omitempty"`

View File

@@ -10,7 +10,7 @@ const (
type Values struct {
BoolValue bool `json:"boolValue,omitempty" yaml:"boolValue,omitempty"`
IntValue *int64 `json:"intValue,omitempty" yaml:"intValue,omitempty"`
IntValue int64 `json:"intValue,omitempty" yaml:"intValue,omitempty"`
StringSliceValue []string `json:"stringSliceValue,omitempty" yaml:"stringSliceValue,omitempty"`
StringValue string `json:"stringValue,omitempty" yaml:"stringValue,omitempty"`
}

View File

@@ -13,6 +13,6 @@ type BasicLogin struct {
Description string `json:"description,omitempty" yaml:"description,omitempty"`
Password string `json:"password,omitempty" yaml:"password,omitempty"`
ResponseType string `json:"responseType,omitempty" yaml:"responseType,omitempty"`
TTLMillis *int64 `json:"ttl,omitempty" yaml:"ttl,omitempty"`
TTLMillis int64 `json:"ttl,omitempty" yaml:"ttl,omitempty"`
Username string `json:"username,omitempty" yaml:"username,omitempty"`
}

View File

@@ -12,5 +12,5 @@ type GithubLogin struct {
Code string `json:"code,omitempty" yaml:"code,omitempty"`
Description string `json:"description,omitempty" yaml:"description,omitempty"`
ResponseType string `json:"responseType,omitempty" yaml:"responseType,omitempty"`
TTLMillis *int64 `json:"ttl,omitempty" yaml:"ttl,omitempty"`
TTLMillis int64 `json:"ttl,omitempty" yaml:"ttl,omitempty"`
}

View File

@@ -14,7 +14,7 @@ const (
type Status struct {
APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
Code *int64 `json:"code,omitempty" yaml:"code,omitempty"`
Code int64 `json:"code,omitempty" yaml:"code,omitempty"`
Details *StatusDetails `json:"details,omitempty" yaml:"details,omitempty"`
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
ListMeta *ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`

View File

@@ -15,6 +15,6 @@ type StatusDetails struct {
Group string `json:"group,omitempty" yaml:"group,omitempty"`
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
RetryAfterSeconds *int64 `json:"retryAfterSeconds,omitempty" yaml:"retryAfterSeconds,omitempty"`
RetryAfterSeconds int64 `json:"retryAfterSeconds,omitempty" yaml:"retryAfterSeconds,omitempty"`
UID string `json:"uid,omitempty" yaml:"uid,omitempty"`
}

View File

@@ -40,7 +40,7 @@ type Token struct {
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
ProviderInfo map[string]string `json:"providerInfo,omitempty" yaml:"providerInfo,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
TTLMillis *int64 `json:"ttl,omitempty" yaml:"ttl,omitempty"`
TTLMillis int64 `json:"ttl,omitempty" yaml:"ttl,omitempty"`
Token string `json:"token,omitempty" yaml:"token,omitempty"`
UserID string `json:"userId,omitempty" yaml:"userId,omitempty"`
UserPrincipal string `json:"userPrincipal,omitempty" yaml:"userPrincipal,omitempty"`