app

package
v0.4.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package app contains kubectl plugin logic.

Package app contains kubectl root command plugin logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRoot

func NewCmdRoot(streams genericclioptions.IOStreams) *cobra.Command

NewCmdRoot provides a cobra command wrapping WatermarkPodAutoscalerOptions.

Types

type WatermarkPodAutoscalerOptions

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

WatermarkPodAutoscalerOptions provides information required to manage WatermarkPodAutoscaler.

func NewWatermarkPodAutoscalerOptions

func NewWatermarkPodAutoscalerOptions(streams genericclioptions.IOStreams) *WatermarkPodAutoscalerOptions

NewWatermarkPodAutoscalerOptions provides an instance of WatermarkPodAutoscalerOptions with default values.

func (*WatermarkPodAutoscalerOptions) Complete

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

Complete sets all information required for processing the command.

func (*WatermarkPodAutoscalerOptions) Run

Run use to run the command.

func (*WatermarkPodAutoscalerOptions) Validate

func (o *WatermarkPodAutoscalerOptions) Validate() error

Validate ensures that all required arguments and flag values are provided.

Directories

Path Synopsis
Package common contains common plugin function helpers.
Package common contains common plugin function helpers.
Package dryrun contains dry-run plugin functions.
Package dryrun contains dry-run plugin functions.

Jump to

Keyboard shortcuts

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