prune

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 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 Prune

type Prune struct {
	// contains filtered or unexported fields
}

Prune queries then notifies (using configured notification channels) infrastructure that has expired

func (*Prune) GetDescription

func (prune *Prune) GetDescription() string

GetDescription returns the description for the prune command

func (*Prune) GetFlagSet

func (prune *Prune) GetFlagSet() *flag.FlagSet

GetFlagSet returns a pointer to the flag.FlagSet associated to the command

func (*Prune) GetHelpFlag

func (prune *Prune) GetHelpFlag() *bool

GetHelpFlag returns a pointer to the initialized help flag for the command

func (*Prune) GetName

func (prune *Prune) GetName() string

GetName returns the value of the name constant

func (*Prune) GetSubCommands

func (prune *Prune) GetSubCommands() []cli.Command

GetSubCommands returns a slice of subcommands under the prune command (expect empty slice if none)

func (*Prune) Init

func (prune *Prune) Init(helpFlagName string, helpFlagDescription string)

Init initializes the command object

func (*Prune) Process

func (prune *Prune) Process()

Process fetches the list of infrastructure that matches the criteria provided by the user and that has expired and sends notifications to the configured notification channels

Jump to

Keyboard shortcuts

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