Documentation ¶ Index ¶ func Execute() func NewCmd() *cobra.Command type Options func NewPodUsageOptions() *Options func (o *Options) Run() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Execute ¶ func Execute() Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd. func NewCmd ¶ func NewCmd() *cobra.Command Types ¶ type Options ¶ type Options struct { // contains filtered or unexported fields } Options of command func NewPodUsageOptions ¶ func NewPodUsageOptions() *Options func (*Options) Run ¶ func (o *Options) Run() error Source Files ¶ View all Source files podusage.go root.go Click to show internal directories. Click to hide internal directories.