Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the app v1alpha1 API group +kubebuilder:object:generate=true +groupName=app.example.com
Index ¶
- Variables
- type Game
- func (in *Game) DeepCopy() *Game
- func (in *Game) DeepCopyInto(out *Game)
- func (in *Game) DeepCopyObject() runtime.Object
- func (r *Game) Default()
- func (r *Game) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Game) ValidateCreate() error
- func (r *Game) ValidateDelete() error
- func (r *Game) ValidateUpdate(old runtime.Object) error
- type GameList
- type GameSpec
- type GameStatus
Constants ¶
This section is empty.
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Game.
func (*Game) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Game) DeepCopyObject ¶
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 (*Game) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Game) ValidateDelete ¶
ValidateDelete 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GameList.
func (*GameList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GameList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GameSpec.
func (*GameSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GameStatus ¶
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.