v1alpha1

package
v0.0.0-...-bf31d45 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions +kubebuilder:object:generate=true +groupName=myresource.luukvdm.github.com

Index

Constants

This section is empty.

Variables

View Source
var (
	GroupName      = "myresource.luukvdm.github.com"
	MyResourceName = "myresources"

	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: GroupName, 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 MyResource

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

	Spec   MyResourceSpec   `json:"spec,omitempty"`
	Status MyResourceStatus `json:"status,omitempty"`
}

func (*MyResource) DeepCopy

func (in *MyResource) DeepCopy() *MyResource

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

func (*MyResource) DeepCopyInto

func (in *MyResource) DeepCopyInto(out *MyResource)

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

func (*MyResource) DeepCopyObject

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

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

type MyResourceList

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

func (*MyResourceList) DeepCopy

func (in *MyResourceList) DeepCopy() *MyResourceList

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

func (*MyResourceList) DeepCopyInto

func (in *MyResourceList) DeepCopyInto(out *MyResourceList)

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

func (*MyResourceList) DeepCopyObject

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

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

type MyResourceSpec

type MyResourceSpec struct {
	FieldA string `json:"fielda,omitempty"`
	FieldB string `json:"fieldb,omitempty"`
}

func (*MyResourceSpec) DeepCopy

func (in *MyResourceSpec) DeepCopy() *MyResourceSpec

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

func (*MyResourceSpec) DeepCopyInto

func (in *MyResourceSpec) DeepCopyInto(out *MyResourceSpec)

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

type MyResourceStatus

type MyResourceStatus struct {
}

func (*MyResourceStatus) DeepCopy

func (in *MyResourceStatus) DeepCopy() *MyResourceStatus

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

func (*MyResourceStatus) DeepCopyInto

func (in *MyResourceStatus) DeepCopyInto(out *MyResourceStatus)

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