machinetype

package
v0.0.0-...-5b51137 Latest Latest
Warning

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

Go to latest
Published: May 7, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleMachineTypeService

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

func NewGoogleMachineTypeService

func NewGoogleMachineTypeService(
	project string,
	computeService *compute.Service,
	logger boshlog.Logger,
) GoogleMachineTypeService
func (m GoogleMachineTypeService) CustomLink(cpu int, ram int, zone string) string

func (GoogleMachineTypeService) Find

type MachineType

type MachineType struct {
	Name     string
	SelfLink string
	Zone     string
}

type Service

type Service interface {
	Find(id string, zone string) (MachineType, bool, error)
	CustomLink(cpu int, ram int, zone string) string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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