Documentation ¶
Index ¶
- func NewClient(project string, service *gcpcompute.Service, logger logger) client
- func NewOperationWaiter(op *gcpcompute.Operation, service *gcpcompute.Service, project string, ...) operationWaiter
- type Address
- type Addresses
- type BackendService
- type BackendServices
- type ComputeOperationError
- type Disk
- type Disks
- type Firewall
- type Firewalls
- type ForwardingRule
- type ForwardingRules
- type GlobalAddress
- type GlobalAddresses
- type GlobalForwardingRule
- type GlobalForwardingRules
- type GlobalHealthCheck
- type GlobalHealthChecks
- type HttpHealthCheck
- type HttpHealthChecks
- type HttpsHealthCheck
- type HttpsHealthChecks
- type Image
- type Images
- type Instance
- type InstanceGroup
- type InstanceGroupManager
- type InstanceGroupManagers
- type InstanceGroups
- type InstanceTemplate
- type InstanceTemplates
- type Instances
- type Network
- type Networks
- type Route
- type Router
- type Routers
- type Routes
- type SslCertificate
- type SslCertificates
- type Subnetwork
- type Subnetworks
- type TargetHttpProxies
- type TargetHttpProxy
- type TargetHttpsProxies
- type TargetHttpsProxy
- type TargetPool
- type TargetPools
- type TargetVpnGateway
- type TargetVpnGateways
- type UrlMap
- type UrlMaps
- type VpnTunnel
- type VpnTunnels
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(project string, service *gcpcompute.Service, logger logger) client
func NewOperationWaiter ¶
func NewOperationWaiter(op *gcpcompute.Operation, service *gcpcompute.Service, project string, logger logger) operationWaiter
Types ¶
type Addresses ¶
type Addresses struct {
// contains filtered or unexported fields
}
func NewAddresses ¶
type BackendService ¶
type BackendService struct {
// contains filtered or unexported fields
}
func NewBackendService ¶
func NewBackendService(client backendServicesClient, name string) BackendService
func (BackendService) Delete ¶
func (b BackendService) Delete() error
func (BackendService) Name ¶
func (b BackendService) Name() string
func (BackendService) Type ¶ added in v0.16.0
func (b BackendService) Type() string
type BackendServices ¶
type BackendServices struct {
// contains filtered or unexported fields
}
func NewBackendServices ¶
func NewBackendServices(client backendServicesClient, logger logger) BackendServices
func (BackendServices) List ¶
func (b BackendServices) List(filter string) ([]common.Deletable, error)
func (BackendServices) Type ¶ added in v0.32.0
func (b BackendServices) Type() string
type ComputeOperationError ¶
type ComputeOperationError compute.OperationError
func (ComputeOperationError) Error ¶
func (e ComputeOperationError) Error() string
type Firewall ¶
type Firewall struct {
// contains filtered or unexported fields
}
func NewFirewall ¶
type Firewalls ¶
type Firewalls struct {
// contains filtered or unexported fields
}
func NewFirewalls ¶
func NewFirewalls(client firewallsClient, logger logger) Firewalls
type ForwardingRule ¶
type ForwardingRule struct {
// contains filtered or unexported fields
}
func NewForwardingRule ¶
func NewForwardingRule(client forwardingRulesClient, name, region string) ForwardingRule
func (ForwardingRule) Delete ¶
func (f ForwardingRule) Delete() error
func (ForwardingRule) Name ¶
func (f ForwardingRule) Name() string
func (ForwardingRule) Type ¶ added in v0.16.0
func (f ForwardingRule) Type() string
type ForwardingRules ¶
type ForwardingRules struct {
// contains filtered or unexported fields
}
func NewForwardingRules ¶
func NewForwardingRules(client forwardingRulesClient, logger logger, regions map[string]string) ForwardingRules
func (ForwardingRules) List ¶
func (f ForwardingRules) List(filter string) ([]common.Deletable, error)
func (ForwardingRules) Type ¶ added in v0.32.0
func (f ForwardingRules) Type() string
type GlobalAddress ¶
type GlobalAddress struct {
// contains filtered or unexported fields
}
func NewGlobalAddress ¶
func NewGlobalAddress(client globalAddressesClient, name string) GlobalAddress
func (GlobalAddress) Delete ¶
func (g GlobalAddress) Delete() error
func (GlobalAddress) Name ¶
func (g GlobalAddress) Name() string
func (GlobalAddress) Type ¶ added in v0.16.0
func (g GlobalAddress) Type() string
type GlobalAddresses ¶
type GlobalAddresses struct {
// contains filtered or unexported fields
}
func NewGlobalAddresses ¶
func NewGlobalAddresses(client globalAddressesClient, logger logger) GlobalAddresses
func (GlobalAddresses) List ¶
func (a GlobalAddresses) List(filter string) ([]common.Deletable, error)
func (GlobalAddresses) Type ¶ added in v0.32.0
func (a GlobalAddresses) Type() string
type GlobalForwardingRule ¶
type GlobalForwardingRule struct {
// contains filtered or unexported fields
}
func NewGlobalForwardingRule ¶
func NewGlobalForwardingRule(client globalForwardingRulesClient, name string) GlobalForwardingRule
func (GlobalForwardingRule) Delete ¶
func (g GlobalForwardingRule) Delete() error
func (GlobalForwardingRule) Name ¶
func (g GlobalForwardingRule) Name() string
func (GlobalForwardingRule) Type ¶ added in v0.16.0
func (g GlobalForwardingRule) Type() string
type GlobalForwardingRules ¶
type GlobalForwardingRules struct {
// contains filtered or unexported fields
}
func NewGlobalForwardingRules ¶
func NewGlobalForwardingRules(client globalForwardingRulesClient, logger logger) GlobalForwardingRules
func (GlobalForwardingRules) List ¶
func (g GlobalForwardingRules) List(filter string) ([]common.Deletable, error)
func (GlobalForwardingRules) Type ¶ added in v0.32.0
func (g GlobalForwardingRules) Type() string
type GlobalHealthCheck ¶
type GlobalHealthCheck struct {
// contains filtered or unexported fields
}
func NewGlobalHealthCheck ¶
func NewGlobalHealthCheck(client globalHealthChecksClient, name string) GlobalHealthCheck
func (GlobalHealthCheck) Delete ¶
func (g GlobalHealthCheck) Delete() error
func (GlobalHealthCheck) Name ¶
func (g GlobalHealthCheck) Name() string
func (GlobalHealthCheck) Type ¶ added in v0.16.0
func (g GlobalHealthCheck) Type() string
type GlobalHealthChecks ¶
type GlobalHealthChecks struct {
// contains filtered or unexported fields
}
func NewGlobalHealthChecks ¶
func NewGlobalHealthChecks(client globalHealthChecksClient, logger logger) GlobalHealthChecks
func (GlobalHealthChecks) List ¶
func (h GlobalHealthChecks) List(filter string) ([]common.Deletable, error)
func (GlobalHealthChecks) Type ¶ added in v0.32.0
func (h GlobalHealthChecks) Type() string
type HttpHealthCheck ¶
type HttpHealthCheck struct {
// contains filtered or unexported fields
}
func NewHttpHealthCheck ¶
func NewHttpHealthCheck(client httpHealthChecksClient, name string) HttpHealthCheck
func (HttpHealthCheck) Delete ¶
func (h HttpHealthCheck) Delete() error
func (HttpHealthCheck) Name ¶
func (h HttpHealthCheck) Name() string
func (HttpHealthCheck) Type ¶ added in v0.16.0
func (h HttpHealthCheck) Type() string
type HttpHealthChecks ¶
type HttpHealthChecks struct {
// contains filtered or unexported fields
}
func NewHttpHealthChecks ¶
func NewHttpHealthChecks(client httpHealthChecksClient, logger logger) HttpHealthChecks
func (HttpHealthChecks) List ¶
func (h HttpHealthChecks) List(filter string) ([]common.Deletable, error)
func (HttpHealthChecks) Type ¶ added in v0.32.0
func (h HttpHealthChecks) Type() string
type HttpsHealthCheck ¶
type HttpsHealthCheck struct {
// contains filtered or unexported fields
}
func NewHttpsHealthCheck ¶
func NewHttpsHealthCheck(client httpsHealthChecksClient, name string) HttpsHealthCheck
func (HttpsHealthCheck) Delete ¶
func (h HttpsHealthCheck) Delete() error
func (HttpsHealthCheck) Name ¶
func (h HttpsHealthCheck) Name() string
func (HttpsHealthCheck) Type ¶ added in v0.16.0
func (h HttpsHealthCheck) Type() string
type HttpsHealthChecks ¶
type HttpsHealthChecks struct {
// contains filtered or unexported fields
}
func NewHttpsHealthChecks ¶
func NewHttpsHealthChecks(client httpsHealthChecksClient, logger logger) HttpsHealthChecks
func (HttpsHealthChecks) List ¶
func (h HttpsHealthChecks) List(filter string) ([]common.Deletable, error)
func (HttpsHealthChecks) Type ¶ added in v0.32.0
func (h HttpsHealthChecks) Type() string
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
func NewInstance ¶
func NewInstance(client instancesClient, name, zone string, tags *gcpcompute.Tags, networkInterfaces []*gcpcompute.NetworkInterface) Instance
type InstanceGroup ¶
type InstanceGroup struct {
// contains filtered or unexported fields
}
func NewInstanceGroup ¶
func NewInstanceGroup(client instanceGroupsClient, name, zone string) InstanceGroup
func (InstanceGroup) Delete ¶
func (i InstanceGroup) Delete() error
func (InstanceGroup) Name ¶
func (i InstanceGroup) Name() string
func (InstanceGroup) Type ¶ added in v0.16.0
func (i InstanceGroup) Type() string
type InstanceGroupManager ¶ added in v0.19.0
type InstanceGroupManager struct {
// contains filtered or unexported fields
}
func NewInstanceGroupManager ¶ added in v0.19.0
func NewInstanceGroupManager(client instanceGroupManagersClient, name, zone string) InstanceGroupManager
func (InstanceGroupManager) Delete ¶ added in v0.19.0
func (i InstanceGroupManager) Delete() error
func (InstanceGroupManager) Name ¶ added in v0.19.0
func (i InstanceGroupManager) Name() string
func (InstanceGroupManager) Type ¶ added in v0.19.0
func (i InstanceGroupManager) Type() string
type InstanceGroupManagers ¶ added in v0.19.0
type InstanceGroupManagers struct {
// contains filtered or unexported fields
}
func NewInstanceGroupManagers ¶ added in v0.19.0
func NewInstanceGroupManagers(client instanceGroupManagersClient, logger logger, zones map[string]string) InstanceGroupManagers
func (InstanceGroupManagers) List ¶ added in v0.19.0
func (i InstanceGroupManagers) List(filter string) ([]common.Deletable, error)
func (InstanceGroupManagers) Type ¶ added in v0.32.0
func (i InstanceGroupManagers) Type() string
type InstanceGroups ¶
type InstanceGroups struct {
// contains filtered or unexported fields
}
func NewInstanceGroups ¶
func NewInstanceGroups(client instanceGroupsClient, logger logger, zones map[string]string) InstanceGroups
func (InstanceGroups) List ¶
func (i InstanceGroups) List(filter string) ([]common.Deletable, error)
func (InstanceGroups) Type ¶ added in v0.32.0
func (i InstanceGroups) Type() string
type InstanceTemplate ¶ added in v0.19.0
type InstanceTemplate struct {
// contains filtered or unexported fields
}
func NewInstanceTemplate ¶ added in v0.19.0
func NewInstanceTemplate(client instanceTemplatesClient, name string) InstanceTemplate
func (InstanceTemplate) Delete ¶ added in v0.19.0
func (i InstanceTemplate) Delete() error
func (InstanceTemplate) Name ¶ added in v0.19.0
func (i InstanceTemplate) Name() string
func (InstanceTemplate) Type ¶ added in v0.19.0
func (i InstanceTemplate) Type() string
type InstanceTemplates ¶ added in v0.19.0
type InstanceTemplates struct {
// contains filtered or unexported fields
}
func NewInstanceTemplates ¶ added in v0.19.0
func NewInstanceTemplates(client instanceTemplatesClient, logger logger) InstanceTemplates
func (InstanceTemplates) List ¶ added in v0.19.0
func (i InstanceTemplates) List(filter string) ([]common.Deletable, error)
func (InstanceTemplates) Type ¶ added in v0.32.0
func (i InstanceTemplates) Type() string
type Instances ¶
type Instances struct {
// contains filtered or unexported fields
}
func NewInstances ¶
type Networks ¶
type Networks struct {
// contains filtered or unexported fields
}
func NewNetworks ¶
func NewNetworks(client networksClient, logger logger) Networks
type Routers ¶ added in v0.54.0
type Routers struct {
// contains filtered or unexported fields
}
func NewRouters ¶ added in v0.54.0
type Routes ¶ added in v0.44.0
type Routes struct {
// contains filtered or unexported fields
}
type SslCertificate ¶ added in v0.28.0
type SslCertificate struct {
// contains filtered or unexported fields
}
func NewSslCertificate ¶ added in v0.28.0
func NewSslCertificate(client sslCertificatesClient, name string) SslCertificate
func (SslCertificate) Delete ¶ added in v0.28.0
func (s SslCertificate) Delete() error
func (SslCertificate) Name ¶ added in v0.28.0
func (s SslCertificate) Name() string
func (SslCertificate) Type ¶ added in v0.28.0
func (s SslCertificate) Type() string
type SslCertificates ¶ added in v0.28.0
type SslCertificates struct {
// contains filtered or unexported fields
}
func NewSslCertificates ¶ added in v0.28.0
func NewSslCertificates(client sslCertificatesClient, logger logger) SslCertificates
func (SslCertificates) List ¶ added in v0.28.0
func (s SslCertificates) List(filter string) ([]common.Deletable, error)
func (SslCertificates) Type ¶ added in v0.32.0
func (s SslCertificates) Type() string
type Subnetwork ¶
type Subnetwork struct {
// contains filtered or unexported fields
}
func NewSubnetwork ¶
func NewSubnetwork(client subnetworksClient, name, region, networkUrl string) Subnetwork
func (Subnetwork) Delete ¶
func (s Subnetwork) Delete() error
func (Subnetwork) Name ¶
func (s Subnetwork) Name() string
func (Subnetwork) Type ¶ added in v0.16.0
func (s Subnetwork) Type() string
type Subnetworks ¶
type Subnetworks struct {
// contains filtered or unexported fields
}
func NewSubnetworks ¶
func NewSubnetworks(client subnetworksClient, logger logger, regions map[string]string) Subnetworks
func (Subnetworks) Type ¶ added in v0.32.0
func (s Subnetworks) Type() string
type TargetHttpProxies ¶
type TargetHttpProxies struct {
// contains filtered or unexported fields
}
func NewTargetHttpProxies ¶
func NewTargetHttpProxies(client targetHttpProxiesClient, logger logger) TargetHttpProxies
func (TargetHttpProxies) List ¶
func (t TargetHttpProxies) List(filter string) ([]common.Deletable, error)
func (TargetHttpProxies) Type ¶ added in v0.32.0
func (t TargetHttpProxies) Type() string
type TargetHttpProxy ¶
type TargetHttpProxy struct {
// contains filtered or unexported fields
}
func NewTargetHttpProxy ¶
func NewTargetHttpProxy(client targetHttpProxiesClient, name string) TargetHttpProxy
func (TargetHttpProxy) Delete ¶
func (t TargetHttpProxy) Delete() error
func (TargetHttpProxy) Name ¶
func (t TargetHttpProxy) Name() string
func (TargetHttpProxy) Type ¶ added in v0.16.0
func (t TargetHttpProxy) Type() string
type TargetHttpsProxies ¶
type TargetHttpsProxies struct {
// contains filtered or unexported fields
}
func NewTargetHttpsProxies ¶
func NewTargetHttpsProxies(client targetHttpsProxiesClient, logger logger) TargetHttpsProxies
func (TargetHttpsProxies) List ¶
func (t TargetHttpsProxies) List(filter string) ([]common.Deletable, error)
func (TargetHttpsProxies) Type ¶ added in v0.32.0
func (t TargetHttpsProxies) Type() string
type TargetHttpsProxy ¶
type TargetHttpsProxy struct {
// contains filtered or unexported fields
}
func NewTargetHttpsProxy ¶
func NewTargetHttpsProxy(client targetHttpsProxiesClient, name string) TargetHttpsProxy
func (TargetHttpsProxy) Delete ¶
func (t TargetHttpsProxy) Delete() error
func (TargetHttpsProxy) Name ¶
func (t TargetHttpsProxy) Name() string
func (TargetHttpsProxy) Type ¶ added in v0.16.0
func (t TargetHttpsProxy) Type() string
type TargetPool ¶
type TargetPool struct {
// contains filtered or unexported fields
}
func NewTargetPool ¶
func NewTargetPool(client targetPoolsClient, name, region string) TargetPool
func (TargetPool) Delete ¶
func (t TargetPool) Delete() error
func (TargetPool) Name ¶
func (t TargetPool) Name() string
func (TargetPool) Type ¶ added in v0.16.0
func (TargetPool) Type() string
type TargetPools ¶
type TargetPools struct {
// contains filtered or unexported fields
}
func NewTargetPools ¶
func NewTargetPools(client targetPoolsClient, logger logger, regions map[string]string) TargetPools
func (TargetPools) Type ¶ added in v0.32.0
func (t TargetPools) Type() string
type TargetVpnGateway ¶ added in v0.42.0
type TargetVpnGateway struct {
// contains filtered or unexported fields
}
func NewTargetVpnGateway ¶ added in v0.42.0
func NewTargetVpnGateway(client targetVpnGatewaysClient, name, region string) TargetVpnGateway
func (TargetVpnGateway) Delete ¶ added in v0.42.0
func (t TargetVpnGateway) Delete() error
func (TargetVpnGateway) Name ¶ added in v0.42.0
func (t TargetVpnGateway) Name() string
func (TargetVpnGateway) Type ¶ added in v0.42.0
func (TargetVpnGateway) Type() string
type TargetVpnGateways ¶ added in v0.42.0
type TargetVpnGateways struct {
// contains filtered or unexported fields
}
func NewTargetVpnGateways ¶ added in v0.42.0
func NewTargetVpnGateways(client targetVpnGatewaysClient, logger logger, regions map[string]string) TargetVpnGateways
func (TargetVpnGateways) List ¶ added in v0.42.0
func (t TargetVpnGateways) List(filter string) ([]common.Deletable, error)
func (TargetVpnGateways) Type ¶ added in v0.42.0
func (TargetVpnGateways) Type() string
type UrlMaps ¶
type UrlMaps struct {
// contains filtered or unexported fields
}
func NewUrlMaps ¶
func NewUrlMaps(client urlMapsClient, logger logger) UrlMaps
type VpnTunnel ¶ added in v0.42.0
type VpnTunnel struct {
// contains filtered or unexported fields
}
func NewVpnTunnel ¶ added in v0.42.0
type VpnTunnels ¶ added in v0.42.0
type VpnTunnels struct {
// contains filtered or unexported fields
}
func NewVpnTunnels ¶ added in v0.42.0
func NewVpnTunnels(client vpnTunnelsClient, logger logger, regions map[string]string) VpnTunnels
func (VpnTunnels) List ¶ added in v0.42.0
func (v VpnTunnels) List(filter string) ([]common.Deletable, error)
func (VpnTunnels) Type ¶ added in v0.42.0
func (VpnTunnels) Type() string
Source Files ¶
- address.go
- addresses.go
- backend_service.go
- backend_services.go
- client.go
- disk.go
- disks.go
- firewall.go
- firewalls.go
- forwarding_rule.go
- forwarding_rules.go
- global_address.go
- global_addresses.go
- global_forwarding_rule.go
- global_forwarding_rules.go
- global_health_check.go
- global_health_checks.go
- http_health_check.go
- http_health_checks.go
- https_health_check.go
- https_health_checks.go
- image.go
- images.go
- instance.go
- instance_group.go
- instance_group_manager.go
- instance_group_managers.go
- instance_groups.go
- instance_template.go
- instance_templates.go
- instances.go
- logger.go
- network.go
- networks.go
- operation_error.go
- operation_waiter.go
- route.go
- router.go
- routers.go
- routes.go
- ssl_certificate.go
- ssl_certificates.go
- subnetwork.go
- subnetworks.go
- target_http_proxies.go
- target_http_proxy.go
- target_https_proxies.go
- target_https_proxy.go
- target_pool.go
- target_pools.go
- target_vpn_gateway.go
- target_vpn_gateways.go
- url_map.go
- url_maps.go
- vpn_tunnel.go
- vpn_tunnels.go
Click to show internal directories.
Click to hide internal directories.