Documentation ¶
Index ¶
- Constants
- Variables
- type Distribution
- type Infrastructure
- type Kubernetes
- type PreFlight
- func (p *PreFlight) CheckImmutablesDiffs(d r3diff.Changelog, diffChecker diffs.Checker) error
- func (p *PreFlight) CheckReducersDiffs(d r3diff.Changelog, diffChecker diffs.Checker) error
- func (p *PreFlight) CreateDiffChecker(storedCfgStr []byte, renderedConfig map[string]any) (diffs.Checker, error)
- func (p *PreFlight) Exec(renderedConfig map[string]any) (*Status, error)
- type Status
Constants ¶
View Source
const ( LifecyclePreTf = "pre-tf" LifecyclePostTf = "post-tf" LifecyclePreApply = "pre-apply" LifecyclePostApply = "post-apply" )
Variables ¶
View Source
var ErrAbortedByUser = errors.New("aborted by user")
Functions ¶
This section is empty.
Types ¶
type Distribution ¶
type Distribution struct { *common.Distribution // contains filtered or unexported fields }
func NewDistribution ¶
func NewDistribution( paths cluster.CreatorPaths, furyctlConf private.EksclusterKfdV1Alpha2, kfdManifest config.KFD, infraOutputsPath string, dryRun bool, phase string, upgr *upgrade.Upgrade, ) *Distribution
func (*Distribution) Self ¶
func (d *Distribution) Self() *cluster.OperationPhase
func (*Distribution) Stop ¶
func (d *Distribution) Stop() error
func (*Distribution) SupportsLifecycle ¶
func (*Distribution) SupportsLifecycle(lifecycle string) bool
type Infrastructure ¶
type Infrastructure struct { *common.Infrastructure // contains filtered or unexported fields }
func NewInfrastructure ¶
func NewInfrastructure( furyctlConf private.EksclusterKfdV1Alpha2, kfdManifest config.KFD, paths cluster.CreatorPaths, dryRun bool, upgr *upgrade.Upgrade, ) *Infrastructure
func (*Infrastructure) Exec ¶
func (i *Infrastructure) Exec(startFrom string, upgradeState *upgrade.State) error
func (*Infrastructure) Self ¶
func (i *Infrastructure) Self() *cluster.OperationPhase
func (*Infrastructure) Stop ¶
func (i *Infrastructure) Stop() error
type Kubernetes ¶
type Kubernetes struct { *common.Kubernetes // contains filtered or unexported fields }
func NewKubernetes ¶
func NewKubernetes( furyctlConf private.EksclusterKfdV1Alpha2, kfdManifest config.KFD, infraOutputsPath string, 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 ¶
func (k *Kubernetes) Self() *cluster.OperationPhase
func (*Kubernetes) Stop ¶
func (k *Kubernetes) Stop() error
type PreFlight ¶
Preflight is a phase tasked with ensuring cluster connectivity and checking for violations in the updates made on the furyctl.yaml file.
func NewPreFlight ¶
func (*PreFlight) CheckImmutablesDiffs ¶
CheckImmutablesDiffs checks if there have been changes to immutable fields in the furyctl.yaml.
func (*PreFlight) CheckReducersDiffs ¶
CheckReducersDiffs checks if the changes to the reducers are supported by the distribution. This is needed as not all from/to combinations are supported.
func (*PreFlight) CreateDiffChecker ¶
Click to show internal directories.
Click to hide internal directories.