Documentation ¶
Index ¶
- Constants
- func NewCmdPruneBuilds(f *clientcmd.Factory, parentName, name string, out io.Writer) *cobra.Command
- func NewCmdPruneDeployments(f *clientcmd.Factory, parentName, name string, out io.Writer) *cobra.Command
- func NewCmdPruneImages(f *clientcmd.Factory, parentName, name string, out io.Writer) *cobra.Command
- func NewCommandPrune(name, fullName string, f *clientcmd.Factory, out io.Writer) *cobra.Command
- type PruneImagesOptions
Constants ¶
View Source
const PruneBuildsRecommendedName = "builds"
View Source
const PruneDeploymentsRecommendedName = "deployments"
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 NewCmdPruneDeployments ¶
func NewCmdPruneImages ¶
NewCmdPruneImages implements the OpenShift cli prune images 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) 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
Click to show internal directories.
Click to hide internal directories.