v1alpha1

package
v1.55.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ModuleGVK = schema.GroupVersionKind{Group: "deckhouse.io", Version: "v1alpha1", Kind: "Module"}

Functions

This section is empty.

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) SetDescription added in v1.53.0

func (m *Module) SetDescription(description string)

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 ModuleProperties

type ModuleProperties struct {
	Weight      int    `json:"weight"`
	State       string `json:"state"`
	Source      string `json:"source"`
	Description string `json:"description"`
}

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.

Jump to

Keyboard shortcuts

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