app

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute(d driver.Driver, action string, ctx ocm.Context, octx out.Context, cv ocm.ComponentVersionAccess, cfg *Config, values map[string]interface{}, kubeconfig []byte) error

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"`
	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 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