Documentation ¶
Overview ¶
Package gc provides a way to handle AWS garbage collection on deletion.
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.
func (*CmdProcessor) Configure ¶ added in v2.4.0
func (c *CmdProcessor) Configure(ctx context.Context, gcTasks []string) error
Configure is used to configure external resource garbage collection for a cluster.
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.