Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Create ¶ added in v0.19.0
type Create struct {
// contains filtered or unexported fields
}
Create is a schema for create cluster.
func NewCreate ¶ added in v0.19.0
func NewCreate(bootstrapper interfaces.Bootstrapper, clientFactory interfaces.ClientFactory, provider providers.Provider, clusterManager interfaces.ClusterManager, gitOpsManager interfaces.GitOpsManager, writer filewriter.FileWriter, eksdInstaller interfaces.EksdInstaller, packageManager interfaces.PackageManager, clusterCreator interfaces.ClusterCreator, eksaInstaller interfaces.EksaInstaller, mover interfaces.ClusterMover, ) *Create
NewCreate builds a new create construct.
type Delete ¶ added in v0.19.0
type Delete struct {
// contains filtered or unexported fields
}
Delete is the workflow that deletes a workload clusters.
func NewDelete ¶ added in v0.19.0
func NewDelete(bootstrapper interfaces.Bootstrapper, provider providers.Provider, writer filewriter.FileWriter, clusterManager interfaces.ClusterManager, gitopsManager interfaces.GitOpsManager, clusterDeleter interfaces.ClusterDeleter, eksdInstaller interfaces.EksdInstaller, eksaInstaller interfaces.EksaInstaller, clientFactory interfaces.ClientFactory, mover interfaces.ClusterMover, ) *Delete
NewDelete builds a new delete construct.
type UMCValidator ¶ added in v0.19.0
type UMCValidator struct {
// contains filtered or unexported fields
}
UMCValidator is a struct that holds a cluster and a kubectl executable. It is used to perform preflight validations on the cluster.
func NewUMCValidator ¶ added in v0.19.0
func NewUMCValidator(cluster *types.Cluster, eksaRelease *v1releasealpha1.EKSARelease, kubectl validations.KubectlClient) *UMCValidator
NewUMCValidator is a constructor function that creates a new instance of UMCValidator.
func (*UMCValidator) PreflightValidations ¶ added in v0.19.0
func (u *UMCValidator) PreflightValidations(ctx context.Context) []validations.Validation
PreflightValidations is a method of the UMCValidator struct. It performs preflight validations on the cluster and returns a slice of Validation objects.
type Upgrade ¶
type Upgrade struct {
// contains filtered or unexported fields
}
Upgrade is a schema for upgrade cluster.
func NewUpgrade ¶
func NewUpgrade(clientFactory interfaces.ClientFactory, provider providers.Provider, capiManager interfaces.CAPIManager, clusterManager interfaces.ClusterManager, gitOpsManager interfaces.GitOpsManager, writer filewriter.FileWriter, eksdUpgrader interfaces.EksdUpgrader, eksdInstaller interfaces.EksdInstaller, clusterUpgrade interfaces.ClusterUpgrader, packageManager interfaces.PackageManager, ) *Upgrade
NewUpgrade builds a new upgrade construct.
type UpgradeManagementComponentsWorkflow ¶ added in v0.19.0
type UpgradeManagementComponentsWorkflow struct {
// contains filtered or unexported fields
}
UpgradeManagementComponentsWorkflow is a schema for upgrade management components.
func NewUpgradeManagementComponentsRunner ¶ added in v0.19.0
func NewUpgradeManagementComponentsRunner( clientFactory interfaces.ClientFactory, provider providers.Provider, capiManager interfaces.CAPIManager, clusterManager interfaces.ClusterManager, gitOpsManager interfaces.GitOpsManager, writer filewriter.FileWriter, eksdUpgrader interfaces.EksdUpgrader, eksdInstaller interfaces.EksdInstaller, ) *UpgradeManagementComponentsWorkflow
NewUpgradeManagementComponentsRunner builds a new UpgradeManagementCommponents construct.
func (*UpgradeManagementComponentsWorkflow) Run ¶ added in v0.19.0
func (umc *UpgradeManagementComponentsWorkflow) Run(ctx context.Context, clusterSpec *cluster.Spec, managementCluster *types.Cluster, validator interfaces.Validator) error
Run Upgrade implements upgrade functionality for management cluster's upgrade operation.
Source Files ¶
- core_components.go
- create.go
- create_bootstrap.go
- create_curated_packages.go
- create_delete_bootstrap.go
- create_gitops.go
- create_install_capi.go
- create_install_eksa.go
- create_install_resources.go
- create_move_capi.go
- create_workload.go
- delete.go
- delete_bootstrap.go
- delete_cluster.go
- delete_create_bootstrap.go
- delete_install_capi.go
- delete_install_eksa.go
- delete_move_capi.go
- gitops.go
- install_new_components.go
- post_cluster_upgrade.go
- pre_cluster_upgrade.go
- secrets.go
- upgrade.go
- upgrade_cluster.go
- upgrade_curated_packages.go
- upgrade_management_components.go
- validate.go
- write_cluster_config.go