Documentation ¶
Index ¶
- Constants
- func EqualStringPtr(v1, v2 *string) bool
- func GetCloudRunClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetCloudSQLClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetComputeDiskClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetComputeInstanceClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetFirewallClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetGCSClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetGKEClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetGlobalIPAddressClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetGlobalNetworkEndpointGroupClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetIAMClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetIPAddressClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetKMSClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetListerNames() []string
- func GetNetworkClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetPubSubClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetRedisClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetRegionalNetworkEndpointGroupClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetRouteClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetRouterClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetSecretClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetSubnetworkClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetVpcAccessClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func GetZonalNetworkEndpointGroupClient(project *gcputil.Project) (gcputil.GCPClient, error)
- func UnPtrBool(ptr *bool, def bool) bool
- func UnPtrString(ptr *string, def string) string
- func ZoneInRegionList(zone string, regions []string) bool
- type Bucket
- type BucketObject
- type CloudRun
- type CloudSQL
- type ComputeDisk
- type ComputeInstance
- type FeatureFlagGetter
- type Filter
- type Firewall
- type GKECluster
- type GlobalIPAddress
- type GlobalNetworkEndpointGroup
- func (x *GlobalNetworkEndpointGroup) GetOperationError(ctx context.Context) error
- func (x *GlobalNetworkEndpointGroup) Properties() types.Properties
- func (x *GlobalNetworkEndpointGroup) Remove(project *gcputil.Project, client gcputil.GCPClient) (err error)
- func (x *GlobalNetworkEndpointGroup) String() string
- type IAMRole
- type IAMServiceAccount
- type IPAddress
- type KmsKey
- type LegacyStringer
- type PubSubSubscription
- type PubSubTopic
- type Redis
- type RegionalNetworkEndpointGroup
- func (x *RegionalNetworkEndpointGroup) GetOperationError(ctx context.Context) error
- func (x *RegionalNetworkEndpointGroup) Properties() types.Properties
- func (x *RegionalNetworkEndpointGroup) Remove(project *gcputil.Project, client gcputil.GCPClient) (err error)
- func (x *RegionalNetworkEndpointGroup) String() string
- type Resource
- func ListBucketObjects(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListBuckets(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListCloudRuns(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListCloudSQLs(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListComputeDisks(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListComputeInstances(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListFirewalls(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListGKEClusters(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListGlobalIPAddresss(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListGlobalNetworkEndpointGroups(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListIAMRoles(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListIAMServiceAccounts(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListIPAddresss(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListKmsKeys(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListPubSubSubscriptions(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListPubSubTopics(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListRedis(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListRegionalNetworkEndpointGroups(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListRouters(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListRoutes(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListSecret(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListSubnets(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListVpcAccess(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListVpcs(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- func ListZonalNetworkEndpointGroups(project *gcputil.Project, client gcputil.GCPClient) ([]Resource, error)
- type ResourceClientGetter
- type ResourceLister
- type ResourceMethod
- type ResourceMethods
- type ResourcePropertyGetter
- type Route
- type Router
- type Secret
- type Subnet
- type Vpc
- type VpcAccess
- type ZonalNetworkEndpointGroup
- func (x *ZonalNetworkEndpointGroup) GetOperationError(ctx context.Context) error
- func (x *ZonalNetworkEndpointGroup) Properties() types.Properties
- func (x *ZonalNetworkEndpointGroup) Remove(project *gcputil.Project, client gcputil.GCPClient) (err error)
- func (x *ZonalNetworkEndpointGroup) String() string
Constants ¶
View Source
const ResourceTypeBucket = "Bucket"
View Source
const ResourceTypeBucketObject = "BucketObject"
View Source
const ResourceTypeCloudRun = "CloudRun"
View Source
const ResourceTypeCloudSQL = "CloudSQL"
View Source
const ResourceTypeComputeDisk = "ComputeDisk"
View Source
const ResourceTypeComputeInstance = "ComputeInstance"
View Source
const ResourceTypeFirewall = "Firewall"
View Source
const ResourceTypeGKECluster = "GKECluster"
View Source
const ResourceTypeGlobalIPAddress = "GlobalIPAddress"
View Source
const ResourceTypeGlobalNetworkEndpointGroup = "GlobalNetworkEndpointGroup"
View Source
const ResourceTypeIAMRole = "IAMRole"
View Source
const ResourceTypeIAMServiceAccount = "IAMServiceAccount"
View Source
const ResourceTypeIPAddress = "IPAddress"
View Source
const ResourceTypeKmsKey = "KMSKey"
View Source
const ResourceTypePubSubSubscription = "PubSubSubscription"
View Source
const ResourceTypePubSubTopic = "PubSubTopic"
View Source
const ResourceTypeRedis = "Redis"
View Source
const ResourceTypeRegionalNetworkEndpointGroup = "RegionalNetworkEndpointGroup"
View Source
const ResourceTypeRoute = "Route"
View Source
const ResourceTypeRouter = "Router"
View Source
const ResourceTypeSecret = "Secret"
View Source
const ResourceTypeSubnet = "Subnet"
View Source
const ResourceTypeVPC = "VPC"
View Source
const ResourceTypeVpcAccess = "VPCAccess"
View Source
const ResourceTypeZonalNetworkEndpointGroup = "ZonalNetworkEndpointGroup"
Variables ¶
This section is empty.
Functions ¶
func EqualStringPtr ¶
func GetCloudRunClient ¶
func GetCloudSQLClient ¶
func GetComputeDiskClient ¶
func GetFirewallClient ¶
func GetIPAddressClient ¶
func GetListerNames ¶
func GetListerNames() []string
func GetSubnetworkClient ¶
func GetVpcAccessClient ¶
func UnPtrString ¶
func ZoneInRegionList ¶
Types ¶
type Bucket ¶
type Bucket struct {
// contains filtered or unexported fields
}
func (*Bucket) Properties ¶
func (b *Bucket) Properties() types.Properties
type BucketObject ¶
type BucketObject struct {
// contains filtered or unexported fields
}
func (*BucketObject) GetOperationError ¶
func (b *BucketObject) GetOperationError(_ context.Context) error
func (*BucketObject) Properties ¶
func (b *BucketObject) Properties() types.Properties
func (*BucketObject) String ¶
func (b *BucketObject) String() string
type CloudRun ¶
type CloudRun struct {
// contains filtered or unexported fields
}
func (*CloudRun) GetOperationError ¶
func (*CloudRun) Properties ¶
func (x *CloudRun) Properties() types.Properties
type CloudSQL ¶
type CloudSQL struct {
// contains filtered or unexported fields
}
func (*CloudSQL) GetOperationError ¶
func (*CloudSQL) Properties ¶
func (x *CloudSQL) Properties() types.Properties
type ComputeDisk ¶
type ComputeDisk struct {
// contains filtered or unexported fields
}
func (*ComputeDisk) GetOperationError ¶
func (x *ComputeDisk) GetOperationError(ctx context.Context) error
func (*ComputeDisk) Properties ¶
func (x *ComputeDisk) Properties() types.Properties
func (*ComputeDisk) String ¶
func (x *ComputeDisk) String() string
type ComputeInstance ¶
type ComputeInstance struct {
// contains filtered or unexported fields
}
func (*ComputeInstance) GetOperationError ¶
func (x *ComputeInstance) GetOperationError(ctx context.Context) error
func (*ComputeInstance) Properties ¶
func (x *ComputeInstance) Properties() types.Properties
func (*ComputeInstance) String ¶
func (x *ComputeInstance) String() string
type FeatureFlagGetter ¶
type FeatureFlagGetter interface { Resource FeatureFlags(config.FeatureFlags) }
type Firewall ¶
type Firewall struct {
// contains filtered or unexported fields
}
func (*Firewall) GetOperationError ¶
func (*Firewall) Properties ¶
func (x *Firewall) Properties() types.Properties
type GKECluster ¶
type GKECluster struct {
// contains filtered or unexported fields
}
func (*GKECluster) GetOperationError ¶
func (x *GKECluster) GetOperationError(_ context.Context) error
func (*GKECluster) Properties ¶
func (x *GKECluster) Properties() types.Properties
func (*GKECluster) String ¶
func (x *GKECluster) String() string
type GlobalIPAddress ¶
type GlobalIPAddress struct {
// contains filtered or unexported fields
}
func (*GlobalIPAddress) GetOperationError ¶
func (x *GlobalIPAddress) GetOperationError(ctx context.Context) error
func (*GlobalIPAddress) Properties ¶
func (x *GlobalIPAddress) Properties() types.Properties
func (*GlobalIPAddress) String ¶
func (x *GlobalIPAddress) String() string
type GlobalNetworkEndpointGroup ¶
type GlobalNetworkEndpointGroup struct {
// contains filtered or unexported fields
}
func (*GlobalNetworkEndpointGroup) GetOperationError ¶
func (x *GlobalNetworkEndpointGroup) GetOperationError(ctx context.Context) error
func (*GlobalNetworkEndpointGroup) Properties ¶
func (x *GlobalNetworkEndpointGroup) Properties() types.Properties
func (*GlobalNetworkEndpointGroup) String ¶
func (x *GlobalNetworkEndpointGroup) String() string
type IAMRole ¶
type IAMRole struct {
// contains filtered or unexported fields
}
func (*IAMRole) Properties ¶
func (x *IAMRole) Properties() types.Properties
type IAMServiceAccount ¶
type IAMServiceAccount struct {
// contains filtered or unexported fields
}
func (*IAMServiceAccount) GetOperationError ¶
func (x *IAMServiceAccount) GetOperationError(_ context.Context) error
func (*IAMServiceAccount) Properties ¶
func (x *IAMServiceAccount) Properties() types.Properties
func (*IAMServiceAccount) String ¶
func (x *IAMServiceAccount) String() string
type IPAddress ¶
type IPAddress struct {
// contains filtered or unexported fields
}
func (*IPAddress) GetOperationError ¶
func (*IPAddress) Properties ¶
func (x *IPAddress) Properties() types.Properties
type KmsKey ¶
type KmsKey struct {
// contains filtered or unexported fields
}
func (*KmsKey) Properties ¶
func (x *KmsKey) Properties() types.Properties
type LegacyStringer ¶
type PubSubSubscription ¶
type PubSubSubscription struct {
// contains filtered or unexported fields
}
func (*PubSubSubscription) GetOperationError ¶
func (x *PubSubSubscription) GetOperationError(_ context.Context) error
func (*PubSubSubscription) Properties ¶
func (x *PubSubSubscription) Properties() types.Properties
func (*PubSubSubscription) String ¶
func (x *PubSubSubscription) String() string
type PubSubTopic ¶
type PubSubTopic struct {
// contains filtered or unexported fields
}
func (*PubSubTopic) GetOperationError ¶
func (x *PubSubTopic) GetOperationError(_ context.Context) error
func (*PubSubTopic) Properties ¶
func (x *PubSubTopic) Properties() types.Properties
func (*PubSubTopic) String ¶
func (x *PubSubTopic) String() string
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
func (*Redis) GetOperationError ¶
func (*Redis) Properties ¶
func (x *Redis) Properties() types.Properties
type RegionalNetworkEndpointGroup ¶
type RegionalNetworkEndpointGroup struct {
// contains filtered or unexported fields
}
func (*RegionalNetworkEndpointGroup) GetOperationError ¶
func (x *RegionalNetworkEndpointGroup) GetOperationError(ctx context.Context) error
func (*RegionalNetworkEndpointGroup) Properties ¶
func (x *RegionalNetworkEndpointGroup) Properties() types.Properties
func (*RegionalNetworkEndpointGroup) String ¶
func (x *RegionalNetworkEndpointGroup) String() string
type Resource ¶
type Resource interface { Remove(*gcputil.Project, gcputil.GCPClient) error GetOperationError(context.Context) error }
func ListBucketObjects ¶
func ListBuckets ¶
func ListCloudRuns ¶
func ListCloudSQLs ¶
func ListComputeDisks ¶
func ListComputeInstances ¶
func ListFirewalls ¶
func ListGKEClusters ¶
func ListGlobalIPAddresss ¶
func ListIAMRoles ¶
func ListIAMServiceAccounts ¶
func ListIPAddresss ¶
func ListKmsKeys ¶
func ListPubSubSubscriptions ¶
func ListPubSubTopics ¶
func ListRouters ¶
func ListRoutes ¶
func ListSecret ¶
func ListSubnets ¶
func ListVpcAccess ¶
type ResourceClientGetter ¶
func GetClient ¶
func GetClient(name string) ResourceClientGetter
type ResourceLister ¶
func GetLister ¶
func GetLister(name string) ResourceLister
type ResourceMethod ¶
type ResourceMethod struct { Lister ResourceLister ClientGetter ResourceClientGetter }
type ResourceMethods ¶
type ResourceMethods map[string]ResourceMethod
type ResourcePropertyGetter ¶
type ResourcePropertyGetter interface { Resource Properties() types.Properties }
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
func (*Route) Properties ¶
func (x *Route) Properties() types.Properties
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) Properties ¶
func (x *Router) Properties() types.Properties
type Secret ¶
type Secret struct {
// contains filtered or unexported fields
}
func (*Secret) Properties ¶
func (x *Secret) Properties() types.Properties
type Subnet ¶
type Subnet struct {
// contains filtered or unexported fields
}
func (*Subnet) Properties ¶
func (x *Subnet) Properties() types.Properties
type Vpc ¶
type Vpc struct {
// contains filtered or unexported fields
}
func (*Vpc) Properties ¶
func (x *Vpc) Properties() types.Properties
type VpcAccess ¶
type VpcAccess struct {
// contains filtered or unexported fields
}
func (*VpcAccess) GetOperationError ¶
func (*VpcAccess) Properties ¶
func (x *VpcAccess) Properties() types.Properties
type ZonalNetworkEndpointGroup ¶
type ZonalNetworkEndpointGroup struct {
// contains filtered or unexported fields
}
func (*ZonalNetworkEndpointGroup) GetOperationError ¶
func (x *ZonalNetworkEndpointGroup) GetOperationError(ctx context.Context) error
func (*ZonalNetworkEndpointGroup) Properties ¶
func (x *ZonalNetworkEndpointGroup) Properties() types.Properties
func (*ZonalNetworkEndpointGroup) String ¶
func (x *ZonalNetworkEndpointGroup) String() string
Source Files ¶
- cloud-run.go
- cloud-sql.go
- compute-disk.go
- compute-instance.go
- firewall.go
- gcs-bucket.go
- gcs-objects.go
- gke-cluster.go
- global-network-endpoint-group.go
- global_ip_address.go
- iam-role.go
- iam-service-account.go
- interface.go
- ip_address.go
- kmskey.go
- pubsub-subscription.go
- pubsub-topic.go
- redis.go
- regional-network-endpoint-group.go
- route.go
- router.go
- secret.go
- subnet.go
- util.go
- vpc-access.go
- vpc.go
- zonal-network-endpoint-group.go
Click to show internal directories.
Click to hide internal directories.