Documentation

Index

Constants

View Source
const (
	DefaultHostName    = "test-host"
	HostTestCaCert     = "test-cert"
	HostTestPrivateKey = "test-key"
)

Variables

This section is empty.

Functions

func GetDefaultTestHost

func GetDefaultTestHost() (*host.Host, error)

Types

type DriverOptionsMock

type DriverOptionsMock struct {
	Data map[string]interface{}
}

func GetTestDriverFlags

func GetTestDriverFlags() *DriverOptionsMock

func (DriverOptionsMock) Bool

func (d DriverOptionsMock) Bool(key string) bool

func (DriverOptionsMock) Int

func (d DriverOptionsMock) Int(key string) int

func (DriverOptionsMock) String

func (d DriverOptionsMock) String(key string) string

func (DriverOptionsMock) StringSlice

func (d DriverOptionsMock) StringSlice(key string) []string