Documentation ¶
Index ¶
- type AddressesClient
- type BackendServicesClient
- type DisksClient
- type FirewallsClient
- type ForwardingRulesClient
- type GlobalAddressesClient
- type GlobalForwardingRulesClient
- type GlobalHealthChecksClient
- type HttpHealthChecksClient
- type HttpsHealthChecksClient
- type ImagesClient
- type InstanceGroupManagersClient
- type InstanceGroupsClient
- type InstanceTemplatesClient
- type InstancesClient
- type Logger
- type NetworksClient
- type RoutersClient
- type RoutesClient
- type SslCertificatesClient
- type SubnetworksClient
- type TargetHttpProxiesClient
- type TargetHttpsProxiesClient
- type TargetPoolsClient
- type TargetVpnGatewaysClient
- type UrlMapsClient
- type VpnTunnelsClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressesClient ¶
type AddressesClient struct { DeleteAddressCall struct { sync.Mutex CallCount int Receives struct { Region string Address string } Returns struct { Error error } Stub func(string, string) error } ListAddressesCall struct { sync.Mutex CallCount int Receives struct { Region string } Returns struct { AddressSlice []*gcpcompute.Address Error error } Stub func(string) ([]*gcpcompute.Address, error) } }
func (*AddressesClient) DeleteAddress ¶
func (f *AddressesClient) DeleteAddress(param1 string, param2 string) error
func (*AddressesClient) ListAddresses ¶
func (f *AddressesClient) ListAddresses(param1 string) ([]*gcpcompute.Address, error)
type BackendServicesClient ¶
type BackendServicesClient struct { DeleteBackendServiceCall struct { sync.Mutex CallCount int Receives struct { BackendService string } Returns struct { Error error } Stub func(string) error } ListBackendServicesCall struct { sync.Mutex CallCount int Returns struct { BackendServiceSlice []*gcpcompute.BackendService Error error } Stub func() ([]*gcpcompute.BackendService, error) } }
func (*BackendServicesClient) DeleteBackendService ¶
func (f *BackendServicesClient) DeleteBackendService(param1 string) error
func (*BackendServicesClient) ListBackendServices ¶
func (f *BackendServicesClient) ListBackendServices() ([]*gcpcompute.BackendService, error)
type DisksClient ¶
type DisksClient struct { DeleteDiskCall struct { sync.Mutex CallCount int Receives struct { Zone string Disk string } Returns struct { Error error } Stub func(string, string) error } ListDisksCall struct { sync.Mutex CallCount int Receives struct { Zone string } Returns struct { DiskSlice []*gcpcompute.Disk Error error } Stub func(string) ([]*gcpcompute.Disk, error) } }
func (*DisksClient) DeleteDisk ¶
func (f *DisksClient) DeleteDisk(param1 string, param2 string) error
func (*DisksClient) ListDisks ¶
func (f *DisksClient) ListDisks(param1 string) ([]*gcpcompute.Disk, error)
type FirewallsClient ¶
type FirewallsClient struct { DeleteFirewallCall struct { sync.Mutex CallCount int Receives struct { Firewall string } Returns struct { Error error } Stub func(string) error } GetNetworkNameCall struct { sync.Mutex CallCount int Receives struct { Url string } Returns struct { Name string } Stub func(string) string } ListFirewallsCall struct { sync.Mutex CallCount int Returns struct { FirewallSlice []*gcpcompute.Firewall Error error } Stub func() ([]*gcpcompute.Firewall, error) } }
func (*FirewallsClient) DeleteFirewall ¶
func (f *FirewallsClient) DeleteFirewall(param1 string) error
func (*FirewallsClient) GetNetworkName ¶ added in v0.58.0
func (f *FirewallsClient) GetNetworkName(param1 string) string
func (*FirewallsClient) ListFirewalls ¶
func (f *FirewallsClient) ListFirewalls() ([]*gcpcompute.Firewall, error)
type ForwardingRulesClient ¶
type ForwardingRulesClient struct { DeleteForwardingRuleCall struct { sync.Mutex CallCount int Receives struct { Region string Rule string } Returns struct { Error error } Stub func(string, string) error } ListForwardingRulesCall struct { sync.Mutex CallCount int Receives struct { Region string } Returns struct { ForwardingRuleSlice []*gcpcompute.ForwardingRule Error error } Stub func(string) ([]*gcpcompute.ForwardingRule, error) } }
func (*ForwardingRulesClient) DeleteForwardingRule ¶
func (f *ForwardingRulesClient) DeleteForwardingRule(param1 string, param2 string) error
func (*ForwardingRulesClient) ListForwardingRules ¶
func (f *ForwardingRulesClient) ListForwardingRules(param1 string) ([]*gcpcompute.ForwardingRule, error)
type GlobalAddressesClient ¶
type GlobalAddressesClient struct { DeleteGlobalAddressCall struct { sync.Mutex CallCount int Receives struct { Address string } Returns struct { Error error } Stub func(string) error } ListGlobalAddressesCall struct { sync.Mutex CallCount int Returns struct { AddressSlice []*gcpcompute.Address Error error } Stub func() ([]*gcpcompute.Address, error) } }
func (*GlobalAddressesClient) DeleteGlobalAddress ¶
func (f *GlobalAddressesClient) DeleteGlobalAddress(param1 string) error
func (*GlobalAddressesClient) ListGlobalAddresses ¶
func (f *GlobalAddressesClient) ListGlobalAddresses() ([]*gcpcompute.Address, error)
type GlobalForwardingRulesClient ¶
type GlobalForwardingRulesClient struct { DeleteGlobalForwardingRuleCall struct { sync.Mutex CallCount int Receives struct { Rule string } Returns struct { Error error } Stub func(string) error } ListGlobalForwardingRulesCall struct { sync.Mutex CallCount int Returns struct { ForwardingRuleSlice []*gcpcompute.ForwardingRule Error error } Stub func() ([]*gcpcompute.ForwardingRule, error) } }
func (*GlobalForwardingRulesClient) DeleteGlobalForwardingRule ¶
func (f *GlobalForwardingRulesClient) DeleteGlobalForwardingRule(param1 string) error
func (*GlobalForwardingRulesClient) ListGlobalForwardingRules ¶
func (f *GlobalForwardingRulesClient) ListGlobalForwardingRules() ([]*gcpcompute.ForwardingRule, error)
type GlobalHealthChecksClient ¶
type GlobalHealthChecksClient struct { DeleteGlobalHealthCheckCall struct { sync.Mutex CallCount int Receives struct { GlobalHealthCheck string } Returns struct { Error error } Stub func(string) error } ListGlobalHealthChecksCall struct { sync.Mutex CallCount int Returns struct { HealthCheckSlice []*gcpcompute.HealthCheck Error error } Stub func() ([]*gcpcompute.HealthCheck, error) } }
func (*GlobalHealthChecksClient) DeleteGlobalHealthCheck ¶
func (f *GlobalHealthChecksClient) DeleteGlobalHealthCheck(param1 string) error
func (*GlobalHealthChecksClient) ListGlobalHealthChecks ¶
func (f *GlobalHealthChecksClient) ListGlobalHealthChecks() ([]*gcpcompute.HealthCheck, error)
type HttpHealthChecksClient ¶
type HttpHealthChecksClient struct { DeleteHttpHealthCheckCall struct { sync.Mutex CallCount int Receives struct { HttpHealthCheck string } Returns struct { Error error } Stub func(string) error } ListHttpHealthChecksCall struct { sync.Mutex CallCount int Returns struct { HttpHealthCheckSlice []*gcpcompute.HttpHealthCheck Error error } Stub func() ([]*gcpcompute.HttpHealthCheck, error) } }
func (*HttpHealthChecksClient) DeleteHttpHealthCheck ¶
func (f *HttpHealthChecksClient) DeleteHttpHealthCheck(param1 string) error
func (*HttpHealthChecksClient) ListHttpHealthChecks ¶
func (f *HttpHealthChecksClient) ListHttpHealthChecks() ([]*gcpcompute.HttpHealthCheck, error)
type HttpsHealthChecksClient ¶
type HttpsHealthChecksClient struct { DeleteHttpsHealthCheckCall struct { sync.Mutex CallCount int Receives struct { HttpsHealthCheck string } Returns struct { Error error } Stub func(string) error } ListHttpsHealthChecksCall struct { sync.Mutex CallCount int Returns struct { HttpsHealthCheckSlice []*gcpcompute.HttpsHealthCheck Error error } Stub func() ([]*gcpcompute.HttpsHealthCheck, error) } }
func (*HttpsHealthChecksClient) DeleteHttpsHealthCheck ¶
func (f *HttpsHealthChecksClient) DeleteHttpsHealthCheck(param1 string) error
func (*HttpsHealthChecksClient) ListHttpsHealthChecks ¶
func (f *HttpsHealthChecksClient) ListHttpsHealthChecks() ([]*gcpcompute.HttpsHealthCheck, error)
type ImagesClient ¶
type ImagesClient struct { DeleteImageCall struct { sync.Mutex CallCount int Receives struct { Image string } Returns struct { Error error } Stub func(string) error } ListImagesCall struct { sync.Mutex CallCount int Returns struct { ImageSlice []*gcpcompute.Image Error error } Stub func() ([]*gcpcompute.Image, error) } }
func (*ImagesClient) DeleteImage ¶
func (f *ImagesClient) DeleteImage(param1 string) error
func (*ImagesClient) ListImages ¶
func (f *ImagesClient) ListImages() ([]*gcpcompute.Image, error)
type InstanceGroupManagersClient ¶ added in v0.19.0
type InstanceGroupManagersClient struct { DeleteInstanceGroupManagerCall struct { sync.Mutex CallCount int Receives struct { Zone string InstanceGroupManager string } Returns struct { Error error } Stub func(string, string) error } ListInstanceGroupManagersCall struct { sync.Mutex CallCount int Receives struct { Zone string } Returns struct { InstanceGroupManagerSlice []*gcpcompute.InstanceGroupManager Error error } Stub func(string) ([]*gcpcompute.InstanceGroupManager, error) } }
func (*InstanceGroupManagersClient) DeleteInstanceGroupManager ¶ added in v0.19.0
func (f *InstanceGroupManagersClient) DeleteInstanceGroupManager(param1 string, param2 string) error
func (*InstanceGroupManagersClient) ListInstanceGroupManagers ¶ added in v0.19.0
func (f *InstanceGroupManagersClient) ListInstanceGroupManagers(param1 string) ([]*gcpcompute.InstanceGroupManager, error)
type InstanceGroupsClient ¶
type InstanceGroupsClient struct { DeleteInstanceGroupCall struct { sync.Mutex CallCount int Receives struct { Zone string InstanceGroup string } Returns struct { Error error } Stub func(string, string) error } ListInstanceGroupsCall struct { sync.Mutex CallCount int Receives struct { Zone string } Returns struct { InstanceGroupSlice []*gcpcompute.InstanceGroup Error error } Stub func(string) ([]*gcpcompute.InstanceGroup, error) } }
func (*InstanceGroupsClient) DeleteInstanceGroup ¶
func (f *InstanceGroupsClient) DeleteInstanceGroup(param1 string, param2 string) error
func (*InstanceGroupsClient) ListInstanceGroups ¶
func (f *InstanceGroupsClient) ListInstanceGroups(param1 string) ([]*gcpcompute.InstanceGroup, error)
type InstanceTemplatesClient ¶ added in v0.19.0
type InstanceTemplatesClient struct { DeleteInstanceTemplateCall struct { sync.Mutex CallCount int Receives struct { Template string } Returns struct { Error error } Stub func(string) error } ListInstanceTemplatesCall struct { sync.Mutex CallCount int Returns struct { InstanceTemplateSlice []*gcpcompute.InstanceTemplate Error error } Stub func() ([]*gcpcompute.InstanceTemplate, error) } }
func (*InstanceTemplatesClient) DeleteInstanceTemplate ¶ added in v0.19.0
func (f *InstanceTemplatesClient) DeleteInstanceTemplate(param1 string) error
func (*InstanceTemplatesClient) ListInstanceTemplates ¶ added in v0.19.0
func (f *InstanceTemplatesClient) ListInstanceTemplates() ([]*gcpcompute.InstanceTemplate, error)
type InstancesClient ¶
type InstancesClient struct { DeleteInstanceCall struct { sync.Mutex CallCount int Receives struct { Zone string Instance string } Returns struct { Error error } Stub func(string, string) error } GetNetworkNameCall struct { sync.Mutex CallCount int Receives struct { Url string } Returns struct { Name string } Stub func(string) string } ListInstancesCall struct { sync.Mutex CallCount int Receives struct { Zone string } Returns struct { InstanceSlice []*gcpcompute.Instance Error error } Stub func(string) ([]*gcpcompute.Instance, error) } }
func (*InstancesClient) DeleteInstance ¶
func (f *InstancesClient) DeleteInstance(param1 string, param2 string) error
func (*InstancesClient) GetNetworkName ¶ added in v0.58.0
func (f *InstancesClient) GetNetworkName(param1 string) string
func (*InstancesClient) ListInstances ¶
func (f *InstancesClient) ListInstances(param1 string) ([]*gcpcompute.Instance, error)
type Logger ¶
type Logger struct { DebugfCall struct { sync.Mutex CallCount int Receives struct { Message string A []interface { } } Stub func(string, ...interface { }) } DebuglnCall struct { sync.Mutex CallCount int Receives struct { Message string } Stub func(string) } PrintfCall struct { sync.Mutex CallCount int Receives struct { M string A []interface { } } Stub func(string, ...interface { }) } PromptWithDetailsCall struct { sync.Mutex CallCount int Receives struct { ResourceType string ResourceName string } Returns struct { Proceed bool } Stub func(string, string) bool } }
type NetworksClient ¶
type NetworksClient struct { DeleteNetworkCall struct { sync.Mutex CallCount int Receives struct { Network string } Returns struct { Error error } Stub func(string) error } ListNetworksCall struct { sync.Mutex CallCount int Returns struct { NetworkSlice []*gcpcompute.Network Error error } Stub func() ([]*gcpcompute.Network, error) } }
func (*NetworksClient) DeleteNetwork ¶
func (f *NetworksClient) DeleteNetwork(param1 string) error
func (*NetworksClient) ListNetworks ¶
func (f *NetworksClient) ListNetworks() ([]*gcpcompute.Network, error)
type RoutersClient ¶ added in v0.54.0
type RoutersClient struct { DeleteRouterCall struct { sync.Mutex CallCount int Receives struct { Region string Router string } Returns struct { Error error } Stub func(string, string) error } ListRoutersCall struct { sync.Mutex CallCount int Receives struct { Region string } Returns struct { RouterSlice []*gcpcompute.Router Error error } Stub func(string) ([]*gcpcompute.Router, error) } }
func (*RoutersClient) DeleteRouter ¶ added in v0.54.0
func (f *RoutersClient) DeleteRouter(param1 string, param2 string) error
func (*RoutersClient) ListRouters ¶ added in v0.54.0
func (f *RoutersClient) ListRouters(param1 string) ([]*gcpcompute.Router, error)
type RoutesClient ¶ added in v0.44.0
type RoutesClient struct { DeleteRouteCall struct { sync.Mutex CallCount int Receives struct { Route string } Returns struct { Error error } Stub func(string) error } GetNetworkNameCall struct { sync.Mutex CallCount int Receives struct { Url string } Returns struct { Name string } Stub func(string) string } ListRoutesCall struct { sync.Mutex CallCount int Returns struct { RouteSlice []*gcpcompute.Route Error error } Stub func() ([]*gcpcompute.Route, error) } }
func (*RoutesClient) DeleteRoute ¶ added in v0.44.0
func (f *RoutesClient) DeleteRoute(param1 string) error
func (*RoutesClient) GetNetworkName ¶ added in v0.58.0
func (f *RoutesClient) GetNetworkName(param1 string) string
func (*RoutesClient) ListRoutes ¶ added in v0.44.0
func (f *RoutesClient) ListRoutes() ([]*gcpcompute.Route, error)
type SslCertificatesClient ¶ added in v0.28.0
type SslCertificatesClient struct { DeleteSslCertificateCall struct { sync.Mutex CallCount int Receives struct { Certificate string } Returns struct { Error error } Stub func(string) error } ListSslCertificatesCall struct { sync.Mutex CallCount int Returns struct { SslCertificateSlice []*gcpcompute.SslCertificate Error error } Stub func() ([]*gcpcompute.SslCertificate, error) } }
func (*SslCertificatesClient) DeleteSslCertificate ¶ added in v0.28.0
func (f *SslCertificatesClient) DeleteSslCertificate(param1 string) error
func (*SslCertificatesClient) ListSslCertificates ¶ added in v0.28.0
func (f *SslCertificatesClient) ListSslCertificates() ([]*gcpcompute.SslCertificate, error)
type SubnetworksClient ¶
type SubnetworksClient struct { DeleteSubnetworkCall struct { sync.Mutex CallCount int Receives struct { Region string Network string } Returns struct { Error error } Stub func(string, string) error } ListSubnetworksCall struct { sync.Mutex CallCount int Receives struct { Region string } Returns struct { SubnetworkSlice []*gcpcompute.Subnetwork Error error } Stub func(string) ([]*gcpcompute.Subnetwork, error) } }
func (*SubnetworksClient) DeleteSubnetwork ¶
func (f *SubnetworksClient) DeleteSubnetwork(param1 string, param2 string) error
func (*SubnetworksClient) ListSubnetworks ¶
func (f *SubnetworksClient) ListSubnetworks(param1 string) ([]*gcpcompute.Subnetwork, error)
type TargetHttpProxiesClient ¶
type TargetHttpProxiesClient struct { DeleteTargetHttpProxyCall struct { sync.Mutex CallCount int Receives struct { TargetHttpProxy string } Returns struct { Error error } Stub func(string) error } ListTargetHttpProxiesCall struct { sync.Mutex CallCount int Returns struct { TargetHttpProxyList *gcpcompute.TargetHttpProxyList Error error } Stub func() (*gcpcompute.TargetHttpProxyList, error) } }
func (*TargetHttpProxiesClient) DeleteTargetHttpProxy ¶
func (f *TargetHttpProxiesClient) DeleteTargetHttpProxy(param1 string) error
func (*TargetHttpProxiesClient) ListTargetHttpProxies ¶
func (f *TargetHttpProxiesClient) ListTargetHttpProxies() (*gcpcompute.TargetHttpProxyList, error)
type TargetHttpsProxiesClient ¶
type TargetHttpsProxiesClient struct { DeleteTargetHttpsProxyCall struct { sync.Mutex CallCount int Receives struct { TargetHttpsProxy string } Returns struct { Error error } Stub func(string) error } ListTargetHttpsProxiesCall struct { sync.Mutex CallCount int Returns struct { TargetHttpsProxyList *gcp.TargetHttpsProxyList Error error } Stub func() (*gcp.TargetHttpsProxyList, error) } }
func (*TargetHttpsProxiesClient) DeleteTargetHttpsProxy ¶
func (f *TargetHttpsProxiesClient) DeleteTargetHttpsProxy(param1 string) error
func (*TargetHttpsProxiesClient) ListTargetHttpsProxies ¶
func (f *TargetHttpsProxiesClient) ListTargetHttpsProxies() (*gcp.TargetHttpsProxyList, error)
type TargetPoolsClient ¶
type TargetPoolsClient struct { DeleteTargetPoolCall struct { sync.Mutex CallCount int Receives struct { Region string TargetPool string } Returns struct { Error error } Stub func(string, string) error } ListTargetPoolsCall struct { sync.Mutex CallCount int Receives struct { Region string } Returns struct { TargetPoolList *gcpcompute.TargetPoolList Error error } Stub func(string) (*gcpcompute.TargetPoolList, error) } }
func (*TargetPoolsClient) DeleteTargetPool ¶
func (f *TargetPoolsClient) DeleteTargetPool(param1 string, param2 string) error
func (*TargetPoolsClient) ListTargetPools ¶
func (f *TargetPoolsClient) ListTargetPools(param1 string) (*gcpcompute.TargetPoolList, error)
type TargetVpnGatewaysClient ¶ added in v0.42.0
type TargetVpnGatewaysClient struct { DeleteTargetVpnGatewayCall struct { sync.Mutex CallCount int Receives struct { Region string TargetVpnGateway string } Returns struct { Error error } Stub func(string, string) error } ListTargetVpnGatewaysCall struct { sync.Mutex CallCount int Receives struct { Region string } Returns struct { TargetVpnGatewaySlice []*gcpcompute.TargetVpnGateway Error error } Stub func(string) ([]*gcpcompute.TargetVpnGateway, error) } }
func (*TargetVpnGatewaysClient) DeleteTargetVpnGateway ¶ added in v0.42.0
func (f *TargetVpnGatewaysClient) DeleteTargetVpnGateway(param1 string, param2 string) error
func (*TargetVpnGatewaysClient) ListTargetVpnGateways ¶ added in v0.42.0
func (f *TargetVpnGatewaysClient) ListTargetVpnGateways(param1 string) ([]*gcpcompute.TargetVpnGateway, error)
type UrlMapsClient ¶
type UrlMapsClient struct { DeleteUrlMapCall struct { sync.Mutex CallCount int Receives struct { UrlMap string } Returns struct { Error error } Stub func(string) error } ListUrlMapsCall struct { sync.Mutex CallCount int Returns struct { UrlMapList *gcpcompute.UrlMapList Error error } Stub func() (*gcpcompute.UrlMapList, error) } }
func (*UrlMapsClient) DeleteUrlMap ¶
func (f *UrlMapsClient) DeleteUrlMap(param1 string) error
func (*UrlMapsClient) ListUrlMaps ¶
func (f *UrlMapsClient) ListUrlMaps() (*gcpcompute.UrlMapList, error)
type VpnTunnelsClient ¶ added in v0.42.0
type VpnTunnelsClient struct { DeleteVpnTunnelCall struct { sync.Mutex CallCount int Receives struct { Region string VpnTunnel string } Returns struct { Error error } Stub func(string, string) error } ListVpnTunnelsCall struct { sync.Mutex CallCount int Receives struct { Region string } Returns struct { VpnTunnelSlice []*gcpcompute.VpnTunnel Error error } Stub func(string) ([]*gcpcompute.VpnTunnel, error) } }
func (*VpnTunnelsClient) DeleteVpnTunnel ¶ added in v0.42.0
func (f *VpnTunnelsClient) DeleteVpnTunnel(param1 string, param2 string) error
func (*VpnTunnelsClient) ListVpnTunnels ¶ added in v0.42.0
func (f *VpnTunnelsClient) ListVpnTunnels(param1 string) ([]*gcpcompute.VpnTunnel, error)
Source Files ¶
- addresses_client.go
- backend_services_client.go
- disks_client.go
- firewalls_client.go
- forwarding_rules_client.go
- global_address_client.go
- global_forwarding_rules_client.go
- global_health_checks_client.go
- http_health_checks_client.go
- https_health_checks_client.go
- images_client.go
- instance_group_managers_client.go
- instance_groups_client.go
- instance_templates_client.go
- instances_client.go
- logger.go
- networks_client.go
- routers_client.go
- routes_client.go
- ssl_certificates_client.go
- subnetworks_client.go
- target_http_proxies_client.go
- target_https_proxies_client.go
- target_pools_client.go
- target_vpn_gateways_client.go
- url_maps_client.go
- vpn_tunnels_client.go
Click to show internal directories.
Click to hide internal directories.