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 SslCertificatesClient
- type SubnetworksClient
- type TargetHttpProxiesClient
- type TargetHttpsProxiesClient
- type TargetPoolsClient
- type UrlMapsClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressesClient ¶
type AddressesClient struct { ListAddressesCall struct { CallCount int Receives struct { Region string } Returns struct { Output []*gcpcompute.Address Error error } } DeleteAddressCall struct { CallCount int Receives struct { Address string Region string } Returns struct { Error error } } }
func (*AddressesClient) DeleteAddress ¶
func (a *AddressesClient) DeleteAddress(region, address string) error
func (*AddressesClient) ListAddresses ¶
func (a *AddressesClient) ListAddresses(region string) ([]*gcpcompute.Address, error)
type BackendServicesClient ¶
type BackendServicesClient struct { ListBackendServicesCall struct { CallCount int Returns struct { Output []*gcpcompute.BackendService Error error } } DeleteBackendServiceCall struct { CallCount int Receives struct { BackendService string } Returns struct { Error error } } }
func (*BackendServicesClient) DeleteBackendService ¶
func (n *BackendServicesClient) DeleteBackendService(backendService string) error
func (*BackendServicesClient) ListBackendServices ¶
func (n *BackendServicesClient) ListBackendServices() ([]*gcpcompute.BackendService, error)
type DisksClient ¶
type DisksClient struct { ListDisksCall struct { CallCount int Receives struct { Zone string } Returns struct { Output []*gcpcompute.Disk Error error } } DeleteDiskCall struct { CallCount int Receives struct { Zone string Disk string } Returns struct { Error error } } }
func (*DisksClient) DeleteDisk ¶
func (n *DisksClient) DeleteDisk(zone, disk string) error
func (*DisksClient) ListDisks ¶
func (n *DisksClient) ListDisks(zone string) ([]*gcpcompute.Disk, error)
type FirewallsClient ¶
type FirewallsClient struct { ListFirewallsCall struct { CallCount int Returns struct { Output *gcpcompute.FirewallList Error error } } DeleteFirewallCall struct { CallCount int Receives struct { Firewall string } Returns struct { Error error } } }
func (*FirewallsClient) DeleteFirewall ¶
func (c *FirewallsClient) DeleteFirewall(firewall string) error
func (*FirewallsClient) ListFirewalls ¶
func (c *FirewallsClient) ListFirewalls() (*gcpcompute.FirewallList, error)
type ForwardingRulesClient ¶
type ForwardingRulesClient struct { ListForwardingRulesCall struct { CallCount int Receives struct { Region string } Returns struct { Output *gcpcompute.ForwardingRuleList Error error } } DeleteForwardingRuleCall struct { CallCount int Receives struct { Region string ForwardingRule string } Returns struct { Error error } } }
func (*ForwardingRulesClient) DeleteForwardingRule ¶
func (n *ForwardingRulesClient) DeleteForwardingRule(region, forwardingRule string) error
func (*ForwardingRulesClient) ListForwardingRules ¶
func (n *ForwardingRulesClient) ListForwardingRules(region string) (*gcpcompute.ForwardingRuleList, error)
type GlobalAddressesClient ¶
type GlobalAddressesClient struct { ListGlobalAddressesCall struct { CallCount int Returns struct { Output []*gcpcompute.Address Error error } } DeleteGlobalAddressCall struct { CallCount int Receives struct { Address string } Returns struct { Error error } } }
func (*GlobalAddressesClient) DeleteGlobalAddress ¶
func (a *GlobalAddressesClient) DeleteGlobalAddress(address string) error
func (*GlobalAddressesClient) ListGlobalAddresses ¶
func (a *GlobalAddressesClient) ListGlobalAddresses() ([]*gcpcompute.Address, error)
type GlobalForwardingRulesClient ¶
type GlobalForwardingRulesClient struct { ListGlobalForwardingRulesCall struct { CallCount int Returns struct { Output *gcpcompute.ForwardingRuleList Error error } } DeleteGlobalForwardingRuleCall struct { CallCount int Receives struct { GlobalForwardingRule string } Returns struct { Error error } } }
func (*GlobalForwardingRulesClient) DeleteGlobalForwardingRule ¶
func (n *GlobalForwardingRulesClient) DeleteGlobalForwardingRule(globalForwardingRule string) error
func (*GlobalForwardingRulesClient) ListGlobalForwardingRules ¶
func (n *GlobalForwardingRulesClient) ListGlobalForwardingRules() (*gcpcompute.ForwardingRuleList, error)
type GlobalHealthChecksClient ¶
type GlobalHealthChecksClient struct { ListGlobalHealthChecksCall struct { CallCount int Returns struct { Output *gcpcompute.HealthCheckList Error error } } DeleteGlobalHealthCheckCall struct { CallCount int Receives struct { GlobalHealthCheck string } Returns struct { Error error } } }
func (*GlobalHealthChecksClient) DeleteGlobalHealthCheck ¶
func (n *GlobalHealthChecksClient) DeleteGlobalHealthCheck(globalHealthCheck string) error
func (*GlobalHealthChecksClient) ListGlobalHealthChecks ¶
func (n *GlobalHealthChecksClient) ListGlobalHealthChecks() (*gcpcompute.HealthCheckList, error)
type HttpHealthChecksClient ¶
type HttpHealthChecksClient struct { ListHttpHealthChecksCall struct { CallCount int Returns struct { Output *gcpcompute.HttpHealthCheckList Error error } } DeleteHttpHealthCheckCall struct { CallCount int Receives struct { HttpHealthCheck string } Returns struct { Error error } } }
func (*HttpHealthChecksClient) DeleteHttpHealthCheck ¶
func (n *HttpHealthChecksClient) DeleteHttpHealthCheck(httpHealthCheck string) error
func (*HttpHealthChecksClient) ListHttpHealthChecks ¶
func (n *HttpHealthChecksClient) ListHttpHealthChecks() (*gcpcompute.HttpHealthCheckList, error)
type HttpsHealthChecksClient ¶
type HttpsHealthChecksClient struct { ListHttpsHealthChecksCall struct { CallCount int Returns struct { Output *gcpcompute.HttpsHealthCheckList Error error } } DeleteHttpsHealthCheckCall struct { CallCount int Receives struct { HttpsHealthCheck string } Returns struct { Error error } } }
func (*HttpsHealthChecksClient) DeleteHttpsHealthCheck ¶
func (n *HttpsHealthChecksClient) DeleteHttpsHealthCheck(httpsHealthCheck string) error
func (*HttpsHealthChecksClient) ListHttpsHealthChecks ¶
func (n *HttpsHealthChecksClient) ListHttpsHealthChecks() (*gcpcompute.HttpsHealthCheckList, error)
type ImagesClient ¶
type ImagesClient struct { ListImagesCall struct { CallCount int Returns struct { Output []*gcpcompute.Image Error error } } DeleteImageCall struct { CallCount int Receives struct { Image string } Returns struct { Error error } } }
func (*ImagesClient) DeleteImage ¶
func (n *ImagesClient) DeleteImage(image string) error
func (*ImagesClient) ListImages ¶
func (n *ImagesClient) ListImages() ([]*gcpcompute.Image, error)
type InstanceGroupManagersClient ¶ added in v0.19.0
type InstanceGroupManagersClient struct { ListInstanceGroupManagersCall struct { CallCount int Receives struct { Zone string } Returns struct { Output *gcpcompute.InstanceGroupManagerList Error error } } DeleteInstanceGroupManagerCall struct { CallCount int Receives struct { Zone string InstanceGroupManager string } Returns struct { Error error } } }
func (*InstanceGroupManagersClient) DeleteInstanceGroupManager ¶ added in v0.19.0
func (n *InstanceGroupManagersClient) DeleteInstanceGroupManager(zone, instanceGroupManager string) error
func (*InstanceGroupManagersClient) ListInstanceGroupManagers ¶ added in v0.19.0
func (n *InstanceGroupManagersClient) ListInstanceGroupManagers(zone string) (*gcpcompute.InstanceGroupManagerList, error)
type InstanceGroupsClient ¶
type InstanceGroupsClient struct { ListInstanceGroupsCall struct { CallCount int Receives struct { Zone string } Returns struct { Output *gcpcompute.InstanceGroupList Error error } } DeleteInstanceGroupCall struct { CallCount int Receives struct { Zone string InstanceGroup string } Returns struct { Error error } } }
func (*InstanceGroupsClient) DeleteInstanceGroup ¶
func (n *InstanceGroupsClient) DeleteInstanceGroup(zone, instanceGroup string) error
func (*InstanceGroupsClient) ListInstanceGroups ¶
func (n *InstanceGroupsClient) ListInstanceGroups(zone string) (*gcpcompute.InstanceGroupList, error)
type InstanceTemplatesClient ¶ added in v0.19.0
type InstanceTemplatesClient struct { ListInstanceTemplatesCall struct { CallCount int Returns struct { Output *gcpcompute.InstanceTemplateList Error error } } DeleteInstanceTemplateCall struct { CallCount int Receives struct { InstanceTemplate string } Returns struct { Error error } } }
func (*InstanceTemplatesClient) DeleteInstanceTemplate ¶ added in v0.19.0
func (n *InstanceTemplatesClient) DeleteInstanceTemplate(instanceTemplate string) error
func (*InstanceTemplatesClient) ListInstanceTemplates ¶ added in v0.19.0
func (n *InstanceTemplatesClient) ListInstanceTemplates() (*gcpcompute.InstanceTemplateList, error)
type InstancesClient ¶
type InstancesClient struct { ListInstancesCall struct { CallCount int Receives struct { Zone string } Returns struct { Output []*gcpcompute.Instance Error error } } DeleteInstanceCall struct { CallCount int Receives struct { Zone string Instance string } Returns struct { Error error } } }
func (*InstancesClient) DeleteInstance ¶
func (n *InstancesClient) DeleteInstance(zone, instance string) error
func (*InstancesClient) ListInstances ¶
func (n *InstancesClient) ListInstances(zone string) ([]*gcpcompute.Instance, error)
type Logger ¶
type Logger struct { PrintfCall struct { Receives struct { Message string Arguments []interface{} } Messages []string } PromptWithDetailsCall struct { CallCount int Receives struct { Type string Name string } Returns struct { Proceed bool } } }
func (*Logger) PromptWithDetails ¶ added in v0.24.0
type NetworksClient ¶
type NetworksClient struct { ListNetworksCall struct { CallCount int Returns struct { Output *compute.NetworkList Error error } } DeleteNetworkCall struct { CallCount int Receives struct { Network string } Returns struct { Error error } } }
func (*NetworksClient) DeleteNetwork ¶
func (n *NetworksClient) DeleteNetwork(network string) error
func (*NetworksClient) ListNetworks ¶
func (n *NetworksClient) ListNetworks() (*compute.NetworkList, error)
type SslCertificatesClient ¶ added in v0.28.0
type SslCertificatesClient struct { ListSslCertificatesCall struct { CallCount int Returns struct { Output *gcpcompute.SslCertificateList Error error } } DeleteSslCertificateCall struct { CallCount int Receives struct { SslCertificate string } Returns struct { Error error } } }
func (*SslCertificatesClient) DeleteSslCertificate ¶ added in v0.28.0
func (n *SslCertificatesClient) DeleteSslCertificate(sslCertificate string) error
func (*SslCertificatesClient) ListSslCertificates ¶ added in v0.28.0
func (n *SslCertificatesClient) ListSslCertificates() (*gcpcompute.SslCertificateList, error)
type SubnetworksClient ¶
type SubnetworksClient struct { ListSubnetworksCall struct { CallCount int Receives struct { Region string } Returns struct { Output *compute.SubnetworkList Error error } } DeleteSubnetworkCall struct { CallCount int Receives struct { Region string Subnetwork string } Returns struct { Error error } } }
func (*SubnetworksClient) DeleteSubnetwork ¶
func (n *SubnetworksClient) DeleteSubnetwork(region, subnetwork string) error
func (*SubnetworksClient) ListSubnetworks ¶
func (n *SubnetworksClient) ListSubnetworks(region string) (*compute.SubnetworkList, error)
type TargetHttpProxiesClient ¶
type TargetHttpProxiesClient struct { ListTargetHttpProxiesCall struct { CallCount int Returns struct { Output *gcpcompute.TargetHttpProxyList Error error } } DeleteTargetHttpProxyCall struct { CallCount int Receives struct { TargetHttpProxy string } Returns struct { Error error } } }
func (*TargetHttpProxiesClient) DeleteTargetHttpProxy ¶
func (t *TargetHttpProxiesClient) DeleteTargetHttpProxy(targetHttpProxy string) error
func (*TargetHttpProxiesClient) ListTargetHttpProxies ¶
func (t *TargetHttpProxiesClient) ListTargetHttpProxies() (*gcpcompute.TargetHttpProxyList, error)
type TargetHttpsProxiesClient ¶
type TargetHttpsProxiesClient struct { ListTargetHttpsProxiesCall struct { CallCount int Returns struct { Output *gcpcompute.TargetHttpsProxyList Error error } } DeleteTargetHttpsProxyCall struct { CallCount int Receives struct { TargetHttpsProxy string } Returns struct { Error error } } }
func (*TargetHttpsProxiesClient) DeleteTargetHttpsProxy ¶
func (t *TargetHttpsProxiesClient) DeleteTargetHttpsProxy(targetHttpsProxy string) error
func (*TargetHttpsProxiesClient) ListTargetHttpsProxies ¶
func (t *TargetHttpsProxiesClient) ListTargetHttpsProxies() (*gcpcompute.TargetHttpsProxyList, error)
type TargetPoolsClient ¶
type TargetPoolsClient struct { ListTargetPoolsCall struct { CallCount int Receives struct { Region string } Returns struct { Output *gcpcompute.TargetPoolList Error error } } DeleteTargetPoolCall struct { CallCount int Receives struct { Region string TargetPool string } Returns struct { Error error } } }
func (*TargetPoolsClient) DeleteTargetPool ¶
func (n *TargetPoolsClient) DeleteTargetPool(region, targetPool string) error
func (*TargetPoolsClient) ListTargetPools ¶
func (n *TargetPoolsClient) ListTargetPools(region string) (*gcpcompute.TargetPoolList, error)
type UrlMapsClient ¶
type UrlMapsClient struct { ListUrlMapsCall struct { CallCount int Returns struct { Output *gcpcompute.UrlMapList Error error } } DeleteUrlMapCall struct { CallCount int Receives struct { UrlMap string } Returns struct { Error error } } }
func (*UrlMapsClient) DeleteUrlMap ¶
func (u *UrlMapsClient) DeleteUrlMap(urlMap string) error
func (*UrlMapsClient) ListUrlMaps ¶
func (u *UrlMapsClient) ListUrlMaps() (*gcpcompute.UrlMapList, error)
Source Files ¶
- addresses_client.go
- backend_services_client.go
- disks_client.go
- firewalls_client.go
- forwarding_rules_client.go
- global_addresses_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
- ssl_certificates_client.go
- subnetworks_client.go
- target_http_proxies_client.go
- target_https_proxies_client.go
- target_pools_client.go
- url_maps_client.go
Click to show internal directories.
Click to hide internal directories.