labels

package
v0.8.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL