compute

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 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, users int) Address

func (Address) Delete

func (a Address) Delete() error

func (Address) Name

func (a Address) Name() string

func (Address) Type added in v0.16.0

func (a Address) Type() 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)

func (Addresses) Type added in v0.32.0

func (a Addresses) Type() string

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

func (Disk) Type added in v0.16.0

func (d Disk) Type() 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)

func (Disks) Type added in v0.32.0

func (d Disks) Type() string

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

func (Firewall) Type added in v0.16.0

func (f Firewall) Type() 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)

func (Firewalls) Type added in v0.32.0

func (f Firewalls) Type() string

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

func (Image) Type added in v0.16.0

func (i Image) Type() string

type Images

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

func NewImages

func NewImages(client imagesClient, logger logger) Images

func (Images) List

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

func (Images) Type added in v0.32.0

func (i Images) Type() string

type Instance

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

func NewInstance

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

func (Instance) Delete

func (i Instance) Delete() error

func (Instance) Name

func (i Instance) Name() string

func (Instance) Type added in v0.16.0

func (i Instance) Type() 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

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

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

func (Instances) List

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

func (Instances) Type added in v0.32.0

func (i Instances) Type() string

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

func (Network) Type added in v0.16.0

func (n Network) Type() 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)

func (Networks) Type added in v0.32.0

func (n Networks) Type() string

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

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

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

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

func (TargetPools) Type added in v0.32.0

func (t TargetPools) Type() string

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

func (UrlMap) Type added in v0.16.0

func (u UrlMap) Type() 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)

func (UrlMaps) Type added in v0.32.0

func (u UrlMaps) Type() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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