v1alpha1

package
v1.51.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleConfigKind       = "ModuleConfig"
	ModuleConfigResource   = "moduleconfigs"
	ModuleConfigGroup      = "deckhouse.io"
	ModuleConfigVersion    = "v1alpha1"
	ModuleConfigAPIVersion = "deckhouse.io/v1alpha1"
)

Variables

View Source
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

func (in *Module) DeepCopy() *Module

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Module.

func (*Module) DeepCopyInto

func (in *Module) DeepCopyInto(out *Module)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Module) DeepCopyObject

func (in *Module) DeepCopyObject() runtime.Object

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

func (m *Module) SetEnabledState(enabled bool)

func (*Module) SetName

func (m *Module) SetName(name string)

func (*Module) SetSource

func (m *Module) SetSource(source string)

func (*Module) SetTags added in v1.49.0

func (m *Module) SetTags(tags []string)

func (*Module) SetWeight

func (m *Module) SetWeight(weight int)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL