mirror of
https://github.com/rancher/types.git
synced 2025-06-22 11:47:03 +00:00
Update generated code
This commit is contained in:
parent
a6f730e83b
commit
329e9047b2
@ -10,7 +10,7 @@ const (
|
||||
|
||||
type AWSElasticBlockStoreVolumeSource struct {
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
Partition *int64 `json:"partition,omitempty" yaml:"partition,omitempty"`
|
||||
Partition int64 `json:"partition,omitempty" yaml:"partition,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
VolumeID string `json:"volumeID,omitempty" yaml:"volumeID,omitempty"`
|
||||
}
|
||||
|
@ -11,6 +11,6 @@ const (
|
||||
type GCEPersistentDiskVolumeSource struct {
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
PDName string `json:"pdName,omitempty" yaml:"pdName,omitempty"`
|
||||
Partition *int64 `json:"partition,omitempty" yaml:"partition,omitempty"`
|
||||
Partition int64 `json:"partition,omitempty" yaml:"partition,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ type ISCSIVolumeSource struct {
|
||||
IQN string `json:"iqn,omitempty" yaml:"iqn,omitempty"`
|
||||
ISCSIInterface string `json:"iscsiInterface,omitempty" yaml:"iscsiInterface,omitempty"`
|
||||
InitiatorName string `json:"initiatorName,omitempty" yaml:"initiatorName,omitempty"`
|
||||
Lun *int64 `json:"lun,omitempty" yaml:"lun,omitempty"`
|
||||
Lun int64 `json:"lun,omitempty" yaml:"lun,omitempty"`
|
||||
Portals []string `json:"portals,omitempty" yaml:"portals,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretRef *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -6,5 +6,5 @@ const (
|
||||
)
|
||||
|
||||
type CPUInfo struct {
|
||||
Count *int64 `json:"count,omitempty" yaml:"count,omitempty"`
|
||||
Count int64 `json:"count,omitempty" yaml:"count,omitempty"`
|
||||
}
|
||||
|
@ -6,5 +6,5 @@ const (
|
||||
)
|
||||
|
||||
type DaemonEndpoint struct {
|
||||
Port *int64 `json:"Port,omitempty" yaml:"Port,omitempty"`
|
||||
Port int64 `json:"Port,omitempty" yaml:"Port,omitempty"`
|
||||
}
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -6,5 +6,5 @@ const (
|
||||
)
|
||||
|
||||
type MemoryInfo struct {
|
||||
MemTotalKiB *int64 `json:"memTotalKiB,omitempty" yaml:"memTotalKiB,omitempty"`
|
||||
MemTotalKiB int64 `json:"memTotalKiB,omitempty" yaml:"memTotalKiB,omitempty"`
|
||||
}
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
|
@ -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 {
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -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"`
|
||||
|
@ -10,7 +10,7 @@ const (
|
||||
|
||||
type AWSElasticBlockStoreVolumeSource struct {
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
Partition *int64 `json:"partition,omitempty" yaml:"partition,omitempty"`
|
||||
Partition int64 `json:"partition,omitempty" yaml:"partition,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
VolumeID string `json:"volumeID,omitempty" yaml:"volumeID,omitempty"`
|
||||
}
|
||||
|
@ -12,11 +12,11 @@ const (
|
||||
)
|
||||
|
||||
type ContainerPort struct {
|
||||
ContainerPort *int64 `json:"containerPort,omitempty" yaml:"containerPort,omitempty"`
|
||||
ContainerPort int64 `json:"containerPort,omitempty" yaml:"containerPort,omitempty"`
|
||||
DNSName string `json:"dnsName,omitempty" yaml:"dnsName,omitempty"`
|
||||
HostIp string `json:"hostIp,omitempty" yaml:"hostIp,omitempty"`
|
||||
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Protocol string `json:"protocol,omitempty" yaml:"protocol,omitempty"`
|
||||
SourcePort *int64 `json:"sourcePort,omitempty" yaml:"sourcePort,omitempty"`
|
||||
SourcePort int64 `json:"sourcePort,omitempty" yaml:"sourcePort,omitempty"`
|
||||
}
|
||||
|
@ -13,10 +13,10 @@ const (
|
||||
|
||||
type ContainerStateTerminated struct {
|
||||
ContainerID string `json:"containerID,omitempty" yaml:"containerID,omitempty"`
|
||||
ExitCode *int64 `json:"exitCode,omitempty" yaml:"exitCode,omitempty"`
|
||||
ExitCode int64 `json:"exitCode,omitempty" yaml:"exitCode,omitempty"`
|
||||
FinishedAt string `json:"finishedAt,omitempty" yaml:"finishedAt,omitempty"`
|
||||
Message string `json:"message,omitempty" yaml:"message,omitempty"`
|
||||
Reason string `json:"reason,omitempty" yaml:"reason,omitempty"`
|
||||
Signal *int64 `json:"signal,omitempty" yaml:"signal,omitempty"`
|
||||
Signal int64 `json:"signal,omitempty" yaml:"signal,omitempty"`
|
||||
StartedAt string `json:"startedAt,omitempty" yaml:"startedAt,omitempty"`
|
||||
}
|
||||
|
@ -19,6 +19,6 @@ type ContainerStatus struct {
|
||||
LastTerminationState *ContainerState `json:"lastState,omitempty" yaml:"lastState,omitempty"`
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
Ready bool `json:"ready,omitempty" yaml:"ready,omitempty"`
|
||||
RestartCount *int64 `json:"restartCount,omitempty" yaml:"restartCount,omitempty"`
|
||||
RestartCount int64 `json:"restartCount,omitempty" yaml:"restartCount,omitempty"`
|
||||
State *ContainerState `json:"state,omitempty" yaml:"state,omitempty"`
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ const (
|
||||
|
||||
type DaemonSetConfig struct {
|
||||
MaxUnavailable intstr.IntOrString `json:"maxUnavailable,omitempty" yaml:"maxUnavailable,omitempty"`
|
||||
MinReadySeconds *int64 `json:"minReadySeconds,omitempty" yaml:"minReadySeconds,omitempty"`
|
||||
MinReadySeconds int64 `json:"minReadySeconds,omitempty" yaml:"minReadySeconds,omitempty"`
|
||||
RevisionHistoryLimit *int64 `json:"revisionHistoryLimit,omitempty" yaml:"revisionHistoryLimit,omitempty"`
|
||||
Strategy string `json:"strategy,omitempty" yaml:"strategy,omitempty"`
|
||||
}
|
||||
|
@ -15,12 +15,12 @@ const (
|
||||
|
||||
type DaemonSetStatus struct {
|
||||
CollisionCount *int64 `json:"collisionCount,omitempty" yaml:"collisionCount,omitempty"`
|
||||
CurrentNumberScheduled *int64 `json:"currentNumberScheduled,omitempty" yaml:"currentNumberScheduled,omitempty"`
|
||||
DesiredNumberScheduled *int64 `json:"desiredNumberScheduled,omitempty" yaml:"desiredNumberScheduled,omitempty"`
|
||||
NumberAvailable *int64 `json:"numberAvailable,omitempty" yaml:"numberAvailable,omitempty"`
|
||||
NumberMisscheduled *int64 `json:"numberMisscheduled,omitempty" yaml:"numberMisscheduled,omitempty"`
|
||||
NumberReady *int64 `json:"numberReady,omitempty" yaml:"numberReady,omitempty"`
|
||||
NumberUnavailable *int64 `json:"numberUnavailable,omitempty" yaml:"numberUnavailable,omitempty"`
|
||||
ObservedGeneration *int64 `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
|
||||
UpdatedNumberScheduled *int64 `json:"updatedNumberScheduled,omitempty" yaml:"updatedNumberScheduled,omitempty"`
|
||||
CurrentNumberScheduled int64 `json:"currentNumberScheduled,omitempty" yaml:"currentNumberScheduled,omitempty"`
|
||||
DesiredNumberScheduled int64 `json:"desiredNumberScheduled,omitempty" yaml:"desiredNumberScheduled,omitempty"`
|
||||
NumberAvailable int64 `json:"numberAvailable,omitempty" yaml:"numberAvailable,omitempty"`
|
||||
NumberMisscheduled int64 `json:"numberMisscheduled,omitempty" yaml:"numberMisscheduled,omitempty"`
|
||||
NumberReady int64 `json:"numberReady,omitempty" yaml:"numberReady,omitempty"`
|
||||
NumberUnavailable int64 `json:"numberUnavailable,omitempty" yaml:"numberUnavailable,omitempty"`
|
||||
ObservedGeneration int64 `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
|
||||
UpdatedNumberScheduled int64 `json:"updatedNumberScheduled,omitempty" yaml:"updatedNumberScheduled,omitempty"`
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ const (
|
||||
type DeploymentConfig struct {
|
||||
MaxSurge intstr.IntOrString `json:"maxSurge,omitempty" yaml:"maxSurge,omitempty"`
|
||||
MaxUnavailable intstr.IntOrString `json:"maxUnavailable,omitempty" yaml:"maxUnavailable,omitempty"`
|
||||
MinReadySeconds *int64 `json:"minReadySeconds,omitempty" yaml:"minReadySeconds,omitempty"`
|
||||
MinReadySeconds int64 `json:"minReadySeconds,omitempty" yaml:"minReadySeconds,omitempty"`
|
||||
Paused bool `json:"paused,omitempty" yaml:"paused,omitempty"`
|
||||
ProgressDeadlineSeconds *int64 `json:"progressDeadlineSeconds,omitempty" yaml:"progressDeadlineSeconds,omitempty"`
|
||||
RevisionHistoryLimit *int64 `json:"revisionHistoryLimit,omitempty" yaml:"revisionHistoryLimit,omitempty"`
|
||||
|
@ -13,12 +13,12 @@ const (
|
||||
)
|
||||
|
||||
type DeploymentStatus struct {
|
||||
AvailableReplicas *int64 `json:"availableReplicas,omitempty" yaml:"availableReplicas,omitempty"`
|
||||
AvailableReplicas int64 `json:"availableReplicas,omitempty" yaml:"availableReplicas,omitempty"`
|
||||
CollisionCount *int64 `json:"collisionCount,omitempty" yaml:"collisionCount,omitempty"`
|
||||
Conditions []DeploymentCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
|
||||
ObservedGeneration *int64 `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
|
||||
ReadyReplicas *int64 `json:"readyReplicas,omitempty" yaml:"readyReplicas,omitempty"`
|
||||
Replicas *int64 `json:"replicas,omitempty" yaml:"replicas,omitempty"`
|
||||
UnavailableReplicas *int64 `json:"unavailableReplicas,omitempty" yaml:"unavailableReplicas,omitempty"`
|
||||
UpdatedReplicas *int64 `json:"updatedReplicas,omitempty" yaml:"updatedReplicas,omitempty"`
|
||||
ObservedGeneration int64 `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
|
||||
ReadyReplicas int64 `json:"readyReplicas,omitempty" yaml:"readyReplicas,omitempty"`
|
||||
Replicas int64 `json:"replicas,omitempty" yaml:"replicas,omitempty"`
|
||||
UnavailableReplicas int64 `json:"unavailableReplicas,omitempty" yaml:"unavailableReplicas,omitempty"`
|
||||
UpdatedReplicas int64 `json:"updatedReplicas,omitempty" yaml:"updatedReplicas,omitempty"`
|
||||
}
|
||||
|
@ -11,6 +11,6 @@ const (
|
||||
type GCEPersistentDiskVolumeSource struct {
|
||||
FSType string `json:"fsType,omitempty" yaml:"fsType,omitempty"`
|
||||
PDName string `json:"pdName,omitempty" yaml:"pdName,omitempty"`
|
||||
Partition *int64 `json:"partition,omitempty" yaml:"partition,omitempty"`
|
||||
Partition int64 `json:"partition,omitempty" yaml:"partition,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ type ISCSIVolumeSource struct {
|
||||
IQN string `json:"iqn,omitempty" yaml:"iqn,omitempty"`
|
||||
ISCSIInterface string `json:"iscsiInterface,omitempty" yaml:"iscsiInterface,omitempty"`
|
||||
InitiatorName string `json:"initiatorName,omitempty" yaml:"initiatorName,omitempty"`
|
||||
Lun *int64 `json:"lun,omitempty" yaml:"lun,omitempty"`
|
||||
Lun int64 `json:"lun,omitempty" yaml:"lun,omitempty"`
|
||||
Portals []string `json:"portals,omitempty" yaml:"portals,omitempty"`
|
||||
ReadOnly bool `json:"readOnly,omitempty" yaml:"readOnly,omitempty"`
|
||||
SecretRef *LocalObjectReference `json:"secretRef,omitempty" yaml:"secretRef,omitempty"`
|
||||
|
@ -11,10 +11,10 @@ const (
|
||||
)
|
||||
|
||||
type JobStatus struct {
|
||||
Active *int64 `json:"active,omitempty" yaml:"active,omitempty"`
|
||||
Active int64 `json:"active,omitempty" yaml:"active,omitempty"`
|
||||
CompletionTime string `json:"completionTime,omitempty" yaml:"completionTime,omitempty"`
|
||||
Conditions []JobCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
|
||||
Failed *int64 `json:"failed,omitempty" yaml:"failed,omitempty"`
|
||||
Failed int64 `json:"failed,omitempty" yaml:"failed,omitempty"`
|
||||
StartTime string `json:"startTime,omitempty" yaml:"startTime,omitempty"`
|
||||
Succeeded *int64 `json:"succeeded,omitempty" yaml:"succeeded,omitempty"`
|
||||
Succeeded int64 `json:"succeeded,omitempty" yaml:"succeeded,omitempty"`
|
||||
}
|
||||
|
@ -8,5 +8,5 @@ const (
|
||||
|
||||
type PreferredSchedulingTerm struct {
|
||||
Preference *NodeSelectorTerm `json:"preference,omitempty" yaml:"preference,omitempty"`
|
||||
Weight *int64 `json:"weight,omitempty" yaml:"weight,omitempty"`
|
||||
Weight int64 `json:"weight,omitempty" yaml:"weight,omitempty"`
|
||||
}
|
||||
|
@ -20,15 +20,15 @@ const (
|
||||
|
||||
type Probe struct {
|
||||
Command []string `json:"command,omitempty" yaml:"command,omitempty"`
|
||||
FailureThreshold *int64 `json:"failureThreshold,omitempty" yaml:"failureThreshold,omitempty"`
|
||||
FailureThreshold int64 `json:"failureThreshold,omitempty" yaml:"failureThreshold,omitempty"`
|
||||
HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty" yaml:"httpHeaders,omitempty"`
|
||||
Host string `json:"host,omitempty" yaml:"host,omitempty"`
|
||||
InitialDelaySeconds *int64 `json:"initialDelaySeconds,omitempty" yaml:"initialDelaySeconds,omitempty"`
|
||||
InitialDelaySeconds int64 `json:"initialDelaySeconds,omitempty" yaml:"initialDelaySeconds,omitempty"`
|
||||
Path string `json:"path,omitempty" yaml:"path,omitempty"`
|
||||
PeriodSeconds *int64 `json:"periodSeconds,omitempty" yaml:"periodSeconds,omitempty"`
|
||||
PeriodSeconds int64 `json:"periodSeconds,omitempty" yaml:"periodSeconds,omitempty"`
|
||||
Port intstr.IntOrString `json:"port,omitempty" yaml:"port,omitempty"`
|
||||
Scheme string `json:"scheme,omitempty" yaml:"scheme,omitempty"`
|
||||
SuccessThreshold *int64 `json:"successThreshold,omitempty" yaml:"successThreshold,omitempty"`
|
||||
SuccessThreshold int64 `json:"successThreshold,omitempty" yaml:"successThreshold,omitempty"`
|
||||
TCP bool `json:"tcp,omitempty" yaml:"tcp,omitempty"`
|
||||
TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty" yaml:"timeoutSeconds,omitempty"`
|
||||
TimeoutSeconds int64 `json:"timeoutSeconds,omitempty" yaml:"timeoutSeconds,omitempty"`
|
||||
}
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -6,5 +6,5 @@ const (
|
||||
)
|
||||
|
||||
type ReplicaSetConfig struct {
|
||||
MinReadySeconds *int64 `json:"minReadySeconds,omitempty" yaml:"minReadySeconds,omitempty"`
|
||||
MinReadySeconds int64 `json:"minReadySeconds,omitempty" yaml:"minReadySeconds,omitempty"`
|
||||
}
|
||||
|
@ -11,10 +11,10 @@ const (
|
||||
)
|
||||
|
||||
type ReplicaSetStatus struct {
|
||||
AvailableReplicas *int64 `json:"availableReplicas,omitempty" yaml:"availableReplicas,omitempty"`
|
||||
AvailableReplicas int64 `json:"availableReplicas,omitempty" yaml:"availableReplicas,omitempty"`
|
||||
Conditions []ReplicaSetCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
|
||||
FullyLabeledReplicas *int64 `json:"fullyLabeledReplicas,omitempty" yaml:"fullyLabeledReplicas,omitempty"`
|
||||
ObservedGeneration *int64 `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
|
||||
ReadyReplicas *int64 `json:"readyReplicas,omitempty" yaml:"readyReplicas,omitempty"`
|
||||
Replicas *int64 `json:"replicas,omitempty" yaml:"replicas,omitempty"`
|
||||
FullyLabeledReplicas int64 `json:"fullyLabeledReplicas,omitempty" yaml:"fullyLabeledReplicas,omitempty"`
|
||||
ObservedGeneration int64 `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
|
||||
ReadyReplicas int64 `json:"readyReplicas,omitempty" yaml:"readyReplicas,omitempty"`
|
||||
Replicas int64 `json:"replicas,omitempty" yaml:"replicas,omitempty"`
|
||||
}
|
||||
|
@ -6,5 +6,5 @@ const (
|
||||
)
|
||||
|
||||
type ReplicationControllerConfig struct {
|
||||
MinReadySeconds *int64 `json:"minReadySeconds,omitempty" yaml:"minReadySeconds,omitempty"`
|
||||
MinReadySeconds int64 `json:"minReadySeconds,omitempty" yaml:"minReadySeconds,omitempty"`
|
||||
}
|
||||
|
@ -11,10 +11,10 @@ const (
|
||||
)
|
||||
|
||||
type ReplicationControllerStatus struct {
|
||||
AvailableReplicas *int64 `json:"availableReplicas,omitempty" yaml:"availableReplicas,omitempty"`
|
||||
AvailableReplicas int64 `json:"availableReplicas,omitempty" yaml:"availableReplicas,omitempty"`
|
||||
Conditions []ReplicationControllerCondition `json:"conditions,omitempty" yaml:"conditions,omitempty"`
|
||||
FullyLabeledReplicas *int64 `json:"fullyLabeledReplicas,omitempty" yaml:"fullyLabeledReplicas,omitempty"`
|
||||
ObservedGeneration *int64 `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
|
||||
ReadyReplicas *int64 `json:"readyReplicas,omitempty" yaml:"readyReplicas,omitempty"`
|
||||
Replicas *int64 `json:"replicas,omitempty" yaml:"replicas,omitempty"`
|
||||
FullyLabeledReplicas int64 `json:"fullyLabeledReplicas,omitempty" yaml:"fullyLabeledReplicas,omitempty"`
|
||||
ObservedGeneration int64 `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
|
||||
ReadyReplicas int64 `json:"readyReplicas,omitempty" yaml:"readyReplicas,omitempty"`
|
||||
Replicas int64 `json:"replicas,omitempty" yaml:"replicas,omitempty"`
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ type Service struct {
|
||||
Description string `json:"description,omitempty" yaml:"description,omitempty"`
|
||||
ExternalIPs []string `json:"externalIPs,omitempty" yaml:"externalIPs,omitempty"`
|
||||
ExternalTrafficPolicy string `json:"externalTrafficPolicy,omitempty" yaml:"externalTrafficPolicy,omitempty"`
|
||||
HealthCheckNodePort *int64 `json:"healthCheckNodePort,omitempty" yaml:"healthCheckNodePort,omitempty"`
|
||||
HealthCheckNodePort int64 `json:"healthCheckNodePort,omitempty" yaml:"healthCheckNodePort,omitempty"`
|
||||
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
|
||||
IPAddresses []string `json:"ipAddresses,omitempty" yaml:"ipAddresses,omitempty"`
|
||||
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
|
||||
|
@ -13,8 +13,8 @@ const (
|
||||
|
||||
type ServicePort struct {
|
||||
Name string `json:"name,omitempty" yaml:"name,omitempty"`
|
||||
NodePort *int64 `json:"nodePort,omitempty" yaml:"nodePort,omitempty"`
|
||||
Port *int64 `json:"port,omitempty" yaml:"port,omitempty"`
|
||||
NodePort int64 `json:"nodePort,omitempty" yaml:"nodePort,omitempty"`
|
||||
Port int64 `json:"port,omitempty" yaml:"port,omitempty"`
|
||||
Protocol string `json:"protocol,omitempty" yaml:"protocol,omitempty"`
|
||||
TargetPort intstr.IntOrString `json:"targetPort,omitempty" yaml:"targetPort,omitempty"`
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ type ServiceSpec struct {
|
||||
ClusterIp string `json:"clusterIp,omitempty" yaml:"clusterIp,omitempty"`
|
||||
ExternalIPs []string `json:"externalIPs,omitempty" yaml:"externalIPs,omitempty"`
|
||||
ExternalTrafficPolicy string `json:"externalTrafficPolicy,omitempty" yaml:"externalTrafficPolicy,omitempty"`
|
||||
HealthCheckNodePort *int64 `json:"healthCheckNodePort,omitempty" yaml:"healthCheckNodePort,omitempty"`
|
||||
HealthCheckNodePort int64 `json:"healthCheckNodePort,omitempty" yaml:"healthCheckNodePort,omitempty"`
|
||||
Hostname string `json:"hostname,omitempty" yaml:"hostname,omitempty"`
|
||||
LoadBalancerIP string `json:"loadBalancerIP,omitempty" yaml:"loadBalancerIP,omitempty"`
|
||||
LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty" yaml:"loadBalancerSourceRanges,omitempty"`
|
||||
|
@ -14,11 +14,11 @@ const (
|
||||
|
||||
type StatefulSetStatus struct {
|
||||
CollisionCount *int64 `json:"collisionCount,omitempty" yaml:"collisionCount,omitempty"`
|
||||
CurrentReplicas *int64 `json:"currentReplicas,omitempty" yaml:"currentReplicas,omitempty"`
|
||||
CurrentReplicas int64 `json:"currentReplicas,omitempty" yaml:"currentReplicas,omitempty"`
|
||||
CurrentRevision string `json:"currentRevision,omitempty" yaml:"currentRevision,omitempty"`
|
||||
ObservedGeneration *int64 `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
|
||||
ReadyReplicas *int64 `json:"readyReplicas,omitempty" yaml:"readyReplicas,omitempty"`
|
||||
Replicas *int64 `json:"replicas,omitempty" yaml:"replicas,omitempty"`
|
||||
ObservedGeneration int64 `json:"observedGeneration,omitempty" yaml:"observedGeneration,omitempty"`
|
||||
ReadyReplicas int64 `json:"readyReplicas,omitempty" yaml:"readyReplicas,omitempty"`
|
||||
Replicas int64 `json:"replicas,omitempty" yaml:"replicas,omitempty"`
|
||||
UpdateRevision string `json:"updateRevision,omitempty" yaml:"updateRevision,omitempty"`
|
||||
UpdatedReplicas *int64 `json:"updatedReplicas,omitempty" yaml:"updatedReplicas,omitempty"`
|
||||
UpdatedReplicas int64 `json:"updatedReplicas,omitempty" yaml:"updatedReplicas,omitempty"`
|
||||
}
|
||||
|
@ -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"`
|
||||
|
@ -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"`
|
||||
}
|
||||
|
@ -8,5 +8,5 @@ const (
|
||||
|
||||
type WeightedPodAffinityTerm struct {
|
||||
PodAffinityTerm *PodAffinityTerm `json:"podAffinityTerm,omitempty" yaml:"podAffinityTerm,omitempty"`
|
||||
Weight *int64 `json:"weight,omitempty" yaml:"weight,omitempty"`
|
||||
Weight int64 `json:"weight,omitempty" yaml:"weight,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user