usecase

package
v1.8.21 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: GPL-3.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerUseCase

type DockerUseCase interface {
	// Run is equivalent to Execute, except it generates context based on the given command
	Run(cmd command.Command) entity.Result
	// Execute executes the command with the given context
	Execute(ctx context.Context, cmd command.Command) entity.Result
}

DockerUseCase is the usecase for executing the commands in docker

func NewDockerUseCase

func NewDockerUseCase(
	service service.DockerService,
	valid validator.OrderValidator,
	log logrus.Ext1FieldLogger) DockerUseCase

NewDockerUseCase creates a DockerUseCase arguments given the proper dep injections

Jump to

Keyboard shortcuts

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