component

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component interface {
	// Start start docker component.
	Start(context.Context) error
	// Stop stops docker components.
	Stop(context.Context) error
}

Component is a interface that allows to start and stop docker component.

type Loggable

type Loggable interface {
	// Logs returns reader for buffer that contains
	// preformated container logs.
	Logs(context.Context) (io.Reader, error)
	// Name returns container name.
	Name() string
}

Loggable allows bo obtains logs from docker container.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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