gcpbackend

package
v3.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GetProjectOutput = `` /* 310-byte string literal not displayed */

	SetCommonInstanceMetadataOutput = `` /* 327-byte string literal not displayed */

)

Variables

This section is empty.

Functions

This section is empty.

Types

type GCPBackend

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

func (*GCPBackend) HandleListInstances

func (g *GCPBackend) HandleListInstances(f func(http.ResponseWriter, *http.Request))

func (*GCPBackend) StartFakeGCPBackend

func (g *GCPBackend) StartFakeGCPBackend() (*httptest.Server, string)

type Network

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

func (*Network) Add

func (n *Network) Add(network string)

func (*Network) Exists

func (n *Network) Exists(network string) bool

func (*Network) Get

func (n *Network) Get() []string

Jump to

Keyboard shortcuts

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