···43434444// Scale represents a scaling request for a resource.
4545Scale: metav1.TypeMeta & {
4646- // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.
4646+ // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
4747 // +optional
4848 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
49495050- // defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.
5050+ // defines the behavior of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
5151 // +optional
5252 spec?: ScaleSpec @go(Spec) @protobuf(2,bytes,opt)
53535454- // current status of the scale. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. Read-only.
5454+ // current status of the scale. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status. Read-only.
5555 // +optional
5656 status?: ScaleStatus @go(Status) @protobuf(3,bytes,opt)
5757}
···109109110110// StatefulSetUpdateStrategyType is a string enumeration type that enumerates
111111// all possible update strategies for the StatefulSet controller.
112112-StatefulSetUpdateStrategyType: string
112112+StatefulSetUpdateStrategyType: string // enumStatefulSetUpdateStrategyType
113113+114114+enumStatefulSetUpdateStrategyType:
115115+ RollingUpdateStatefulSetStrategyType |
116116+ OnDeleteStatefulSetStrategyType
113117114118// RollingUpdateStatefulSetStrategyType indicates that update will be
115119// applied to all Pods in the StatefulSet with respect to the StatefulSet
116120// ordering constraints. When a scale operation is performed with this
117121// strategy, new Pods will be created from the specification version indicated
118122// by the StatefulSet's updateRevision.
119119-RollingUpdateStatefulSetStrategyType: "RollingUpdate"
123123+RollingUpdateStatefulSetStrategyType: StatefulSetUpdateStrategyType & "RollingUpdate"
120124121125// OnDeleteStatefulSetStrategyType triggers the legacy behavior. Version
122126// tracking and ordered rolling restarts are disabled. Pods are recreated
123127// from the StatefulSetSpec when they are manually deleted. When a scale
124128// operation is performed with this strategy,specification version indicated
125129// by the StatefulSet's currentRevision.
126126-OnDeleteStatefulSetStrategyType: "OnDelete"
130130+OnDeleteStatefulSetStrategyType: StatefulSetUpdateStrategyType & "OnDelete"
127131128132// RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
129133RollingUpdateStatefulSetStrategy: {
···521525// depend on its stability. It is primarily for internal use by controllers.
522526ControllerRevision: metav1.TypeMeta & {
523527 // Standard object's metadata.
524524- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
528528+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
525529 // +optional
526530 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
527531···534538535539// ControllerRevisionList is a resource containing a list of ControllerRevision objects.
536540ControllerRevisionList: metav1.TypeMeta & {
537537- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
541541+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
538542 // +optional
539543 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
540544
···78787979 // ISCSI represents an ISCSI Disk resource that is attached to a
8080 // kubelet's host machine and then exposed to the pod.
8181- // More info: https://releases.k8s.io/HEAD/examples/volumes/iscsi/README.md
8181+ // More info: https://examples.k8s.io/volumes/iscsi/README.md
8282 // +optional
8383 iscsi?: null | ISCSIVolumeSource @go(ISCSI,*ISCSIVolumeSource) @protobuf(8,bytes,opt)
84848585 // Glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime.
8686- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md
8686+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md
8787 // +optional
8888 glusterfs?: null | GlusterfsVolumeSource @go(Glusterfs,*GlusterfsVolumeSource) @protobuf(9,bytes,opt)
8989···9494 persistentVolumeClaim?: null | PersistentVolumeClaimVolumeSource @go(PersistentVolumeClaim,*PersistentVolumeClaimVolumeSource) @protobuf(10,bytes,opt)
95959696 // RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
9797- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md
9797+ // More info: https://examples.k8s.io/volumes/rbd/README.md
9898 // +optional
9999 rbd?: null | RBDVolumeSource @go(RBD,*RBDVolumeSource) @protobuf(11,bytes,opt)
100100···103103 // +optional
104104 flexVolume?: null | FlexVolumeSource @go(FlexVolume,*FlexVolumeSource) @protobuf(12,bytes,opt)
105105106106- // Cinder represents a cinder volume attached and mounted on kubelets host machine
107107- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
106106+ // Cinder represents a cinder volume attached and mounted on kubelets host machine.
107107+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
108108 // +optional
109109 cinder?: null | CinderVolumeSource @go(Cinder,*CinderVolumeSource) @protobuf(13,bytes,opt)
110110···207207208208 // Glusterfs represents a Glusterfs volume that is attached to a host and
209209 // exposed to the pod. Provisioned by an admin.
210210- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md
210210+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md
211211 // +optional
212212 glusterfs?: null | GlusterfsPersistentVolumeSource @go(Glusterfs,*GlusterfsPersistentVolumeSource) @protobuf(4,bytes,opt)
213213···217217 nfs?: null | NFSVolumeSource @go(NFS,*NFSVolumeSource) @protobuf(5,bytes,opt)
218218219219 // RBD represents a Rados Block Device mount on the host that shares a pod's lifetime.
220220- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md
220220+ // More info: https://examples.k8s.io/volumes/rbd/README.md
221221 // +optional
222222 rbd?: null | RBDPersistentVolumeSource @go(RBD,*RBDPersistentVolumeSource) @protobuf(6,bytes,opt)
223223···226226 // +optional
227227 iscsi?: null | ISCSIPersistentVolumeSource @go(ISCSI,*ISCSIPersistentVolumeSource) @protobuf(7,bytes,opt)
228228229229- // Cinder represents a cinder volume attached and mounted on kubelets host machine
230230- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
229229+ // Cinder represents a cinder volume attached and mounted on kubelets host machine.
230230+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
231231 // +optional
232232 cinder?: null | CinderPersistentVolumeSource @go(Cinder,*CinderPersistentVolumeSource) @protobuf(8,bytes,opt)
233233···280280 local?: null | LocalVolumeSource @go(Local,*LocalVolumeSource) @protobuf(20,bytes,opt)
281281282282 // StorageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod
283283- // More info: https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md
283283+ // More info: https://examples.k8s.io/volumes/storageos/README.md
284284 // +optional
285285 storageos?: null | StorageOSPersistentVolumeSource @go(StorageOS,*StorageOSPersistentVolumeSource) @protobuf(21,bytes,opt)
286286···301301// More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes
302302PersistentVolume: metav1.TypeMeta & {
303303 // Standard object's metadata.
304304- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
304304+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
305305 // +optional
306306 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
307307···428428// PersistentVolumeList is a list of PersistentVolume items.
429429PersistentVolumeList: metav1.TypeMeta & {
430430 // Standard list metadata.
431431- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
431431+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
432432 // +optional
433433 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
434434···440440// PersistentVolumeClaim is a user's request for and claim to a persistent volume
441441PersistentVolumeClaim: metav1.TypeMeta & {
442442 // Standard object's metadata.
443443- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
443443+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
444444 // +optional
445445 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
446446···459459// PersistentVolumeClaimList is a list of PersistentVolumeClaim items.
460460PersistentVolumeClaimList: metav1.TypeMeta & {
461461 // Standard list metadata.
462462- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
462462+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
463463 // +optional
464464 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
465465···710710// Glusterfs volumes do not support ownership management or SELinux relabeling.
711711GlusterfsVolumeSource: {
712712 // EndpointsName is the endpoint name that details Glusterfs topology.
713713- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
713713+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
714714 endpoints: string @go(EndpointsName) @protobuf(1,bytes,opt)
715715716716 // Path is the Glusterfs volume path.
717717- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
717717+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
718718 path: string @go(Path) @protobuf(2,bytes,opt)
719719720720 // ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
721721 // Defaults to false.
722722- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
722722+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
723723 // +optional
724724 readOnly?: bool @go(ReadOnly) @protobuf(3,varint,opt)
725725}
···728728// Glusterfs volumes do not support ownership management or SELinux relabeling.
729729GlusterfsPersistentVolumeSource: {
730730 // EndpointsName is the endpoint name that details Glusterfs topology.
731731- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
731731+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
732732 endpoints: string @go(EndpointsName) @protobuf(1,bytes,opt)
733733734734 // Path is the Glusterfs volume path.
735735- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
735735+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
736736 path: string @go(Path) @protobuf(2,bytes,opt)
737737738738 // ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
739739 // Defaults to false.
740740- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
740740+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
741741 // +optional
742742 readOnly?: bool @go(ReadOnly) @protobuf(3,varint,opt)
743743744744 // EndpointsNamespace is the namespace that contains Glusterfs endpoint.
745745 // If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
746746- // More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod
746746+ // More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
747747 // +optional
748748 endpointsNamespace?: null | string @go(EndpointsNamespace,*string) @protobuf(4,bytes,opt)
749749}
···752752// RBD volumes support ownership management and SELinux relabeling.
753753RBDVolumeSource: {
754754 // A collection of Ceph monitors.
755755- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
755755+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
756756 monitors: [...string] @go(CephMonitors,[]string) @protobuf(1,bytes,rep)
757757758758 // The rados image name.
759759- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
759759+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
760760 image: string @go(RBDImage) @protobuf(2,bytes,opt)
761761762762 // Filesystem type of the volume that you want to mount.
···769769770770 // The rados pool name.
771771 // Default is rbd.
772772- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
772772+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
773773 // +optional
774774 pool?: string @go(RBDPool) @protobuf(4,bytes,opt)
775775776776 // The rados user name.
777777 // Default is admin.
778778- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
778778+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
779779 // +optional
780780 user?: string @go(RadosUser) @protobuf(5,bytes,opt)
781781782782 // Keyring is the path to key ring for RBDUser.
783783 // Default is /etc/ceph/keyring.
784784- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
784784+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
785785 // +optional
786786 keyring?: string @go(Keyring) @protobuf(6,bytes,opt)
787787788788 // SecretRef is name of the authentication secret for RBDUser. If provided
789789 // overrides keyring.
790790 // Default is nil.
791791- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
791791+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
792792 // +optional
793793 secretRef?: null | LocalObjectReference @go(SecretRef,*LocalObjectReference) @protobuf(7,bytes,opt)
794794795795 // ReadOnly here will force the ReadOnly setting in VolumeMounts.
796796 // Defaults to false.
797797- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
797797+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
798798 // +optional
799799 readOnly?: bool @go(ReadOnly) @protobuf(8,varint,opt)
800800}
···803803// RBD volumes support ownership management and SELinux relabeling.
804804RBDPersistentVolumeSource: {
805805 // A collection of Ceph monitors.
806806- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
806806+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
807807 monitors: [...string] @go(CephMonitors,[]string) @protobuf(1,bytes,rep)
808808809809 // The rados image name.
810810- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
810810+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
811811 image: string @go(RBDImage) @protobuf(2,bytes,opt)
812812813813 // Filesystem type of the volume that you want to mount.
···820820821821 // The rados pool name.
822822 // Default is rbd.
823823- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
823823+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
824824 // +optional
825825 pool?: string @go(RBDPool) @protobuf(4,bytes,opt)
826826827827 // The rados user name.
828828 // Default is admin.
829829- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
829829+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
830830 // +optional
831831 user?: string @go(RadosUser) @protobuf(5,bytes,opt)
832832833833 // Keyring is the path to key ring for RBDUser.
834834 // Default is /etc/ceph/keyring.
835835- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
835835+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
836836 // +optional
837837 keyring?: string @go(Keyring) @protobuf(6,bytes,opt)
838838839839 // SecretRef is name of the authentication secret for RBDUser. If provided
840840 // overrides keyring.
841841 // Default is nil.
842842- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
842842+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
843843 // +optional
844844 secretRef?: null | SecretReference @go(SecretRef,*SecretReference) @protobuf(7,bytes,opt)
845845846846 // ReadOnly here will force the ReadOnly setting in VolumeMounts.
847847 // Defaults to false.
848848- // More info: https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it
848848+ // More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
849849 // +optional
850850 readOnly?: bool @go(ReadOnly) @protobuf(8,varint,opt)
851851}
···855855// The volume must also be in the same region as the kubelet.
856856// Cinder volumes support ownership management and SELinux relabeling.
857857CinderVolumeSource: {
858858- // volume id used to identify the volume in cinder
859859- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
858858+ // volume id used to identify the volume in cinder.
859859+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
860860 volumeID: string @go(VolumeID) @protobuf(1,bytes,opt)
861861862862 // Filesystem type to mount.
863863 // Must be a filesystem type supported by the host operating system.
864864 // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
865865- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
865865+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
866866 // +optional
867867 fsType?: string @go(FSType) @protobuf(2,bytes,opt)
868868869869 // Optional: Defaults to false (read/write). ReadOnly here will force
870870 // the ReadOnly setting in VolumeMounts.
871871- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
871871+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
872872 // +optional
873873 readOnly?: bool @go(ReadOnly) @protobuf(3,varint,opt)
874874···883883// The volume must also be in the same region as the kubelet.
884884// Cinder volumes support ownership management and SELinux relabeling.
885885CinderPersistentVolumeSource: {
886886- // volume id used to identify the volume in cinder
887887- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
886886+ // volume id used to identify the volume in cinder.
887887+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
888888 volumeID: string @go(VolumeID) @protobuf(1,bytes,opt)
889889890890 // Filesystem type to mount.
891891 // Must be a filesystem type supported by the host operating system.
892892 // Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
893893- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
893893+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
894894 // +optional
895895 fsType?: string @go(FSType) @protobuf(2,bytes,opt)
896896897897 // Optional: Defaults to false (read/write). ReadOnly here will force
898898 // the ReadOnly setting in VolumeMounts.
899899- // More info: https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md
899899+ // More info: https://examples.k8s.io/mysql-cinder-pd/README.md
900900 // +optional
901901 readOnly?: bool @go(ReadOnly) @protobuf(3,varint,opt)
902902···910910// Cephfs volumes do not support ownership management or SELinux relabeling.
911911CephFSVolumeSource: {
912912 // Required: Monitors is a collection of Ceph monitors
913913- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
913913+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
914914 monitors: [...string] @go(Monitors,[]string) @protobuf(1,bytes,rep)
915915916916 // Optional: Used as the mounted root, rather than the full Ceph tree, default is /
···918918 path?: string @go(Path) @protobuf(2,bytes,opt)
919919920920 // Optional: User is the rados user name, default is admin
921921- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
921921+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
922922 // +optional
923923 user?: string @go(User) @protobuf(3,bytes,opt)
924924925925 // Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
926926- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
926926+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
927927 // +optional
928928 secretFile?: string @go(SecretFile) @protobuf(4,bytes,opt)
929929930930 // Optional: SecretRef is reference to the authentication secret for User, default is empty.
931931- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
931931+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
932932 // +optional
933933 secretRef?: null | LocalObjectReference @go(SecretRef,*LocalObjectReference) @protobuf(5,bytes,opt)
934934935935 // Optional: Defaults to false (read/write). ReadOnly here will force
936936 // the ReadOnly setting in VolumeMounts.
937937- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
937937+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
938938 // +optional
939939 readOnly?: bool @go(ReadOnly) @protobuf(6,varint,opt)
940940}
···955955// Cephfs volumes do not support ownership management or SELinux relabeling.
956956CephFSPersistentVolumeSource: {
957957 // Required: Monitors is a collection of Ceph monitors
958958- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
958958+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
959959 monitors: [...string] @go(Monitors,[]string) @protobuf(1,bytes,rep)
960960961961 // Optional: Used as the mounted root, rather than the full Ceph tree, default is /
···963963 path?: string @go(Path) @protobuf(2,bytes,opt)
964964965965 // Optional: User is the rados user name, default is admin
966966- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
966966+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
967967 // +optional
968968 user?: string @go(User) @protobuf(3,bytes,opt)
969969970970 // Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
971971- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
971971+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
972972 // +optional
973973 secretFile?: string @go(SecretFile) @protobuf(4,bytes,opt)
974974975975 // Optional: SecretRef is reference to the authentication secret for User, default is empty.
976976- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
976976+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
977977 // +optional
978978 secretRef?: null | SecretReference @go(SecretRef,*SecretReference) @protobuf(5,bytes,opt)
979979980980 // Optional: Defaults to false (read/write). ReadOnly here will force
981981 // the ReadOnly setting in VolumeMounts.
982982- // More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
982982+ // More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
983983 // +optional
984984 readOnly?: bool @go(ReadOnly) @protobuf(6,varint,opt)
985985}
···22692269 periodSeconds?: int32 @go(PeriodSeconds) @protobuf(4,varint,opt)
2270227022712271 // Minimum consecutive successes for the probe to be considered successful after having failed.
22722272- // Defaults to 1. Must be 1 for liveness. Minimum value is 1.
22722272+ // Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1.
22732273 // +optional
22742274 successThreshold?: int32 @go(SuccessThreshold) @protobuf(5,varint,opt)
22752275···24652465 // +optional
24662466 readinessProbe?: null | Probe @go(ReadinessProbe,*Probe) @protobuf(11,bytes,opt)
2467246724682468+ // StartupProbe indicates that the Pod has successfully initialized.
24692469+ // If specified, no other probes are executed until this completes successfully.
24702470+ // If this probe fails, the Pod will be restarted, just as if the livenessProbe failed.
24712471+ // This can be used to provide different probe parameters at the beginning of a Pod's lifecycle,
24722472+ // when it might take a long time to load data or warm a cache, than during steady-state operation.
24732473+ // This cannot be updated.
24742474+ // This is an alpha feature enabled by the StartupProbe feature flag.
24752475+ // More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
24762476+ // +optional
24772477+ startupProbe?: null | Probe @go(StartupProbe,*Probe) @protobuf(22,bytes,opt)
24782478+24682479 // Actions that the management system should take in response to container lifecycle events.
24692480 // Cannot be updated.
24702481 // +optional
···25572568 postStart?: null | Handler @go(PostStart,*Handler) @protobuf(1,bytes,opt)
2558256925592570 // PreStop is called immediately before a container is terminated due to an
25602560- // API request or management event such as liveness probe failure,
25712571+ // API request or management event such as liveness/startup probe failure,
25612572 // preemption, resource contention, etc. The handler is not called if the
25622573 // container crashes or exits. The reason for termination is passed to the
25632574 // handler. The Pod's termination grace period countdown begins before the
···26802691 // Container's ID in the format 'docker://<container_id>'.
26812692 // +optional
26822693 containerID?: string @go(ContainerID) @protobuf(8,bytes,opt)
26942694+26952695+ // Specifies whether the container has passed its startup probe.
26962696+ // Initialized as false, becomes true after startupProbe is considered successful.
26972697+ // Resets to false when the container is restarted, or if kubelet loses state temporarily.
26982698+ // Is always true when no startupProbe is defined.
26992699+ // +optional
27002700+ started?: null | bool @go(Started,*bool) @protobuf(9,varint,opt)
26832701}
2684270226852703// PodPhase is a label for the condition of a pod at the current time.
···31333151 // init container fails, the pod is considered to have failed and is handled according
31343152 // to its restartPolicy. The name for an init container or normal container must be
31353153 // unique among all containers.
31363136- // Init containers may not have Lifecycle actions, Readiness probes, or Liveness probes.
31543154+ // Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes.
31373155 // The resourceRequirements of an init container are taken into account during scheduling
31383156 // by finding the highest request/limit for each resource type, and then using the max of
31393157 // of that value or the sum of the normal containers. Limits are applied to init containers
···31533171 // +patchStrategy=merge
31543172 containers: [...Container] @go(Containers,[]Container) @protobuf(2,bytes,rep)
3155317331563156- // EphemeralContainers is the list of ephemeral containers that run in this pod. Ephemeral containers
31573157- // are added to an existing pod as a result of a user-initiated action such as troubleshooting.
31583158- // This list is read-only in the pod spec. It may not be specified in a create or modified in an
31593159- // update of a pod or pod template.
31603160- // To add an ephemeral container use the pod's ephemeralcontainers subresource, which allows update
31613161- // using the EphemeralContainers kind.
31743174+ // List of ephemeral containers run in this pod. Ephemeral containers may be run in an existing
31753175+ // pod to perform user-initiated actions such as debugging. This list cannot be specified when
31763176+ // creating a pod, and it cannot be modified by updating the pod spec. In order to add an
31773177+ // ephemeral container to an existing pod, use the pod's ephemeralcontainers subresource.
31623178 // This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.
31633179 // +optional
31643180 // +patchMergeKey=name
···35783594 ip?: string @go(IP) @protobuf(1,bytes,opt)
35793595}
3580359635973597+// EphemeralContainerCommon is a copy of all fields in Container to be inlined in
35983598+// EphemeralContainer. This separate type allows easy conversion from EphemeralContainer
35993599+// to Container and allows separate documentation for the fields of EphemeralContainer.
36003600+// When a new field is added to Container it must be added here as well.
35813601EphemeralContainerCommon: {
35823602 // Name of the ephemeral container specified as a DNS_LABEL.
35833603 // This name must be unique among all containers, init containers and ephemeral containers.
···36623682 // +optional
36633683 readinessProbe?: null | Probe @go(ReadinessProbe,*Probe) @protobuf(11,bytes,opt)
3664368436853685+ // Probes are not allowed for ephemeral containers.
36863686+ // +optional
36873687+ startupProbe?: null | Probe @go(StartupProbe,*Probe) @protobuf(22,bytes,opt)
36883688+36653689 // Lifecycle is not allowed for ephemeral containers.
36663690 // +optional
36673691 lifecycle?: null | Lifecycle @go(Lifecycle,*Lifecycle) @protobuf(12,bytes,opt)
···37203744 tty?: bool @go(TTY) @protobuf(18,varint,opt)
37213745}
3722374637233723-// An EphemeralContainer is a special type of container which doesn't come with any resource
37243724-// or scheduling guarantees but can be added to a pod that has already been created. They are
37253725-// intended for user-initiated activities such as troubleshooting a running pod.
37263726-// Ephemeral containers will not be restarted when they exit, and they will be killed if the
37273727-// pod is removed or restarted. If an ephemeral container causes a pod to exceed its resource
37473747+// An EphemeralContainer is a container that may be added temporarily to an existing pod for
37483748+// user-initiated activities such as debugging. Ephemeral containers have no resource or
37493749+// scheduling guarantees, and they will not be restarted when they exit or when a pod is
37503750+// removed or restarted. If an ephemeral container causes a pod to exceed its resource
37283751// allocation, the pod may be evicted.
37293729-// Ephemeral containers are added via a pod's ephemeralcontainers subresource and will appear
37303730-// in the pod spec once added. No fields in EphemeralContainer may be changed once added.
37523752+// Ephemeral containers may not be added by directly updating the pod spec. They must be added
37533753+// via the pod's ephemeralcontainers subresource, and they will appear in the pod spec
37543754+// once added.
37313755// This is an alpha feature enabled by the EphemeralContainers feature flag.
37323756EphemeralContainer: EphemeralContainerCommon & {
37333757 // If set, the name of the container from PodSpec that this ephemeral container targets.
···38293853 // +optional
38303854 qosClass?: PodQOSClass @go(QOSClass) @protobuf(9,bytes,rep)
3831385538323832- // Status for any ephemeral containers that running in this pod.
38333833- // This field is alpha-level and is only honored by servers that enable the EphemeralContainers feature.
38563856+ // Status for any ephemeral containers that have run in this pod.
38573857+ // This field is alpha-level and is only populated by servers that enable the EphemeralContainers feature.
38343858 // +optional
38353859 ephemeralContainerStatuses?: [...ContainerStatus] @go(EphemeralContainerStatuses,[]ContainerStatus) @protobuf(13,bytes,rep)
38363860}
···38383862// PodStatusResult is a wrapper for PodStatus returned by kubelet that can be encode/decoded
38393863PodStatusResult: metav1.TypeMeta & {
38403864 // Standard object's metadata.
38413841- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
38653865+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
38423866 // +optional
38433867 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
38443868···38463870 // This data may not be up to date.
38473871 // Populated by the system.
38483872 // Read-only.
38493849- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
38733873+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
38503874 // +optional
38513875 status?: PodStatus @go(Status) @protobuf(2,bytes,opt)
38523876}
···38553879// by clients and scheduled onto hosts.
38563880Pod: metav1.TypeMeta & {
38573881 // Standard object's metadata.
38583858- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
38823882+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
38593883 // +optional
38603884 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
3861388538623886 // Specification of the desired behavior of the pod.
38633863- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
38873887+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
38643888 // +optional
38653889 spec?: PodSpec @go(Spec) @protobuf(2,bytes,opt)
38663890···38683892 // This data may not be up to date.
38693893 // Populated by the system.
38703894 // Read-only.
38713871- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
38953895+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
38723896 // +optional
38733897 status?: PodStatus @go(Status) @protobuf(3,bytes,opt)
38743898}
···38763900// PodList is a list of Pods.
38773901PodList: metav1.TypeMeta & {
38783902 // Standard list metadata.
38793879- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
39033903+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
38803904 // +optional
38813905 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
3882390638833907 // List of pods.
38843884- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md
39083908+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
38853909 items: [...Pod] @go(Items,[]Pod) @protobuf(2,bytes,rep)
38863910}
3887391138883912// PodTemplateSpec describes the data a pod should have when created from a template
38893913PodTemplateSpec: {
38903914 // Standard object's metadata.
38913891- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
39153915+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
38923916 // +optional
38933917 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
3894391838953919 // Specification of the desired behavior of the pod.
38963896- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
39203920+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
38973921 // +optional
38983922 spec?: PodSpec @go(Spec) @protobuf(2,bytes,opt)
38993923}
···39013925// PodTemplate describes a template for creating copies of a predefined pod.
39023926PodTemplate: metav1.TypeMeta & {
39033927 // Standard object's metadata.
39043904- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
39283928+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
39053929 // +optional
39063930 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
3907393139083932 // Template defines the pods that will be created from this pod template.
39093909- // https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
39333933+ // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
39103934 // +optional
39113935 template?: PodTemplateSpec @go(Template) @protobuf(2,bytes,opt)
39123936}
···39143938// PodTemplateList is a list of PodTemplates.
39153939PodTemplateList: metav1.TypeMeta & {
39163940 // Standard list metadata.
39173917- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
39413941+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
39183942 // +optional
39193943 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
39203944···40174041ReplicationController: metav1.TypeMeta & {
40184042 // If the Labels of a ReplicationController are empty, they are defaulted to
40194043 // be the same as the Pod(s) that the replication controller manages.
40204020- // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
40444044+ // Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
40214045 // +optional
40224046 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
4023404740244048 // Spec defines the specification of the desired behavior of the replication controller.
40254025- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
40494049+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
40264050 // +optional
40274051 spec?: ReplicationControllerSpec @go(Spec) @protobuf(2,bytes,opt)
40284052···40304054 // This data may be out of date by some window of time.
40314055 // Populated by the system.
40324056 // Read-only.
40334033- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
40574057+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
40344058 // +optional
40354059 status?: ReplicationControllerStatus @go(Status) @protobuf(3,bytes,opt)
40364060}
···40384062// ReplicationControllerList is a collection of replication controllers.
40394063ReplicationControllerList: metav1.TypeMeta & {
40404064 // Standard list metadata.
40414041- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
40654065+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
40424066 // +optional
40434067 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
40444068···41484172 hostname?: string @go(Hostname) @protobuf(2,bytes,opt)
41494173}
4150417441754175+// IPFamily represents the IP Family (IPv4 or IPv6). This type is used
41764176+// to express the family of an IP expressed by a type (i.e. service.Spec.IPFamily)
41774177+IPFamily: string // enumIPFamily
41784178+41794179+enumIPFamily:
41804180+ IPv4Protocol |
41814181+ IPv6Protocol
41824182+41834183+// IPv4Protocol indicates that this IP is IPv4 protocol
41844184+IPv4Protocol: IPFamily & "IPv4"
41854185+41864186+// IPv6Protocol indicates that this IP is IPv6 protocol
41874187+IPv6Protocol: IPFamily & "IPv6"
41884188+41514189// ServiceSpec describes the attributes that a user creates on a service.
41524190ServiceSpec: {
41534191 // The list of ports that are exposed by this service.
···42644302 // sessionAffinityConfig contains the configurations of session affinity.
42654303 // +optional
42664304 sessionAffinityConfig?: null | SessionAffinityConfig @go(SessionAffinityConfig,*SessionAffinityConfig) @protobuf(14,bytes,opt)
43054305+43064306+ // ipFamily specifies whether this Service has a preference for a particular IP family (e.g. IPv4 vs.
43074307+ // IPv6). If a specific IP family is requested, the clusterIP field will be allocated from that family, if it is
43084308+ // available in the cluster. If no IP family is requested, the cluster's primary IP family will be used.
43094309+ // Other IP fields (loadBalancerIP, loadBalancerSourceRanges, externalIPs) and controllers which
43104310+ // allocate external load-balancers should use the same IP family. Endpoints for this Service will be of
43114311+ // this family. This field is immutable after creation. Assigning a ServiceIPFamily not available in the
43124312+ // cluster (e.g. IPv6 in IPv4 only cluster) is an error condition and will fail during clusterIP assignment.
43134313+ // +optional
43144314+ ipFamily?: null | IPFamily @go(IPFamily,*IPFamily) @protobuf(15,bytes,opt,Configcasttype=IPFamily)
42674315}
4268431642694317// ServicePort contains information on service's port.
42704318ServicePort: {
42714319 // The name of this port within the service. This must be a DNS_LABEL.
42724272- // All ports within a ServiceSpec must have unique names. This maps to
42734273- // the 'Name' field in EndpointPort objects.
43204320+ // All ports within a ServiceSpec must have unique names. When considering
43214321+ // the endpoints for a Service, this must match the 'name' field in the
43224322+ // EndpointPort.
42744323 // Optional if only one ServicePort is defined on this service.
42754324 // +optional
42764325 name?: string @go(Name) @protobuf(1,bytes,opt)
···43084357// will answer requests sent through the proxy.
43094358Service: metav1.TypeMeta & {
43104359 // Standard object's metadata.
43114311- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
43604360+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
43124361 // +optional
43134362 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
4314436343154364 // Spec defines the behavior of a service.
43164316- // https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
43654365+ // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
43174366 // +optional
43184367 spec?: ServiceSpec @go(Spec) @protobuf(2,bytes,opt)
4319436843204369 // Most recently observed status of the service.
43214370 // Populated by the system.
43224371 // Read-only.
43234323- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
43724372+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
43244373 // +optional
43254374 status?: ServiceStatus @go(Status) @protobuf(3,bytes,opt)
43264375}
···43324381// ServiceList holds a list of services.
43334382ServiceList: metav1.TypeMeta & {
43344383 // Standard list metadata.
43354335- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
43844384+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
43364385 // +optional
43374386 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
43384387···43464395// * a set of secrets
43474396ServiceAccount: metav1.TypeMeta & {
43484397 // Standard object's metadata.
43494349- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
43984398+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
43504399 // +optional
43514400 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
43524401···43734422// ServiceAccountList is a list of ServiceAccount objects
43744423ServiceAccountList: metav1.TypeMeta & {
43754424 // Standard list metadata.
43764376- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
44254425+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
43774426 // +optional
43784427 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
43794428···43964445// ]
43974446Endpoints: metav1.TypeMeta & {
43984447 // Standard object's metadata.
43994399- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
44484448+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
44004449 // +optional
44014450 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
44024451···4463451244644513// EndpointPort is a tuple that describes a single port.
44654514EndpointPort: {
44664466- // The name of this port (corresponds to ServicePort.Name).
45154515+ // The name of this port. This must match the 'name' field in the
45164516+ // corresponding ServicePort.
44674517 // Must be a DNS_LABEL.
44684518 // Optional only if one port is defined.
44694519 // +optional
···44824532// EndpointsList is a list of endpoints.
44834533EndpointsList: metav1.TypeMeta & {
44844534 // Standard list metadata.
44854485- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
45354535+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
44864536 // +optional
44874537 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
44884538···49214971// Each node will have a unique identifier in the cache (i.e. in etcd).
49224972Node: metav1.TypeMeta & {
49234973 // Standard object's metadata.
49244924- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
49744974+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
49254975 // +optional
49264976 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
4927497749284978 // Spec defines the behavior of a node.
49294929- // https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
49794979+ // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
49304980 // +optional
49314981 spec?: NodeSpec @go(Spec) @protobuf(2,bytes,opt)
4932498249334983 // Most recently observed status of the node.
49344984 // Populated by the system.
49354985 // Read-only.
49364936- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
49864986+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
49374987 // +optional
49384988 status?: NodeStatus @go(Status) @protobuf(3,bytes,opt)
49394989}
···49414991// NodeList is the whole list of all Nodes which have been registered with master.
49424992NodeList: metav1.TypeMeta & {
49434993 // Standard list metadata.
49444944- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
49944994+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
49454995 // +optional
49464996 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
49474997···49715021 // More info: https://kubernetes.io/docs/tasks/administer-cluster/namespaces/
49725022 // +optional
49735023 phase?: NamespacePhase @go(Phase) @protobuf(1,bytes,opt,casttype=NamespacePhase)
50245024+50255025+ // Represents the latest available observations of a namespace's current state.
50265026+ // +optional
50275027+ // +patchMergeKey=type
50285028+ // +patchStrategy=merge
50295029+ conditions?: [...NamespaceCondition] @go(Conditions,[]NamespaceCondition) @protobuf(2,bytes,rep)
49745030}
4975503149765032NamespacePhase: string // enumNamespacePhase
···49855041// NamespaceTerminating means the namespace is undergoing graceful termination
49865042NamespaceTerminating: NamespacePhase & "Terminating"
4987504350445044+NamespaceConditionType: string // enumNamespaceConditionType
50455045+50465046+enumNamespaceConditionType:
50475047+ NamespaceDeletionDiscoveryFailure |
50485048+ NamespaceDeletionContentFailure |
50495049+ NamespaceDeletionGVParsingFailure
50505050+50515051+// NamespaceDeletionDiscoveryFailure contains information about namespace deleter errors during resource discovery.
50525052+NamespaceDeletionDiscoveryFailure: NamespaceConditionType & "NamespaceDeletionDiscoveryFailure"
50535053+50545054+// NamespaceDeletionContentFailure contains information about namespace deleter errors during deletion of resources.
50555055+NamespaceDeletionContentFailure: NamespaceConditionType & "NamespaceDeletionContentFailure"
50565056+50575057+// NamespaceDeletionGVParsingFailure contains information about namespace deleter errors parsing GV for legacy types.
50585058+NamespaceDeletionGVParsingFailure: NamespaceConditionType & "NamespaceDeletionGroupVersionParsingFailure"
50595059+50605060+// NamespaceCondition contains details about state of namespace.
50615061+NamespaceCondition: {
50625062+ // Type of namespace controller condition.
50635063+ type: NamespaceConditionType @go(Type) @protobuf(1,bytes,opt,casttype=NamespaceConditionType)
50645064+50655065+ // Status of the condition, one of True, False, Unknown.
50665066+ status: ConditionStatus @go(Status) @protobuf(2,bytes,opt,casttype=ConditionStatus)
50675067+50685068+ // +optional
50695069+ lastTransitionTime?: metav1.Time @go(LastTransitionTime) @protobuf(4,bytes,opt)
50705070+50715071+ // +optional
50725072+ reason?: string @go(Reason) @protobuf(5,bytes,opt)
50735073+50745074+ // +optional
50755075+ message?: string @go(Message) @protobuf(6,bytes,opt)
50765076+}
50775077+49885078// Namespace provides a scope for Names.
49895079// Use of multiple namespaces is optional.
49905080Namespace: metav1.TypeMeta & {
49915081 // Standard object's metadata.
49924992- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
50825082+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
49935083 // +optional
49945084 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
4995508549965086 // Spec defines the behavior of the Namespace.
49974997- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
50875087+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
49985088 // +optional
49995089 spec?: NamespaceSpec @go(Spec) @protobuf(2,bytes,opt)
5000509050015091 // Status describes the current status of a Namespace.
50025002- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
50925092+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
50035093 // +optional
50045094 status?: NamespaceStatus @go(Status) @protobuf(3,bytes,opt)
50055095}
···50075097// NamespaceList is a list of Namespaces.
50085098NamespaceList: metav1.TypeMeta & {
50095099 // Standard list metadata.
50105010- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
51005100+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
50115101 // +optional
50125102 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
50135103···50205110// Deprecated in 1.7, please use the bindings subresource of pods instead.
50215111Binding: metav1.TypeMeta & {
50225112 // Standard object's metadata.
50235023- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
51135113+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
50245114 // +optional
50255115 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
50265116···50285118 target: ObjectReference @go(Target) @protobuf(2,bytes,opt)
50295119}
5030512050315031-// A list of ephemeral containers used in API operations
51215121+// A list of ephemeral containers used with the Pod ephemeralcontainers subresource.
50325122EphemeralContainers: metav1.TypeMeta & {
50335123 // +optional
50345124 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
5035512550365036- // The new set of ephemeral containers to use for a pod.
51265126+ // A list of ephemeral containers associated with this pod. New ephemeral containers
51275127+ // may be appended to this list, but existing ephemeral containers may not be removed
51285128+ // or modified.
50375129 // +patchMergeKey=name
50385130 // +patchStrategy=merge
50395131 ephemeralContainers: [...EphemeralContainer] @go(EphemeralContainers,[]EphemeralContainer) @protobuf(2,bytes,rep)
···52015293// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
52025294ObjectReference: {
52035295 // Kind of the referent.
52045204- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
52965296+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
52055297 // +optional
52065298 kind?: string @go(Kind) @protobuf(1,bytes,opt)
52075299···52255317 apiVersion?: string @go(APIVersion) @protobuf(5,bytes,opt)
5226531852275319 // Specific resourceVersion to which this reference is made, if any.
52285228- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
53205320+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
52295321 // +optional
52305322 resourceVersion?: string @go(ResourceVersion) @protobuf(6,bytes,opt)
52315323···52945386// Event is a report of an event somewhere in the cluster.
52955387Event: metav1.TypeMeta & {
52965388 // Standard object's metadata.
52975297- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
53895389+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
52985390 metadata: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
5299539153005392 // The object that this event is about.
···53845476// EventList is a list of events.
53855477EventList: metav1.TypeMeta & {
53865478 // Standard list metadata.
53875387- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
54795479+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
53885480 // +optional
53895481 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
53905482···54485540// LimitRange sets resource usage limits for each kind of resource in a Namespace.
54495541LimitRange: metav1.TypeMeta & {
54505542 // Standard object's metadata.
54515451- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
55435543+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
54525544 // +optional
54535545 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
5454554654555547 // Spec defines the limits enforced.
54565456- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
55485548+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
54575549 // +optional
54585550 spec?: LimitRangeSpec @go(Spec) @protobuf(2,bytes,opt)
54595551}
···54615553// LimitRangeList is a list of LimitRange items.
54625554LimitRangeList: metav1.TypeMeta & {
54635555 // Standard list metadata.
54645464- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
55565556+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
54655557 // +optional
54665558 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
54675559···56255717// ResourceQuota sets aggregate quota restrictions enforced per namespace
56265718ResourceQuota: metav1.TypeMeta & {
56275719 // Standard object's metadata.
56285628- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
57205720+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
56295721 // +optional
56305722 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
5631572356325724 // Spec defines the desired quota.
56335633- // https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
57255725+ // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
56345726 // +optional
56355727 spec?: ResourceQuotaSpec @go(Spec) @protobuf(2,bytes,opt)
5636572856375729 // Status defines the actual enforced quota and its current usage.
56385638- // https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
57305730+ // https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
56395731 // +optional
56405732 status?: ResourceQuotaStatus @go(Status) @protobuf(3,bytes,opt)
56415733}
···56435735// ResourceQuotaList is a list of ResourceQuota items.
56445736ResourceQuotaList: metav1.TypeMeta & {
56455737 // Standard list metadata.
56465646- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
57385738+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
56475739 // +optional
56485740 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
56495741···56565748// the Data field must be less than MaxSecretSize bytes.
56575749Secret: metav1.TypeMeta & {
56585750 // Standard object's metadata.
56595659- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
57515751+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
56605752 // +optional
56615753 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
56625754···57875879// SecretList is a list of Secret.
57885880SecretList: metav1.TypeMeta & {
57895881 // Standard list metadata.
57905790- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
58825882+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
57915883 // +optional
57925884 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
57935885···57995891// ConfigMap holds configuration data for pods to consume.
58005892ConfigMap: metav1.TypeMeta & {
58015893 // Standard object's metadata.
58025802- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
58945894+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
58035895 // +optional
58045896 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
58055897···5824591658255917// ConfigMapList is a resource containing a list of ConfigMap objects.
58265918ConfigMapList: metav1.TypeMeta & {
58275827- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
59195919+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
58285920 // +optional
58295921 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
58305922···58645956// ComponentStatus (and ComponentStatusList) holds the cluster validation info.
58655957ComponentStatus: metav1.TypeMeta & {
58665958 // Standard object's metadata.
58675867- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
59595959+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
58685960 // +optional
58695961 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
58705962···58785970// Status of all the conditions for the component as a list of ComponentStatus objects.
58795971ComponentStatusList: metav1.TypeMeta & {
58805972 // Standard list metadata.
58815881- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
59735973+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
58825974 // +optional
58835975 metadata?: metav1.ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
58845976···60696161// RangeAllocation is not a public type.
60706162RangeAllocation: metav1.TypeMeta & {
60716163 // Standard object's metadata.
60726072- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
61646164+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
60736165 // +optional
60746166 metadata?: metav1.ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
60756167
···19192020// LabelNamespaceNodeRestriction is a forbidden label namespace that kubelets may not self-set when the NodeRestriction admission plugin is enabled
2121LabelNamespaceNodeRestriction: "node-restriction.kubernetes.io"
2222+2323+// IsHeadlessService is added by Controller to an Endpoint denoting if its parent
2424+// Service is Headless. The existence of this label can be used further by other
2525+// controllers and kube-proxy to check if the Endpoint objects should be replicated when
2626+// using Headless Services
2727+IsHeadlessService: "service.kubernetes.io/headless"
···890890891891 // AllowedCSIDrivers is a whitelist of inline CSI drivers that must be explicitly set to be embedded within a pod spec.
892892 // An empty value indicates that any CSI driver can be used for inline ephemeral volumes.
893893- // This is an alpha field, and is only honored if the API server enables the CSIInlineVolume feature gate.
894893 // +optional
895894 allowedCSIDrivers?: [...AllowedCSIDriver] @go(AllowedCSIDrivers,[]AllowedCSIDriver) @protobuf(23,bytes,rep)
896895
···6677// Quantity is a fixed-point representation of a number.
88// It provides convenient marshaling/unmarshaling in JSON and YAML,
99-// in addition to String() and Int64() accessors.
99+// in addition to String() and AsInt64() accessors.
1010//
1111// The serialization format is:
1212//
···2828 // Servers may infer this from the endpoint the client submits requests to.
2929 // Cannot be updated.
3030 // In CamelCase.
3131- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
3131+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
3232 // +optional
3333 kind?: string @go(Kind) @protobuf(1,bytes,opt)
34343535 // APIVersion defines the versioned schema of this representation of an object.
3636 // Servers should convert recognized schemas to the latest internal value, and
3737 // may reject unrecognized values.
3838- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources
3838+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
3939 // +optional
4040 apiVersion?: string @go(APIVersion) @protobuf(2,bytes,opt)
4141}
···4646 // selfLink is a URL representing this object.
4747 // Populated by the system.
4848 // Read-only.
4949+ //
5050+ // DEPRECATED
5151+ // Kubernetes will stop propagating this field in 1.20 release and the field is planned
5252+ // to be removed in 1.21 release.
4953 // +optional
5054 selfLink?: string @go(SelfLink) @protobuf(1,bytes,opt)
5155···5458 // Value must be treated as opaque by clients and passed unmodified back to the server.
5559 // Populated by the system.
5660 // Read-only.
5757- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
6161+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
5862 // +optional
5963 resourceVersion?: string @go(ResourceVersion) @protobuf(2,bytes,opt)
6064···7680 // Servers older than v1.15 do not set this field.
7781 // The intended use of the remainingItemCount is *estimating* the size of a collection. Clients
7882 // should not rely on the remainingItemCount to be set or to be exact.
7979- //
8080- // This field is alpha and can be changed or removed without notice.
8181- //
8283 // +optional
8384 remainingItemCount?: null | int64 @go(RemainingItemCount,*int64) @protobuf(4,bytes,opt)
8485}
···112113 // should retry (optionally after the time indicated in the Retry-After header).
113114 //
114115 // Applied only if Name is not specified.
115115- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#idempotency
116116+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
116117 // +optional
117118 generateName?: string @go(GenerateName) @protobuf(2,bytes,opt)
118119···130131 // SelfLink is a URL representing this object.
131132 // Populated by the system.
132133 // Read-only.
134134+ //
135135+ // DEPRECATED
136136+ // Kubernetes will stop propagating this field in 1.20 release and the field is planned
137137+ // to be removed in 1.21 release.
133138 // +optional
134139 selfLink?: string @go(SelfLink) @protobuf(4,bytes,opt)
135140···152157 // Populated by the system.
153158 // Read-only.
154159 // Value must be treated as opaque by clients and .
155155- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency
160160+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
156161 // +optional
157162 resourceVersion?: string @go(ResourceVersion) @protobuf(6,bytes,opt)
158163···168173 // Populated by the system.
169174 // Read-only.
170175 // Null for lists.
171171- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
176176+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
172177 // +optional
173178 creationTimestamp?: Time @go(CreationTimestamp) @protobuf(8,bytes,opt)
174179···189194 //
190195 // Populated by the system when a graceful deletion is requested.
191196 // Read-only.
192192- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
197197+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
193198 // +optional
194199 deletionTimestamp?: null | Time @go(DeletionTimestamp,*Time) @protobuf(9,bytes,opt)
195200···274279 apiVersion: string @go(APIVersion) @protobuf(5,bytes,opt)
275280276281 // Kind of the referent.
277277- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
282282+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
278283 kind: string @go(Kind) @protobuf(1,bytes,opt)
279284280285 // Name of the referent.
···547552// Status is a return value for calls that don't return other objects.
548553Status: TypeMeta & {
549554 // Standard list metadata.
550550- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
555555+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
551556 // +optional
552557 metadata?: ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
553558554559 // Status of the operation.
555560 // One of: "Success" or "Failure".
556556- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
561561+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
557562 // +optional
558563 status?: string @go(Status) @protobuf(2,bytes,opt)
559564···598603599604 // The kind attribute of the resource associated with the status StatusReason.
600605 // On some operations may differ from the requested resource Kind.
601601- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
606606+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
602607 // +optional
603608 kind?: string @go(Kind) @protobuf(3,bytes,opt)
604609···750755// doesn't make any sense, for example deleting a read-only object. This is different than
751756// StatusReasonInvalid above which indicates that the API call could possibly succeed, but the
752757// data was invalid. API calls that return BadRequest can never succeed.
758758+// Status code 400
753759StatusReasonBadRequest: StatusReason & "BadRequest"
754760755761// StatusReasonMethodNotAllowed means that the action the client attempted to perform on the
756762// resource was not supported by the code - for instance, attempting to delete a resource that
757763// can only be created. API calls that return MethodNotAllowed can never succeed.
764764+// Status code 405
758765StatusReasonMethodNotAllowed: StatusReason & "MethodNotAllowed"
759766760767// StatusReasonNotAcceptable means that the accept types indicated by the client were not acceptable
···864871// List holds a list of objects, which may not be known by the server.
865872List: TypeMeta & {
866873 // Standard list metadata.
867867- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
874874+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
868875 // +optional
869876 metadata?: ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
870877···10861093 // +optional
10871094 time?: null | Time @go(Time,*Time) @protobuf(4,bytes,opt)
1088109510891089- // Fields identifies a set of fields.
10961096+ // FieldsType is the discriminator for the different fields format and version.
10971097+ // There is currently only one possible value: "FieldsV1"
10981098+ fieldsType?: string @go(FieldsType) @protobuf(6,bytes,opt)
10991099+11001100+ // FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
10901101 // +optional
10911091- fields?: null | Fields @go(Fields,*Fields) @protobuf(5,bytes,opt,casttype=Fields)
11021102+ fieldsV1?: null | FieldsV1 @go(FieldsV1,*FieldsV1) @protobuf(7,bytes,opt)
10921103}
1093110410941105// ManagedFieldsOperationType is the type of operation which lead to a ManagedFieldsEntry being created.
···11011112ManagedFieldsOperationApply: ManagedFieldsOperationType & "Apply"
11021113ManagedFieldsOperationUpdate: ManagedFieldsOperationType & "Update"
1103111411041104-// Fields stores a set of fields in a data structure like a Trie.
11051105-// To understand how this is used, see: https://github.com/kubernetes-sigs/structured-merge-diff
11061106-Fields: _
11151115+// FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.
11161116+//
11171117+// Each key is either a '.' representing the field itself, and will always map to an empty set,
11181118+// or a string representing a sub-field or item. The string will follow one of these four formats:
11191119+// 'f:<name>', where <name> is the name of a field in a struct, or key in a map
11201120+// 'v:<value>', where <value> is the exact json formatted value of a list item
11211121+// 'i:<index>', where <index> is position of a item in a list
11221122+// 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values
11231123+// If a key maps to an empty Fields value, the field that key represents is part of the set.
11241124+//
11251125+// The exact format is defined in sigs.k8s.io/structured-merge-diff
11261126+FieldsV1: _
1107112711081128// Table is a tabular representation of a set of API resources. The server transforms the
11091129// object into a set of preferred columns for quickly reviewing the objects.
···11111131// +protobuf=false
11121132Table: TypeMeta & {
11131133 // Standard list metadata.
11141114- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
11341134+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
11151135 // +optional
11161136 metadata?: ListMeta @go(ListMeta)
11171137···12481268// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
12491269PartialObjectMetadata: TypeMeta & {
12501270 // Standard object's metadata.
12511251- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
12711271+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
12521272 // +optional
12531273 metadata?: ObjectMeta @go(ObjectMeta) @protobuf(1,bytes,opt)
12541274}
···12571277// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
12581278PartialObjectMetadataList: TypeMeta & {
12591279 // Standard list metadata.
12601260- // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds
12801280+ // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
12611281 // +optional
12621282 metadata?: ListMeta @go(ListMeta) @protobuf(1,bytes,opt)
12631283