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 ¶
Types ¶
type ActionWrapper ¶
type ActionWrapper struct {
ClusterManager *clustermanager.Manager
}
func (ActionWrapper) ActionHandler ¶
func (w ActionWrapper) ActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
Click to show internal directories.
Click to hide internal directories.