v1beta1

package
v0.0.0-...-a991c86 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package,register +groupName=kubernetes.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder ...
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme ...
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   crd.GroupName,
	Version: crd.Version,
}

Functions

func Kind

func Kind(kind string) schema.GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Types

type Crd

type Crd struct {
	metaV1.TypeMeta   `json:",inline"`
	metaV1.ObjectMeta `json:"metadata,omitempty"`

	Spec   CrdSpec   `json:"spec,omitempty"`
	Status CrdStatus `json:"status,omitempty"`
}

+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*Crd) DeepCopy

func (in *Crd) DeepCopy() *Crd

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

func (*Crd) DeepCopyInto

func (in *Crd) DeepCopyInto(out *Crd)

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

func (*Crd) DeepCopyObject

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

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

type CrdCondition

type CrdCondition struct {
	LastProbeTime string `json:"lastProbeTime,omitempty"`
	Status        string `json:"status,omitempty"`
	Reason        string `json:"reason,omitempty"`
}

func (*CrdCondition) DeepCopy

func (in *CrdCondition) DeepCopy() *CrdCondition

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

func (*CrdCondition) DeepCopyInto

func (in *CrdCondition) DeepCopyInto(out *CrdCondition)

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

type CrdList

type CrdList struct {
	metaV1.TypeMeta `json:",inline"`
	metaV1.ListMeta `json:"metadata,omitempty"`

	Items []Crd `json:"items"`
}

+genclient:nonNamespaced +kubebuilder:subresource:status +kubebuilder:object:root=true +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*CrdList) DeepCopy

func (in *CrdList) DeepCopy() *CrdList

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

func (*CrdList) DeepCopyInto

func (in *CrdList) DeepCopyInto(out *CrdList)

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

func (*CrdList) DeepCopyObject

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

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

type CrdSpec

type CrdSpec struct {
}

func (*CrdSpec) DeepCopy

func (in *CrdSpec) DeepCopy() *CrdSpec

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

func (*CrdSpec) DeepCopyInto

func (in *CrdSpec) DeepCopyInto(out *CrdSpec)

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

type CrdStatus

type CrdStatus struct {
	Status     string         `json:"status,omitempty"`
	Conditions []CrdCondition `json:"conditions,omitempty"`
}

func (*CrdStatus) DeepCopy

func (in *CrdStatus) DeepCopy() *CrdStatus

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

func (*CrdStatus) DeepCopyInto

func (in *CrdStatus) DeepCopyInto(out *CrdStatus)

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