package
0.20.5
Repository: https://github.com/aws/eks-anywhere.git
Documentation: pkg.go.dev

# README

CloudStack Provider

The original CloudStack provider template was generated with clusterctl

# Packages

No description provided by the author
Package mocks is a generated GoMock package.
No description provided by the author

# Functions

ControlPlaneSpec builds a CloudStack ControlPlane definition based on an eks-a cluster spec.
GetCloudstackExecConfig gets cloudstack exec config from secrets.
GetMachineTemplate gets a CloudStackMachineTemplate object using the provided client If the object doesn't exist, it returns a NotFound error.
MachineDeployments returns generated CAPI MachineDeployment objects for a given cluster spec.
MachineTemplate returns a generated CloudStackMachineTemplate object for a given EKS-A CloudStackMachineConfig.
NeedNewMachineTemplate Used by EKS-A controller and CLI upgrade workflow to compare generated CSDC/CSMC's from CAPC resources in fetcher.go with those already on the cluster when deciding whether or not to generate and apply new CloudStackMachineTemplates.
No description provided by the author
NeedsNewWorkloadTemplate determines if a new workload template is needed.
NewMockProviderValidator creates a new mock instance.
NewMockValidatorRegistry creates a new mock instance.
NewProvider initializes the CloudStack provider object.
NewTemplateBuilder creates a new TemplateBuilder.
No description provided by the author
NewValidatorFactory initializes a factory for the CloudStack provider validator.
WorkersSpec generates a cloudstack specific CAPI spec for an eks-a cluster worker nodes.

# Constants

CloudStackMachineTemplateKind defines the K8s Kind corresponding with the MachineTemplate.

# Structs

ControlPlane holds the CloudStack specific objects for a CAPI CloudStack control plane.
MockProviderValidator is a mock of ProviderValidator interface.
MockProviderValidatorMockRecorder is the mock recorder for MockProviderValidator.
MockValidatorRegistry is a mock of ValidatorRegistry interface.
MockValidatorRegistryMockRecorder is the mock recorder for MockValidatorRegistry.
TemplateBuilder is responsible for building the CAPI templates.
No description provided by the author
ValidatorFactory implements the ValidatorRegistry interface and holds the necessary structs for building fresh Validator objects.

# Interfaces

CmkBuilder defines the interface to be consumed by the ValidatorFactory which enables it to build a new CloudStackClient.
ProviderCmkClient defines the methods used by Cmk as a separate interface to be mockable when injected into other objects.
No description provided by the author
ProviderValidator exposes a common interface to avoid coupling on implementation details and to support mocking.
ValidatorRegistry exposes a single method for retrieving the CloudStack validator, and abstracts away how they are injected.