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"`
...
...
@@ -297,7 +298,7 @@ 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"`
UIDutil.UID`json:"uid,omitempty" description:"UUID assigned by the system upon creation, unique across space and time"`
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"`
...
...
@@ -776,12 +777,12 @@ type ServerOpList struct {
// ObjectReference contains enough information to let you inspect or modify the referred object.
typeObjectReferencestruct{
Kindstring`json:"kind,omitempty" description:"kind of the referent"`
Namespacestring`json:"namespace,omitempty" description:"namespace of the referent"`
IDstring`json:"name,omitempty" description:"id of the referent"`
UIDutil.UID`json:"uid,omitempty" description:"uid of the referent"`
APIVersionstring`json:"apiVersion,omitempty" description:"API version of the referent"`
ResourceVersionstring`json:"resourceVersion,omitempty" description:"specific resourceVersion to which this reference is made, if any"`
Kindstring`json:"kind,omitempty" description:"kind of the referent"`
Namespacestring`json:"namespace,omitempty" description:"namespace of the referent"`
IDstring`json:"name,omitempty" description:"id of the referent"`
UIDtypes.UID`json:"uid,omitempty" description:"uid of the referent"`
APIVersionstring`json:"apiVersion,omitempty" description:"API version of the referent"`
ResourceVersionstring`json:"resourceVersion,omitempty" description:"specific resourceVersion to which this reference is made, if any"`
// Optional. If referring to a piece of an object instead of an entire object, this string
// should contain information to identify the sub-object. For example, if the object
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"`
UIDutil.UID`json:"uid,omitempty" description:"UUID assigned by the system upon creation, unique across space and time"`
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"`
...
...
@@ -749,12 +750,12 @@ type ServerOpList struct {
// ObjectReference contains enough information to let you inspect or modify the referred object.
typeObjectReferencestruct{
Kindstring`json:"kind,omitempty" description:"kind of the referent"`
Namespacestring`json:"namespace,omitempty" description:"namespace of the referent"`
IDstring`json:"name,omitempty" description:"id of the referent"`
UIDutil.UID`json:"uid,omitempty" description:"uid of the referent"`
APIVersionstring`json:"apiVersion,omitempty" description:"API version of the referent"`
ResourceVersionstring`json:"resourceVersion,omitempty" description:"specific resourceVersion to which this reference is made, if any"`
Kindstring`json:"kind,omitempty" description:"kind of the referent"`
Namespacestring`json:"namespace,omitempty" description:"namespace of the referent"`
IDstring`json:"name,omitempty" description:"id of the referent"`
UIDtypes.UID`json:"uid,omitempty" description:"uid of the referent"`
APIVersionstring`json:"apiVersion,omitempty" description:"API version of the referent"`
ResourceVersionstring`json:"resourceVersion,omitempty" description:"specific resourceVersion to which this reference is made, if any"`
// Optional. If referring to a piece of an object instead of an entire object, this string
// should contain information to identify the sub-object. For example, if the object
...
...
@@ -825,7 +826,7 @@ type ContainerManifest struct {
// TODO: UUID on Manifext is deprecated in the future once we are done
// with the API refactory. It is required for now to determine the instance
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"`