cecdysis

package
v0.13.0-nightly.20250125 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandWithExecuteWithClient

type CommandWithExecuteWithClient interface {
	ecdysis.Command

	// ExecuteWithClient is the actual work function. Most commands will implement this.
	ExecuteWithClient(context.Context, *api.Client) error
}

CommandWithExecuteWithClient can be implemented by a command that requires a client to interact with the Conduit API during the execution.

type CommandWithExecuteWithClientDecorator

type CommandWithExecuteWithClientDecorator struct{}

CommandWithExecuteWithClientDecorator is a decorator that adds a Conduit API client to the command execution.

func (CommandWithExecuteWithClientDecorator) Decorate

Jump to

Keyboard shortcuts

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