app

package
v0.0.0-...-4b7d792 Latest Latest
Warning

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

Go to latest
Published: May 10, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

Types

type App

type App struct {
	All                bool   `usage:"print all objects with finalizers" short:"a"`
	Everything         bool   `usage:"print all objects regardless of finalizers" short:"f"`
	Context            string `usage:"Context to use" env:"CONTEXT"`
	Kubeconfig         string `usage:"Location of kubeconfig" env:"KUBECONFIG"`
	Namespace          string `usage:"namespace" short:"n" env:"NAMESPACE"`
	Output             string `usage:"yaml/json" short:"o"`
	ExcludeSinceWindow string `usage:"exclude objects since [duration]" short:"e" default:"0" env:"EXCLUDE_SINCE_WINDOW"`
	Quiet              bool   `usage:"only print IDs" short:"q"`
}

func (*App) Run

func (a *App) Run(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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