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
Click to show internal directories.
Click to hide internal directories.