docker

package
v0.0.0-...-ff6338b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Docker

type Docker struct{}

Docker is a struct which will be the driver for all the methods related to docker Docker implements github.com/openebs/CITF/Environment interface

func NewDocker

func NewDocker() Docker

NewDocker returns Docker struct

func (Docker) CheckStatus

func (docker Docker) CheckStatus() (map[string]string, error)

CheckStatus should return the status of docker environment. It returns nil,nil for now. It has been written just to implement interface Environment

func (Docker) Name

func (docker Docker) Name() string

Name returns the name of the environment, In this case common.Docker

func (Docker) Setup

func (docker Docker) Setup() error

Setup is an empty function now. It has been written just to implement the interface Environment

func (Docker) Teardown

func (docker Docker) Teardown() error

Teardown stops all the docker containers present on the machine

Jump to

Keyboard shortcuts

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