Documentation ¶
Index ¶
- Constants
- func CheckDeletion(client dynamic.Interface, res *resultType, quit chan struct{}, ...)
- func CheckObjectsDeletion(client dynamic.Interface, objectsToCheck toCheckDeleted) (bool, error)
- func CheckUnjoin(client dynamic.Interface, res *resultType, quit chan struct{}, ...)
- func DisableBroadcasting(client dynamic.Interface) error
- func UnjoinClusters(client dynamic.Interface) error
- func WaitForEffectiveDeletion(client dynamic.Interface, toCheck toCheckDeleted, result chan *resultType, ...)
- func WaitForResources(client dynamic.Interface) error
Constants ¶
View Source
const ConditionsToCheck = 1
View Source
const TickerInterval = 5 * time.Second
View Source
const TickerTimeout = 1 * time.Minute
Variables ¶
This section is empty.
Functions ¶
func CheckDeletion ¶
func CheckObjectsDeletion ¶
CheckObjectsDeletion verifies that objects of a certain type have been deleted or are not present on the server. It returns true when this last condition is verified.
func CheckUnjoin ¶
func DisableBroadcasting ¶
DisableBroadcasting disables broadcasting of advertisements from the ClusterConfig
func UnjoinClusters ¶
UnjoinClusters disables outgoing peerings with available clusters
func WaitForEffectiveDeletion ¶
func WaitForEffectiveDeletion(client dynamic.Interface, toCheck toCheckDeleted, result chan *resultType, wg *sync.WaitGroup, funcCheck func(client dynamic.Interface, res *resultType, quit chan struct{}, toCheck toCheckDeleted))
WaitForEffectiveDeletion waits until toCheck resources are deleted.
func WaitForResources ¶
WaitForResources waits until existing peerings are disabled and associated resources are removed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.