helm

package
v0.0.0-...-5c105c8 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: MIT Imports: 39 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindOptions

func BindOptions(opts *RawOptions, cmd *cobra.Command) error

func NewCommand

func NewCommand() (*cobra.Command, error)

Types

type Options

type Options struct {
	// contains filtered or unexported fields
}

func (*Options) Deploy

func (opts *Options) Deploy(ctx context.Context) error

type OwnerRefInfo

type OwnerRefInfo struct {
	Kind          string `json:"kind,omitempty"`
	Name          string `json:"name,omitempty"`
	Namespace     string `json:"namespace,omitempty"`
	KustoDeepLink string `json:"kustoDeepLink,omitempty"`
}

type PodInfo

type PodInfo struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
	Phase     string `json:"phase,omitempty"`
	State     string `json:"state,omitempty"` // container state summary
}

type PodQueryInfo

type PodQueryInfo struct {
	PodName   string
	Namespace string
	Phase     string
	State     string
	URLQuery  string
}

PodQueryInfo holds pod information and its associated Kusto query URL for structured logging, struct enables clean JSON serialization when logging multiple pods together

type RawOptions

type RawOptions struct {
	NamespaceFiles []string

	ReleaseName       string
	ReleaseNamespace  string
	ChartDir          string
	ValuesFile        string
	Ev2RolloutVersion string

	KustoDatabase string
	KustoTable    string
	KustoEndpoint string

	Timeout time.Duration

	KubeconfigFile    string
	DryRun            bool
	RollbackOnFailure bool
}

RawOptions holds input values.

func DefaultOptions

func DefaultOptions() *RawOptions

func (*RawOptions) Validate

func (o *RawOptions) Validate() (*ValidatedOptions, error)

type ResourceInfo

type ResourceInfo struct {
	Kind      string `json:"kind,omitempty"`
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

type ValidatedOptions

type ValidatedOptions struct {
	// contains filtered or unexported fields
}

func (*ValidatedOptions) Complete

func (o *ValidatedOptions) Complete() (*Options, error)

Jump to

Keyboard shortcuts

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