runtime

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeController string = "controller"
	ModeAgent      string = "agent"
)

Variables

View Source
var (
	// Mode tells which mode antctl is running against.
	Mode  string
	InPod bool
)

Functions

func ResolveKubeconfig

func ResolveKubeconfig(path string) (*rest.Config, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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