Documentation ¶
Overview ¶
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/kubernetes-incubator/apiserver-builder/example/pkg/apis/kingsport +k8s:defaulter-gen=TypeMeta +groupName=kingsport.k8s.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Festival ¶
type Festival struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FestivalSpec `json:"spec,omitempty"` Status FestivalStatus `json:"status,omitempty"` }
Festival +k8s:openapi-gen=true +resource:path=festivals,strategy=FestivalStrategy
type FestivalSpec ¶
type FestivalSpec struct { // Year when the festival was held, may be negative (BC) Year int `json:"year,omitempty"` // Invited holds the number of invited attendees Invited uint `json:"invited,omitempty"` }
FestivalSpec defines the desired state of Festival
type FestivalStatus ¶
type FestivalStatus struct { // Attended holds the actual number of attendees Attended uint `json:"attended,omitempty"` }
FestivalStatus defines the observed state of Festival
Click to show internal directories.
Click to hide internal directories.