gce

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotFound

func IsNotFound(err error) bool

func IsNotReady

func IsNotReady(err error) bool

Types

type GCEAPITarget

type GCEAPITarget struct {
	Cloud *GCECloud
}

func NewGCEAPITarget

func NewGCEAPITarget(cloud *GCECloud) *GCEAPITarget

func (*GCEAPITarget) Finish

func (t *GCEAPITarget) Finish(taskMap map[string]fi.Task) error

type GCECloud

type GCECloud struct {
	Compute *compute.Service
	Storage *storage.Service

	Region  string
	Project string
}

func NewGCECloud

func NewGCECloud(region string, project string) (*GCECloud, error)

func (*GCECloud) DNS

func (c *GCECloud) DNS() (dnsprovider.Interface, error)

func (*GCECloud) FindDNSHostedZone

func (c *GCECloud) FindDNSHostedZone(clusterDNSName string) (string, error)

func (*GCECloud) ProviderID

func (c *GCECloud) ProviderID() fi.CloudProviderID

type GoogleCloudURL

type GoogleCloudURL struct {
	Project string
	Type    string
	Name    string
	Global  bool
	Zone    string
}

func ParseGoogleCloudURL

func ParseGoogleCloudURL(u string) (*GoogleCloudURL, error)

func (*GoogleCloudURL) BuildURL

func (u *GoogleCloudURL) BuildURL() string

Jump to

Keyboard shortcuts

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