condition

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: Apache-2.0 Imports: 8 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 {
	// WaitTillPodDataStoreSynced waits till the Pod Data Store has synced
	// using the custom controller
	WaitTillPodDataStoreSynced()
	// IsWindowsIPAMEnabled to process events only when Windows IPAM is enabled
	// by the user
	IsWindowsIPAMEnabled() bool
	// IsPodSGPEnabled to process events only when Security Group for Pods feature
	// is enabled by the user
	IsPodSGPEnabled() bool
	// IsOldVPCControllerDeploymentPresent returns true if the old controller deployment
	// is still present on the cluster
	IsOldVPCControllerDeploymentPresent() bool
}

func NewControllerConditions

func NewControllerConditions(dataStoreSyncFlag *bool, 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