Documentation ¶
Overview ¶
Package labels provides utils related to object labels.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractResourceIndexFromClusterResourceSnapshot ¶
func ExtractResourceIndexFromClusterResourceSnapshot(snapshot *fleetv1beta1.ClusterResourceSnapshot) (int, error)
ExtractResourceIndexFromClusterResourceSnapshot extracts the resource index from the label of a clusterResourceSnapshot.
func ExtractResourceSnapshotIndexFromWork ¶
func ExtractResourceSnapshotIndexFromWork(work *fleetv1beta1.Work) (int, error)
ExtractResourceSnapshotIndexFromWork extracts the resource snapshot index from the work.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.