cnstore

package
v0.0.0-...-42b859f Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(mgr *hacli.HAKeeperClientManager, qc *querycli.Client) *Controller

func (*Controller) Finalize

func (c *Controller) Finalize(ctx *recon.Context[*corev1.Pod]) (bool, error)

func (*Controller) Observe

func (c *Controller) Observe(ctx *recon.Context[*corev1.Pod]) (recon.Action[*corev1.Pod], error)

func (*Controller) OnDeleted

func (c *Controller) OnDeleted(ctx *recon.Context[*corev1.Pod]) error

OnDeleted delete CNStore and cleanup finalizer on Pod deletion

func (*Controller) Reconcile

func (c *Controller) Reconcile(mgr manager.Manager) error

Jump to

Keyboard shortcuts

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