app

package
v0.0.0-...-877fc11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Executor

func Executor(d driver.Driver, o *support.ExecutorOptions) error

func Merge

func Merge(values ...map[string]interface{}) map[string]interface{}

func New

func New(d driver.Driver) func(o *support.ExecutorOptions) error

func NewCliCommand

func NewCliCommand(ctx clictx.Context, d driver.Driver) *cobra.Command

func Set

func Set(values map[string]interface{}, path string, value interface{}) error

Types

type Config

type Config struct {
	Chart           v1.ResourceReference            `json:"chart,omitempty"`
	SubCharts       map[string]v1.ResourceReference `json:"subCharts,omitempty"`
	Release         string                          `json:"release,omitempty"`
	Namespace       string                          `json:"namespace,omitempty"`
	CreateNamespace bool                            `json:"createNamespace,omitempty"`
	ImageMapping    []ImageMapping                  `json:"imageMapping"`
	Values          json.RawMessage                 `json:"values,omitempty"`
	KubeConfigName  string                          `json:"kubeConfigName,omitempty"`
}

func (*Config) GetValues

func (c *Config) GetValues() (map[string]interface{}, error)

type Execution

type Execution struct {
	*support.ExecutorOptions
	// contains filtered or unexported fields
}

func (*Execution) Execute

func (e *Execution) Execute(cfg *Config, values map[string]interface{}, kubeconfig []byte) (err error)

type ImageMapping

type ImageMapping = localize.ImageMapping

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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