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) (diffs.Checker, error)
- func (p *PreFlight) Exec() (*Status, error)
- func (*PreFlight) GenerateDiffs(diffChecker diffs.Checker) (r3diff.Changelog, error)
- func (p *PreFlight) GetStateFromCluster() ([]byte, 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 ¶ added in v0.27.0
func (d *Distribution) Self() *cluster.OperationPhase
func (*Distribution) Stop ¶
func (d *Distribution) Stop() error
func (*Distribution) SupportsLifecycle ¶ added in v0.27.0
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 ¶ added in v0.27.0
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 ¶ added in v0.27.0
func (k *Kubernetes) Self() *cluster.OperationPhase
func (*Kubernetes) Stop ¶
func (k *Kubernetes) Stop() error
type PreFlight ¶ added in v0.27.0
Preflight is a phase tasked with ensuring cluster connectivity and checking for violations in the updates made on the furyctl.yaml file.
func NewPreFlight ¶ added in v0.27.0
func (*PreFlight) CheckImmutablesDiffs ¶ added in v0.27.0
CheckImmutablesDiffs checks if there have been changes to immutable fields in the furyctl.yaml.
func (*PreFlight) CheckReducersDiffs ¶ added in v0.27.0
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 ¶ added in v0.27.0
func (*PreFlight) GenerateDiffs ¶ added in v0.27.0
func (*PreFlight) GetStateFromCluster ¶ added in v0.27.0
Click to show internal directories.
Click to hide internal directories.