v1alpha1

package
v0.0.0-...-6b04f1e Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the purge v1alpha1 API group +kubebuilder:object:generate=true +groupName=purge.k8s.nan.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "purge.k8s.nan.dev", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Cleanup

type Cleanup struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CleanupSpec   `json:"spec,omitempty"`
	Status CleanupStatus `json:"status,omitempty"`
}

Cleanup is the Schema for the cleanups API

func (*Cleanup) DeepCopy

func (in *Cleanup) DeepCopy() *Cleanup

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

func (*Cleanup) DeepCopyInto

func (in *Cleanup) DeepCopyInto(out *Cleanup)

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

func (*Cleanup) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CleanupList

type CleanupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Cleanup `json:"items"`
}

CleanupList contains a list of Cleanup

func (*CleanupList) DeepCopy

func (in *CleanupList) DeepCopy() *CleanupList

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

func (*CleanupList) DeepCopyInto

func (in *CleanupList) DeepCopyInto(out *CleanupList)

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

func (*CleanupList) DeepCopyObject

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

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type CleanupSpec

type CleanupSpec struct {

	// CleanupThreshold defines the time period after which the resource will be cleaned up
	CleanupThreshold string `json:"cleanupThreshold,omitempty"`
}

CleanupSpec defines the desired state of Cleanup

func (*CleanupSpec) DeepCopy

func (in *CleanupSpec) DeepCopy() *CleanupSpec

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

func (*CleanupSpec) DeepCopyInto

func (in *CleanupSpec) DeepCopyInto(out *CleanupSpec)

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

type CleanupStatus

type CleanupStatus struct {
}

CleanupStatus defines the observed state of Cleanup

func (*CleanupStatus) DeepCopy

func (in *CleanupStatus) DeepCopy() *CleanupStatus

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

func (*CleanupStatus) DeepCopyInto

func (in *CleanupStatus) DeepCopyInto(out *CleanupStatus)

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