Help us shape the future of Go! Take the 2026 Go Developer Survey

v1alpha1

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the example v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=example.io

Package v1alpha1 contains API Schema definitions for the example v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=example.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: "example.io", Version: "v1alpha1"}

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

Functions

Types

type MyCRD

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

	Spec   MyCRDSpec   `json:"spec,omitempty"`
	Status MyCRDStatus `json:"status,omitempty"`
}

MyCRD is the Schema for the mycrds API +k8s:openapi-gen=true +kubebuilder:subresource:status

func (*MyCRD) DeepCopy

func (in *MyCRD) DeepCopy() *MyCRD

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

func (*MyCRD) DeepCopyInto

func (in *MyCRD) DeepCopyInto(out *MyCRD)

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

func (*MyCRD) DeepCopyObject

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

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

func (*MyCRD) GetReconcileStatus

func (m *MyCRD) GetReconcileStatus() apis.ReconcileStatus

func (*MyCRD) SetReconcileStatus

func (m *MyCRD) SetReconcileStatus(reconcileStatus apis.ReconcileStatus)

type MyCRDList

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

MyCRDList contains a list of MyCRD

func (*MyCRDList) DeepCopy

func (in *MyCRDList) DeepCopy() *MyCRDList

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

func (*MyCRDList) DeepCopyInto

func (in *MyCRDList) DeepCopyInto(out *MyCRDList)

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

func (*MyCRDList) DeepCopyObject

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

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

type MyCRDSpec

type MyCRDSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file
	// Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html
	Initialized bool `json:"initialized"`
	Valid       bool `json:"valid"`
	Error       bool `json:"error"`
}

MyCRDSpec defines the desired state of MyCRD +k8s:openapi-gen=true

func (*MyCRDSpec) DeepCopy

func (in *MyCRDSpec) DeepCopy() *MyCRDSpec

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

func (*MyCRDSpec) DeepCopyInto

func (in *MyCRDSpec) DeepCopyInto(out *MyCRDSpec)

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

type MyCRDStatus

type MyCRDStatus struct {
	apis.ReconcileStatus `json:",inline"`
}

MyCRDStatus defines the observed state of MyCRD +k8s:openapi-gen=true

func (*MyCRDStatus) DeepCopy

func (in *MyCRDStatus) DeepCopy() *MyCRDStatus

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

func (*MyCRDStatus) DeepCopyInto

func (in *MyCRDStatus) DeepCopyInto(out *MyCRDStatus)

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