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 ¶
- type Tiger
- func (t *Tiger) GetGroupVersionResource() schema.GroupVersionResource
- func (t *Tiger) GetObjectMeta() *metav1.ObjectMeta
- func (t *Tiger) GetStatus() (statusSubResource resource.StatusSubResource)
- func (t *Tiger) IsStorageVersion() bool
- func (t *Tiger) NamespaceScoped() bool
- func (t *Tiger) New() runtime.Object
- func (t *Tiger) NewList() runtime.Object
- type TigerList
- type TigerSpec
- type TigerStatus
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 (*Tiger) NamespaceScoped ¶
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 ¶
type TigerStatus ¶
type TigerStatus struct {
Hungry bool `json:"hungry"`
}
TigerStatus defines the observed state of Tiger
func (TigerStatus) CopyTo ¶
func (in TigerStatus) CopyTo(parent resource.ObjectWithStatusSubResource)
func (TigerStatus) SubResourceName ¶
func (in TigerStatus) SubResourceName() string
Click to show internal directories.
Click to hide internal directories.