warehouses

package
v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupReconcilerWithManager

func SetupReconcilerWithManager(
	ctx context.Context,
	mgr manager.Manager,
	credentialsDB credentials.Database,
	cfg ReconcilerConfig,
) error

SetupReconcilerWithManager initializes a reconciler for Warehouse resources and registers it with the provided Manager.

Types

type ReconcilerConfig

type ReconcilerConfig struct {
	IsDefaultController       bool          `envconfig:"IS_DEFAULT_CONTROLLER"`
	ShardName                 string        `envconfig:"SHARD_NAME"`
	MaxConcurrentReconciles   int           `envconfig:"MAX_CONCURRENT_WAREHOUSE_RECONCILES" default:"4"`
	MinReconciliationInterval time.Duration `envconfig:"MIN_WAREHOUSE_RECONCILIATION_INTERVAL"`
}

func ReconcilerConfigFromEnv

func ReconcilerConfigFromEnv() ReconcilerConfig

Jump to

Keyboard shortcuts

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