manager

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceHandler

type ResourceHandler func(ctx context.Context, store *v1.Store) error

type StateHandler

type StateHandler func(ctx context.Context, store *v1.Store) v1.StatefulAppState

type StateManager

type StateManager interface {
	StateHandler(ctx context.Context, store *v1.Store) v1.StatefulAppState
	ResourceHandler(ctx context.Context, store *v1.Store) error
}

type StoreStateManager

type StoreStateManager struct {
	*base.Base
	// contains filtered or unexported fields
}

func NewStoreStateManager

func NewStoreStateManager(b *base.Base) *StoreStateManager

func (*StoreStateManager) ReconcileResources

func (m *StoreStateManager) ReconcileResources(ctx context.Context, store *v1.Store) error

func (*StoreStateManager) ReconcileState

func (m *StoreStateManager) ReconcileState(ctx context.Context, store *v1.Store)

func (*StoreStateManager) ReconcileStatus

func (m *StoreStateManager) ReconcileStatus(
	ctx context.Context,
	store *v1.Store,
	reconcileError error,
) error

func (*StoreStateManager) UpdateQueueState

func (m *StoreStateManager) UpdateQueueState(ctx context.Context, store *v1.Store)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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