docker

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// contains filtered or unexported fields
}

func (*API) CreateLanguageAnalysisContainer

func (d *API) CreateLanguageAnalysisContainer(data *dockerEntities.AnalysisData) (containerOutPut string, err error)

func (*API) DeleteContainersFromAPI

func (d *API) DeleteContainersFromAPI()

func (*API) PullImage added in v1.9.0

func (d *API) PullImage(imageWithTagAndRegistry string) error

type Interface

type Interface interface {
	CreateLanguageAnalysisContainer(data *dockerEntities.AnalysisData) (containerOutPut string, err error)
	PullImage(imageWithTagAndRegistry string) error
	DeleteContainersFromAPI()
}

func NewDockerAPI

func NewDockerAPI(docker dockerService.Interface, config cliConfig.IConfig, analysisID uuid.UUID) Interface

type Mock

type Mock struct {
	mock.Mock
}

func (*Mock) CreateLanguageAnalysisContainer

func (m *Mock) CreateLanguageAnalysisContainer(_ *dockerEntities.AnalysisData) (containerOutPut string, err error)

func (*Mock) DeleteContainersFromAPI

func (m *Mock) DeleteContainersFromAPI()

func (*Mock) PullImage added in v1.9.0

func (m *Mock) PullImage(_ string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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