models

package
v1.60.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleDefinitionFile = "module.yaml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DeckhouseModule

type DeckhouseModule struct {
	// contains filtered or unexported fields
}

func NewDeckhouseModule

func NewDeckhouseModule(def DeckhouseModuleDefinition, staticValues utils.Values, configBytes, valuesBytes []byte) (*DeckhouseModule, error)

func (DeckhouseModule) AsKubeObject

func (dm DeckhouseModule) AsKubeObject(source string) *v1alpha1.Module

func (DeckhouseModule) GetBasicModule

func (dm DeckhouseModule) GetBasicModule() *modules.BasicModule

type DeckhouseModuleDefinition

type DeckhouseModuleDefinition struct {
	Name        string   `yaml:"name"`
	Weight      uint32   `yaml:"weight,omitempty"`
	Tags        []string `yaml:"tags"`
	Stage       string   `yaml:"stage"`
	Description string   `yaml:"description"`

	Path string `yaml:"-"`
}

Jump to

Keyboard shortcuts

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