iaasaws

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2017 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCouldNotFindInstance = fmt.Errorf("couldnt find instance match")
)

Functions

This section is empty.

Types

type Client

type Client struct {
	InstanceNameRegex string
	VPCName           string
	Describer         InstanceDescriber
}

func NewClient

func NewClient(region string, instanceNameRegex string, vpcname string) (*Client, error)

func (*Client) GetInstanceID

func (s *Client) GetInstanceID() (string, error)

type InstanceDescriber

type InstanceDescriber interface {
	DescribeInstances(*ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
}

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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