steps

package
v0.0.0-...-dc516ba Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChartHandlerOptions

type ChartHandlerOptions struct {
	Dyn        *dynamic.Getter
	HelmClient helmclient.Client
	Env        *cache.Cache[string, string]
	Log        logging.Logger
}

type Handler

type Handler interface {
	Namespace(ns string)
	Op(op Op)
	Handle(ctx context.Context, id string, in *runtime.RawExtension) error
}

func ChartHandler

func ChartHandler(opts ChartHandlerOptions) Handler

func ObjectHandler

func ObjectHandler(app *dynamic.Applier, del *dynamic.Deletor, env *cache.Cache[string, string], logr logging.Logger) Handler

func VarHandler

func VarHandler(dyn *dynamic.Getter, env *cache.Cache[string, string], logr logging.Logger) Handler

type Op

type Op int
const (
	Create Op = iota + 1
	Update
	Delete
)

Jump to

Keyboard shortcuts

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