aphdocker

package
v0.0.0-...-9ff59ee Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneDbSchemaRepo

func CloneDbSchemaRepo(repo string) (string, error)

func RandString

func RandString(length int) string

Types

type ArangoDocker

type ArangoDocker struct {
	Client   *client.Client
	Image    string
	Debug    bool
	ContJSON types.ContainerJSON
	// contains filtered or unexported fields
}

func NewArangoDocker

func NewArangoDocker() (*ArangoDocker, error)

func NewArangoDockerWithImage

func NewArangoDockerWithImage(image string) (*ArangoDocker, error)

func (*ArangoDocker) GetIP

func (d *ArangoDocker) GetIP() string

func (*ArangoDocker) GetPassword

func (d *ArangoDocker) GetPassword() string

func (*ArangoDocker) GetPort

func (d *ArangoDocker) GetPort() string

func (*ArangoDocker) GetUser

func (d *ArangoDocker) GetUser() string

func (*ArangoDocker) Purge

func (*ArangoDocker) RetryConnection

func (d *ArangoDocker) RetryConnection() (driver.Client, error)

func (*ArangoDocker) Run

type NatsDocker

type NatsDocker struct {
	Client   *client.Client
	Image    string
	Debug    bool
	ContJSON types.ContainerJSON
}

func NewNatsDocker

func NewNatsDocker() (*NatsDocker, error)

func NewNatsDockerWithImage

func NewNatsDockerWithImage(image string) (*NatsDocker, error)

func (*NatsDocker) GetIP

func (d *NatsDocker) GetIP() string

func (*NatsDocker) GetNatsConnString

func (d *NatsDocker) GetNatsConnString() string

func (*NatsDocker) GetPort

func (d *NatsDocker) GetPort() string

func (*NatsDocker) Purge

func (*NatsDocker) RetryNatsConnection

func (d *NatsDocker) RetryNatsConnection() (*nats.Conn, error)

func (*NatsDocker) Run

type PgDocker

type PgDocker struct {
	Client   *client.Client
	Image    string
	Pass     string
	User     string
	Database string
	Debug    bool
	ContJSON types.ContainerJSON
}

func NewPgDocker

func NewPgDocker() (*PgDocker, error)

func NewPgDockerWithImage

func NewPgDockerWithImage(image string) (*PgDocker, error)

func (*PgDocker) GetIP

func (d *PgDocker) GetIP() string

func (*PgDocker) GetPort

func (d *PgDocker) GetPort() string

func (*PgDocker) Purge

func (*PgDocker) RetryDbConnection

func (d *PgDocker) RetryDbConnection() (*sql.DB, error)

func (*PgDocker) Run

Jump to

Keyboard shortcuts

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