Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExportPrinters = map[string]printers.ResourcePrinter{
"json": &printers2.JSONPrinter{},
"yaml": &printers2.YAMLPrinter{},
}
Functions ¶
func NewFormatter ¶
func NewFormatter(next types.Formatter) types.Formatter
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 ¶
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.