address

package
v25.6.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 19, 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 Address

type Address struct {
	Name     string
	SelfLink string
}

type GoogleAddressService

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

func NewGoogleAddressService

func NewGoogleAddressService(
	project string,
	computeService *compute.Service,
	logger boshlog.Logger,
) GoogleAddressService

func (GoogleAddressService) Find

func (a GoogleAddressService) Find(id string, region string) (Address, bool, error)

func (GoogleAddressService) FindByIP

func (a GoogleAddressService) FindByIP(ipAddress string) (Address, bool, error)

type Service

type Service interface {
	Find(id string, region string) (Address, bool, error)
	FindByIP(ipAddress string) (Address, bool, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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