leftovers: github.com/genevievelesperance/leftovers/gcp/compute Index | Files | Directories

package compute

import "github.com/genevievelesperance/leftovers/gcp/compute"

Index

Package 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

func NewClient Uses

func NewClient(project string, service *gcpcompute.Service, logger logger) client

func NewOperationWaiter Uses

func NewOperationWaiter(op *gcpcompute.Operation, service *gcpcompute.Service, project string, logger logger) operationWaiter

type Address Uses

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

func NewAddress Uses

func NewAddress(client addressesClient, name, region string, users int) Address

func (Address) Delete Uses

func (a Address) Delete() error

func (Address) Name Uses

func (a Address) Name() string

func (Address) Type Uses

func (a Address) Type() string

type Addresses Uses

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

func NewAddresses Uses

func NewAddresses(client addressesClient, logger logger, regions map[string]string) Addresses

func (Addresses) List Uses

func (a Addresses) List(filter string) ([]common.Deletable, error)

func (Addresses) Type Uses

func (a Addresses) Type() string

type BackendService Uses

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

func NewBackendService Uses

func NewBackendService(client backendServicesClient, name string) BackendService

func (BackendService) Delete Uses

func (b BackendService) Delete() error

func (BackendService) Name Uses

func (b BackendService) Name() string

func (BackendService) Type Uses

func (b BackendService) Type() string

type BackendServices Uses

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

func NewBackendServices Uses

func NewBackendServices(client backendServicesClient, logger logger) BackendServices

func (BackendServices) List Uses

func (b BackendServices) List(filter string) ([]common.Deletable, error)

func (BackendServices) Type Uses

func (b BackendServices) Type() string

type ComputeOperationError Uses

type ComputeOperationError compute.OperationError

func (ComputeOperationError) Error Uses

func (e ComputeOperationError) Error() string

type Disk Uses

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

func NewDisk Uses

func NewDisk(client disksClient, name, zone string) Disk

func (Disk) Delete Uses

func (d Disk) Delete() error

func (Disk) Name Uses

func (d Disk) Name() string

func (Disk) Type Uses

func (d Disk) Type() string

type Disks Uses

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

func NewDisks Uses

func NewDisks(client disksClient, logger logger, zones map[string]string) Disks

func (Disks) List Uses

func (d Disks) List(filter string) ([]common.Deletable, error)

func (Disks) Type Uses

func (d Disks) Type() string

type Firewall Uses

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

func NewFirewall Uses

func NewFirewall(client firewallsClient, name string) Firewall

func (Firewall) Delete Uses

func (f Firewall) Delete() error

func (Firewall) Name Uses

func (f Firewall) Name() string

func (Firewall) Type Uses

func (f Firewall) Type() string

type Firewalls Uses

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

func NewFirewalls Uses

func NewFirewalls(client firewallsClient, logger logger) Firewalls

func (Firewalls) List Uses

func (f Firewalls) List(filter string) ([]common.Deletable, error)

func (Firewalls) Type Uses

func (f Firewalls) Type() string

type ForwardingRule Uses

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

func NewForwardingRule Uses

func NewForwardingRule(client forwardingRulesClient, name, region string) ForwardingRule

func (ForwardingRule) Delete Uses

func (f ForwardingRule) Delete() error

func (ForwardingRule) Name Uses

func (f ForwardingRule) Name() string

func (ForwardingRule) Type Uses

func (f ForwardingRule) Type() string

type ForwardingRules Uses

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

func NewForwardingRules Uses

func NewForwardingRules(client forwardingRulesClient, logger logger, regions map[string]string) ForwardingRules

func (ForwardingRules) List Uses

func (f ForwardingRules) List(filter string) ([]common.Deletable, error)

func (ForwardingRules) Type Uses

func (f ForwardingRules) Type() string

type GlobalAddress Uses

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

func NewGlobalAddress Uses

func NewGlobalAddress(client globalAddressesClient, name string) GlobalAddress

func (GlobalAddress) Delete Uses

func (g GlobalAddress) Delete() error

func (GlobalAddress) Name Uses

func (g GlobalAddress) Name() string

func (GlobalAddress) Type Uses

func (g GlobalAddress) Type() string

type GlobalAddresses Uses

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

func NewGlobalAddresses Uses

func NewGlobalAddresses(client globalAddressesClient, logger logger) GlobalAddresses

func (GlobalAddresses) List Uses

func (a GlobalAddresses) List(filter string) ([]common.Deletable, error)

func (GlobalAddresses) Type Uses

func (a GlobalAddresses) Type() string

type GlobalForwardingRule Uses

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

func NewGlobalForwardingRule Uses

func NewGlobalForwardingRule(client globalForwardingRulesClient, name string) GlobalForwardingRule

func (GlobalForwardingRule) Delete Uses

func (g GlobalForwardingRule) Delete() error

func (GlobalForwardingRule) Name Uses

func (g GlobalForwardingRule) Name() string

func (GlobalForwardingRule) Type Uses

func (g GlobalForwardingRule) Type() string

type GlobalForwardingRules Uses

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

func NewGlobalForwardingRules Uses

func NewGlobalForwardingRules(client globalForwardingRulesClient, logger logger) GlobalForwardingRules

func (GlobalForwardingRules) List Uses

func (g GlobalForwardingRules) List(filter string) ([]common.Deletable, error)

func (GlobalForwardingRules) Type Uses

func (g GlobalForwardingRules) Type() string

type GlobalHealthCheck Uses

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

func NewGlobalHealthCheck Uses

func NewGlobalHealthCheck(client globalHealthChecksClient, name string) GlobalHealthCheck

func (GlobalHealthCheck) Delete Uses

func (g GlobalHealthCheck) Delete() error

func (GlobalHealthCheck) Name Uses

func (g GlobalHealthCheck) Name() string

func (GlobalHealthCheck) Type Uses

func (g GlobalHealthCheck) Type() string

type GlobalHealthChecks Uses

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

func NewGlobalHealthChecks Uses

func NewGlobalHealthChecks(client globalHealthChecksClient, logger logger) GlobalHealthChecks

func (GlobalHealthChecks) List Uses

func (h GlobalHealthChecks) List(filter string) ([]common.Deletable, error)

func (GlobalHealthChecks) Type Uses

func (h GlobalHealthChecks) Type() string

type HttpHealthCheck Uses

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

func NewHttpHealthCheck Uses

func NewHttpHealthCheck(client httpHealthChecksClient, name string) HttpHealthCheck

func (HttpHealthCheck) Delete Uses

func (h HttpHealthCheck) Delete() error

func (HttpHealthCheck) Name Uses

func (h HttpHealthCheck) Name() string

func (HttpHealthCheck) Type Uses

func (h HttpHealthCheck) Type() string

type HttpHealthChecks Uses

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

func NewHttpHealthChecks Uses

func NewHttpHealthChecks(client httpHealthChecksClient, logger logger) HttpHealthChecks

func (HttpHealthChecks) List Uses

func (h HttpHealthChecks) List(filter string) ([]common.Deletable, error)

func (HttpHealthChecks) Type Uses

func (h HttpHealthChecks) Type() string

type HttpsHealthCheck Uses

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

func NewHttpsHealthCheck Uses

func NewHttpsHealthCheck(client httpsHealthChecksClient, name string) HttpsHealthCheck

func (HttpsHealthCheck) Delete Uses

func (h HttpsHealthCheck) Delete() error

func (HttpsHealthCheck) Name Uses

func (h HttpsHealthCheck) Name() string

func (HttpsHealthCheck) Type Uses

func (h HttpsHealthCheck) Type() string

type HttpsHealthChecks Uses

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

func NewHttpsHealthChecks Uses

func NewHttpsHealthChecks(client httpsHealthChecksClient, logger logger) HttpsHealthChecks

func (HttpsHealthChecks) List Uses

func (h HttpsHealthChecks) List(filter string) ([]common.Deletable, error)

func (HttpsHealthChecks) Type Uses

func (h HttpsHealthChecks) Type() string

type Image Uses

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

func NewImage Uses

func NewImage(client imagesClient, name string) Image

func (Image) Delete Uses

func (i Image) Delete() error

func (Image) Name Uses

func (i Image) Name() string

func (Image) Type Uses

func (i Image) Type() string

type Images Uses

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

func NewImages Uses

func NewImages(client imagesClient, logger logger) Images

func (Images) List Uses

func (i Images) List(filter string) ([]common.Deletable, error)

func (Images) Type Uses

func (i Images) Type() string

type Instance Uses

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

func NewInstance Uses

func NewInstance(client instancesClient, name, zone string, tags *gcpcompute.Tags) Instance

func (Instance) Delete Uses

func (i Instance) Delete() error

func (Instance) Name Uses

func (i Instance) Name() string

func (Instance) Type Uses

func (i Instance) Type() string

type InstanceGroup Uses

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

func NewInstanceGroup Uses

func NewInstanceGroup(client instanceGroupsClient, name, zone string) InstanceGroup

func (InstanceGroup) Delete Uses

func (i InstanceGroup) Delete() error

func (InstanceGroup) Name Uses

func (i InstanceGroup) Name() string

func (InstanceGroup) Type Uses

func (i InstanceGroup) Type() string

type InstanceGroupManager Uses

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

func NewInstanceGroupManager Uses

func NewInstanceGroupManager(client instanceGroupManagersClient, name, zone string) InstanceGroupManager

func (InstanceGroupManager) Delete Uses

func (i InstanceGroupManager) Delete() error

func (InstanceGroupManager) Name Uses

func (i InstanceGroupManager) Name() string

func (InstanceGroupManager) Type Uses

func (i InstanceGroupManager) Type() string

type InstanceGroupManagers Uses

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

func NewInstanceGroupManagers Uses

func NewInstanceGroupManagers(client instanceGroupManagersClient, logger logger, zones map[string]string) InstanceGroupManagers

func (InstanceGroupManagers) List Uses

func (i InstanceGroupManagers) List(filter string) ([]common.Deletable, error)

func (InstanceGroupManagers) Type Uses

func (i InstanceGroupManagers) Type() string

type InstanceGroups Uses

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

func NewInstanceGroups Uses

func NewInstanceGroups(client instanceGroupsClient, logger logger, zones map[string]string) InstanceGroups

func (InstanceGroups) List Uses

func (i InstanceGroups) List(filter string) ([]common.Deletable, error)

func (InstanceGroups) Type Uses

func (i InstanceGroups) Type() string

type InstanceTemplate Uses

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

func NewInstanceTemplate Uses

func NewInstanceTemplate(client instanceTemplatesClient, name string) InstanceTemplate

func (InstanceTemplate) Delete Uses

func (i InstanceTemplate) Delete() error

func (InstanceTemplate) Name Uses

func (i InstanceTemplate) Name() string

func (InstanceTemplate) Type Uses

func (i InstanceTemplate) Type() string

type InstanceTemplates Uses

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

func NewInstanceTemplates Uses

func NewInstanceTemplates(client instanceTemplatesClient, logger logger) InstanceTemplates

func (InstanceTemplates) List Uses

func (i InstanceTemplates) List(filter string) ([]common.Deletable, error)

func (InstanceTemplates) Type Uses

func (i InstanceTemplates) Type() string

type Instances Uses

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

func NewInstances Uses

func NewInstances(client instancesClient, logger logger, zones map[string]string) Instances

func (Instances) List Uses

func (i Instances) List(filter string) ([]common.Deletable, error)

func (Instances) Type Uses

func (i Instances) Type() string

type Network Uses

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

func NewNetwork Uses

func NewNetwork(client networksClient, name string) Network

func (Network) Delete Uses

func (n Network) Delete() error

func (Network) Name Uses

func (n Network) Name() string

func (Network) Type Uses

func (n Network) Type() string

type Networks Uses

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

func NewNetworks Uses

func NewNetworks(client networksClient, logger logger) Networks

func (Networks) List Uses

func (n Networks) List(filter string) ([]common.Deletable, error)

func (Networks) Type Uses

func (n Networks) Type() string

type Route Uses

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

func NewRoute Uses

func NewRoute(client routesClient, name string) Route

func (Route) Delete Uses

func (r Route) Delete() error

func (Route) Name Uses

func (r Route) Name() string

func (Route) Type Uses

func (r Route) Type() string

type Router Uses

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

func NewRouter Uses

func NewRouter(client routersClient, name, region string) Router

func (Router) Delete Uses

func (r Router) Delete() error

func (Router) Name Uses

func (r Router) Name() string

func (Router) Type Uses

func (r Router) Type() string

type Routers Uses

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

func NewRouters Uses

func NewRouters(routersClient routersClient, logger logger, regions map[string]string) Routers

func (Routers) List Uses

func (r Routers) List(filter string) ([]common.Deletable, error)

func (Routers) Type Uses

func (r Routers) Type() string

type Routes Uses

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

func NewRoutes Uses

func NewRoutes(client routesClient, logger logger) Routes

func (Routes) List Uses

func (r Routes) List(filter string) ([]common.Deletable, error)

func (Routes) Type Uses

func (r Routes) Type() string

type SslCertificate Uses

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

func NewSslCertificate Uses

func NewSslCertificate(client sslCertificatesClient, name string) SslCertificate

func (SslCertificate) Delete Uses

func (s SslCertificate) Delete() error

func (SslCertificate) Name Uses

func (s SslCertificate) Name() string

func (SslCertificate) Type Uses

func (s SslCertificate) Type() string

type SslCertificates Uses

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

func NewSslCertificates Uses

func NewSslCertificates(client sslCertificatesClient, logger logger) SslCertificates

func (SslCertificates) List Uses

func (s SslCertificates) List(filter string) ([]common.Deletable, error)

func (SslCertificates) Type Uses

func (s SslCertificates) Type() string

type Subnetwork Uses

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

func NewSubnetwork Uses

func NewSubnetwork(client subnetworksClient, name, region, networkUrl string) Subnetwork

func (Subnetwork) Delete Uses

func (s Subnetwork) Delete() error

func (Subnetwork) Name Uses

func (s Subnetwork) Name() string

func (Subnetwork) Type Uses

func (s Subnetwork) Type() string

type Subnetworks Uses

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

func NewSubnetworks Uses

func NewSubnetworks(client subnetworksClient, logger logger, regions map[string]string) Subnetworks

func (Subnetworks) List Uses

func (n Subnetworks) List(filter string) ([]common.Deletable, error)

func (Subnetworks) Type Uses

func (s Subnetworks) Type() string

type TargetHttpProxies Uses

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

func NewTargetHttpProxies Uses

func NewTargetHttpProxies(client targetHttpProxiesClient, logger logger) TargetHttpProxies

func (TargetHttpProxies) List Uses

func (t TargetHttpProxies) List(filter string) ([]common.Deletable, error)

func (TargetHttpProxies) Type Uses

func (t TargetHttpProxies) Type() string

type TargetHttpProxy Uses

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

func NewTargetHttpProxy Uses

func NewTargetHttpProxy(client targetHttpProxiesClient, name string) TargetHttpProxy

func (TargetHttpProxy) Delete Uses

func (t TargetHttpProxy) Delete() error

func (TargetHttpProxy) Name Uses

func (t TargetHttpProxy) Name() string

func (TargetHttpProxy) Type Uses

func (t TargetHttpProxy) Type() string

type TargetHttpsProxies Uses

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

func NewTargetHttpsProxies Uses

func NewTargetHttpsProxies(client targetHttpsProxiesClient, logger logger) TargetHttpsProxies

func (TargetHttpsProxies) List Uses

func (t TargetHttpsProxies) List(filter string) ([]common.Deletable, error)

func (TargetHttpsProxies) Type Uses

func (t TargetHttpsProxies) Type() string

type TargetHttpsProxy Uses

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

func NewTargetHttpsProxy Uses

func NewTargetHttpsProxy(client targetHttpsProxiesClient, name string) TargetHttpsProxy

func (TargetHttpsProxy) Delete Uses

func (t TargetHttpsProxy) Delete() error

func (TargetHttpsProxy) Name Uses

func (t TargetHttpsProxy) Name() string

func (TargetHttpsProxy) Type Uses

func (t TargetHttpsProxy) Type() string

type TargetPool Uses

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

func NewTargetPool Uses

func NewTargetPool(client targetPoolsClient, name, region string) TargetPool

func (TargetPool) Delete Uses

func (t TargetPool) Delete() error

func (TargetPool) Name Uses

func (t TargetPool) Name() string

func (TargetPool) Type Uses

func (TargetPool) Type() string

type TargetPools Uses

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

func NewTargetPools Uses

func NewTargetPools(client targetPoolsClient, logger logger, regions map[string]string) TargetPools

func (TargetPools) List Uses

func (t TargetPools) List(filter string) ([]common.Deletable, error)

func (TargetPools) Type Uses

func (t TargetPools) Type() string

type TargetVpnGateway Uses

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

func NewTargetVpnGateway Uses

func NewTargetVpnGateway(client targetVpnGatewaysClient, name, region string) TargetVpnGateway

func (TargetVpnGateway) Delete Uses

func (t TargetVpnGateway) Delete() error

func (TargetVpnGateway) Name Uses

func (t TargetVpnGateway) Name() string

func (TargetVpnGateway) Type Uses

func (TargetVpnGateway) Type() string

type TargetVpnGateways Uses

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

func NewTargetVpnGateways Uses

func NewTargetVpnGateways(client targetVpnGatewaysClient, logger logger, regions map[string]string) TargetVpnGateways

func (TargetVpnGateways) List Uses

func (t TargetVpnGateways) List(filter string) ([]common.Deletable, error)

func (TargetVpnGateways) Type Uses

func (TargetVpnGateways) Type() string

type UrlMap Uses

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

func NewUrlMap Uses

func NewUrlMap(client urlMapsClient, name string) UrlMap

func (UrlMap) Delete Uses

func (u UrlMap) Delete() error

func (UrlMap) Name Uses

func (u UrlMap) Name() string

func (UrlMap) Type Uses

func (u UrlMap) Type() string

type UrlMaps Uses

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

func NewUrlMaps Uses

func NewUrlMaps(client urlMapsClient, logger logger) UrlMaps

func (UrlMaps) List Uses

func (u UrlMaps) List(filter string) ([]common.Deletable, error)

func (UrlMaps) Type Uses

func (u UrlMaps) Type() string

type VpnTunnel Uses

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

func NewVpnTunnel Uses

func NewVpnTunnel(client vpnTunnelsClient, name, region string) VpnTunnel

func (VpnTunnel) Delete Uses

func (v VpnTunnel) Delete() error

func (VpnTunnel) Name Uses

func (v VpnTunnel) Name() string

func (VpnTunnel) Type Uses

func (VpnTunnel) Type() string

type VpnTunnels Uses

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

func NewVpnTunnels Uses

func NewVpnTunnels(client vpnTunnelsClient, logger logger, regions map[string]string) VpnTunnels

func (VpnTunnels) List Uses

func (v VpnTunnels) List(filter string) ([]common.Deletable, error)

func (VpnTunnels) Type Uses

func (VpnTunnels) Type() string

Directories

PathSynopsis
fakes

Package compute imports 8 packages (graph). Updated 2019-10-16. Refresh now. Tools for package owners.