Help us shape the future of Go! Take the 2026 Go Developer Survey

warehouses

package
v1.9.16 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: Apache-2.0 Imports: 25 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,
	subscriberRegistry subscription.SubscriberRegistry,
	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