awsbackend

package
v0.0.0-...-e0d1d7f Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	KeyPairs  *KeyPairs
	Stacks    *Stacks
	Instances *Instances
	// contains filtered or unexported fields
}

func New

func New(boshDirectorURL string) *Backend

func (*Backend) CreateKeyPair

func (b *Backend) CreateKeyPair(input *ec2.CreateKeyPairInput) (*ec2.CreateKeyPairOutput, error)

func (*Backend) CreateStack

func (*Backend) DeleteKeyPair

func (b *Backend) DeleteKeyPair(input *ec2.DeleteKeyPairInput) (*ec2.DeleteKeyPairOutput, error)

func (*Backend) DeleteStack

func (*Backend) DescribeAvailabilityZones

func (b *Backend) DescribeAvailabilityZones(input *ec2.DescribeAvailabilityZonesInput) (*ec2.DescribeAvailabilityZonesOutput, error)

func (*Backend) DescribeInstances

func (b *Backend) DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)

func (*Backend) DescribeKeyPairs

func (b *Backend) DescribeKeyPairs(input *ec2.DescribeKeyPairsInput) (*ec2.DescribeKeyPairsOutput, error)

func (*Backend) UpdateStack

type Instance

type Instance struct {
	Name  string
	VPCID string
}

type Instances

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

func NewInstances

func NewInstances() *Instances

func (*Instances) Get

func (i *Instances) Get() []Instance

func (*Instances) Set

func (i *Instances) Set(instances []Instance)

type KeyPair

type KeyPair struct {
	Name string
}

type KeyPairs

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

func NewKeyPairs

func NewKeyPairs() *KeyPairs

func (*KeyPairs) All

func (k *KeyPairs) All() []KeyPair

func (*KeyPairs) Delete

func (k *KeyPairs) Delete(name string)

func (*KeyPairs) Get

func (k *KeyPairs) Get(name string) (KeyPair, bool)

func (*KeyPairs) Set

func (k *KeyPairs) Set(keyPair KeyPair)

type Stack

type Stack struct {
	Name       string
	Template   string
	WasUpdated bool
}

type Stacks

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

func NewStacks

func NewStacks() *Stacks

func (*Stacks) Delete

func (s *Stacks) Delete(name string)

func (*Stacks) Get

func (s *Stacks) Get(name string) (Stack, bool)

func (*Stacks) Set

func (s *Stacks) Set(stack Stack)

Jump to

Keyboard shortcuts

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