29 lines
1.5 KiB
Go
29 lines
1.5 KiB
Go
package v1alpha2
|
|
|
|
const (
|
|
// ResourceBindingReferenceKey is the key of ResourceBinding object.
|
|
// It is usually a unique hash value of ResourceBinding object's namespace and name, intended to be added to the Work object.
|
|
// It will be used to retrieve all Works objects that derived from a specific ResourceBinding object.
|
|
ResourceBindingReferenceKey = "resourcebinding.karmada.io/key"
|
|
|
|
// ClusterResourceBindingReferenceKey is the key of ClusterResourceBinding object.
|
|
// It is usually a unique hash value of ClusterResourceBinding object's namespace and name, intended to be added to the Work object.
|
|
// It will be used to retrieve all Works objects that derived by a specific ClusterResourceBinding object.
|
|
ClusterResourceBindingReferenceKey = "clusterresourcebinding.karmada.io/key"
|
|
|
|
// ResourceBindingNamespaceLabel is added to objects to specify associated ResourceBinding's namespace.
|
|
ResourceBindingNamespaceLabel = "resourcebinding.karmada.io/namespace"
|
|
|
|
// ResourceBindingNameLabel is added to objects to specify associated ResourceBinding's name.
|
|
ResourceBindingNameLabel = "resourcebinding.karmada.io/name"
|
|
|
|
// ClusterResourceBindingLabel is added to objects to specify associated ClusterResourceBinding.
|
|
ClusterResourceBindingLabel = "clusterresourcebinding.karmada.io/name"
|
|
|
|
// WorkNamespaceLabel is added to objects to specify associated Work's namespace.
|
|
WorkNamespaceLabel = "work.karmada.io/namespace"
|
|
|
|
// WorkNameLabel is added to objects to specify associated Work's name.
|
|
WorkNameLabel = "work.karmada.io/name"
|
|
)
|