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{})
Click to show internal directories.
Click to hide internal directories.