v1alpha1

package
v0.0.0-...-45db021 Latest Latest
Warning

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

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

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=taco.moe

Index

Constants

This section is empty.

Variables

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

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

	Spec   CatFactSpec   `json:"spec,omitempty"`
	Status CatFactStatus `json:"status,omitempty"`
}

CatFact is a Kubernetes model of a fact about cats 🐱

func (*CatFact) DeepCopy

func (in *CatFact) DeepCopy() *CatFact

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

func (*CatFact) DeepCopyInto

func (in *CatFact) DeepCopyInto(out *CatFact)

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

func (*CatFact) DeepCopyObject

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

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

type CatFactList

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

CatFactList contains a list of CatFact

func (*CatFactList) DeepCopy

func (in *CatFactList) DeepCopy() *CatFactList

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

func (*CatFactList) DeepCopyInto

func (in *CatFactList) DeepCopyInto(out *CatFactList)

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

func (*CatFactList) DeepCopyObject

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

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

type CatFactSpec

type CatFactSpec struct {

	// A fact about cats. If this field is omitted, a random fact will be
	// generated from https://catfact.ninja/fact.
	Fact string `json:"fact,omitempty"`

	// Icon to use when displayed in the OpenShift UI. See
	// https://github.com/RyanMillerC/cat-facts-operator/README.md for available
	// icon names. If this field is omitted, a random iconName will be applied.
	IconName string `json:"iconName,omitempty"`
}

CatFactSpec defines the desired state of CatFact

func (*CatFactSpec) DeepCopy

func (in *CatFactSpec) DeepCopy() *CatFactSpec

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

func (*CatFactSpec) DeepCopyInto

func (in *CatFactSpec) DeepCopyInto(out *CatFactSpec)

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

type CatFactStatus

type CatFactStatus struct {
}

CatFactStatus defines the observed state of CatFact

func (*CatFactStatus) DeepCopy

func (in *CatFactStatus) DeepCopy() *CatFactStatus

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

func (*CatFactStatus) DeepCopyInto

func (in *CatFactStatus) DeepCopyInto(out *CatFactStatus)

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