base

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

View Source
const (
	Error = "Error"
	Ready = "Ready"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	client.Client
	Clientset            *kubernetes.Clientset
	RestConfig           *rest.Config
	Scheme               *runtime.Scheme
	Recorder             record.EventRecorder
	EventHandlers        []event.EventHandler
	DisableServiceChecks bool
	EnableKeda           bool
	OperatorMetricsURL   string
}

func (*Base) AllDeploymentsAvailable

func (b *Base) AllDeploymentsAvailable(ctx context.Context, store *v1.Store) bool

AllDeploymentsAvailable also accepts deployments that are scaling. Replicas are moved by autoscalers and by manual scaling, which must not send a running store back to initializing.

func (*Base) AllDeploymentsRunning

func (b *Base) AllDeploymentsRunning(ctx context.Context, store *v1.Store) bool

func (*Base) EnsureAppSecrets

func (b *Base) EnsureAppSecrets(ctx context.Context, store *v1.Store) error

func (*Base) Eventf

func (b *Base) Eventf(store *v1.Store, reason string, format string, args ...any)

func (*Base) ReconcileDeployment

func (b *Base) ReconcileDeployment(ctx context.Context, store *v1.Store) (err error)

func (*Base) ReconcileHTTPRoute

func (b *Base) ReconcileHTTPRoute(ctx context.Context, store *v1.Store) (err error)

func (*Base) ReconcileHorizontalPodAutoscaler

func (b *Base) ReconcileHorizontalPodAutoscaler(ctx context.Context, store *v1.Store) (err error)

func (*Base) ReconcileIngress

func (b *Base) ReconcileIngress(ctx context.Context, store *v1.Store) (err error)

func (*Base) ReconcileMigrationJob

func (b *Base) ReconcileMigrationJob(ctx context.Context, store *v1.Store) (err error)

func (*Base) ReconcilePDB

func (b *Base) ReconcilePDB(ctx context.Context, store *v1.Store) (err error)

func (*Base) ReconcileScaledObjects

func (b *Base) ReconcileScaledObjects(ctx context.Context, store *v1.Store) (err error)

func (*Base) ReconcileScheduledTask

func (b *Base) ReconcileScheduledTask(ctx context.Context, store *v1.Store) (err error)

func (*Base) ReconcileServices

func (b *Base) ReconcileServices(ctx context.Context, store *v1.Store) (err error)

func (*Base) ReconcileSetupJob

func (b *Base) ReconcileSetupJob(ctx context.Context, store *v1.Store) (err error)

Jump to

Keyboard shortcuts

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