Documentation ¶
Overview ¶
Package sort provides utilities for sorting Kubernetes resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LessClientObject ¶
LessClientObject compares two client.Objects and returns true if: - the first object was created first, - the objects were created at the same time, or - the first object's name appears first in alphabetical order.
func LessObjectMeta ¶
func LessObjectMeta(meta1 *metav1.ObjectMeta, meta2 *metav1.ObjectMeta) bool
LessObjectMeta compares two ObjectMetas according to the Gateway API conflict resolution guidelines. See https://gateway-api.sigs.k8s.io/concepts/guidelines/?h=conflict#conflicts
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.