v1alpha1

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: cleaner.GroupName, Version: "v1alpha1"}

Functions

func Kind

func Kind(kind string) schema.GroupKind

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

func (in *Cleaner) DeepCopy() *Cleaner

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cleaner.

func (*Cleaner) DeepCopyInto

func (in *Cleaner) DeepCopyInto(out *Cleaner)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Cleaner) DeepCopyObject

func (in *Cleaner) DeepCopyObject() runtime.Object

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL