helm

package
v2.19.6-pro.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentInjectorName     = "agent-injector"
	ManagerAppName        = "traffic-manager"
	MutatorWebhookTLSName = "mutator-webhook-tls"
)

Variables

View Source
var GetValuesFunc = GetValues //nolint:gochecknoglobals // extension point

Functions

func DeleteTrafficManager

func DeleteTrafficManager(
	ctx context.Context, configFlags *genericclioptions.ConfigFlags, namespace string, errOnFail bool, req *Request,
) error

DeleteTrafficManager deletes the traffic manager.

func EnsureTrafficManager

func EnsureTrafficManager(ctx context.Context, configFlags *genericclioptions.ConfigFlags, namespace string, req *Request) error

func GetValues

func GetValues(ctx context.Context) map[string]any

Types

type Request

type Request struct {
	Type        RequestType
	ValuesJson  []byte
	ReuseValues bool
	ResetValues bool
	Crds        bool
	NoHooks     bool
}

type RequestType

type RequestType int32
const (
	Install RequestType = iota
	Upgrade
	Uninstall
)

Jump to

Keyboard shortcuts

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