hosttest

package
v0.15.0-rancher97 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

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