Documentation ¶
Overview ¶
Package openstack provides a cluster-destroyer for openstack clusters.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteGlanceImage ¶ added in v0.9.2
DeleteGlanceImage deletes the image with the specified name
func New ¶
func New(logger logrus.FieldLogger, metadata *types.ClusterMetadata) (providers.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 // InfraID contains unique cluster identifier InfraID 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.
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.