Documentation
¶
Index ¶
- func Formatter(request *types.APIContext, resource *types.RawResource)
- type ActionHandler
- func (a ActionHandler) ClusterActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
- func (a ActionHandler) ExportYamlHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
- func (a ActionHandler) GenerateKubeconfigActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
- func (a ActionHandler) ImportYamlHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
- type ShellLinkHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ActionHandler ¶
type ActionHandler struct {
NodepoolGetter v3.NodePoolsGetter
ClusterClient v3.ClusterInterface
NodeTemplateGetter v3.NodeTemplatesGetter
UserMgr user.Manager
ClusterManager *clustermanager.Manager
}
func (ActionHandler) ClusterActionHandler ¶
func (a ActionHandler) ClusterActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
func (ActionHandler) ExportYamlHandler ¶
func (a ActionHandler) ExportYamlHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
func (ActionHandler) GenerateKubeconfigActionHandler ¶
func (a ActionHandler) GenerateKubeconfigActionHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
func (ActionHandler) ImportYamlHandler ¶
func (a ActionHandler) ImportYamlHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
type ShellLinkHandler ¶
type ShellLinkHandler struct {
Proxy http.Handler
ClusterManager *clustermanager.Manager
}
func (*ShellLinkHandler) LinkHandler ¶
func (s *ShellLinkHandler) LinkHandler(apiContext *types.APIContext, next types.RequestHandler) error
Click to show internal directories.
Click to hide internal directories.