subnetwork

package
v29.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrRegionRequired error = errors.New("A region is required to find a subnet")
View Source
var ErrSubnetNotFound error = errors.New("Subnet could not be found")

Functions

This section is empty.

Types

type GoogleSubnetworkService

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

func NewGoogleSubnetworkService

func NewGoogleSubnetworkService(
	projectService project.Service,
	computeService *compute.Service,
	logger boshlog.Logger,
) GoogleSubnetworkService

func (GoogleSubnetworkService) Find

func (s GoogleSubnetworkService) Find(projectId, id, region string) (Subnetwork, error)

type Service

type Service interface {
	Find(projectId string, id string, region string) (Subnetwork, error)
}

type Subnetwork

type Subnetwork struct {
	Name     string
	SelfLink string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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