Documentation ¶
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 an IBMCloud destroyer from ClusterMetadata.
Types ¶
type ClusterUninstaller ¶
type ClusterUninstaller struct { APIKey string BaseDomain string CISInstanceCRN string ClusterName string Context context.Context DNSInstanceCRN string DNSZone string InfraID string Logger logrus.FieldLogger Region string ServiceGUID string VPCRegion string Zone string // contains filtered or unexported fields }
ClusterUninstaller holds the various options for the cluster we want to delete.
func (*ClusterUninstaller) COSInstanceID ¶
func (o *ClusterUninstaller) COSInstanceID() (string, error)
COSInstanceID returns the ID of the Cloud Object Storage service instance created by the installer during installation.
func (ClusterUninstaller) GetAllPendingItems ¶
func (t ClusterUninstaller) GetAllPendingItems() []cloudResource
GetAllPendintItems returns a slice of all of the pending items across all types.
func (*ClusterUninstaller) PolledRun ¶
func (o *ClusterUninstaller) PolledRun() (bool, error)
PolledRun is the Run function which will be called with Polling.
func (*ClusterUninstaller) Run ¶
func (o *ClusterUninstaller) Run() (*types.ClusterQuota, error)
Run is the entrypoint to start the uninstall process.
type DeleteJobResult ¶
type DeleteJobResult int
DeleteJobResult The different states deleting a job can take.
const ( // DeleteJobSuccess A job has finished successfully. DeleteJobSuccess DeleteJobResult = iota // DeleteJobRunning A job is currently running. DeleteJobRunning // DeleteJobError A job has resulted in an error. DeleteJobError )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.