Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder initializes a scheme builder SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: cleaner.GroupName, Version: "v1alpha1"}
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type Cleaner ¶
type Cleaner struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CleanerSpec `json:"spec"` }
func (*Cleaner) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cleaner.
func (*Cleaner) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cleaner) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CleanerList ¶
type CleanerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Cleaner `json:"items"` }
func (*CleanerList) DeepCopy ¶
func (in *CleanerList) DeepCopy() *CleanerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CleanerList.
func (*CleanerList) DeepCopyInto ¶
func (in *CleanerList) DeepCopyInto(out *CleanerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CleanerList) DeepCopyObject ¶
func (in *CleanerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CleanerSpec ¶
type CleanerSpec struct { TtlAfterFinished string `json:"ttlAfterFinished"` CleaningJobStatus string `json:"cleaningJobStatus"` Selector *metav1.LabelSelector `json:"selector"` }
func (*CleanerSpec) DeepCopy ¶
func (in *CleanerSpec) DeepCopy() *CleanerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CleanerSpec.
func (*CleanerSpec) DeepCopyInto ¶
func (in *CleanerSpec) DeepCopyInto(out *CleanerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.