clients

package
v0.0.0-...-90c63b4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS struct {
	AccessKeyID      string
	SecretAccessKey  string
	Region           string
	EndpointOverride string
}

func NewAWS

func NewAWS(AccessKeyID string, SecretAccessKey string, Region string, EndpointOverride string) AWS

func (AWS) FetchSubnets

func (a AWS) FetchSubnets(session Session, subnetIds []string) ([]Subnet, error)

func (AWS) Session

func (a AWS) Session() (Session, error)

type BOSH

type BOSH struct {
	Logger io.Writer
	// contains filtered or unexported fields
}

func NewBOSH

func NewBOSH(client BOSHClient, logger io.Writer) BOSH

func (*BOSH) DeleteDeployment

func (b *BOSH) DeleteDeployment(deploymentName string) error

func (BOSH) Deploy

func (b BOSH) Deploy(manifest []byte) error

func (*BOSH) UUID

func (b *BOSH) UUID() (string, error)

type BOSHClient

type BOSHClient interface {
	Deploy(manifest []byte) (int, error)
	DeleteDeployment(deploymentName string) error
	GetTaskOutput(taskId int) ([]bosh.TaskOutput, error)
	Info() (bosh.DirectorInfo, error)
}

type Session

type Session interface {
	DescribeSubnets(*ec2.DescribeSubnetsInput) (*ec2.DescribeSubnetsOutput, error)
}

type Subnet

type Subnet struct {
	SubnetID  string
	CIDRBlock string
}

Jump to

Keyboard shortcuts

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