v1alpha1

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the resource.baloise.ch v1alpha1 API group +kubebuilder:object:generate=true +groupName=resource.baloise.ch

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "resource.baloise.ch", 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 CopyResource

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

	Spec   CopyResourceSpec   `json:"spec,omitempty"`
	Status CopyResourceStatus `json:"status,omitempty"`
}

CopyResource is the Schema for the copyresources API

func (*CopyResource) DeepCopy

func (in *CopyResource) DeepCopy() *CopyResource

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

func (*CopyResource) DeepCopyInto

func (in *CopyResource) DeepCopyInto(out *CopyResource)

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

func (*CopyResource) DeepCopyObject

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

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

type CopyResourceList

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

CopyResourceList contains a list of CopyResource

func (*CopyResourceList) DeepCopy

func (in *CopyResourceList) DeepCopy() *CopyResourceList

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

func (*CopyResourceList) DeepCopyInto

func (in *CopyResourceList) DeepCopyInto(out *CopyResourceList)

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

func (*CopyResourceList) DeepCopyObject

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

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

type CopyResourceSpec

type CopyResourceSpec struct {
	// The Kind of the Resource you like to copy
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:Enum=Secret;ConfigMap
	Kind string `json:"kind"`

	// The MetaName of the Resource found in metadata.name
	// +kubebuilder:validation:Required
	MetaName string `json:"metaName"`

	// The TargetNamespace the Resource should be copied to
	// +kubebuilder:validation:Required
	TargetNamespace string `json:"targetNamespace"`
}

CopyResourceSpec defines the desired state of CopyResource

func (*CopyResourceSpec) DeepCopy

func (in *CopyResourceSpec) DeepCopy() *CopyResourceSpec

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

func (*CopyResourceSpec) DeepCopyInto

func (in *CopyResourceSpec) DeepCopyInto(out *CopyResourceSpec)

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

type CopyResourceStatus

type CopyResourceStatus struct {
	ResourceVersion string `json:"resourceVersion"`
}

CopyResourceStatus defines the observed state of CopyResource

func (*CopyResourceStatus) DeepCopy

func (in *CopyResourceStatus) DeepCopy() *CopyResourceStatus

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

func (*CopyResourceStatus) DeepCopyInto

func (in *CopyResourceStatus) DeepCopyInto(out *CopyResourceStatus)

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