localstack

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package localstack contains the code to start LocalStack in a new docker container

Index

Constants

View Source
const ImageName = "docker.io/localstack/localstack"

ImageName provides the docker image name for LocalStack

Variables

This section is empty.

Functions

This section is empty.

Types

type Localstack

type Localstack struct {
	ContainerID string
	// contains filtered or unexported fields
}

Localstack provides methods for starting and stoping a docker container of the latest LocalStack image

func New

func New(cfgs ...*services.ServiceConfig) (*Localstack, error)

New pulls the latest LocalStack image, and creates a new container. It returns a new instance of LocalStack

func (Localstack) Start

func (l Localstack) Start() error

Start starts the LocalStack container

func (Localstack) Stop

func (l Localstack) Stop() error

Stop stops the LocalStack container

Directories

Path Synopsis
Package services contains code relating to the AWS services that LocalStack supports
Package services contains code relating to the AWS services that LocalStack supports

Jump to

Keyboard shortcuts

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