prune

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const PruneBuildsRecommendedName = "builds"
View Source
const PruneDeploymentsRecommendedName = "deployments"
View Source
const PruneGroupsRecommendedName = "groups"
View Source
const (
	// PruneImagesRecommendedName is the recommended command name
	PruneImagesRecommendedName = "images"
)
View Source
const PruneRecommendedName = "prune"

Variables

This section is empty.

Functions

func NewCmdPruneBuilds

func NewCmdPruneBuilds(f *clientcmd.Factory, parentName, name string, out io.Writer) *cobra.Command

func NewCmdPruneDeployments

func NewCmdPruneDeployments(f *clientcmd.Factory, parentName, name string, out io.Writer) *cobra.Command

func NewCmdPruneImages added in v0.5.3

func NewCmdPruneImages(f *clientcmd.Factory, parentName, name string, out io.Writer) *cobra.Command

NewCmdPruneImages implements the OpenShift cli prune images command

func NewCommandPrune

func NewCommandPrune(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command

Types

type PruneImagesOptions added in v1.0.7

type PruneImagesOptions struct {
	Pruner prune.ImageRegistryPruner
	Client client.Interface
	Out    io.Writer

	Confirm          bool
	KeepYoungerThan  time.Duration
	KeepTagRevisions int

	CABundle            string
	RegistryUrlOverride string
}

PruneImagesOptions holds all the required options for prune images

func (*PruneImagesOptions) Complete added in v1.0.7

func (o *PruneImagesOptions) Complete(f *clientcmd.Factory, args []string, out io.Writer) error

Complete the options for prune images

func (*PruneImagesOptions) RunPruneImages added in v1.0.7

func (o *PruneImagesOptions) RunPruneImages() error

RunPruneImages runs the prune images cli command

func (*PruneImagesOptions) Validate added in v1.0.7

func (o *PruneImagesOptions) Validate() error

Validate the options for prune images

Jump to

Keyboard shortcuts

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