Documentation ¶
Index ¶
- type ActionHandler
- func (a ActionHandler) BackupEtcdHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
- 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
- func (a ActionHandler) RestoreFromEtcdBackupHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
- func (a ActionHandler) RotateCertificates(actionName string, action *types.Action, apiContext *types.APIContext) error
- type Formatter
- type ShellLinkHandler
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionHandler ¶
type ActionHandler struct { NodepoolGetter v3.NodePoolsGetter ClusterClient v3.ClusterInterface NodeTemplateGetter v3.NodeTemplatesGetter UserMgr user.Manager ClusterManager *clustermanager.Manager BackupClient v3.EtcdBackupInterface }
func (ActionHandler) BackupEtcdHandler ¶
func (a ActionHandler) BackupEtcdHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
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
func (ActionHandler) RestoreFromEtcdBackupHandler ¶
func (a ActionHandler) RestoreFromEtcdBackupHandler(actionName string, action *types.Action, apiContext *types.APIContext) error
func (ActionHandler) RotateCertificates ¶
func (a ActionHandler) RotateCertificates(actionName string, action *types.Action, apiContext *types.APIContext) error
type Formatter ¶
type Formatter struct {
KontainerDriverLister v3.KontainerDriverLister
}
func (*Formatter) Formatter ¶
func (f *Formatter) Formatter(request *types.APIContext, resource *types.RawResource)
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.