v1

package
v0.0.0-...-ba22a63 Latest Latest
Warning

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

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

Documentation

Overview

+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/apiserver-builder-alpha/example/kine/pkg/apis/mysql +k8s:defaulter-gen=TypeMeta +groupName=mysql.example.com

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tiger

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

	Spec   TigerSpec   `json:"spec,omitempty"`
	Status TigerStatus `json:"status,omitempty"`
}

Tiger +k8s:openapi-gen=true +resource:path=tigers,strategy=TigerStrategy,rest=TigerREST

func (*Tiger) GetGroupVersionResource

func (t *Tiger) GetGroupVersionResource() schema.GroupVersionResource

func (*Tiger) GetObjectMeta

func (t *Tiger) GetObjectMeta() *metav1.ObjectMeta

func (*Tiger) GetStatus

func (t *Tiger) GetStatus() (statusSubResource resource.StatusSubResource)

func (*Tiger) IsStorageVersion

func (t *Tiger) IsStorageVersion() bool

func (*Tiger) NamespaceScoped

func (t *Tiger) NamespaceScoped() bool

func (*Tiger) New

func (t *Tiger) New() runtime.Object

func (*Tiger) NewList

func (t *Tiger) NewList() runtime.Object

type TigerList

type TigerList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Tiger `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*TigerList) GetListMeta

func (in *TigerList) GetListMeta() *metav1.ListMeta

type TigerSpec

type TigerSpec struct {
}

TigerSpec defines the desired state of Tiger

type TigerStatus

type TigerStatus struct {
	Hungry bool `json:"hungry"`
}

TigerStatus defines the observed state of Tiger

func (TigerStatus) CopyTo

func (TigerStatus) SubResourceName

func (in TigerStatus) SubResourceName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL