timeouts

package
v0.1.0-alpha.12 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package timeouts provides shared timeout constants used across controller sub-packages.

Index

Constants

View Source
const (
	// KubernetesAPITimeout is the standard timeout for Kubernetes API calls
	// such as status updates and resource cleanup operations.
	KubernetesAPITimeout = 10 * time.Second

	// KubernetesAPILongTimeout is the timeout for longer Kubernetes API operations
	// such as publishing configurations or reconciling pod status.
	KubernetesAPILongTimeout = 30 * time.Second

	// HTTPServerTimeout is the read/write timeout for HTTP servers
	// such as the webhook admission server.
	HTTPServerTimeout = 10 * time.Second

	// InformerResyncPeriod is the resync interval for Kubernetes shared informers.
	InformerResyncPeriod = 30 * time.Second

	// TickerPollInterval is the interval for periodic polling operations
	// such as metrics collection and deployment timeout checks.
	TickerPollInterval = 5 * time.Second

	// GracefulStopDelay is the brief pause after stopping components
	// to allow in-flight operations to complete.
	GracefulStopDelay = 100 * time.Millisecond
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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