repair

package
v0.0.0-...-bf9fd61 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReasonDeleteBrokenPod = "DeleteBrokenPod"
	ReasonLabelBrokenPod  = "LabelBrokenPod"
)

Variables

This section is empty.

Functions

func StartRepair

func StartRepair(ctx context.Context, cfg config.RepairConfig)

Types

type Controller

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

func NewRepairController

func NewRepairController(client kube.Client, cfg config.RepairConfig) (*Controller, error)

func (*Controller) Reconcile

func (c *Controller) Reconcile(key types.NamespacedName) error

func (*Controller) ReconcilePod

func (c *Controller) ReconcilePod(pod *corev1.Pod) (err error)

func (*Controller) Run

func (c *Controller) Run(stop <-chan struct{})

Jump to

Keyboard shortcuts

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