remediator

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2020 License: MIT Imports: 11 Imported by: 0

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 Base added in v1.2.0

type Base struct {
	BaseIntf
	// contains filtered or unexported fields
}

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 (*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

type PodFilter

type PodFilter struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL