resources

package
v1.0.0-beta.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2024 License: MIT Imports: 39 Imported by: 0

Documentation

Index

Constants

View Source
const CloudFunction2Resource = "CloudFunction2"
View Source
const CloudFunctionResource = "CloudFunction"
View Source
const CloudRunResource = "CloudRun"
View Source
const CloudSQLInstanceResource = "CloudSQLInstance"
View Source
const ComputeCommonInstanceMetadataResource = "ComputeCommonInstanceMetadata"
View Source
const ComputeDiskResource = "ComputeDisk"
View Source
const ComputeFirewallResource = "ComputeFirewall"
View Source
const ComputeInstanceResource = "ComputeInstance"
View Source
const FirebaseRealtimeDatabaseResource = "FirebaseRealtimeDatabase"
View Source
const FirebaseWebAppResource = "FirebaseWebApp"
View Source
const GKEClusterResource = "GKECluster"
View Source
const IAMPolicyBindingResource = "IAMPolicyBinding"
View Source
const IAMRoleResource = "IAMRole"
View Source
const IAMServiceAccountResource = "IAMServiceAccount"
View Source
const IAMWorkloadIdentityPoolProviderProviderResource = "IAMWorkloadIdentityPoolProvider"
View Source
const IAMWorkloadIdentityPoolResource = "IAMWorkloadIdentityPool"
View Source
const KMSKeyResource = "KMSKey"
View Source
const SecretManagerSecretResource = "SecretManagerSecret"
View Source
const StorageBucketObjectResource = "StorageBucketObject"
View Source
const StorageBucketResource = "StorageBucket"
View Source
const VPCGlobalIPAddressResource = "VPCGlobalIPAddress"
View Source
const VPCIPAddressResource = "VPCIPAddress"
View Source
const VPCNetworkResource = "VPCNetwork"
View Source
const VPCRouteResource = "VPCRoute"
View Source
const VPCRouterResource = "VPCRouter"
View Source
const VPCSubnetResource = "VPCSubnet"

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudFunction

type CloudFunction struct {
	Project  *string
	Region   *string
	FullName *string `property:"-"`
	Name     *string `property:"Name"`
	Status   *string
	Labels   map[string]string
	// contains filtered or unexported fields
}

func (*CloudFunction) HandleWait

func (r *CloudFunction) HandleWait(ctx context.Context) error

func (*CloudFunction) Properties

func (r *CloudFunction) Properties() types.Properties

func (*CloudFunction) Remove

func (r *CloudFunction) Remove(ctx context.Context) (err error)

func (*CloudFunction) String

func (r *CloudFunction) String() string

type CloudFunction2

type CloudFunction2 struct {
	Project  *string
	Region   *string
	FullName *string `property:"-"`
	Name     *string `property:"Name"`
	Labels   map[string]string
	State    *string
	// contains filtered or unexported fields
}

func (*CloudFunction2) HandleWait

func (r *CloudFunction2) HandleWait(ctx context.Context) error

func (*CloudFunction2) Properties

func (r *CloudFunction2) Properties() types.Properties

func (*CloudFunction2) Remove

func (r *CloudFunction2) Remove(ctx context.Context) (err error)

func (*CloudFunction2) String

func (r *CloudFunction2) String() string

type CloudFunction2Lister

type CloudFunction2Lister struct {
	// contains filtered or unexported fields
}

func (*CloudFunction2Lister) Close

func (l *CloudFunction2Lister) Close()

func (*CloudFunction2Lister) List

func (l *CloudFunction2Lister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type CloudFunctionLister

type CloudFunctionLister struct {
	// contains filtered or unexported fields
}

func (*CloudFunctionLister) Close

func (l *CloudFunctionLister) Close()

func (*CloudFunctionLister) List

func (l *CloudFunctionLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type CloudRun

type CloudRun struct {
	Project  *string
	Region   *string
	FullName *string
	Name     *string
	Labels   map[string]string
	// contains filtered or unexported fields
}

func (*CloudRun) Filter

func (r *CloudRun) Filter() error

func (*CloudRun) HandleWait

func (r *CloudRun) HandleWait(ctx context.Context) error

func (*CloudRun) Properties

func (r *CloudRun) Properties() types.Properties

func (*CloudRun) Remove

func (r *CloudRun) Remove(ctx context.Context) (err error)

func (*CloudRun) String

func (r *CloudRun) String() string

type CloudRunLister

type CloudRunLister struct {
	// contains filtered or unexported fields
}

func (*CloudRunLister) List

func (l *CloudRunLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type CloudSQLInstance

type CloudSQLInstance struct {
	Name            *string
	State           *string
	Labels          map[string]string
	CreationDate    *string
	DatabaseVersion *string
	// contains filtered or unexported fields
}

func (*CloudSQLInstance) HandleWait

func (r *CloudSQLInstance) HandleWait(ctx context.Context) error

func (*CloudSQLInstance) Properties

func (r *CloudSQLInstance) Properties() types.Properties

func (*CloudSQLInstance) Remove

func (r *CloudSQLInstance) Remove(ctx context.Context) (err error)

func (*CloudSQLInstance) Settings

func (r *CloudSQLInstance) Settings(setting *settings.Setting)

func (*CloudSQLInstance) String

func (r *CloudSQLInstance) String() string

type CloudSQLInstanceLister

type CloudSQLInstanceLister struct {
	// contains filtered or unexported fields
}

func (*CloudSQLInstanceLister) List

func (l *CloudSQLInstanceLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type ComputeCommonInstanceMetadata

type ComputeCommonInstanceMetadata struct {
	Fingerprint *string
	Items       []*computepb.Items
	// contains filtered or unexported fields
}

func (*ComputeCommonInstanceMetadata) Filter

func (*ComputeCommonInstanceMetadata) HandleWait

func (*ComputeCommonInstanceMetadata) Properties

func (*ComputeCommonInstanceMetadata) Remove

func (r *ComputeCommonInstanceMetadata) Remove(ctx context.Context) (err error)

func (*ComputeCommonInstanceMetadata) String

type ComputeCommonInstanceMetadataLister

type ComputeCommonInstanceMetadataLister struct {
	// contains filtered or unexported fields
}

func (*ComputeCommonInstanceMetadataLister) List

func (l *ComputeCommonInstanceMetadataLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type ComputeDisk

type ComputeDisk struct {
	Name   *string
	Zone   *string
	Arch   *string
	Size   *int64
	Type   *string
	Labels map[string]string
	// contains filtered or unexported fields
}

func (*ComputeDisk) Properties

func (r *ComputeDisk) Properties() types.Properties

func (*ComputeDisk) Remove

func (r *ComputeDisk) Remove(ctx context.Context) error

func (*ComputeDisk) String

func (r *ComputeDisk) String() string

type ComputeDiskLister

type ComputeDiskLister struct {
	// contains filtered or unexported fields
}

func (*ComputeDiskLister) List

func (l *ComputeDiskLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type ComputeFirewall

type ComputeFirewall struct {
	Project *string
	Region  *string
	Name    *string
	// contains filtered or unexported fields
}

func (*ComputeFirewall) Properties

func (r *ComputeFirewall) Properties() types.Properties

func (*ComputeFirewall) Remove

func (r *ComputeFirewall) Remove(ctx context.Context) error

func (*ComputeFirewall) String

func (r *ComputeFirewall) String() string

type ComputeFirewallLister

type ComputeFirewallLister struct {
	// contains filtered or unexported fields
}

func (*ComputeFirewallLister) List

func (l *ComputeFirewallLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type ComputeInstance

type ComputeInstance struct {
	Project           *string
	Region            *string
	Name              *string
	Zone              *string
	CreationTimestamp *string
	Labels            map[string]string
	// contains filtered or unexported fields
}

func (*ComputeInstance) Properties

func (r *ComputeInstance) Properties() types.Properties

func (*ComputeInstance) Remove

func (r *ComputeInstance) Remove(ctx context.Context) error

func (*ComputeInstance) String

func (r *ComputeInstance) String() string

type ComputeInstanceLister

type ComputeInstanceLister struct {
	// contains filtered or unexported fields
}

func (*ComputeInstanceLister) List

func (l *ComputeInstanceLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type FirebaseRealtimeDatabase

type FirebaseRealtimeDatabase struct {
	Project  *string
	Region   *string
	Name     *string
	FullName *string `property:"-"`
	Type     *string
	State    *string
	URL      *string
	// contains filtered or unexported fields
}

func (*FirebaseRealtimeDatabase) DeleteDatabaseInstance

func (r *FirebaseRealtimeDatabase) DeleteDatabaseInstance(ctx context.Context) error

func (*FirebaseRealtimeDatabase) DisableDatabaseInstance

func (r *FirebaseRealtimeDatabase) DisableDatabaseInstance(ctx context.Context) error

func (*FirebaseRealtimeDatabase) EmptyDefaultDatabase

func (r *FirebaseRealtimeDatabase) EmptyDefaultDatabase(ctx context.Context) error

func (*FirebaseRealtimeDatabase) Properties

func (r *FirebaseRealtimeDatabase) Properties() types.Properties

func (*FirebaseRealtimeDatabase) Remove

func (*FirebaseRealtimeDatabase) Settings

func (r *FirebaseRealtimeDatabase) Settings(settings *settings.Setting)

func (*FirebaseRealtimeDatabase) String

func (r *FirebaseRealtimeDatabase) String() string

type FirebaseRealtimeDatabaseLister

type FirebaseRealtimeDatabaseLister struct {
	// contains filtered or unexported fields
}

func (*FirebaseRealtimeDatabaseLister) List

func (l *FirebaseRealtimeDatabaseLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type FirebaseWebApp

type FirebaseWebApp struct {
	DisplayName *string
	AppID       *string
	State       *string
	// contains filtered or unexported fields
}

func (*FirebaseWebApp) Properties

func (r *FirebaseWebApp) Properties() types.Properties

func (*FirebaseWebApp) Remove

func (r *FirebaseWebApp) Remove(ctx context.Context) error

func (*FirebaseWebApp) String

func (r *FirebaseWebApp) String() string

type FirebaseWebAppLister

type FirebaseWebAppLister struct {
	// contains filtered or unexported fields
}

func (*FirebaseWebAppLister) List

func (l *FirebaseWebAppLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type GKECluster

type GKECluster struct {
	Project *string
	Region  *string
	Name    *string
	Zone    *string
	Status  *string
	// contains filtered or unexported fields
}

func (*GKECluster) HandleWait

func (r *GKECluster) HandleWait(ctx context.Context) error

func (*GKECluster) Properties

func (r *GKECluster) Properties() types.Properties

func (*GKECluster) Remove

func (r *GKECluster) Remove(ctx context.Context) error

func (*GKECluster) String

func (r *GKECluster) String() string

type GKEClusterLister

type GKEClusterLister struct {
	// contains filtered or unexported fields
}

func (*GKEClusterLister) List

func (l *GKEClusterLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

func (*GKEClusterLister) ListClusters

func (l *GKEClusterLister) ListClusters(ctx context.Context, project, location string) ([]resource.Resource, error)

type IAMPolicyBinding

type IAMPolicyBinding struct {
	Role          string
	Member        string
	MemberType    string
	IsDeleted     bool
	GoogleManaged bool
	// contains filtered or unexported fields
}

func (*IAMPolicyBinding) Filter

func (r *IAMPolicyBinding) Filter() error

func (*IAMPolicyBinding) Properties

func (r *IAMPolicyBinding) Properties() types.Properties

func (*IAMPolicyBinding) Remove

func (r *IAMPolicyBinding) Remove(ctx context.Context) error

func (*IAMPolicyBinding) Settings

func (r *IAMPolicyBinding) Settings(setting *settings.Setting)

func (*IAMPolicyBinding) String

func (r *IAMPolicyBinding) String() string

type IAMPolicyBindingLister

type IAMPolicyBindingLister struct {
	// contains filtered or unexported fields
}

func (*IAMPolicyBindingLister) List

func (l *IAMPolicyBindingLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type IAMRole

type IAMRole struct {
	Name    *string
	Stage   *string
	Etag    []byte
	Deleted *bool
	// contains filtered or unexported fields
}

func (*IAMRole) Properties

func (r *IAMRole) Properties() types.Properties

func (*IAMRole) Remove

func (r *IAMRole) Remove(ctx context.Context) error

func (*IAMRole) String

func (r *IAMRole) String() string

type IAMRoleLister

type IAMRoleLister struct {
	// contains filtered or unexported fields
}

func (*IAMRoleLister) List

func (l *IAMRoleLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type IAMServiceAccount

type IAMServiceAccount struct {
	ID          *string
	Name        *string
	Description *string
	// contains filtered or unexported fields
}

func (*IAMServiceAccount) Filter

func (r *IAMServiceAccount) Filter() error

func (*IAMServiceAccount) Properties

func (r *IAMServiceAccount) Properties() types.Properties

func (*IAMServiceAccount) Remove

func (r *IAMServiceAccount) Remove(ctx context.Context) error

func (*IAMServiceAccount) Settings

func (r *IAMServiceAccount) Settings(settings *settings.Setting)

func (*IAMServiceAccount) String

func (r *IAMServiceAccount) String() string

type IAMServiceAccountLister

type IAMServiceAccountLister struct {
	// contains filtered or unexported fields
}

func (*IAMServiceAccountLister) List

func (l *IAMServiceAccountLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type IAMWorkloadIdentityPool

type IAMWorkloadIdentityPool struct {
	Name *string
	// contains filtered or unexported fields
}

func (*IAMWorkloadIdentityPool) Properties

func (r *IAMWorkloadIdentityPool) Properties() types.Properties

func (*IAMWorkloadIdentityPool) Remove

func (*IAMWorkloadIdentityPool) String

func (r *IAMWorkloadIdentityPool) String() string

type IAMWorkloadIdentityPoolLister

type IAMWorkloadIdentityPoolLister struct {
	// contains filtered or unexported fields
}

func (*IAMWorkloadIdentityPoolLister) List

func (l *IAMWorkloadIdentityPoolLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

func (*IAMWorkloadIdentityPoolLister) ListPools

func (l *IAMWorkloadIdentityPoolLister) ListPools(ctx context.Context, opts *nuke.ListerOpts) ([]*iam.WorkloadIdentityPool, error)

type IAMWorkloadIdentityPoolProvider

type IAMWorkloadIdentityPoolProvider struct {
	Name        *string
	Pool        *string
	Disabled    *bool
	DisplayName *string
	ExpireTime  *string
	// contains filtered or unexported fields
}

func (*IAMWorkloadIdentityPoolProvider) Properties

func (*IAMWorkloadIdentityPoolProvider) Remove

func (*IAMWorkloadIdentityPoolProvider) String

type IAMWorkloadIdentityPoolProviderLister

type IAMWorkloadIdentityPoolProviderLister struct {
	// contains filtered or unexported fields
}

func (*IAMWorkloadIdentityPoolProviderLister) List

type KMSKey

type KMSKey struct {
	Name    *string
	Keyring *string
	State   *string
	// contains filtered or unexported fields
}

func (*KMSKey) Filter

func (r *KMSKey) Filter() error

func (*KMSKey) Properties

func (r *KMSKey) Properties() types.Properties

func (*KMSKey) Remove

func (r *KMSKey) Remove(ctx context.Context) error

func (*KMSKey) String

func (r *KMSKey) String() string

type KMSKeyLister

type KMSKeyLister struct {
	// contains filtered or unexported fields
}

func (*KMSKeyLister) List

func (l *KMSKeyLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type SecretManagerSecret

type SecretManagerSecret struct {
	Name       *string
	CreateTime time.Time
	Labels     map[string]string
	// contains filtered or unexported fields
}

func (*SecretManagerSecret) Properties

func (r *SecretManagerSecret) Properties() types.Properties

func (*SecretManagerSecret) Remove

func (r *SecretManagerSecret) Remove(ctx context.Context) error

func (*SecretManagerSecret) String

func (r *SecretManagerSecret) String() string

type SecretManagerSecretLister

type SecretManagerSecretLister struct {
	// contains filtered or unexported fields
}

func (*SecretManagerSecretLister) List

func (l *SecretManagerSecretLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type StorageBucket

type StorageBucket struct {
	Name        *string
	Labels      map[string]string
	MultiRegion *bool
	// contains filtered or unexported fields
}

func (*StorageBucket) Filter

func (r *StorageBucket) Filter() error

func (*StorageBucket) Properties

func (r *StorageBucket) Properties() types.Properties

func (*StorageBucket) Remove

func (r *StorageBucket) Remove(ctx context.Context) error

func (*StorageBucket) Settings

func (r *StorageBucket) Settings(settings *settings.Setting)

func (*StorageBucket) String

func (r *StorageBucket) String() string

type StorageBucketLister

type StorageBucketLister struct {
	// contains filtered or unexported fields
}

func (*StorageBucketLister) Close

func (l *StorageBucketLister) Close()

func (*StorageBucketLister) List

func (l *StorageBucketLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

func (*StorageBucketLister) ListBuckets

func (l *StorageBucketLister) ListBuckets(ctx context.Context, opts *nuke.ListerOpts) ([]*storage.BucketAttrs, error)

type StorageBucketObject

type StorageBucketObject struct {
	Project  *string
	Region   *string
	Name     *string
	Bucket   *string
	Metadata map[string]string
	// contains filtered or unexported fields
}

func (*StorageBucketObject) Properties

func (r *StorageBucketObject) Properties() types.Properties

func (*StorageBucketObject) Remove

func (r *StorageBucketObject) Remove(ctx context.Context) error

func (*StorageBucketObject) String

func (r *StorageBucketObject) String() string

type StorageBucketObjectLister

type StorageBucketObjectLister struct {
	// contains filtered or unexported fields
}

func (*StorageBucketObjectLister) List

func (l *StorageBucketObjectLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type VPCGlobalIPAddress

type VPCGlobalIPAddress struct {
	Name        *string
	Address     *string
	AddressType *string
	// contains filtered or unexported fields
}

func (*VPCGlobalIPAddress) HandleWait

func (r *VPCGlobalIPAddress) HandleWait(ctx context.Context) error

func (*VPCGlobalIPAddress) Properties

func (r *VPCGlobalIPAddress) Properties() types.Properties

func (*VPCGlobalIPAddress) Remove

func (r *VPCGlobalIPAddress) Remove(ctx context.Context) (err error)

func (*VPCGlobalIPAddress) String

func (r *VPCGlobalIPAddress) String() string

type VPCGlobalIPAddressLister

type VPCGlobalIPAddressLister struct {
	// contains filtered or unexported fields
}

func (*VPCGlobalIPAddressLister) List

func (l *VPCGlobalIPAddressLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type VPCIPAddress

type VPCIPAddress struct {
	Name        *string
	Address     *string
	AddressType *string
	// contains filtered or unexported fields
}

func (*VPCIPAddress) HandleWait

func (r *VPCIPAddress) HandleWait(ctx context.Context) error

func (*VPCIPAddress) Properties

func (r *VPCIPAddress) Properties() types.Properties

func (*VPCIPAddress) Remove

func (r *VPCIPAddress) Remove(ctx context.Context) (err error)

func (*VPCIPAddress) String

func (r *VPCIPAddress) String() string

type VPCIPAddressLister

type VPCIPAddressLister struct {
	// contains filtered or unexported fields
}

func (*VPCIPAddressLister) List

func (l *VPCIPAddressLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type VPCNetwork

type VPCNetwork struct {
	Name *string
	// contains filtered or unexported fields
}

func (*VPCNetwork) HandleWait

func (r *VPCNetwork) HandleWait(ctx context.Context) error

HandleWait is a hook into the libnuke resource lifecycle to allow for waiting on a resource to be removed because certain GCP resources are async and require waiting for the operation to complete, this allows for polling of the operation until it is complete. Otherwise, remove is only called once and the resource is left in a permanent wait if the operation fails.

func (*VPCNetwork) Properties

func (r *VPCNetwork) Properties() types.Properties

func (*VPCNetwork) Remove

func (r *VPCNetwork) Remove(ctx context.Context) error

func (*VPCNetwork) String

func (r *VPCNetwork) String() string

type VPCNetworkLister

type VPCNetworkLister struct {
	// contains filtered or unexported fields
}

func (*VPCNetworkLister) Close

func (l *VPCNetworkLister) Close()

func (*VPCNetworkLister) List

func (l *VPCNetworkLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type VPCRoute

type VPCRoute struct {
	Project     *string
	Region      *string
	Name        *string
	Network     *string
	RouteType   *string
	Description *string `property:"-"`
	// contains filtered or unexported fields
}

func (*VPCRoute) Filter

func (r *VPCRoute) Filter() error

func (*VPCRoute) Properties

func (r *VPCRoute) Properties() types.Properties

func (*VPCRoute) Remove

func (r *VPCRoute) Remove(ctx context.Context) error

func (*VPCRoute) String

func (r *VPCRoute) String() string

type VPCRouteLister

type VPCRouteLister struct {
	// contains filtered or unexported fields
}

func (*VPCRouteLister) List

func (l *VPCRouteLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type VPCRouter

type VPCRouter struct {
	Project *string
	Region  *string
	Name    *string
	// contains filtered or unexported fields
}

func (*VPCRouter) Properties

func (r *VPCRouter) Properties() types.Properties

func (*VPCRouter) Remove

func (r *VPCRouter) Remove(ctx context.Context) error

func (*VPCRouter) String

func (r *VPCRouter) String() string

type VPCRouterLister

type VPCRouterLister struct {
	// contains filtered or unexported fields
}

func (*VPCRouterLister) List

func (l *VPCRouterLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

type VPCSubnet

type VPCSubnet struct {
	Name      *string
	Network   *string
	IPV4Range *string
	IPV6Range *string
	// contains filtered or unexported fields
}

func (*VPCSubnet) Filter

func (r *VPCSubnet) Filter() error

func (*VPCSubnet) Properties

func (r *VPCSubnet) Properties() types.Properties

func (*VPCSubnet) Remove

func (r *VPCSubnet) Remove(ctx context.Context) error

func (*VPCSubnet) String

func (r *VPCSubnet) String() string

type VPCSubnetLister

type VPCSubnetLister struct {
	// contains filtered or unexported fields
}

func (*VPCSubnetLister) Close

func (l *VPCSubnetLister) Close()

func (*VPCSubnetLister) List

func (l *VPCSubnetLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL