Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostAddresses ¶
HostAddresses contains the node addresses & ports to be used for gather bootsrap debug logs.
type Provider ¶
type Provider interface {
// Provision creates the infrastructure resources for the stage.
// dir: the path of the install dir
// parents: the parent assets, which can be used to obtain any cluser asset dependencies
// returns a slice of File assets, which will be appended to the cluster asset file list.
Provision(dir string, parents asset.Parents) ([]*asset.File, error)
// DestroyBootstrap destroys the temporary bootstrap resources.
DestroyBootstrap(dir string) error
// ExtractHostAddresses extracts the IPs of the bootstrap and control plane machines.
ExtractHostAddresses(dir string, config *types.InstallConfig, ha *HostAddresses) error
}
Provider defines the interface to be used for provisioning and working with cloud infrastructure.
Click to show internal directories.
Click to hide internal directories.