Documentation ¶
Overview ¶
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=sigs.k8s.io/apiserver-builder-alpha/example/basic/pkg/apis/olympus +k8s:defaulter-gen=TypeMeta +groupName=olympus.k8s.io
Index ¶
- Variables
- type Poseidon
- func (in *Poseidon) GetField(fieldName string) string
- func (in *Poseidon) GetGroupVersionResource() schema.GroupVersionResource
- func (in *Poseidon) GetObjectMeta() *metav1.ObjectMeta
- func (in *Poseidon) GetStatus() resource.StatusSubResource
- func (in *Poseidon) IndexingFields() []string
- func (in *Poseidon) IsStorageVersion() bool
- func (in *Poseidon) NamespaceScoped() bool
- func (in *Poseidon) New() runtime.Object
- func (in *Poseidon) NewList() runtime.Object
- type PoseidonList
- type PoseidonSpec
- type PoseidonStatus
Constants ¶
This section is empty.
Variables ¶
View Source
var AddToScheme = func(scheme *runtime.Scheme) error { metav1.AddToGroupVersion(scheme, schema.GroupVersion{ Group: "olympus.k8s.io", Version: "v1beta1", }) scheme.AddKnownTypes(schema.GroupVersion{ Group: "olympus.k8s.io", Version: "v1beta1", }, &Poseidon{}, &PoseidonList{}) return nil }
Functions ¶
This section is empty.
Types ¶
type Poseidon ¶
type Poseidon struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PoseidonSpec `json:"spec,omitempty"` Status PoseidonStatus `json:"status,omitempty"` }
Poseidon +k8s:openapi-gen=true +resource:path=poseidons,strategy=PoseidonStrategy
func (*Poseidon) GetGroupVersionResource ¶
func (in *Poseidon) GetGroupVersionResource() schema.GroupVersionResource
func (*Poseidon) GetObjectMeta ¶
func (in *Poseidon) GetObjectMeta() *metav1.ObjectMeta
func (*Poseidon) GetStatus ¶
func (in *Poseidon) GetStatus() resource.StatusSubResource
func (*Poseidon) IndexingFields ¶
func (*Poseidon) IsStorageVersion ¶
func (*Poseidon) NamespaceScoped ¶
type PoseidonList ¶
type PoseidonList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Poseidon `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*PoseidonList) GetListMeta ¶
func (in *PoseidonList) GetListMeta() *metav1.ListMeta
type PoseidonSpec ¶
type PoseidonSpec struct { PodSpec v1.PodTemplate Deployment appsv1.Deployment }
PoseidonSpec defines the desired state of Poseidon
type PoseidonStatus ¶
type PoseidonStatus struct { }
PoseidonStatus defines the observed state of Poseidon
func (PoseidonStatus) CopyTo ¶
func (in PoseidonStatus) CopyTo(parent resource.ObjectWithStatusSubResource)
func (PoseidonStatus) SubResourceName ¶
func (in PoseidonStatus) SubResourceName() string
Click to show internal directories.
Click to hide internal directories.