v1

package
v0.0.0-...-3d45b42 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the examplecrd v1 API group +kubebuilder:object:generate=true +groupName=examplecrd.jasonhancock.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "examplecrd.jasonhancock.com", Version: "v1"}

	// 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 ExampleResource

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

	Spec ExampleResourceSpec `json:"spec,omitempty"`
}

ExampleResource is the Schema for the exampleresources API

func (*ExampleResource) DeepCopy

func (in *ExampleResource) DeepCopy() *ExampleResource

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

func (*ExampleResource) DeepCopyInto

func (in *ExampleResource) DeepCopyInto(out *ExampleResource)

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

func (*ExampleResource) DeepCopyObject

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

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

type ExampleResourceList

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

ExampleResourceList contains a list of ExampleResource

func (*ExampleResourceList) DeepCopy

func (in *ExampleResourceList) DeepCopy() *ExampleResourceList

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

func (*ExampleResourceList) DeepCopyInto

func (in *ExampleResourceList) DeepCopyInto(out *ExampleResourceList)

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

func (*ExampleResourceList) DeepCopyObject

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

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

type ExampleResourceSpec

type ExampleResourceSpec struct {
	Color string `json:"color"`
	Size  string `json:"size"`
}

ExampleResourceSpec defines the desired state of ExampleResource

func (*ExampleResourceSpec) DeepCopy

func (in *ExampleResourceSpec) DeepCopy() *ExampleResourceSpec

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

func (*ExampleResourceSpec) DeepCopyInto

func (in *ExampleResourceSpec) DeepCopyInto(out *ExampleResourceSpec)

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