preupgrade

package
v0.52.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunPreflightChecks

func RunPreflightChecks(ctx context.Context, config Config, options Options) error

RunPreflightChecks executes all configured preflight checks

Types

type Config

type Config struct {
	KubeContext string
	Helm        helm.Interface
	Output      output.Interface
}

Config holds the configuration for running pre-upgrade checks

type Options

type Options struct {
	EnabledChecks  []string
	TargetVersion  string
	CurrentVersion string
	Timeout        time.Duration // Timeout for all preflight checks combined, defaults to 1 minute if not set
}

Options holds the options for preflight checks

Jump to

Keyboard shortcuts

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