package
1.9.2
Repository: https://github.com/tkestack/tke.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
BuildHandlerChain builds a handler chain with a base handler and CompletedConfig.
CatchPanic handles any panics that might occur during the handlePhase.
DeleteReplicaSetApp delete the replicaset and pod additionally for deployment app with extension group.
GetAvailableResources needs to be exposed for the construction of a proper ControllerContext.
Int32Ptr translate int32 to pointer.
No description provided by the author
NewBaseHandler takes in CompletedConfig and returns a handler.
ResyncPeriod returns a function which generates a duration each time it is invoked; this is so that multiple controllers don't get into lock-step and all hammer the apiserver with list requests simultaneously.
WaitForAPIServer waits for the API Server's /healthz endpoint to report "ok" with timeout.
WaitForCacheSync is a wrapper around cache.WaitForCacheSync that generates log messages indicating that the controller identified by controllerName is waiting for syncs, followed by either a successful or failed sync.

# Variables

KeyFunc checks for DeletedFinalStateUnknown objects before calling MetaNamespaceKeyFunc.

# Structs

SimpleControllerClientBuilder returns a fixed client with different user agents.

# Interfaces

ClientBuilder allows you to get clients and configs for controllers.