v1

package
v0.0.0-...-98169ab Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the crd v1 API group +kubebuilder:object:generate=true +groupName=crd.hector.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "crd.hector.dev", Version: "v1"}

	// 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 NewPersistentVolumeClaim

type NewPersistentVolumeClaim struct {
	OriginalPVCName   string `json:"originalpvcname"`
	OriginalNamespace string `json:"originalnamespace"`
	TargetPVCName     string `json:"targetpvcname,omitempty"`
	TargetNamespace   string `json:"targetnamespace"`
}

func (*NewPersistentVolumeClaim) DeepCopy

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

func (*NewPersistentVolumeClaim) DeepCopyInto

func (in *NewPersistentVolumeClaim) DeepCopyInto(out *NewPersistentVolumeClaim)

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

type SharedPVC

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

	Spec   SharedPVCSpec   `json:"spec,omitempty"`
	Status SharedPVCStatus `json:"status,omitempty"`
}

SharedPVC is the Schema for the sharedpvcs API

func (*SharedPVC) DeepCopy

func (in *SharedPVC) DeepCopy() *SharedPVC

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

func (*SharedPVC) DeepCopyInto

func (in *SharedPVC) DeepCopyInto(out *SharedPVC)

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

func (*SharedPVC) DeepCopyObject

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

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

type SharedPVCList

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

SharedPVCList contains a list of SharedPVC

func (*SharedPVCList) DeepCopy

func (in *SharedPVCList) DeepCopy() *SharedPVCList

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

func (*SharedPVCList) DeepCopyInto

func (in *SharedPVCList) DeepCopyInto(out *SharedPVCList)

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

func (*SharedPVCList) DeepCopyObject

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

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

type SharedPVCSpec

type SharedPVCSpec struct {

	// Foo is an example field of SharedPVC. Edit sharedpvc_types.go to remove/update
	Image  string                   `json:"image"`
	NewPVC NewPersistentVolumeClaim `json:"newpvc"`
}

SharedPVCSpec defines the desired state of SharedPVC

func (*SharedPVCSpec) DeepCopy

func (in *SharedPVCSpec) DeepCopy() *SharedPVCSpec

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

func (*SharedPVCSpec) DeepCopyInto

func (in *SharedPVCSpec) DeepCopyInto(out *SharedPVCSpec)

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

type SharedPVCStatus

type SharedPVCStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Status         string `json:"status"`
	OriginalExists bool   `json:"originalexists"`
}

SharedPVCStatus defines the observed state of SharedPVC

func (*SharedPVCStatus) DeepCopy

func (in *SharedPVCStatus) DeepCopy() *SharedPVCStatus

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

func (*SharedPVCStatus) DeepCopyInto

func (in *SharedPVCStatus) DeepCopyInto(out *SharedPVCStatus)

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
JackTT - Gopher 🇻🇳