create

package
v0.27.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

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

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,
) *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 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() (diffs.Checker, error)

func (*PreFlight) Exec added in v0.27.0

func (p *PreFlight) Exec() (*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