Documentation ¶
Overview ¶
Package baremetal provides a cluster-destroyer for bare metal clusters.
Package baremetal provides a cluster-destroyer for bare metal clusters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(logger logrus.FieldLogger, metadata *types.ClusterMetadata) (providers.Destroyer, error)
New returns bare metal Uninstaller from ClusterMetadata.
Types ¶
type ClusterUninstaller ¶
type ClusterUninstaller struct { InfraID string LibvirtURI string BootstrapProvisioningIP string Logger logrus.FieldLogger }
ClusterUninstaller holds the various options for the cluster we want to delete.
func (*ClusterUninstaller) Run ¶
func (o *ClusterUninstaller) Run() (*types.ClusterQuota, error)
Run is the entrypoint to start the uninstall process.
Click to show internal directories.
Click to hide internal directories.