v1alpha1

package
v0.0.0-...-c40f013 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the jokes v1alpha1 API group +kubebuilder:object:generate=true +groupName=jokes.example.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "jokes.example.com", 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 ChuckNorris

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

	Spec   ChuckNorrisSpec   `json:"spec,omitempty"`
	Status ChuckNorrisStatus `json:"status,omitempty"`
}

ChuckNorris is the Schema for the chucknorris API

func (*ChuckNorris) DeepCopy

func (in *ChuckNorris) DeepCopy() *ChuckNorris

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

func (*ChuckNorris) DeepCopyInto

func (in *ChuckNorris) DeepCopyInto(out *ChuckNorris)

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

func (*ChuckNorris) DeepCopyObject

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

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

type ChuckNorrisList

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

ChuckNorrisList contains a list of ChuckNorris

func (*ChuckNorrisList) DeepCopy

func (in *ChuckNorrisList) DeepCopy() *ChuckNorrisList

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

func (*ChuckNorrisList) DeepCopyInto

func (in *ChuckNorrisList) DeepCopyInto(out *ChuckNorrisList)

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

func (*ChuckNorrisList) DeepCopyObject

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

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

type ChuckNorrisSpec

type ChuckNorrisSpec struct {
	//Name string `json:"name"`
	// +kubebuilder:validation:Enum=animal;career;celebrity;dev;explicit;fashion;food;history;money;movie;music;political;religion;science;sport;travel
	Category string `json:"category"`
}

ChuckNorrisSpec defines the desired state of ChuckNorris

func (*ChuckNorrisSpec) DeepCopy

func (in *ChuckNorrisSpec) DeepCopy() *ChuckNorrisSpec

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

func (*ChuckNorrisSpec) DeepCopyInto

func (in *ChuckNorrisSpec) DeepCopyInto(out *ChuckNorrisSpec)

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

type ChuckNorrisStatus

type ChuckNorrisStatus struct {
	Joke               string             `json:"joke,omitempty"` // holds the Joke
	ObservedGeneration int64              `json:"observedGeneration,omitempty"`
	Conditions         []metav1.Condition `json:"conditions,omitempty"`
}

ChuckNorrisStatus defines the observed state of ChuckNorris

func (*ChuckNorrisStatus) DeepCopy

func (in *ChuckNorrisStatus) DeepCopy() *ChuckNorrisStatus

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

func (*ChuckNorrisStatus) DeepCopyInto

func (in *ChuckNorrisStatus) DeepCopyInto(out *ChuckNorrisStatus)

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