update tags in types for new genclient syntax
This commit is contained in:
@@ -91,8 +91,8 @@ type ClusterStatus struct {
|
|||||||
Region string
|
Region string
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Information about a registered cluster in a federated kubernetes setup. Clusters are not namespaced and have unique names in the federation.
|
// Information about a registered cluster in a federated kubernetes setup. Clusters are not namespaced and have unique names in the federation.
|
||||||
|
|||||||
@@ -92,9 +92,9 @@ type ClusterStatus struct {
|
|||||||
Region string `json:"region,omitempty" protobuf:"bytes,6,opt,name=region"`
|
Region string `json:"region,omitempty" protobuf:"bytes,6,opt,name=region"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
|
|
||||||
// Information about a registered cluster in a federated kubernetes setup. Clusters are not namespaced and have unique names in the federation.
|
// Information about a registered cluster in a federated kubernetes setup. Clusters are not namespaced and have unique names in the federation.
|
||||||
type Cluster struct {
|
type Cluster struct {
|
||||||
|
|||||||
@@ -415,8 +415,8 @@ const (
|
|||||||
AlphaStorageNodeAffinityAnnotation = "volume.alpha.kubernetes.io/node-affinity"
|
AlphaStorageNodeAffinityAnnotation = "volume.alpha.kubernetes.io/node-affinity"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
type PersistentVolume struct {
|
type PersistentVolume struct {
|
||||||
@@ -493,7 +493,7 @@ type PersistentVolumeList struct {
|
|||||||
Items []PersistentVolume
|
Items []PersistentVolume
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// PersistentVolumeClaim is a user's request for and claim to a persistent volume
|
// PersistentVolumeClaim is a user's request for and claim to a persistent volume
|
||||||
@@ -2377,7 +2377,7 @@ type PodStatusResult struct {
|
|||||||
Status PodStatus
|
Status PodStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Pod is a collection of containers, used as either input (create, update) or as output (list, get).
|
// Pod is a collection of containers, used as either input (create, update) or as output (list, get).
|
||||||
@@ -2407,7 +2407,7 @@ type PodTemplateSpec struct {
|
|||||||
Spec PodSpec
|
Spec PodSpec
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// PodTemplate describes a template for creating copies of a predefined pod.
|
// PodTemplate describes a template for creating copies of a predefined pod.
|
||||||
@@ -2515,7 +2515,7 @@ type ReplicationControllerCondition struct {
|
|||||||
Message string
|
Message string
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ReplicationController represents the configuration of a replication controller.
|
// ReplicationController represents the configuration of a replication controller.
|
||||||
@@ -2750,7 +2750,7 @@ type ServicePort struct {
|
|||||||
NodePort int32
|
NodePort int32
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Service is a named abstraction of software service (for example, mysql) consisting of local port
|
// Service is a named abstraction of software service (for example, mysql) consisting of local port
|
||||||
@@ -2770,7 +2770,7 @@ type Service struct {
|
|||||||
Status ServiceStatus
|
Status ServiceStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ServiceAccount binds together:
|
// ServiceAccount binds together:
|
||||||
@@ -2808,7 +2808,7 @@ type ServiceAccountList struct {
|
|||||||
Items []ServiceAccount
|
Items []ServiceAccount
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Endpoints is a collection of endpoints that implement the actual service. Example:
|
// Endpoints is a collection of endpoints that implement the actual service. Example:
|
||||||
@@ -3150,8 +3150,8 @@ const (
|
|||||||
// ResourceList is a set of (resource name, quantity) pairs.
|
// ResourceList is a set of (resource name, quantity) pairs.
|
||||||
type ResourceList map[ResourceName]resource.Quantity
|
type ResourceList map[ResourceName]resource.Quantity
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Node is a worker node in Kubernetes
|
// Node is a worker node in Kubernetes
|
||||||
@@ -3213,8 +3213,8 @@ const (
|
|||||||
NamespaceTerminating NamespacePhase = "Terminating"
|
NamespaceTerminating NamespacePhase = "Terminating"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// A namespace provides a scope for Names.
|
// A namespace provides a scope for Names.
|
||||||
@@ -3532,7 +3532,7 @@ const (
|
|||||||
EventTypeWarning string = "Warning"
|
EventTypeWarning string = "Warning"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Event is a report of an event somewhere in the cluster.
|
// Event is a report of an event somewhere in the cluster.
|
||||||
@@ -3641,7 +3641,7 @@ type LimitRangeSpec struct {
|
|||||||
Limits []LimitRangeItem
|
Limits []LimitRangeItem
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// LimitRange sets resource usage limits for each kind of resource in a Namespace
|
// LimitRange sets resource usage limits for each kind of resource in a Namespace
|
||||||
@@ -3734,7 +3734,7 @@ type ResourceQuotaStatus struct {
|
|||||||
Used ResourceList
|
Used ResourceList
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ResourceQuota sets aggregate quota restrictions enforced per namespace
|
// ResourceQuota sets aggregate quota restrictions enforced per namespace
|
||||||
@@ -3764,7 +3764,7 @@ type ResourceQuotaList struct {
|
|||||||
Items []ResourceQuota
|
Items []ResourceQuota
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Secret holds secret data of a certain type. The total bytes of the values in
|
// Secret holds secret data of a certain type. The total bytes of the values in
|
||||||
@@ -3884,7 +3884,7 @@ type SecretList struct {
|
|||||||
Items []Secret
|
Items []Secret
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ConfigMap holds configuration data for components or applications to consume.
|
// ConfigMap holds configuration data for components or applications to consume.
|
||||||
@@ -3969,8 +3969,8 @@ type ComponentCondition struct {
|
|||||||
Error string
|
Error string
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ComponentStatus (and ComponentStatusList) holds the cluster validation info.
|
// ComponentStatus (and ComponentStatusList) holds the cluster validation info.
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// InitializerConfiguration describes the configuration of initializers.
|
// InitializerConfiguration describes the configuration of initializers.
|
||||||
@@ -121,8 +121,8 @@ const (
|
|||||||
Fail FailurePolicyType = "Fail"
|
Fail FailurePolicyType = "Fail"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ExternalAdmissionHookConfiguration describes the configuration of initializers.
|
// ExternalAdmissionHookConfiguration describes the configuration of initializers.
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import (
|
|||||||
"k8s.io/kubernetes/pkg/api"
|
"k8s.io/kubernetes/pkg/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// StatefulSet represents a set of pods with consistent identities.
|
// StatefulSet represents a set of pods with consistent identities.
|
||||||
@@ -199,7 +199,7 @@ type StatefulSetList struct {
|
|||||||
Items []StatefulSet
|
Items []StatefulSet
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ControllerRevision implements an immutable snapshot of state data. Clients
|
// ControllerRevision implements an immutable snapshot of state data. Clients
|
||||||
|
|||||||
@@ -35,9 +35,9 @@ const (
|
|||||||
ImpersonateUserExtraHeaderPrefix = "Impersonate-Extra-"
|
ImpersonateUserExtraHeaderPrefix = "Impersonate-Extra-"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// TokenReview attempts to authenticate a token to a known user.
|
// TokenReview attempts to authenticate a token to a known user.
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// SubjectAccessReview checks whether or not a user or group can perform an action. Not filling in a
|
// SubjectAccessReview checks whether or not a user or group can perform an action. Not filling in a
|
||||||
@@ -38,9 +38,9 @@ type SubjectAccessReview struct {
|
|||||||
Status SubjectAccessReviewStatus
|
Status SubjectAccessReviewStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a
|
// SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a
|
||||||
@@ -57,8 +57,8 @@ type SelfSubjectAccessReview struct {
|
|||||||
Status SubjectAccessReviewStatus
|
Status SubjectAccessReviewStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.
|
// LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.
|
||||||
|
|||||||
@@ -326,7 +326,7 @@ type ResourceMetricStatus struct {
|
|||||||
CurrentAverageValue resource.Quantity
|
CurrentAverageValue resource.Quantity
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// HorizontalPodAutoscaler is the configuration for a horizontal pod
|
// HorizontalPodAutoscaler is the configuration for a horizontal pod
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
"k8s.io/kubernetes/pkg/api"
|
"k8s.io/kubernetes/pkg/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Job represents the configuration of a single job.
|
// Job represents the configuration of a single job.
|
||||||
@@ -192,7 +192,7 @@ type JobCondition struct {
|
|||||||
Message string
|
Message string
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// CronJob represents the configuration of a single cron job.
|
// CronJob represents the configuration of a single cron job.
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ package certificates
|
|||||||
|
|
||||||
import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Describes a certificate signing request
|
// Describes a certificate signing request
|
||||||
|
|||||||
@@ -60,8 +60,8 @@ type ScaleStatus struct {
|
|||||||
Selector *metav1.LabelSelector
|
Selector *metav1.LabelSelector
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// represents a scaling request for a resource.
|
// represents a scaling request for a resource.
|
||||||
@@ -110,8 +110,8 @@ type CustomMetricCurrentStatusList struct {
|
|||||||
Items []CustomMetricCurrentStatus
|
Items []CustomMetricCurrentStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource
|
// A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource
|
||||||
@@ -165,7 +165,7 @@ type ThirdPartyResourceData struct {
|
|||||||
Data []byte
|
Data []byte
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
type Deployment struct {
|
type Deployment struct {
|
||||||
@@ -519,7 +519,7 @@ type DaemonSetStatus struct {
|
|||||||
CollisionCount *int64
|
CollisionCount *int64
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// DaemonSet represents the configuration of a daemon set.
|
// DaemonSet represents the configuration of a daemon set.
|
||||||
@@ -578,7 +578,7 @@ type ThirdPartyResourceDataList struct {
|
|||||||
Items []ThirdPartyResourceData
|
Items []ThirdPartyResourceData
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Ingress is a collection of rules that allow inbound connections to reach the
|
// Ingress is a collection of rules that allow inbound connections to reach the
|
||||||
@@ -747,7 +747,7 @@ type IngressBackend struct {
|
|||||||
ServicePort intstr.IntOrString
|
ServicePort intstr.IntOrString
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ReplicaSet represents the configuration of a replica set.
|
// ReplicaSet represents the configuration of a replica set.
|
||||||
@@ -856,8 +856,8 @@ type ReplicaSetCondition struct {
|
|||||||
Message string
|
Message string
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// PodSecurityPolicy governs the ability to make requests that affect the SecurityContext
|
// PodSecurityPolicy governs the ability to make requests that affect the SecurityContext
|
||||||
@@ -1081,7 +1081,7 @@ type PodSecurityPolicyList struct {
|
|||||||
Items []PodSecurityPolicy
|
Items []PodSecurityPolicy
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// NetworkPolicy describes what network traffic is allowed for a set of Pods
|
// NetworkPolicy describes what network traffic is allowed for a set of Pods
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ImageReview checks if the set of images in a pod are allowed.
|
// ImageReview checks if the set of images in a pod are allowed.
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import (
|
|||||||
"k8s.io/kubernetes/pkg/api"
|
"k8s.io/kubernetes/pkg/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// NetworkPolicy describes what network traffic is allowed for a set of Pods
|
// NetworkPolicy describes what network traffic is allowed for a set of Pods
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ type PodDisruptionBudgetStatus struct {
|
|||||||
ExpectedPods int32
|
ExpectedPods int32
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
|
// PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
|
||||||
@@ -104,8 +104,8 @@ type PodDisruptionBudgetList struct {
|
|||||||
Items []PodDisruptionBudget
|
Items []PodDisruptionBudget
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Eviction evicts a pod from its node subject to certain policies and safety constraints.
|
// Eviction evicts a pod from its node subject to certain policies and safety constraints.
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ type PodDisruptionBudgetStatus struct {
|
|||||||
ExpectedPods int32 `json:"expectedPods" protobuf:"varint,4,opt,name=expectedPods"`
|
ExpectedPods int32 `json:"expectedPods" protobuf:"varint,4,opt,name=expectedPods"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
|
// PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ type RoleRef struct {
|
|||||||
Name string
|
Name string
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
||||||
@@ -100,7 +100,7 @@ type Role struct {
|
|||||||
Rules []PolicyRule
|
Rules []PolicyRule
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace.
|
// RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace.
|
||||||
@@ -142,8 +142,8 @@ type RoleList struct {
|
|||||||
Items []Role
|
Items []Role
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
||||||
@@ -156,8 +156,8 @@ type ClusterRole struct {
|
|||||||
Rules []PolicyRule
|
Rules []PolicyRule
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ package scheduling
|
|||||||
|
|
||||||
import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// PriorityClass defines the mapping from a priority class name to the priority
|
// PriorityClass defines the mapping from a priority class name to the priority
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
"k8s.io/kubernetes/pkg/api"
|
"k8s.io/kubernetes/pkg/api"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// PodPreset is a policy resource that defines additional runtime
|
// PodPreset is a policy resource that defines additional runtime
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ package storage
|
|||||||
|
|
||||||
import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// StorageClass describes a named "class" of storage offered in a cluster.
|
// StorageClass describes a named "class" of storage offered in a cluster.
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// InitializerConfiguration describes the configuration of initializers.
|
// InitializerConfiguration describes the configuration of initializers.
|
||||||
@@ -123,8 +123,8 @@ const (
|
|||||||
Fail FailurePolicyType = "Fail"
|
Fail FailurePolicyType = "Fail"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ExternalAdmissionHookConfiguration describes the configuration of initializers.
|
// ExternalAdmissionHookConfiguration describes the configuration of initializers.
|
||||||
|
|||||||
@@ -56,8 +56,8 @@ type ScaleStatus struct {
|
|||||||
TargetSelector string `json:"targetSelector,omitempty" protobuf:"bytes,3,opt,name=targetSelector"`
|
TargetSelector string `json:"targetSelector,omitempty" protobuf:"bytes,3,opt,name=targetSelector"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Scale represents a scaling request for a resource.
|
// Scale represents a scaling request for a resource.
|
||||||
@@ -76,7 +76,7 @@ type Scale struct {
|
|||||||
Status ScaleStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
Status ScaleStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// StatefulSet represents a set of pods with consistent identities.
|
// StatefulSet represents a set of pods with consistent identities.
|
||||||
@@ -253,7 +253,7 @@ type StatefulSetList struct {
|
|||||||
Items []StatefulSet `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []StatefulSet `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Deployment enables declarative updates for Pods and ReplicaSets.
|
// Deployment enables declarative updates for Pods and ReplicaSets.
|
||||||
@@ -487,7 +487,7 @@ type DeploymentList struct {
|
|||||||
Items []Deployment `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []Deployment `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ControllerRevision implements an immutable snapshot of state data. Clients
|
// ControllerRevision implements an immutable snapshot of state data. Clients
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ type ScaleStatus struct {
|
|||||||
TargetSelector string `json:"targetSelector,omitempty" protobuf:"bytes,3,opt,name=targetSelector"`
|
TargetSelector string `json:"targetSelector,omitempty" protobuf:"bytes,3,opt,name=targetSelector"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +noMethods=true
|
// +noMethods=true
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
@@ -78,7 +78,7 @@ type Scale struct {
|
|||||||
Status ScaleStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
Status ScaleStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// WIP: This is not ready to be used and we plan to make breaking changes to it.
|
// WIP: This is not ready to be used and we plan to make breaking changes to it.
|
||||||
@@ -261,7 +261,7 @@ type StatefulSetList struct {
|
|||||||
Items []StatefulSet `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []StatefulSet `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// WIP: This is not ready to be used and we plan to make breaking changes to it.
|
// WIP: This is not ready to be used and we plan to make breaking changes to it.
|
||||||
|
|||||||
@@ -37,9 +37,9 @@ const (
|
|||||||
ImpersonateUserExtraHeaderPrefix = "Impersonate-Extra-"
|
ImpersonateUserExtraHeaderPrefix = "Impersonate-Extra-"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// TokenReview attempts to authenticate a token to a known user.
|
// TokenReview attempts to authenticate a token to a known user.
|
||||||
|
|||||||
@@ -22,9 +22,9 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// TokenReview attempts to authenticate a token to a known user.
|
// TokenReview attempts to authenticate a token to a known user.
|
||||||
|
|||||||
@@ -22,9 +22,9 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// SubjectAccessReview checks whether or not a user or group can perform an action.
|
// SubjectAccessReview checks whether or not a user or group can perform an action.
|
||||||
@@ -41,9 +41,9 @@ type SubjectAccessReview struct {
|
|||||||
Status SubjectAccessReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
Status SubjectAccessReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a
|
// SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a
|
||||||
@@ -62,8 +62,8 @@ type SelfSubjectAccessReview struct {
|
|||||||
Status SubjectAccessReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
Status SubjectAccessReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.
|
// LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.
|
||||||
|
|||||||
@@ -22,9 +22,9 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// SubjectAccessReview checks whether or not a user or group can perform an action.
|
// SubjectAccessReview checks whether or not a user or group can perform an action.
|
||||||
@@ -41,9 +41,9 @@ type SubjectAccessReview struct {
|
|||||||
Status SubjectAccessReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
Status SubjectAccessReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a
|
// SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a
|
||||||
@@ -62,8 +62,8 @@ type SelfSubjectAccessReview struct {
|
|||||||
Status SubjectAccessReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
Status SubjectAccessReviewStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.
|
// LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace.
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ type HorizontalPodAutoscalerStatus struct {
|
|||||||
CurrentCPUUtilizationPercentage *int32 `json:"currentCPUUtilizationPercentage,omitempty" protobuf:"varint,5,opt,name=currentCPUUtilizationPercentage"`
|
CurrentCPUUtilizationPercentage *int32 `json:"currentCPUUtilizationPercentage,omitempty" protobuf:"varint,5,opt,name=currentCPUUtilizationPercentage"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// configuration of a horizontal pod autoscaler.
|
// configuration of a horizontal pod autoscaler.
|
||||||
|
|||||||
@@ -275,7 +275,7 @@ type ResourceMetricStatus struct {
|
|||||||
CurrentAverageValue resource.Quantity `json:"currentAverageValue" protobuf:"bytes,3,name=currentAverageValue"`
|
CurrentAverageValue resource.Quantity `json:"currentAverageValue" protobuf:"bytes,3,name=currentAverageValue"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// HorizontalPodAutoscaler is the configuration for a horizontal pod
|
// HorizontalPodAutoscaler is the configuration for a horizontal pod
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Job represents the configuration of a single job.
|
// Job represents the configuration of a single job.
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ type JobTemplateSpec struct {
|
|||||||
Spec batchv1.JobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
|
Spec batchv1.JobSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// CronJob represents the configuration of a single cron job.
|
// CronJob represents the configuration of a single cron job.
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Describes a certificate signing request
|
// Describes a certificate signing request
|
||||||
|
|||||||
@@ -464,8 +464,8 @@ const (
|
|||||||
AlphaStorageNodeAffinityAnnotation = "volume.alpha.kubernetes.io/node-affinity"
|
AlphaStorageNodeAffinityAnnotation = "volume.alpha.kubernetes.io/node-affinity"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// PersistentVolume (PV) is a storage resource provisioned by an administrator.
|
// PersistentVolume (PV) is a storage resource provisioned by an administrator.
|
||||||
@@ -566,7 +566,7 @@ type PersistentVolumeList struct {
|
|||||||
Items []PersistentVolume `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []PersistentVolume `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// PersistentVolumeClaim is a user's request for and claim to a persistent volume
|
// PersistentVolumeClaim is a user's request for and claim to a persistent volume
|
||||||
@@ -2677,7 +2677,7 @@ type PodStatusResult struct {
|
|||||||
Status PodStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"`
|
Status PodStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Pod is a collection of containers that can run on a host. This resource is created
|
// Pod is a collection of containers that can run on a host. This resource is created
|
||||||
@@ -2731,7 +2731,7 @@ type PodTemplateSpec struct {
|
|||||||
Spec PodSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
|
Spec PodSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// PodTemplate describes a template for creating copies of a predefined pod.
|
// PodTemplate describes a template for creating copies of a predefined pod.
|
||||||
@@ -2855,7 +2855,7 @@ type ReplicationControllerCondition struct {
|
|||||||
Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
|
Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ReplicationController represents the configuration of a replication controller.
|
// ReplicationController represents the configuration of a replication controller.
|
||||||
@@ -3109,7 +3109,7 @@ type ServicePort struct {
|
|||||||
NodePort int32 `json:"nodePort,omitempty" protobuf:"varint,5,opt,name=nodePort"`
|
NodePort int32 `json:"nodePort,omitempty" protobuf:"varint,5,opt,name=nodePort"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Service is a named abstraction of software service (for example, mysql) consisting of local port
|
// Service is a named abstraction of software service (for example, mysql) consisting of local port
|
||||||
@@ -3155,7 +3155,7 @@ type ServiceList struct {
|
|||||||
Items []Service `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []Service `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ServiceAccount binds together:
|
// ServiceAccount binds together:
|
||||||
@@ -3204,7 +3204,7 @@ type ServiceAccountList struct {
|
|||||||
Items []ServiceAccount `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []ServiceAccount `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Endpoints is a collection of endpoints that implement the actual service. Example:
|
// Endpoints is a collection of endpoints that implement the actual service. Example:
|
||||||
@@ -3587,8 +3587,8 @@ const (
|
|||||||
// ResourceList is a set of (resource name, quantity) pairs.
|
// ResourceList is a set of (resource name, quantity) pairs.
|
||||||
type ResourceList map[ResourceName]resource.Quantity
|
type ResourceList map[ResourceName]resource.Quantity
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Node is a worker node in Kubernetes.
|
// Node is a worker node in Kubernetes.
|
||||||
@@ -3662,8 +3662,8 @@ const (
|
|||||||
NamespaceTerminating NamespacePhase = "Terminating"
|
NamespaceTerminating NamespacePhase = "Terminating"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Namespace provides a scope for Names.
|
// Namespace provides a scope for Names.
|
||||||
@@ -4057,7 +4057,7 @@ const (
|
|||||||
EventTypeWarning string = "Warning"
|
EventTypeWarning string = "Warning"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Event is a report of an event somewhere in the cluster.
|
// Event is a report of an event somewhere in the cluster.
|
||||||
@@ -4171,7 +4171,7 @@ type LimitRangeSpec struct {
|
|||||||
Limits []LimitRangeItem `json:"limits" protobuf:"bytes,1,rep,name=limits"`
|
Limits []LimitRangeItem `json:"limits" protobuf:"bytes,1,rep,name=limits"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// LimitRange sets resource usage limits for each kind of resource in a Namespace.
|
// LimitRange sets resource usage limits for each kind of resource in a Namespace.
|
||||||
@@ -4272,7 +4272,7 @@ type ResourceQuotaStatus struct {
|
|||||||
Used ResourceList `json:"used,omitempty" protobuf:"bytes,2,rep,name=used,casttype=ResourceList,castkey=ResourceName"`
|
Used ResourceList `json:"used,omitempty" protobuf:"bytes,2,rep,name=used,casttype=ResourceList,castkey=ResourceName"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ResourceQuota sets aggregate quota restrictions enforced per namespace
|
// ResourceQuota sets aggregate quota restrictions enforced per namespace
|
||||||
@@ -4309,7 +4309,7 @@ type ResourceQuotaList struct {
|
|||||||
Items []ResourceQuota `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []ResourceQuota `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Secret holds secret data of a certain type. The total bytes of the values in
|
// Secret holds secret data of a certain type. The total bytes of the values in
|
||||||
@@ -4439,7 +4439,7 @@ type SecretList struct {
|
|||||||
Items []Secret `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []Secret `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ConfigMap holds configuration data for pods to consume.
|
// ConfigMap holds configuration data for pods to consume.
|
||||||
@@ -4496,8 +4496,8 @@ type ComponentCondition struct {
|
|||||||
Error string `json:"error,omitempty" protobuf:"bytes,4,opt,name=error"`
|
Error string `json:"error,omitempty" protobuf:"bytes,4,opt,name=error"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ComponentStatus (and ComponentStatusList) holds the cluster validation info.
|
// ComponentStatus (and ComponentStatusList) holds the cluster validation info.
|
||||||
|
|||||||
@@ -50,8 +50,8 @@ type ScaleStatus struct {
|
|||||||
TargetSelector string `json:"targetSelector,omitempty" protobuf:"bytes,3,opt,name=targetSelector"`
|
TargetSelector string `json:"targetSelector,omitempty" protobuf:"bytes,3,opt,name=targetSelector"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// represents a scaling request for a resource.
|
// represents a scaling request for a resource.
|
||||||
@@ -100,8 +100,8 @@ type CustomMetricCurrentStatusList struct {
|
|||||||
Items []CustomMetricCurrentStatus `json:"items" protobuf:"bytes,1,rep,name=items"`
|
Items []CustomMetricCurrentStatus `json:"items" protobuf:"bytes,1,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource
|
// A ThirdPartyResource is a generic representation of a resource, it is used by add-ons and plugins to add new resource
|
||||||
@@ -157,7 +157,7 @@ type ThirdPartyResourceData struct {
|
|||||||
Data []byte `json:"data,omitempty" protobuf:"bytes,2,opt,name=data"`
|
Data []byte `json:"data,omitempty" protobuf:"bytes,2,opt,name=data"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Deployment enables declarative updates for Pods and ReplicaSets.
|
// Deployment enables declarative updates for Pods and ReplicaSets.
|
||||||
@@ -524,7 +524,7 @@ type DaemonSetStatus struct {
|
|||||||
CollisionCount *int64 `json:"collisionCount,omitempty" protobuf:"varint,9,opt,name=collisionCount"`
|
CollisionCount *int64 `json:"collisionCount,omitempty" protobuf:"varint,9,opt,name=collisionCount"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// DaemonSet represents the configuration of a daemon set.
|
// DaemonSet represents the configuration of a daemon set.
|
||||||
@@ -590,7 +590,7 @@ type ThirdPartyResourceDataList struct {
|
|||||||
Items []ThirdPartyResourceData `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []ThirdPartyResourceData `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Ingress is a collection of rules that allow inbound connections to reach the
|
// Ingress is a collection of rules that allow inbound connections to reach the
|
||||||
@@ -759,7 +759,7 @@ type IngressBackend struct {
|
|||||||
ServicePort intstr.IntOrString `json:"servicePort" protobuf:"bytes,2,opt,name=servicePort"`
|
ServicePort intstr.IntOrString `json:"servicePort" protobuf:"bytes,2,opt,name=servicePort"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ReplicaSet represents the configuration of a ReplicaSet.
|
// ReplicaSet represents the configuration of a ReplicaSet.
|
||||||
@@ -886,8 +886,8 @@ type ReplicaSetCondition struct {
|
|||||||
Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
|
Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Pod Security Policy governs the ability to make requests that affect the Security Context
|
// Pod Security Policy governs the ability to make requests that affect the Security Context
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ImageReview checks if the set of images in a pod are allowed.
|
// ImageReview checks if the set of images in a pod are allowed.
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ import (
|
|||||||
"k8s.io/apimachinery/pkg/util/intstr"
|
"k8s.io/apimachinery/pkg/util/intstr"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// NetworkPolicy describes what network traffic is allowed for a set of Pods
|
// NetworkPolicy describes what network traffic is allowed for a set of Pods
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ type PodDisruptionBudgetStatus struct {
|
|||||||
ExpectedPods int32 `json:"expectedPods" protobuf:"varint,6,opt,name=expectedPods"`
|
ExpectedPods int32 `json:"expectedPods" protobuf:"varint,6,opt,name=expectedPods"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
|
// PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
|
||||||
@@ -97,8 +97,8 @@ type PodDisruptionBudgetList struct {
|
|||||||
Items []PodDisruptionBudget `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []PodDisruptionBudget `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +noMethods=true
|
// +genclient:noVerbs
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Eviction evicts a pod from its node subject to certain policies and safety constraints.
|
// Eviction evicts a pod from its node subject to certain policies and safety constraints.
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ type RoleRef struct {
|
|||||||
Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
|
Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
||||||
@@ -113,7 +113,7 @@ type Role struct {
|
|||||||
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
|
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace.
|
// RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace.
|
||||||
@@ -159,8 +159,8 @@ type RoleList struct {
|
|||||||
Items []Role `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []Role `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
||||||
@@ -174,8 +174,8 @@ type ClusterRole struct {
|
|||||||
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
|
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ type RoleRef struct {
|
|||||||
Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
|
Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
// Role is a namespaced, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding.
|
||||||
@@ -111,7 +111,7 @@ type Role struct {
|
|||||||
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
|
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace.
|
// RoleBinding references a role, but does not contain it. It can reference a Role in the same namespace or a ClusterRole in the global namespace.
|
||||||
@@ -157,8 +157,8 @@ type RoleList struct {
|
|||||||
Items []Role `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []Role `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
// ClusterRole is a cluster level, logical grouping of PolicyRules that can be referenced as a unit by a RoleBinding or ClusterRoleBinding.
|
||||||
@@ -172,8 +172,8 @@ type ClusterRole struct {
|
|||||||
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
|
Rules []PolicyRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
// ClusterRoleBinding references a ClusterRole, but not contain it. It can reference a ClusterRole in the global namespace,
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// PriorityClass defines mapping from a priority class name to the priority
|
// PriorityClass defines mapping from a priority class name to the priority
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// PodPreset is a policy resource that defines additional runtime
|
// PodPreset is a policy resource that defines additional runtime
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// StorageClass describes the parameters for a class of storage for
|
// StorageClass describes the parameters for a class of storage for
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// StorageClass describes the parameters for a class of storage for
|
// StorageClass describes the parameters for a class of storage for
|
||||||
|
|||||||
@@ -113,8 +113,8 @@ type CustomResourceDefinitionStatus struct {
|
|||||||
// a CustomResourceDefinition
|
// a CustomResourceDefinition
|
||||||
const CustomResourceCleanupFinalizer = "customresourcecleanup.apiextensions.k8s.io"
|
const CustomResourceCleanupFinalizer = "customresourcecleanup.apiextensions.k8s.io"
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format
|
// CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format
|
||||||
|
|||||||
@@ -113,8 +113,8 @@ type CustomResourceDefinitionStatus struct {
|
|||||||
// a CustomResourceDefinition
|
// a CustomResourceDefinition
|
||||||
const CustomResourceCleanupFinalizer = "customresourcecleanup.apiextensions.k8s.io"
|
const CustomResourceCleanupFinalizer = "customresourcecleanup.apiextensions.k8s.io"
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format
|
// CustomResourceDefinition represents a resource that should be exposed on the API server. Its name MUST be in the format
|
||||||
|
|||||||
@@ -111,8 +111,8 @@ type APIServiceStatus struct {
|
|||||||
Conditions []APIServiceCondition
|
Conditions []APIServiceCondition
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// APIService represents a server for a particular GroupVersion.
|
// APIService represents a server for a particular GroupVersion.
|
||||||
|
|||||||
@@ -119,8 +119,8 @@ type APIServiceStatus struct {
|
|||||||
Conditions []APIServiceCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
|
Conditions []APIServiceCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// APIService represents a server for a particular GroupVersion.
|
// APIService represents a server for a particular GroupVersion.
|
||||||
|
|||||||
@@ -342,7 +342,7 @@ func Packages(context *generator.Context, arguments *args.GeneratorArgs) generat
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// User has not specified any override for this group version.
|
// User has not specified any override for this group version.
|
||||||
// filter out types which dont have genclient=true.
|
// filter out types which dont have genclient.
|
||||||
if tags := util.MustParseClientGenTags(t.SecondClosestCommentLines); !tags.GenerateClient {
|
if tags := util.MustParseClientGenTags(t.SecondClosestCommentLines); !tags.GenerateClient {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ var (
|
|||||||
"settings/",
|
"settings/",
|
||||||
"networking/",
|
"networking/",
|
||||||
}, "group/versions that client-gen will generate clients for. At most one version per group is allowed. Specified in the format \"group1/version1,group2/version2...\".")
|
}, "group/versions that client-gen will generate clients for. At most one version per group is allowed. Specified in the format \"group1/version1,group2/version2...\".")
|
||||||
includedTypesOverrides = flag.StringSlice("included-types-overrides", []string{}, "list of group/version/type for which client should be generated. By default, client is generated for all types which have genclient=true in types.go. This overrides that. For each groupVersion in this list, only the types mentioned here will be included. The default check of genclient=true will be used for other group versions.")
|
includedTypesOverrides = flag.StringSlice("included-types-overrides", []string{}, "list of group/version/type for which client should be generated. By default, client is generated for all types which have genclient in types.go. This overrides that. For each groupVersion in this list, only the types mentioned here will be included. The default check of genclient will be used for other group versions.")
|
||||||
basePath = flag.String("input-base", "k8s.io/kubernetes/pkg/apis", "base path to look for the api group.")
|
basePath = flag.String("input-base", "k8s.io/kubernetes/pkg/apis", "base path to look for the api group.")
|
||||||
clientsetName = flag.StringP("clientset-name", "n", "internalclientset", "the name of the generated clientset package.")
|
clientsetName = flag.StringP("clientset-name", "n", "internalclientset", "the name of the generated clientset package.")
|
||||||
clientsetAPIPath = flag.StringP("clientset-api-path", "", "", "the value of default API path.")
|
clientsetAPIPath = flag.StringP("clientset-api-path", "", "", "the value of default API path.")
|
||||||
|
|||||||
@@ -167,7 +167,7 @@ func Packages(context *generator.Context, arguments *args.GeneratorArgs) generat
|
|||||||
func objectMetaForPackage(p *types.Package) (*types.Type, bool, error) {
|
func objectMetaForPackage(p *types.Package) (*types.Type, bool, error) {
|
||||||
generatingForPackage := false
|
generatingForPackage := false
|
||||||
for _, t := range p.Types {
|
for _, t := range p.Types {
|
||||||
// filter out types which dont have genclient=true.
|
// filter out types which dont have genclient.
|
||||||
if !util.MustParseClientGenTags(t.SecondClosestCommentLines).GenerateClient {
|
if !util.MustParseClientGenTags(t.SecondClosestCommentLines).GenerateClient {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,10 +21,10 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +resourceName=nodes
|
// +resourceName=nodes
|
||||||
// +readonly=true
|
// +genclient:readonly
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// resource usage metrics of a node.
|
// resource usage metrics of a node.
|
||||||
@@ -54,9 +54,9 @@ type NodeMetricsList struct {
|
|||||||
Items []NodeMetrics
|
Items []NodeMetrics
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +resourceName=pods
|
// +resourceName=pods
|
||||||
// +readonly=true
|
// +genclient:readonly
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// resource usage metrics of a pod.
|
// resource usage metrics of a pod.
|
||||||
|
|||||||
@@ -21,10 +21,10 @@ import (
|
|||||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||||
)
|
)
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +resourceName=nodes
|
// +resourceName=nodes
|
||||||
// +readonly=true
|
// +genclient:readonly
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// resource usage metrics of a node.
|
// resource usage metrics of a node.
|
||||||
@@ -54,9 +54,9 @@ type NodeMetricsList struct {
|
|||||||
Items []NodeMetrics `json:"items" protobuf:"bytes,2,rep,name=items"`
|
Items []NodeMetrics `json:"items" protobuf:"bytes,2,rep,name=items"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +resourceName=pods
|
// +resourceName=pods
|
||||||
// +readonly=true
|
// +genclient:readonly
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// resource usage metrics of a pod.
|
// resource usage metrics of a pod.
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ type FlunderSpec struct {
|
|||||||
type FlunderStatus struct {
|
type FlunderStatus struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
type Flunder struct {
|
type Flunder struct {
|
||||||
@@ -45,8 +45,8 @@ type Flunder struct {
|
|||||||
Status FlunderStatus
|
Status FlunderStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
type Fischer struct {
|
type Fischer struct {
|
||||||
@@ -57,7 +57,7 @@ type Fischer struct {
|
|||||||
DisallowedFlunders []string
|
DisallowedFlunders []string
|
||||||
}
|
}
|
||||||
|
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// FischerList is a list of Fischer objects.
|
// FischerList is a list of Fischer objects.
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ type FlunderSpec struct {
|
|||||||
type FlunderStatus struct {
|
type FlunderStatus struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
type Flunder struct {
|
type Flunder struct {
|
||||||
@@ -45,8 +45,8 @@ type Flunder struct {
|
|||||||
Status FlunderStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
Status FlunderStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +genclient=true
|
// +genclient
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
type Fischer struct {
|
type Fischer struct {
|
||||||
@@ -57,7 +57,7 @@ type Fischer struct {
|
|||||||
DisallowedFlunders []string `json:"disallowedFlunders,omitempty" protobuf:"bytes,2,rep,name=disallowedFlunders"`
|
DisallowedFlunders []string `json:"disallowedFlunders,omitempty" protobuf:"bytes,2,rep,name=disallowedFlunders"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// +nonNamespaced=true
|
// +genclient:nonNamespaced
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// FischerList is a list of Fischer objects.
|
// FischerList is a list of Fischer objects.
|
||||||
|
|||||||
Reference in New Issue
Block a user