v1alpha1

package
v0.0.0-...-077d8b3 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the mygroup v1alpha1 API group +kubebuilder:object:generate=true +groupName=mygroup.myid.dev

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "mygroup.myid.dev", 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"`
}

MyResource is the Schema for the myresources API

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"`
}

MyResourceList contains a list of MyResource

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 {

	// Foo is an example field of MyResource. Edit myresource_types.go to remove/update
	Foo string `json:"foo,omitempty"`
}

MyResourceSpec defines the desired state of MyResource

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 {
}

MyResourceStatus defines the observed state of MyResource

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