//
pkg.gl
Category
github.com/openkruise/kruise
pkg
util
workloadspread
package
1.8.0
Repository:
https://github.com/openkruise/kruise.git
Documentation:
pkg.go.dev
Versions
2
Dependencies
35
Dependents
8
Files
1k SLOC
#
Functions
GenerateEmptyWorkloadObject
GetPodVersion
GetReplicasFromCustomWorkload
GetReplicasFromObject
GetReplicasFromWorkloadWithTargetFilter
GetWorkloadVersion
IsPodSelected
NestedField
NewWorkloadSpreadHandler
VerifyGroupKind
#
Constants
CreateOperation
DeleteOperation
EvictionOperation
MatchedWorkloadSpreadSubsetAnnotations
MatchedWorkloadSpreadSubsetAnnotations matched pod workloadSpread.
PodDeletionCostAnnotation
PodDeletionCostNegative
PodDeletionCostPositive
VersionIgnored
VersionIgnored means all Pods should be regard as a universal version, i.e., ignore the Pod/Workload version.
#
Variables
EnabledWorkloadSetForVersionedStatus
GenerateNotFoundError
#
Structs
Handler
InjectWorkloadSpread
#
Type aliases
Operation