Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdProcessor ¶
type CmdProcessor struct {
// contains filtered or unexported fields
}
CmdProcessor handles the garbage collection commands.
func New ¶
func New(input GCInput, opts ...CmdProcessorOption) (*CmdProcessor, error)
New creates a new instance of the command processor.
type CmdProcessorOption ¶
type CmdProcessorOption func(proc *CmdProcessor) error
CmdProcessorOption is a function type to supply options when creating the command processor.
func WithClient ¶
func WithClient(client client.Client) CmdProcessorOption
WithClient is an option that enable you to explicitly supply a client.
Click to show internal directories.
Click to hide internal directories.