Documentation ¶
Overview ¶
Package cluster contains asset targets that generates the terraform file, prepare the infra, and bootstrap the cluster.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster uses the terraform executable to launch a cluster with the given terraform tfvar and generated templates.
func (*Cluster) Dependencies ¶
Dependencies returns the direct dependency for launching the cluster.
type Stock ¶
type Stock interface { // TFVars is the asset that generates the terraform.tfvar file TFVars() asset.Asset // Cluster is the asset that creates the cluster. Cluster() asset.Asset }
Stock is the stock of the cluster assets that can be generated.
type StockImpl ¶
type StockImpl struct {
// contains filtered or unexported fields
}
StockImpl is the implementation of the cluster asset stock.
func (*StockImpl) EstablishStock ¶
func (s *StockImpl) EstablishStock(installConfigStock installconfig.Stock, bootstrapStock bootstrap.Stock, machineStock machine.Stock, kubeconfigStock kubeconfig.Stock)
EstablishStock establishes the stock of assets in the specified directory.
type TerraformVariables ¶
type TerraformVariables struct {
// contains filtered or unexported fields
}
TerraformVariables depends on InstallConfig and Ignition to generate the terrafor.tfvars.
func (*TerraformVariables) Dependencies ¶
func (t *TerraformVariables) Dependencies() []asset.Asset
Dependencies returns the dependency of the TerraformVariable
func (*TerraformVariables) Name ¶
func (t *TerraformVariables) Name() string
Name returns the human-friendly name of the asset.