Documentation
¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=deckhouse.io +k8s:deepcopy-gen=package,register
Index ¶
Constants ¶
const ( ModuleConfigKind = "ModuleConfig" ModuleConfigResource = "moduleconfigs" ModuleConfigGroup = "deckhouse.io" ModuleConfigVersion = "v1alpha1" ModuleConfigAPIVersion = "deckhouse.io/v1alpha1" )
Variables ¶
var ( // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var ( // ModuleConfigGVR GroupVersionResource ModuleConfigGVR = schema.GroupVersionResource{ Group: ModuleConfigGroup, Version: ModuleConfigVersion, Resource: ModuleConfigResource, } )
var SchemeGroupVersion = schema.GroupVersion{Group: deckhouse_io.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ModuleConfig ¶
type ModuleConfig struct {
metav1.TypeMeta `json:",inline"`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ModuleConfigSpec `json:"spec"`
Status ModuleConfigStatus `json:"status,omitempty"`
}
ModuleConfig is a configuration for module or for global config values.
func (*ModuleConfig) DeepCopy ¶
func (in *ModuleConfig) DeepCopy() *ModuleConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleConfig.
func (*ModuleConfig) DeepCopyInto ¶
func (in *ModuleConfig) DeepCopyInto(out *ModuleConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ModuleConfig) DeepCopyObject ¶
func (in *ModuleConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModuleConfigList ¶
type ModuleConfigList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata"`
Items []ModuleConfig `json:"items"`
}
ModuleConfigList is a list of ModuleConfig resources
func (*ModuleConfigList) DeepCopy ¶
func (in *ModuleConfigList) DeepCopy() *ModuleConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleConfigList.
func (*ModuleConfigList) DeepCopyInto ¶
func (in *ModuleConfigList) DeepCopyInto(out *ModuleConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ModuleConfigList) DeepCopyObject ¶
func (in *ModuleConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModuleConfigSpec ¶
type ModuleConfigSpec struct {
Version int `json:"version,omitempty"`
Settings SettingsValues `json:"settings,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
}
func (*ModuleConfigSpec) DeepCopy ¶
func (in *ModuleConfigSpec) DeepCopy() *ModuleConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleConfigSpec.
func (*ModuleConfigSpec) DeepCopyInto ¶
func (in *ModuleConfigSpec) DeepCopyInto(out *ModuleConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ModuleConfigStatus ¶
type ModuleConfigStatus struct {
State string `json:"state"`
Version string `json:"version"`
Type string `json:"type"`
Status string `json:"status"`
}
func (*ModuleConfigStatus) DeepCopy ¶
func (in *ModuleConfigStatus) DeepCopy() *ModuleConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleConfigStatus.
func (*ModuleConfigStatus) DeepCopyInto ¶
func (in *ModuleConfigStatus) DeepCopyInto(out *ModuleConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ModuleConfigStatus) GetObjectKind ¶
func (in *ModuleConfigStatus) GetObjectKind() schema.ObjectKind
type SettingsValues ¶
type SettingsValues map[string]interface{}
SettingsValues empty interface in needed to handle DeepCopy generation. DeepCopy does not work with unnamed empty interfaces
func (*SettingsValues) DeepCopy ¶
func (v *SettingsValues) DeepCopy() *SettingsValues
func (SettingsValues) DeepCopyInto ¶
func (v SettingsValues) DeepCopyInto(out *SettingsValues)