namespace

package
v2.0.12-rc4+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExportPrinters = map[string]printers.ResourcePrinter{
	"json": &printers.JSONPrinter{},
	"yaml": &printers.YAMLPrinter{},
}
View Source
var ExportResourcePrefixMappings = map[string]string{
	"pods":                   "api/v1",
	"configmaps":             "api/v1",
	"services":               "api/v1",
	"replicationcontrollers": "api/v1",
	"deployments":            "apis/extensions/v1beta1",
	"daemonsets":             "apis/extensions/v1beta1",
	"replicasets":            "apis/extensions/v1beta1",
	"statefulsets":           "apis/apps/v1beta1",
	"jobs":                   "apis/batch/v1",
	"cronjobs":               "apis/batch/v1beta1",
}

Functions

func NewLinkHandler

func NewLinkHandler(next types.RequestHandler, manager *clustermanager.Manager) types.RequestHandler

func ProjectMap

func ProjectMap(apiContext *types.APIContext, refresh bool) (map[string]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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