proxy

package
v0.0.0-...-5cee447 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultJobsChSize = 10
)

Variables

This section is empty.

Functions

func EnterRoot

func EnterRoot(
	inputs *common.RootCommandInputs,
	config configuration.ViperConfig,
	logger *slog.Logger,
) (*nav.TraverseResult, error)

func EnterShrink

func EnterShrink(
	params *ShrinkParams,
) (*nav.TraverseResult, error)

Types

type EntryBase

type EntryBase struct {
	// some parts of the struct should go into a TraverseBase (anything to with
	// navigation such as Options)
	// with the rest going into cobrass.clif
	//
	Inputs      *common.RootCommandInputs
	Agent       common.ExecutionAgent
	Interaction common.UserInteraction
	Viper       configuration.ViperConfig
	Options     *nav.TraverseOptions
	Registry    *orc.ControllerRegistry
	Log         *slog.Logger
	Vfs         storage.VirtualFS
	FileManager common.FileManager
	FilterSetup *filterSetup
}

EntryBase is the base entry for all commands in pixa

func (*EntryBase) ConfigureOptions

func (e *EntryBase) ConfigureOptions(o *nav.TraverseOptions)

type RootEntry

type RootEntry struct {
	EntryBase
	// contains filtered or unexported fields
}

func (*RootEntry) ConfigureOptions

func (e *RootEntry) ConfigureOptions(o *nav.TraverseOptions)

type ShrinkEntry

type ShrinkEntry struct {
	EntryBase
	Inputs *common.ShrinkCommandInputs
}

func (*ShrinkEntry) ConfigureOptions

func (e *ShrinkEntry) ConfigureOptions(o *nav.TraverseOptions)

func (*ShrinkEntry) DiscoverOptionsFn

func (e *ShrinkEntry) DiscoverOptionsFn(o *nav.TraverseOptions)

func (*ShrinkEntry) PrincipalOptionsFn

func (e *ShrinkEntry) PrincipalOptionsFn(o *nav.TraverseOptions)

type ShrinkParams

type ShrinkParams struct {
	Inputs *common.ShrinkCommandInputs
	Viper  configuration.ViperConfig
	Logger *slog.Logger
	Vfs    storage.VirtualFS
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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