compute

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 Address

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

func NewAddress

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

func (Address) Delete

func (a Address) Delete() error

func (Address) Name

func (a Address) Name() string

type Addresses

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

func NewAddresses

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

func (Addresses) List

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

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

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)

type ComputeOperationError

type ComputeOperationError compute.OperationError

func (ComputeOperationError) Error

func (e ComputeOperationError) Error() string

type Disk

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

func NewDisk

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

func (Disk) Delete

func (d Disk) Delete() error

func (Disk) Name

func (d Disk) Name() string

type Disks

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

func NewDisks

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

func (Disks) List

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

type Firewall

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

func NewFirewall

func NewFirewall(client firewallsClient, name string) Firewall

func (Firewall) Delete

func (f Firewall) Delete() error

func (Firewall) Name

func (f Firewall) Name() string

type Firewalls

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

func NewFirewalls

func NewFirewalls(client firewallsClient, logger logger) Firewalls

func (Firewalls) List

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

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

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)

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

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)

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

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)

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

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)

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

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)

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

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)

type Image

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

func NewImage

func NewImage(client imagesClient, name string) Image

func (Image) Delete

func (i Image) Delete() error

func (Image) Name

func (i Image) Name() string

type Images

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

func NewImages

func NewImages(client imagesClient, logger logger) Images

func (Images) List

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

type Instance

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

func NewInstance

func NewInstance(client instancesClient, name, zone string) Instance

func (Instance) Delete

func (i Instance) Delete() error

func (Instance) Name

func (i Instance) Name() string

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

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)

type Instances

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

func NewInstances

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

func (Instances) List

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

type Network

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

func NewNetwork

func NewNetwork(client networksClient, name string) Network

func (Network) Delete

func (n Network) Delete() error

func (Network) Name

func (n Network) Name() string

type Networks

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

func NewNetworks

func NewNetworks(client networksClient, logger logger) Networks

func (Networks) List

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

type Subnetwork

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

func NewSubnetwork

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

func (Subnetwork) Delete

func (s Subnetwork) Delete() error

func (Subnetwork) Name

func (s Subnetwork) Name() 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) List

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

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)

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

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)

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

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

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) List

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

type UrlMap

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

func NewUrlMap

func NewUrlMap(client urlMapsClient, name string) UrlMap

func (UrlMap) Delete

func (u UrlMap) Delete() error

func (UrlMap) Name

func (u UrlMap) Name() string

type UrlMaps

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

func NewUrlMaps

func NewUrlMaps(client urlMapsClient, logger logger) UrlMaps

func (UrlMaps) List

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL