1 package interfaces 2 3 import ( 4 "context" 5 6 "edge-infra.dev/pkg/edge/constants/api/fleet" 7 ) 8 9 type ClusterLabelService interface { 10 // FetchFleetType returns the fleet of the cluster 11 // Using the label_key column of the edge-fleet label 12 FetchFleetType(ctx context.Context, clusterEdgeID string) (*fleet.Type, error) 13 } 14