models

package
v1.65.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func (DeckhouseModule) GetConfirmationReason added in v1.65.0

func (dm DeckhouseModule) GetConfirmationReason() (string, bool)

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"`
	Requirements map[string]string `json:"requirements"`

	DisableOptions DisableOptions `yaml:"disable"`

	Path string `yaml:"-"`
}

type DisableOptions added in v1.65.0

type DisableOptions struct {
	Confirmation bool   `yaml:"confirmation"`
	Message      string `yaml:"message"`
}

Jump to

Keyboard shortcuts

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