Documentation ¶
Overview ¶
Package gcp provides a cluster-destroyer for GCP clusters.
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 a GCP destroyer from ClusterMetadata.
Types ¶
type ClusterUninstaller ¶
type ClusterUninstaller struct { Logger logrus.FieldLogger Region string ProjectID string NetworkProjectID string PrivateZoneDomain string ClusterID string // contains filtered or unexported fields }
ClusterUninstaller holds the various options for the cluster we want to delete
func (*ClusterUninstaller) GetAllPendingItems ¶
func (t *ClusterUninstaller) GetAllPendingItems() []cloudResource
GetAllPendintItems returns a slice of all of the pending items across all types.
func (*ClusterUninstaller) Run ¶
func (o *ClusterUninstaller) Run() (*types.ClusterQuota, error)
Run is the entrypoint to start the uninstall process
Source Files ¶
- address.go
- backendservice.go
- bucket.go
- bucketobject.go
- cloudcontroller.go
- cloudresource.go
- disk.go
- dns.go
- doc.go
- errortracker.go
- filestore.go
- firewall.go
- forwardingrule.go
- gcp.go
- healthcheck.go
- httphealthcheck.go
- image.go
- instance.go
- instancegroup.go
- network.go
- policybinding.go
- quota.go
- register.go
- route.go
- router.go
- serviceaccount.go
- subnetwork.go
- targetTCPProxies.go
- targetpool.go
Click to show internal directories.
Click to hide internal directories.