1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 13:18:20 +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

@@ -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"`
}

View File

@@ -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"`
}

View File

@@ -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"`
}

View File

@@ -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"`
}

View File

@@ -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"`
}

View File

@@ -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"`
}

View File

@@ -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"`

View File

@@ -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"`
}

View File

@@ -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"`
}

View File

@@ -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"`

View File

@@ -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"`
}

View File

@@ -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"`
}

View File

@@ -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"`
}

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

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

View File

@@ -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"`
}

View File

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

View File

@@ -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"`
}

View File

@@ -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"`

View File

@@ -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"`
}

View File

@@ -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"`

View File

@@ -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"`
}

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

@@ -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"`
}