Versions in this module Expand all Collapse all v1 v1.0.0 Jul 13, 2019 Changes in this version + const Localstack_Repository + const Localstack_Tag + type DockerWrapper interface + InspectContainer func(string) (*docker.Container, error) + ListContainers func(docker.ListContainersOptions) ([]docker.APIContainers, error) + Retry func(func() error) error + RunWithOptions func(*dockertest.RunOptions, ...func(*docker.HostConfig)) (*dockertest.Resource, error) + type Localstack struct + Resource *dockertest.Resource + Services *LocalstackServiceCollection + func NewLocalstack(services *LocalstackServiceCollection) (*Localstack, error) + func NewSpecificLocalstack(services *LocalstackServiceCollection, name, repository, tag string) (*Localstack, error) + func (l *Localstack) CreateAWSSession() *session.Session + func (l Localstack) EndpointFor(service, region string, optFns ...func(*endpoints.Options)) (endpoints.ResolvedEndpoint, error) + func (ls *Localstack) Destroy() error + type LocalstackService struct + Name string + Port int + Protocol string + func NewLocalstackService(name string) (*LocalstackService, error) + func (service *LocalstackService) Equals(rhs *LocalstackService) bool + func (service *LocalstackService) GetNamePort() string + func (service *LocalstackService) GetPortProtocol() string + type LocalstackServiceCollection []LocalstackService + func (a *LocalstackServiceCollection) Contains(name string) bool + func (a *LocalstackServiceCollection) Sort() *LocalstackServiceCollection + func (a LocalstackServiceCollection) Len() int + func (a LocalstackServiceCollection) Less(i, j int) bool + func (a LocalstackServiceCollection) Swap(i, j int) + func (collection *LocalstackServiceCollection) GetServiceMap() string