v1alpha1

package
v0.0.0-...-c510420 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +kubebuilder:object:generate=true +groupName=app.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: "app.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 Game

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

	Spec   GameSpec   `json:"spec,omitempty"`
	Status GameStatus `json:"status,omitempty"`
}

Game is the Schema for the games API

func (*Game) DeepCopy

func (in *Game) DeepCopy() *Game

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

func (*Game) DeepCopyInto

func (in *Game) DeepCopyInto(out *Game)

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

func (*Game) DeepCopyObject

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

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

func (*Game) Default

func (r *Game) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*Game) SetupWebhookWithManager

func (r *Game) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Game) ValidateCreate

func (r *Game) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Game) ValidateDelete

func (r *Game) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Game) ValidateUpdate

func (r *Game) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type GameList

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

GameList contains a list of Game

func (*GameList) DeepCopy

func (in *GameList) DeepCopy() *GameList

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

func (*GameList) DeepCopyInto

func (in *GameList) DeepCopyInto(out *GameList)

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

func (*GameList) DeepCopyObject

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

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

type GameSpec

type GameSpec struct {

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

GameSpec defines the desired state of Game

func (*GameSpec) DeepCopy

func (in *GameSpec) DeepCopy() *GameSpec

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

func (*GameSpec) DeepCopyInto

func (in *GameSpec) DeepCopyInto(out *GameSpec)

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

type GameStatus

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

GameStatus defines the observed state of Game

func (*GameStatus) DeepCopy

func (in *GameStatus) DeepCopy() *GameStatus

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

func (*GameStatus) DeepCopyInto

func (in *GameStatus) DeepCopyInto(out *GameStatus)

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