# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
CalculatePartitionReplicas returns absolute value of partition for workload.
CheckDuplicate finds if there are duplicated items in a list.
No description provided by the author
DiffPods returns pods in pods1 but not in pods2.
DumpJSON returns the JSON encoding.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetPodNames returns names of the given Pods array.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IntAbs returns the abs number of the given int number.
IsContainerImageEqual indicates whether container images are equal 1.
IsImageDigest indicates whether image is digest format, for example: docker.io/busybox@sha256:a9286defaba7b3a519d585ba0e37d0b2cbee74ebfe590960b0b1d6a5e97d1e1d.
No description provided by the author
IsJSONObjectEqual checks if two objects are equal after encoding json.
No description provided by the author
No description provided by the author
IsReferenceEqual checks APIVersion, Kind, Name.
IsRestartableInitContainer returns true if the initContainer has ContainerRestartPolicyAlways.
No description provided by the author
IsSelectorLooseOverlap indicates whether selectors overlap (indicates that selector1, selector2 have same key, and there is an certain intersection) 1.
IsSelectorOverlapping indicates whether selector overlaps, the criteria: if exist one same key has different value and not overlap, then it is judged non-overlap, for examples: - a=b and a=c - a in [b,c] and a not in [b,c...] - a not in [b] and a not exist - a=b,c=d,e=f and a=x,c=d,e=f
then others is overlap: - a=b and c=d.
No description provided by the author
No description provided by the author
MergePods merges two pods arrays.
No description provided by the author
No description provided by the author
No description provided by the author
parse container images, 1.
ParsePercentageAsFloat64 parses a string as a percentage and returns the value as a float64.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SlowStartBatch tries to call the provided function a total of 'count' times, starting slow to check for errors, then speeding up if calls succeed.
No description provided by the author
ValidatedLabelSelectorAsSelector is faster than native `metav1.LabelSelectorAsSelector` for the newRequirement function performs no validation.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
GlobalCache using GVK/namespace/name as key.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author