app

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KubeconfigFlag = &cli.StringFlag{
	Name:  "kubeconfig",
	Usage: "path to the kubeconfig file",
}
View Source
var NameFlag = &cli.StringFlag{
	Name:  "name",
	Usage: "name",
}
View Source
var NamespaceFlag = &cli.StringFlag{
	Name:  "namespace",
	Usage: "namespace scope for this request",
}
View Source
var PortFlag = &cli.IntFlag{
	Name:  "port",
	Usage: "port",
}
View Source
var PortsFlag = &cli.IntSliceFlag{
	Name:  "port",
	Usage: "port",
}
View Source
var ScopeFlag = &cli.StringFlag{
	Name:  "scope",
	Usage: "scope",
}

Functions

func Client

func Client(c *cli.Context) (kubernetes.Client, error)

func MustClient

func MustClient(c *cli.Context) kubernetes.Client

func MustName

func MustName(c *cli.Context) string

func MustNamespace

func MustNamespace(c *cli.Context) string

func MustPort

func MustPort(c *cli.Context) int

func MustPortOrRandom

func MustPortOrRandom(c *cli.Context, preference int) int

func MustPorts

func MustPorts(c *cli.Context) []int

func MustRandomPort

func MustRandomPort(c *cli.Context, preference int) int

func MustScope

func MustScope(c *cli.Context) string

func Name

func Name(c *cli.Context) string

func Namespace

func Namespace(c *cli.Context) string

func Port

func Port(c *cli.Context) int

func PortOrRandom

func PortOrRandom(c *cli.Context, preference int) (int, error)

func Ports

func Ports(c *cli.Context) []int

func RandomPort

func RandomPort(c *cli.Context, preference int) (int, error)

func Scope

func Scope(c *cli.Context) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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