Documentation
¶
Overview ¶
Package vsphere provides a cluster-destroyer for vsphere clusters
Package vsphere provides a cluster-destroyer for vsphere clusters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(logger logrus.FieldLogger, metadata *installertypes.ClusterMetadata) (providers.Destroyer, error)
New returns an VSphere destroyer from ClusterMetadata.
Types ¶
type ClusterUninstaller ¶
type ClusterUninstaller struct {
ClusterID string
InfraID string
Client *vim25.Client
RestClient *rest.Client
Logger logrus.FieldLogger
// contains filtered or unexported fields
}
ClusterUninstaller holds the various options for the cluster we want to delete.
func (*ClusterUninstaller) Run ¶
func (o *ClusterUninstaller) Run() (*installertypes.ClusterQuota, error)
Run is the entrypoint to start the uninstall process.
Click to show internal directories.
Click to hide internal directories.