Documentation ¶
Overview ¶
Package cluster contains asset targets that generates the terraform file, prepare the infra, and bootstrap the cluster.
Index ¶
- Variables
- type Cluster
- func (c *Cluster) Dependencies() []asset.Asset
- func (c *Cluster) Files() []*asset.File
- func (c *Cluster) Generate(_ asset.Parents) (err error)
- func (c *Cluster) GenerateWithContext(ctx context.Context, parents asset.Parents) (err error)
- func (c *Cluster) Load(f asset.FileFetcher) (found bool, err error)
- func (c *Cluster) Name() string
- type Metadata
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // InstallDir is the directory containing install assets. InstallDir string )
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
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.
func (*Cluster) Generate ¶
Generate is implemented so the Cluster Asset maintains compatibility with the Asset interface. It should never be called.
func (*Cluster) GenerateWithContext ¶ added in v0.90.0
Generate launches the cluster and generates the terraform state file on disk.
type Metadata ¶ added in v0.9.2
Metadata contains information needed to destroy clusters.
func (*Metadata) Dependencies ¶ added in v0.9.2
Dependencies returns the direct dependencies for the metadata asset.
Directories ¶
Path | Synopsis |
---|---|
Package aws extracts AWS metadata from install configurations.
|
Package aws extracts AWS metadata from install configurations. |
Package azure extracts AZURE metadata from install configurations.
|
Package azure extracts AZURE metadata from install configurations. |
Package baremetal extracts bare metal metadata from install configurations.
|
Package baremetal extracts bare metal metadata from install configurations. |
Package gcp extracts GCP metadata from install configurations.
|
Package gcp extracts GCP metadata from install configurations. |
Package ibmcloud extracts IBM Cloud metadata from install configurations.
|
Package ibmcloud extracts IBM Cloud metadata from install configurations. |
Package libvirt extracts libvirt metadata from install configurations.
|
Package libvirt extracts libvirt metadata from install configurations. |
Package openstack extracts OpenStack metadata from install configurations.
|
Package openstack extracts OpenStack metadata from install configurations. |
Package ovirt extracts ovirt metadata from install configurations.
|
Package ovirt extracts ovirt metadata from install configurations. |
Package powervs extracts Power VS metadata from install configurations.
|
Package powervs extracts Power VS metadata from install configurations. |
Click to show internal directories.
Click to hide internal directories.