itm

package
v0.1.3-beta Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2016 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package itm (Integration Tests Manager) is intended to be used onlyin integration tests. Should never be usedin production environments or live processing. It should never be included by anything outside the "_test.go" files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IntegrationTestsDataSource

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

IntegrationTestsDataSource in memory structure used to memorise all available testing context vars.

func S

S returns an IntegrationTestsDataSource instance using a singleton pattern. If a shared instance exists returns it otherwise creates a new one, populates it with environment vars or costants and set it as shared instance.

func (*IntegrationTestsDataSource) DbAddress

func (i *IntegrationTestsDataSource) DbAddress() string

DbAddress return singleton integration tests db address as a string.

func (*IntegrationTestsDataSource) DbAuth

func (i *IntegrationTestsDataSource) DbAuth() string

DbAuth returns singleton integration tests authorisation db name as a string.

func (*IntegrationTestsDataSource) DbFullAddress

func (i *IntegrationTestsDataSource) DbFullAddress() string

DbFullAddress returns db full address composed with all previously returned elements.

func (*IntegrationTestsDataSource) DbPassword

func (i *IntegrationTestsDataSource) DbPassword() string

DbPassword returns singleton integration tests db password as a string.

func (*IntegrationTestsDataSource) DbPort

func (i *IntegrationTestsDataSource) DbPort() int

DbPort returns singleton integration tests db port as an integer.

func (*IntegrationTestsDataSource) DbPortString

func (i *IntegrationTestsDataSource) DbPortString() string

DbPortString returns singleton integration tests db port as a string.

func (*IntegrationTestsDataSource) DbUserName

func (i *IntegrationTestsDataSource) DbUserName() string

DbUserName returns singleton integration tests db username as a string.

func (*IntegrationTestsDataSource) S3Bucket

func (i *IntegrationTestsDataSource) S3Bucket() string

S3Bucket the S3 bucket name.

func (*IntegrationTestsDataSource) S3Endpoint

func (i *IntegrationTestsDataSource) S3Endpoint() string

S3Endpoint S3 endpoint address.

func (*IntegrationTestsDataSource) S3Id

S3Id returns s3 id string for credentials.

func (*IntegrationTestsDataSource) S3Region

func (i *IntegrationTestsDataSource) S3Region() string

S3Region the S3 region address.

func (*IntegrationTestsDataSource) S3Secret

func (i *IntegrationTestsDataSource) S3Secret() string

S3Secret returns s3 secret string.

func (*IntegrationTestsDataSource) S3Token

func (i *IntegrationTestsDataSource) S3Token() string

S3Token the s3 token value.

Jump to

Keyboard shortcuts

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