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
Click to show internal directories.
Click to hide internal directories.