Documentation
¶
Index ¶
- Constants
- Variables
- func GroupVersionResource() schema.GroupVersionResource
- type Module
- func (in *Module) DeepCopy() *Module
- func (in *Module) DeepCopyInto(out *Module)
- func (in *Module) DeepCopyObject() runtime.Object
- func (m *Module) GetObjectKind() schema.ObjectKind
- func (m *Module) SetEnabledState(enabled bool)
- func (m *Module) SetName(name string)
- func (m *Module) SetSource(source string)
- func (m *Module) SetTags(tags []string)
- func (m *Module) SetWeight(weight int)
- type ModuleConfig
- type ModuleConfigSpec
- type ModuleConfigStatus
- type ModuleProperties
- type SettingsValues
Constants ¶
const ( ModuleConfigKind = "ModuleConfig" ModuleConfigResource = "moduleconfigs" ModuleConfigGroup = "deckhouse.io" ModuleConfigVersion = "v1alpha1" ModuleConfigAPIVersion = "deckhouse.io/v1alpha1" )
Variables ¶
var ModuleGVK = schema.GroupVersionKind{Group: "deckhouse.io", Version: "v1alpha1", Kind: "Module"}
Functions ¶
func GroupVersionResource ¶ added in v1.51.0
func GroupVersionResource() schema.GroupVersionResource
Types ¶
type Module ¶
type Module 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"` Properties ModuleProperties `json:"properties,omitempty"` }
Module kubernetes object
func (*Module) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Module.
func (*Module) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Module) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Module) GetObjectKind ¶ added in v1.47.3
func (m *Module) GetObjectKind() schema.ObjectKind
func (*Module) SetEnabledState ¶
type ModuleConfig ¶ added in v1.51.0
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 ¶ added in v1.51.0
func (in *ModuleConfig) DeepCopy() *ModuleConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleConfig.
func (*ModuleConfig) DeepCopyInto ¶ added in v1.51.0
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 ¶ added in v1.51.0
func (in *ModuleConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ModuleConfigSpec ¶ added in v1.51.0
type ModuleConfigSpec struct { Version int `json:"version,omitempty"` Settings SettingsValues `json:"settings,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
func (*ModuleConfigSpec) DeepCopy ¶ added in v1.51.0
func (in *ModuleConfigSpec) DeepCopy() *ModuleConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleConfigSpec.
func (*ModuleConfigSpec) DeepCopyInto ¶ added in v1.51.0
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 ¶ added in v1.51.0
type ModuleConfigStatus struct { State string `json:"state"` Version string `json:"version"` Type string `json:"type"` Status string `json:"status"` }
func (*ModuleConfigStatus) DeepCopy ¶ added in v1.51.0
func (in *ModuleConfigStatus) DeepCopy() *ModuleConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleConfigStatus.
func (*ModuleConfigStatus) DeepCopyInto ¶ added in v1.51.0
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 ¶ added in v1.51.0
func (in *ModuleConfigStatus) GetObjectKind() schema.ObjectKind
type ModuleProperties ¶
type ModuleProperties struct { Weight int `json:"weight"` State string `json:"state"` Source string `json:"source"` }
func (*ModuleProperties) DeepCopy ¶
func (in *ModuleProperties) DeepCopy() *ModuleProperties
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModuleProperties.
func (*ModuleProperties) DeepCopyInto ¶
func (in *ModuleProperties) DeepCopyInto(out *ModuleProperties)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SettingsValues ¶ added in v1.51.0
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 ¶ added in v1.51.0
func (v *SettingsValues) DeepCopy() *SettingsValues
func (SettingsValues) DeepCopyInto ¶ added in v1.51.0
func (v SettingsValues) DeepCopyInto(out *SettingsValues)