cmd

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdViewWebhook

func NewCmdViewWebhook(streams genericclioptions.IOStreams, version, commit, date string) *cobra.Command

NewCmdViewWebhook provides a cobra command wrapping NamespaceOptions

Types

type ViewWebhookOptions

type ViewWebhookOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

func NewViewWebhookOptions

func NewViewWebhookOptions(streams genericclioptions.IOStreams) *ViewWebhookOptions

NewViewWebhookOptions provides an instance of ViewWebhookOptions with default values

func (*ViewWebhookOptions) Complete

func (o *ViewWebhookOptions) Complete(cmd *cobra.Command, args []string) error

Complete sets all information required for viewing webhook

func (*ViewWebhookOptions) Run

func (o *ViewWebhookOptions) Run() error

Run lists all available webhooks on a user's KUBECONFIG or updates the current context based on a provided namespace.

func (*ViewWebhookOptions) Validate

func (o *ViewWebhookOptions) Validate() error

Validate ensures that all required args and flags are provided

Jump to

Keyboard shortcuts

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