github.com/codeready-toolchain/api@v0.0.0-20240507023248-73662d6db2c5/api/v1alpha1/labels.go (about) 1 package v1alpha1 2 3 const ( 4 // LabelKeyPrefix is a string prefix which will be added to all label and annotation keys 5 LabelKeyPrefix = "toolchain.dev.openshift.com/" 6 7 // StateLabelKey is used for setting the actual/expected state of an object like a UserSignup or a Space (not-ready, pending, banned, ...). 8 // The main purpose of the label is easy selecting the objects based on the state - eg. get all UserSignups or Spaces on the waiting list (state=pending). 9 // It may look like a duplication of the status conditions, but it more reflects the spec part combined with the actual state/configuration of the whole system. 10 StateLabelKey = LabelKeyPrefix + "state" 11 12 // StateLabelValuePending is used for identifying that the object is in a pending state. 13 StateLabelValuePending = "pending" 14 )