create

package
v0.29.1-kapp-rc.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	LifecyclePreApply  = "pre-apply"
	LifecyclePostApply = "post-apply"
)
View Source
const FromSecondsToHalfMinuteRetries = 30

Variables

This section is empty.

Functions

This section is empty.

Types

type Distribution

type Distribution struct {
	*cluster.OperationPhase
	// contains filtered or unexported fields
}

func NewDistribution

func NewDistribution(
	furyctlConf public.OnpremisesKfdV1Alpha2,
	kfdManifest config.KFD,
	paths cluster.CreatorPaths,
	dryRun bool,
	upgr *upgrade.Upgrade,
) *Distribution

func (*Distribution) Exec

func (d *Distribution) Exec(reducers v1alpha2.Reducers, startFrom string, upgradeState *upgrade.State) error

func (*Distribution) Self added in v0.27.0

func (d *Distribution) Self() *cluster.OperationPhase

type Kubernetes

type Kubernetes struct {
	*cluster.OperationPhase
	// contains filtered or unexported fields
}

func NewKubernetes

func NewKubernetes(
	furyctlConf public.OnpremisesKfdV1Alpha2,
	kfdManifest config.KFD,
	paths cluster.CreatorPaths,
	dryRun bool,
	upgr *upgrade.Upgrade,
	upgradeNode string,
	force []string,
	podRunningTimeout int,
) *Kubernetes

func (*Kubernetes) Exec

func (k *Kubernetes) Exec(startFrom string, upgradeState *upgrade.State) error

func (*Kubernetes) Self added in v0.27.0

func (k *Kubernetes) Self() *cluster.OperationPhase

type PreFlight added in v0.27.0

type PreFlight struct {
	*cluster.OperationPhase
	// contains filtered or unexported fields
}

func NewPreFlight added in v0.27.0

func NewPreFlight(
	furyctlConf public.OnpremisesKfdV1Alpha2,
	kfdManifest config.KFD,
	paths cluster.CreatorPaths,
	dryRun bool,
	stateStore state.Storer,
	force []string,
	phase string,
	upgradeEnabled bool,
) *PreFlight

func (*PreFlight) CheckReducerDiffs added in v0.27.0

func (p *PreFlight) CheckReducerDiffs(d r3diff.Changelog, diffChecker diffs.Checker) error

func (*PreFlight) CheckStateDiffs added in v0.27.0

func (p *PreFlight) CheckStateDiffs(d r3diff.Changelog, diffChecker diffs.Checker) error

func (*PreFlight) CreateDiffChecker added in v0.27.0

func (p *PreFlight) CreateDiffChecker(renderedConfig map[string]any) (diffs.Checker, error)

func (*PreFlight) Exec added in v0.27.0

func (p *PreFlight) Exec(renderedConfig map[string]any) (*Status, error)

type Status added in v0.27.0

type Status struct {
	Diffs   r3diff.Changelog
	Success bool
}

Jump to

Keyboard shortcuts

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