Documentation ¶
Overview ¶
Package openstack provides a cluster-destroyer for openstack clusters.
Package openstack provides a cluster-destroyer for openstack clusters.
Package openstack provides a cluster-destroyer for openstack clusters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(logger logrus.FieldLogger, metadata *types.ClusterMetadata) (destroy.Destroyer, error)
New returns an OpenStack destroyer from ClusterMetadata.
Types ¶
type ClusterUninstaller ¶
type ClusterUninstaller struct { // Cloud is the cloud name as set in clouds.yml Cloud string // Filter contains the openshiftClusterID to filter tags Filter Filter Logger logrus.FieldLogger }
ClusterUninstaller holds the various options for the cluster we want to delete.
func (*ClusterUninstaller) Run ¶
func (o *ClusterUninstaller) Run() error
Run is the entrypoint to start the uninstall process.
type ObjectWithTags ¶
ObjectWithTags is a generic way to represent an OpenStack object and its tags so that filtering objects client-side can be done in a generic way.
Note we use UUID not Name as not all OpenStack services require a unique name.
Click to show internal directories.
Click to hide internal directories.