Documentation
¶
Index ¶
Constants ¶
View Source
const ( Pre_Install RunnerType = "pre_install" Post_Install RunnerType = "post_install" Unknown RunnerType = "unknown" WalmPluginConfigKey string = "Walm-Plugin-Key" )
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(name string, runner *WalmPluginRunner)
Types ¶
type RunnerType ¶
type RunnerType string
type WalmPlugin ¶
type WalmPluginManager ¶
type WalmPluginManager struct {
// contains filtered or unexported fields
}
func NewWalmPluginManager ¶
func NewWalmPluginManager(kubeClient environment.KubeClient, r *release.Release, log func(string, ...interface{})) (manager *WalmPluginManager)
func (*WalmPluginManager) ExecPlugins ¶
func (manager *WalmPluginManager) ExecPlugins(runnerType RunnerType) error
type WalmPluginManagerContext ¶
type WalmPluginManagerContext struct {
KubeClient environment.KubeClient
R *release.Release
Log func(string, ...interface{})
Resources []runtime.Object
}
type WalmPluginRunner ¶
type WalmPluginRunner struct {
Run func(context *WalmPluginManagerContext, args string) error
Type RunnerType
}
Click to show internal directories.
Click to hide internal directories.