app

package
v0.15.7 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContainerFlag = &cli.StringFlag{
	Name:  "container",
	Usage: "container",
}
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 NamespacesFlag = &cli.StringSliceFlag{
	Name:  "namespace",
	Usage: "namespaces 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 Container added in v0.15.7

func Container(c *cli.Context) string

func ContainerName added in v0.15.7

func ContainerName(c *cli.Context) string

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 MustNamespaces added in v0.15.5

func MustNamespaces(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 Namespaces added in v0.15.5

func Namespaces(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