Documentation
¶
Index ¶
- func CopyCoreLogs()
- func CreateDockerClient(opt ...docker.Opt) (client *docker.Client, err error)
- func GetPhysicalAddress(virtual string) string
- func Load(bootType BootType) error
- func ShutDown() error
- func Start(ctx context.Context) error
- type BootType
- type Booter
- type ComposeBenchmarkBooter
- type ComposeBooter
- type StrategyWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyCoreLogs ¶
func CopyCoreLogs()
func CreateDockerClient ¶
func GetPhysicalAddress ¶
Types ¶
type ComposeBenchmarkBooter ¶
type ComposeBenchmarkBooter struct {
// contains filtered or unexported fields
}
ComposeBooter control docker-compose to start or stop containers.
func NewComposeBenchmarkBooter ¶
func NewComposeBenchmarkBooter() *ComposeBenchmarkBooter
NewComposeBooter create a new compose booter.
func (*ComposeBenchmarkBooter) CopyCoreLogs ¶
func (c *ComposeBenchmarkBooter) CopyCoreLogs()
func (*ComposeBenchmarkBooter) Start ¶
func (c *ComposeBenchmarkBooter) Start(ctx context.Context) error
func (*ComposeBenchmarkBooter) Stop ¶
func (c *ComposeBenchmarkBooter) Stop() error
type ComposeBooter ¶
type ComposeBooter struct {
// contains filtered or unexported fields
}
ComposeBooter control docker-compose to start or stop containers.
func NewComposeBooter ¶
func NewComposeBooter() *ComposeBooter
NewComposeBooter create a new compose booter.
func (*ComposeBooter) CopyCoreLogs ¶
func (c *ComposeBooter) CopyCoreLogs()
func (*ComposeBooter) Stop ¶
func (c *ComposeBooter) Stop() error
type StrategyWrapper ¶
type StrategyWrapper struct {
// contains filtered or unexported fields
}
StrategyWrapper caches the real wait.StrategyTarget to get the metadata of the running containers.
func (*StrategyWrapper) WaitUntilReady ¶
func (s *StrategyWrapper) WaitUntilReady(ctx context.Context, target wait.StrategyTarget) error
Click to show internal directories.
Click to hide internal directories.