Documentation ¶
Index ¶
- func New(logger logrus.FieldLogger, metadata *types.ClusterMetadata) (providers.Destroyer, error)
- type ClusterUninstaller
- func (o *ClusterUninstaller) COSInstanceID() (string, error)
- func (t ClusterUninstaller) GetAllPendingItems() []cloudResource
- func (o *ClusterUninstaller) PolledRun() (bool, error)
- func (o *ClusterUninstaller) Run() (*types.ClusterQuota, error)
- func (o *ClusterUninstaller) ServiceInstanceNameToGUID(ctx context.Context, name string) (string, error)
- type DeleteJobResult
- type User
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.
func (*ClusterUninstaller) ServiceInstanceNameToGUID ¶ added in v0.9.153
func (o *ClusterUninstaller) ServiceInstanceNameToGUID(ctx context.Context, name string) (string, error)
ServiceInstanceNameToGUID returns the GUID of the matching service instance name which was passed in.
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 ¶
- cloud-instance.go
- cloud-sshkey.go
- cloud-transit-gateways.go
- cloudobjectstorage.go
- cloudresource.go
- dhcp.go
- dns-dns.go
- dns-resource.go
- errortracker.go
- image.go
- job.go
- loadbalancer.go
- power-instance.go
- power-sshkey.go
- powervs.go
- publicgateway.go
- register.go
- securitygroup.go
- serviceinstance.go
- subnet.go
- vpc.go
Click to show internal directories.
Click to hide internal directories.