condition

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const CheckDataStoreSyncedInterval = time.Second * 10

Variables

This section is empty.

Functions

This section is empty.

Types

type Conditions

type Conditions interface {
	// IsWindowsIPAMEnabled to process events only when Windows IPAM is enabled
	// by the user
	IsWindowsIPAMEnabled() bool

	// IsOldVPCControllerDeploymentPresent returns true if the old controller deployment
	// is still present on the cluster
	IsOldVPCControllerDeploymentPresent() bool

	// GetPodDataStoreSyncStatus is used to get Pod Datastore sync status
	GetPodDataStoreSyncStatus() bool

	// SetPodDataStoreSyncStatus is used to set Pod Datastore sync status
	SetPodDataStoreSyncStatus(synced bool)
}

func NewControllerConditions

func NewControllerConditions(log logr.Logger, k8sApi k8s.K8sWrapper) Conditions

Jump to

Keyboard shortcuts

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