test

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient(conf *ClientConfig) *apiclient.Openpitrix

Types

type ClientConfig

type ClientConfig struct {
	Host     string
	BasePath string
	Debug    bool
}

func GetClientConfig

func GetClientConfig() *ClientConfig

type Docker

type Docker struct {
	Name       string
	Image      string
	Port       int
	Volume     map[string]string
	WorkDir    string
	Entrypoint string
	// contains filtered or unexported fields
}

func NewDocker

func NewDocker(t *testing.T, name, image string) *Docker

func (*Docker) Exec

func (d *Docker) Exec(cmd string) string

func (*Docker) ExecD

func (d *Docker) ExecD(cmd string) string

func (*Docker) Setup

func (d *Docker) Setup() string

func (*Docker) Teardown

func (d *Docker) Teardown() string

type IgnoreLogger

type IgnoreLogger struct{}

func (IgnoreLogger) Debugf

func (IgnoreLogger) Debugf(format string, args ...interface{})

func (IgnoreLogger) Printf

func (IgnoreLogger) Printf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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