utils

package
v0.60.1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 21 Imported by: 6

Documentation

Index

Constants

View Source
const (
	ReadinessGateType = "kubedb.com/conversion"
)

Variables

This section is empty.

Functions

func FindDomain added in v0.58.0

func FindDomain() string

func UpdateReadinessGateCondition

func UpdateReadinessGateCondition(ctx context.Context, kc client.Client) error

func WaitForShardIdUpdate

func WaitForShardIdUpdate(kc client.Client, shardConfigName string)

Types

type Predicator

type Predicator interface {
	GetOwnerObject(obj client.Object) (*unstructured.Unstructured, error)
	GetPredicateFuncsForDatabase() predicate.Funcs
	GetPredicateFuncsForOwnerObjects() predicate.Funcs
}

func NewPredicator

func NewPredicator(kc client.Client, gvk schema.GroupVersionKind, shardConfig string, healthChecker *health.HealthChecker) Predicator

Directories

Path Synopsis
grpc
http

Jump to

Keyboard shortcuts

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