operations

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOperationBuilderMap

func GetOperationBuilderMap() map[string]OperationBuilder

Types

type EmptyOperation

type EmptyOperation struct{}

func (EmptyOperation) Run

func (e EmptyOperation) Run()

type EmptyOperationBuilder

type EmptyOperationBuilder struct{}

func (EmptyOperationBuilder) CreateOperation

func (e EmptyOperationBuilder) CreateOperation(args args.Args) Operation

type GettingOperation

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

func (GettingOperation) Run

func (g GettingOperation) Run()

type GettingOperationBuilder

type GettingOperationBuilder struct{}

func (GettingOperationBuilder) CreateOperation

func (g GettingOperationBuilder) CreateOperation(args args.Args) Operation

type HelpOperation

type HelpOperation struct{}

func (HelpOperation) Run

func (e HelpOperation) Run()

type HelpOperationBuilder

type HelpOperationBuilder struct{}

func (HelpOperationBuilder) CreateOperation

func (e HelpOperationBuilder) CreateOperation(args args.Args) Operation

type Operation

type Operation interface {
	Run()
}

func GetOperation

func GetOperation(args args.Args) Operation

type OperationBuilder

type OperationBuilder interface {
	CreateOperation(args.Args) Operation
}

func GetOperationBuilder

func GetOperationBuilder(args args.Args) OperationBuilder

type UploadOperation

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

func (UploadOperation) Run

func (u UploadOperation) Run()

type UploadOperationBuilder

type UploadOperationBuilder struct{}

func (UploadOperationBuilder) CreateOperation

func (u UploadOperationBuilder) CreateOperation(args args.Args) Operation

Jump to

Keyboard shortcuts

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