commands

package
v1.0.13 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreate

func NewCreate(repo repository.Repository, convertService *service.ConvertService) *create

NewCreate Create Constructor

Types

type Commands

type Commands struct {
	Create
}

Commands Commands

func NewCommands

func NewCommands(repo repository.Repository, convertService *service.ConvertService) *Commands

NewCommands Commands Constructor

type Create

type Create interface {
	Handle(ctx context.Context, cmd CreateCommand) error
}

Create Create Interface

type CreateCommand

type CreateCommand struct {
	ServiceName string
	Src         string
	Dst         string
	Values      string
	IsForce     bool
}

CreateCommand CreateCommand

func NewCreateCommand

func NewCreateCommand(
	serviceName string,
	src string,
	dst string,
	values string,
	isForce bool,
) CreateCommand

NewCreateCommand CreateCommand Constructor

Jump to

Keyboard shortcuts

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