Documentation ¶
Overview ¶
Package v1alpha1 implements the v1alpha1 version of podlabeler resources
These types serve as source file for client-go code generation. The types here also result in a client-go compatible client.
Index ¶
Constants ¶
const ( GroupName = "podlabeler.k8s.carsonoid.net" V1alpha1 = "v1alpha1" PodLabelConfigResourceKind = "PodLabelConfig" PodLabelConfigResourceName = "podlabelconfig" PodLabelConfigResourceNamePlural = "podlabelconfigs" )
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: V1alpha1} PodLabelConfigCRDName = PodLabelConfigResourceNamePlural + "." + GroupName )
Functions ¶
func RegisterDeepCopies
deprecated
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group-qualified GroupResource.
Types ¶
type PodLabelConfig ¶
type PodLabelConfig struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec defines the config Spec PodLabelConfigSpec `json:"spec,omitempty"` }
PodLabelConfig represents a set of labels to be applied to pods in a namespace
func (*PodLabelConfig) DeepCopy ¶
func (in *PodLabelConfig) DeepCopy() *PodLabelConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLabelConfig.
func (*PodLabelConfig) DeepCopyInto ¶
func (in *PodLabelConfig) DeepCopyInto(out *PodLabelConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodLabelConfig) DeepCopyObject ¶
func (in *PodLabelConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodLabelConfigList ¶
type PodLabelConfigList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata"` Items []PodLabelConfig `json:"items"` }
PodLabelConfigList is a list of PodAssignmentRules
func (*PodLabelConfigList) DeepCopy ¶
func (in *PodLabelConfigList) DeepCopy() *PodLabelConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLabelConfigList.
func (*PodLabelConfigList) DeepCopyInto ¶
func (in *PodLabelConfigList) DeepCopyInto(out *PodLabelConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodLabelConfigList) DeepCopyObject ¶
func (in *PodLabelConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodLabelConfigSpec ¶
type PodLabelConfigSpec struct { // Labels is a map of the labels to be applied to pods in the namespace Labels map[string]string `json:"labels,omitempty"` }
PodLabelConfigSpec describes the labels to apply to all pods in a namespace
func (*PodLabelConfigSpec) DeepCopy ¶
func (in *PodLabelConfigSpec) DeepCopy() *PodLabelConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodLabelConfigSpec.
func (*PodLabelConfigSpec) DeepCopyInto ¶
func (in *PodLabelConfigSpec) DeepCopyInto(out *PodLabelConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.