# Functions
Date returns a time.Time object with the given year, month, and day.
DependsOn tells if a depends on b.
GetContainerFromPod gets a pointer to the container with the same name.
GetCustomResourceDefinition is the helper function to get the CRD for the given group kind.
GetNamespacedName returns the NamespacedName of the given object.
GetPortFromContainer gets the specified port from the container.
GetVersionFromImage return the version from spec.image.
IsAdvancedStatefulSetRolledOut returns true when the OpenKruise StatefulSet is rolled out.
IsCloneSetRolledOut returns true when the OpenKruise CloneSet is rolled out.
IsDeleted returns true when object's deletion timestamp isn't null.
IsDeploymentRolledOut returns true when the Deployment is rolled out.
IsNightlyVersionAfter checks if the version is a nightly version and is after the given date.
IsPodRunning returns true when Pod's phase is Running.
IsRisingWaveNightlyVersionAfter checks if the version is a nightly version and is after the given date.
IsStatefulSetRolledOut returns true when the StatefulSet is rolled out.
IsVersionServingInCustomResourceDefinition returns true when the CRD serves the given version.
MapObjectsToNames converts a list of k8s objects to their names.
TopologicalSort runs a topological sort on given env vars.
# Variables
CreateEventFilter is the predicate for CreateEvent only.
DeleteEventFilter is the predicate for DeleteEvent only.
GenericEventFilter is the predicate for GenericEvent only.
UpdateEventFilter is the predicate for UpdateEvent only.
# Type aliases
VolumeDeviceSlice is a wrapper of []corev1.VolumeDevice that implements the sort.Interface.
VolumeMountSlice is a wrapper of []corev1.VolumeMount that implements the sort.Interface.
VolumeSlice is a wrapper of []corev1.Volume that implements the sort.Interface.
WebhookType defines an immutable type for a webhook.