cnstore

package
v0.0.0-...-124d07b Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LockRestartSet = "matrixorigin.io/lock-restart"
)

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 *mocli.MORPCClientManager, 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