Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddCommandArgs ¶
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
func FetcherFactory ¶
func FetcherFactory(commands []*clients.Cmd, addCommands []AddCommandArgs) (*Fetcher, error)
func NewFetcher ¶
func NewFetcher() *Fetcher
func (*Fetcher) AddCommand ¶
AddCommand takes a command instance and adds it the fetcher
func (*Fetcher) AddNewCommand ¶
AddNewCommand creates a new command from a string then adds it to the fetcher
func (*Fetcher) Fetch ¶
func (inst *Fetcher) Fetch(ctx clients.ExecContext, pack any) error
Fetch executes the commands on the container passed as the ctx and use the results to populate pack
func (*Fetcher) SetPostProcessor ¶
func (inst *Fetcher) SetPostProcessor(ppFunc PostProcessFuncType)
Click to show internal directories.
Click to hide internal directories.