Versions in this module Expand all Collapse all v0 v0.8.7 Jan 10, 2023 v0.8.6 Jul 12, 2022 Changes in this version + const ClusterCheckPlugin + const ClusterNotReady + const ClusterReady + const ColonSymbol + const DelSymbol + const EqualSymbol + const EtcdPlugin + const HostNamePlugin + const LabelPlugin + const PhaseOriginally + const PhasePostClean + const PhasePostInstall + const PhasePostJoin + const PhasePreClean + const PhasePreGuest + const PhasePreInit + const PhasePreInstall + const PhasePreJoin + const Plugin + const PluginType + const ShellPlugin + const SplitSymbol + const TaintPlugin + var TaintEffectValues = []v1.TaintEffect + func GetIpsByOnField(on string, context Context, phase Phase) (ipList []net.IP, err error) + func NotInEffect(effect v1.TaintEffect, effects []v1.TaintEffect) bool + func Register(name string, factory Interface) + type ClusterChecker struct + func (c *ClusterChecker) Run(context Context, phase Phase) error + type Context struct + Cluster *v2.Cluster + Host []net.IP + Plugin *v1.Plugin + type EtcdBackupPlugin struct + func (e EtcdBackupPlugin) Run(context Context, phase Phase) error + type HostnamePlugin struct + func (h HostnamePlugin) Run(context Context, phase Phase) error + type Interface interface + Run func(context Context, phase Phase) error + func NewClusterCheckerPlugin() Interface + func NewEtcdBackupPlugin() Interface + func NewHostnamePlugin() Interface + func NewLabelsPlugin() Interface + func NewShellPlugin() Interface + func NewTaintPlugin() Interface + type InvalidPluginTypeError struct + Name string + func (err InvalidPluginTypeError) Error() string + type LabelsNodes struct + func (l LabelsNodes) Run(context Context, phase Phase) error + type Phase string + type Plugins interface + Load func() error + Run func(host []net.IP, phase Phase) error + func NewPlugins(cluster *v2.Cluster, plugins []v1.Plugin) Plugins + type PluginsProcessor struct + Cluster *v2.Cluster + Plugins []v1.Plugin + func (c *PluginsProcessor) Load() error + func (c *PluginsProcessor) Run(host []net.IP, phase Phase) error + type Sheller struct + func (s Sheller) Run(context Context, phase Phase) (err error) + type Taint struct + IPList []string + func (l *Taint) Run(context Context, phase Phase) (err error) + func (l *Taint) UpdateTaints(taints []v1.Taint, ip string) []v1.Taint + type TaintList map[string]*taintList