v1

package
v0.0.0-...-c550973 Latest Latest
Warning

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

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

Documentation

Overview

Package v1 contains API Schema definitions for the blog v1 API group +kubebuilder:object:generate=true +groupName=blog.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: "blog.example.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 Ghost

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

	Spec   GhostSpec   `json:"spec,omitempty"`
	Status GhostStatus `json:"status,omitempty"`
}

Ghost is the Schema for the ghosts API

func (*Ghost) DeepCopy

func (in *Ghost) DeepCopy() *Ghost

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

func (*Ghost) DeepCopyInto

func (in *Ghost) DeepCopyInto(out *Ghost)

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

func (*Ghost) DeepCopyObject

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

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

type GhostList

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

GhostList contains a list of Ghost

func (*GhostList) DeepCopy

func (in *GhostList) DeepCopy() *GhostList

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

func (*GhostList) DeepCopyInto

func (in *GhostList) DeepCopyInto(out *GhostList)

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

func (*GhostList) DeepCopyObject

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

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

type GhostSpec

type GhostSpec struct {
	//+kubebuilder:validation:Pattern=`^[-a-z0-9]*$`
	ImageTag string `json:"imageTag"`
}

GhostSpec defines the desired state of Ghost

func (*GhostSpec) DeepCopy

func (in *GhostSpec) DeepCopy() *GhostSpec

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

func (*GhostSpec) DeepCopyInto

func (in *GhostSpec) DeepCopyInto(out *GhostSpec)

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

type GhostStatus

type GhostStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

GhostStatus defines the observed state of Ghost

func (*GhostStatus) DeepCopy

func (in *GhostStatus) DeepCopy() *GhostStatus

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

func (*GhostStatus) DeepCopyInto

func (in *GhostStatus) DeepCopyInto(out *GhostStatus)

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