Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CONFIG_FILE = "config/crash_loop_back_off_rescheduler.json"
TODO: this cannot be global since we have multiple remediator in this package ... folder can be set though but should still not be here
Functions ¶
This section is empty.
Types ¶
type BaseIntf ¶ added in v1.2.0
type BaseIntf interface { Setup(*zap.Logger, k8s.ClientInterface) error Run(context.Context, *sync.WaitGroup) }
will later be used to make arrays or remediators / testing
type CrashLoopBackOffRescheduler ¶
type CrashLoopBackOffRescheduler struct { Base // contains filtered or unexported fields }
func (*CrashLoopBackOffRescheduler) Run ¶
func (p *CrashLoopBackOffRescheduler) Run(ctx context.Context, wg *sync.WaitGroup)
func (*CrashLoopBackOffRescheduler) Setup ¶ added in v1.2.0
func (p *CrashLoopBackOffRescheduler) Setup(logger *zap.Logger, client k8s.ClientInterface) error
type OldPodDeleter ¶ added in v1.2.0
type OldPodDeleter struct {
Base
}
func (*OldPodDeleter) Run ¶ added in v1.2.0
func (p *OldPodDeleter) Run(ctx context.Context, wg *sync.WaitGroup)
func (*OldPodDeleter) Setup ¶ added in v1.2.0
func (p *OldPodDeleter) Setup(logger *zap.Logger, client k8s.ClientInterface) error
Click to show internal directories.
Click to hide internal directories.