UUIDtypes.UID`json:"uuid,omitempty" description:"manifest UUID, populated by the system, read-only"`
Volumes[]Volume`json:"volumes" description:"list of volumes that can be mounted by containers belonging to the pod"`
Containers[]Container`json:"containers" description:"list of containers belonging to the pod"`
RestartPolicyRestartPolicy`json:"restartPolicy,omitempty" description:"restart policy for all containers within the pod; one of RestartPolicyAlways, RestartPolicyOnFailure, RestartPolicyNever"`
...
...
@@ -335,10 +335,10 @@ type Lifecycle struct {
typeTypeMetastruct{
Kindstring`json:"kind,omitempty" description:"kind of object, in CamelCase"`
IDstring`json:"id,omitempty" description:"name of the object; must be a DNS_SUBDOMAIN and unique among all objects of the same kind within the same namespace; used in resource URLs"`
UIDtypes.UID`json:"uid,omitempty" description:"UUID assigned by the system upon creation, unique across space and time"`
CreationTimestamputil.Time`json:"creationTimestamp,omitempty" description:"RFC 3339 date and time at which the object was created; recorded by the system; null for lists"`
SelfLinkstring`json:"selfLink,omitempty" description:"URL for the object"`
ResourceVersionuint64`json:"resourceVersion,omitempty" description:"string that identifies the internal version of this object that can be used by clients to determine when objects have changed; value must be treated as opaque by clients and passed unmodified back to the server"`
UIDtypes.UID`json:"uid,omitempty" description:"unique UUID across space and time; populated by the system, read-only"`
CreationTimestamputil.Time`json:"creationTimestamp,omitempty" description:"RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists"`
SelfLinkstring`json:"selfLink,omitempty" description:"URL for the object; populated by the system, read-only"`
ResourceVersionuint64`json:"resourceVersion,omitempty" description:"string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server"`
APIVersionstring`json:"apiVersion,omitempty" description:"version of the schema the object should have"`
Namespacestring`json:"namespace,omitempty" description:"namespace to which the object belongs; must be a DNS_SUBDOMAIN; 'default' by default"`
...
...
@@ -511,7 +511,7 @@ type Pod struct {
TypeMeta`json:",inline"`
Labelsmap[string]string`json:"labels,omitempty" description:"map of string keys and values that can be used to organize and categorize pods; may match selectors of replication controllers and services"`
DesiredStatePodState`json:"desiredState,omitempty" description:"specification of the desired state of the pod"`
CurrentStatePodState`json:"currentState,omitempty" description:"current state of the pod"`
CurrentStatePodState`json:"currentState,omitempty" description:"current state of the pod; populated by the system, read-only"`
// NodeSelector is a selector which must be true for the pod to fit on a node
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"selector which must match a node's labels for the pod to be scheduled on that node"`
}
...
...
@@ -533,7 +533,7 @@ type ReplicationControllerList struct {
typeReplicationControllerstruct{
TypeMeta`json:",inline"`
DesiredStateReplicationControllerState`json:"desiredState,omitempty" description:"specification of the desired state of the replication controller"`
CurrentStateReplicationControllerState`json:"currentState,omitempty" description:"current state of the replication controller"`
CurrentStateReplicationControllerState`json:"currentState,omitempty" description:"current state of the replication controller; populated by the system, read-only"`
Labelsmap[string]string`json:"labels,omitempty" description:"map of string keys and values that can be used to organize and categorize replication controllers"`
Kindstring`json:"kind,omitempty" description:"kind of object, in CamelCase"`
IDstring`json:"id,omitempty" description:"name of the object; must be a DNS_SUBDOMAIN and unique among all objects of the same kind within the same namespace; used in resource URLs"`
UIDtypes.UID`json:"uid,omitempty" description:"UUID assigned by the system upon creation, unique across space and time"`
CreationTimestamputil.Time`json:"creationTimestamp,omitempty" description:"RFC 3339 date and time at which the object was created; recorded by the system; null for lists"`
SelfLinkstring`json:"selfLink,omitempty" description:"URL for the object"`
ResourceVersionuint64`json:"resourceVersion,omitempty" description:"string that identifies the internal version of this object that can be used by clients to determine when objects have changed; value must be treated as opaque by clients and passed unmodified back to the server"`
UIDtypes.UID`json:"uid,omitempty" description:"unique UUID across space and time; populated by the system, read-only"`
CreationTimestamputil.Time`json:"creationTimestamp,omitempty" description:"RFC 3339 date and time at which the object was created; populated by the system, read-only; null for lists"`
SelfLinkstring`json:"selfLink,omitempty" description:"URL for the object; populated by the system, read-only"`
ResourceVersionuint64`json:"resourceVersion,omitempty" description:"string that identifies the internal version of this object that can be used by clients to determine when objects have changed; populated by the system, read-only; value must be treated as opaque by clients and passed unmodified back to the server"`
APIVersionstring`json:"apiVersion,omitempty" description:"version of the schema the object should have"`
Namespacestring`json:"namespace,omitempty" description:"namespace to which the object belongs; must be a DNS_SUBDOMAIN; 'default' by default"`
...
...
@@ -475,7 +475,7 @@ type Pod struct {
TypeMeta`json:",inline"`
Labelsmap[string]string`json:"labels,omitempty" description:"map of string keys and values that can be used to organize and categorize pods; may match selectors of replication controllers and services"`
DesiredStatePodState`json:"desiredState,omitempty" description:"specification of the desired state of the pod"`
CurrentStatePodState`json:"currentState,omitempty" description:"current state of the pod"`
CurrentStatePodState`json:"currentState,omitempty" description:"current state of the pod; populated by the system, read-only"`
// NodeSelector is a selector which must be true for the pod to fit on a node
NodeSelectormap[string]string`json:"nodeSelector,omitempty" description:"selector which must match a node's labels for the pod to be scheduled on that node"`
}
...
...
@@ -497,7 +497,7 @@ type ReplicationControllerList struct {
typeReplicationControllerstruct{
TypeMeta`json:",inline"`
DesiredStateReplicationControllerState`json:"desiredState,omitempty" description:"specification of the desired state of the replication controller"`
CurrentStateReplicationControllerState`json:"currentState,omitempty" description:"current state of the replication controller"`
CurrentStateReplicationControllerState`json:"currentState,omitempty" description:"current state of the replication controller; populated by the system, read-only"`
Labelsmap[string]string`json:"labels,omitempty" description:"map of string keys and values that can be used to organize and categorize replication controllers"`