namespace

package
v2.2.8-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳