prune

package
v0.0.0-...-a892dfa Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPrune

func NewPrune() *cobra.Command

Types

type PruneOptions

type PruneOptions struct {
	MaxEligibleRevision int
	ProtectedRevisions  []int

	ResourceDir   string
	StaticPodName string
}

func NewPruneOptions

func NewPruneOptions() *PruneOptions

func (*PruneOptions) AddFlags

func (o *PruneOptions) AddFlags(fs *pflag.FlagSet)

func (*PruneOptions) Run

func (o *PruneOptions) Run() error

func (*PruneOptions) Validate

func (o *PruneOptions) Validate() error

Jump to

Keyboard shortcuts

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