Documentation ¶
Overview ¶
+groupName=innsmouth.k8s.io
Index ¶
- Variables
- type DeepOne
- func (in *DeepOne) GetGroupVersionResource() schema.GroupVersionResource
- func (in *DeepOne) GetObjectMeta() *metav1.ObjectMeta
- func (in *DeepOne) GetStatus() resource.StatusSubResource
- func (in *DeepOne) IsStorageVersion() bool
- func (in *DeepOne) NamespaceScoped() bool
- func (in *DeepOne) New() runtime.Object
- func (in *DeepOne) NewList() runtime.Object
- type DeepOneList
- type DeepOneSpec
- type DeepOneStatus
- type SampleElem
- type SampleListElem
- type SampleListPointerElem
- type SampleListPointerSubElem
- type SampleListSubElem
- type SampleMapElem
- type SampleMapPointerElem
- type SampleMapPointerSubElem
- type SampleMapSubElem
- type SamplePointerElem
- type SamplePointerSubElem
- type SamplePrimitiveAlias
- type SampleSubElem
Constants ¶
This section is empty.
Variables ¶
View Source
var AddToScheme = func(scheme *runtime.Scheme) error { metav1.AddToGroupVersion(scheme, schema.GroupVersion{ Group: "innsmouth.k8s.io", Version: "v1", }) scheme.AddKnownTypes(schema.GroupVersion{ Group: "innsmouth.k8s.io", Version: "v1", }, &DeepOne{}, &DeepOneList{}) return nil }
Functions ¶
This section is empty.
Types ¶
type DeepOne ¶
type DeepOne struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DeepOneSpec `json:"spec,omitempty"` Status DeepOneStatus `json:"status,omitempty"` }
+k8s:openapi-gen=true +resource:path=deepones DeepOne defines a resident of innsmouth
func (*DeepOne) GetGroupVersionResource ¶
func (in *DeepOne) GetGroupVersionResource() schema.GroupVersionResource
func (*DeepOne) GetObjectMeta ¶
func (in *DeepOne) GetObjectMeta() *metav1.ObjectMeta
func (*DeepOne) GetStatus ¶
func (in *DeepOne) GetStatus() resource.StatusSubResource
func (*DeepOne) IsStorageVersion ¶
func (*DeepOne) NamespaceScoped ¶
type DeepOneList ¶
type DeepOneList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DeepOne `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*DeepOneList) GetListMeta ¶
func (in *DeepOneList) GetListMeta() *metav1.ListMeta
type DeepOneSpec ¶
type DeepOneSpec struct { // fish_required defines the number of fish required by the DeepOne. FishRequired int `json:"fish_required,omitempty"` Sample SampleElem `json:"sample,omitempty"` SamplePointer *SamplePointerElem `json:"sample_pointer,omitempty"` SampleList []SampleListElem `json:"sample_list,omitempty"` SamplePointerList []*SampleListPointerElem `json:"sample_pointer_list,omitempty"` SampleMap map[string]SampleMapElem `json:"sample_map,omitempty"` SamplePointerMap map[string]*SampleMapPointerElem `json:"sample_pointer_map,omitempty"` SamplePrimitiveAlias SamplePrimitiveAlias // Example of using a constant Const common.CustomType `json:"const,omitempty"` ConstPtr *common.CustomType `json:"constPtr,omitempty"` ConstSlice []common.CustomType `json:"constSlice,omitempty"` ConstMap map[string]common.CustomType `json:"constMap,omitempty"` }
DeepOnesSpec defines the desired state of DeepOne
type DeepOneStatus ¶
type DeepOneStatus struct { // actual_fish defines the number of fish caught by the DeepOne. ActualFish int `json:"actual_fish,omitempty"` }
DeepOneStatus defines the observed state of DeepOne
func (DeepOneStatus) CopyTo ¶
func (in DeepOneStatus) CopyTo(parent resource.ObjectWithStatusSubResource)
func (DeepOneStatus) SubResourceName ¶
func (in DeepOneStatus) SubResourceName() string
type SampleElem ¶
type SampleElem struct {
Sub SampleSubElem `json:"sub,omitempty"`
}
type SampleListElem ¶
type SampleListElem struct {
Sub []SampleListSubElem `json:"sub,omitempty"`
}
type SampleListPointerElem ¶
type SampleListPointerElem struct {
Sub []*SampleListPointerSubElem `json:"sub,omitempty"`
}
type SampleListPointerSubElem ¶
type SampleListPointerSubElem struct {
Foo string `json:"foo,omitempty"`
}
type SampleListSubElem ¶
type SampleListSubElem struct {
Foo string `json:"foo,omitempty"`
}
type SampleMapElem ¶
type SampleMapElem struct {
Sub map[string]SampleMapSubElem `json:"sub,omitempty"`
}
type SampleMapPointerElem ¶
type SampleMapPointerElem struct {
Sub map[string]*SampleMapPointerSubElem `json:"sub,omitempty"`
}
type SampleMapPointerSubElem ¶
type SampleMapPointerSubElem struct {
Foo string `json:"foo,omitempty"`
}
type SampleMapSubElem ¶
type SampleMapSubElem struct {
Foo string `json:"foo,omitempty"`
}
type SamplePointerElem ¶
type SamplePointerElem struct {
Sub *SamplePointerSubElem `json:"sub,omitempty"`
}
type SamplePointerSubElem ¶
type SamplePointerSubElem struct {
Foo string `json:"foo,omitempty"`
}
type SamplePrimitiveAlias ¶
type SamplePrimitiveAlias int64
type SampleSubElem ¶
type SampleSubElem struct {
Foo string `json:"foo,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.