Documentation ¶
Index ¶
Constants ¶
View Source
const ( K8sManagedByLabelKey = "app.kubernetes.io/managed-by" RunIDLabel = "skaffold.dev/run-id" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultLabeller ¶
type DefaultLabeller struct {
// contains filtered or unexported fields
}
DefaultLabeller adds K8s style managed-by label and a run-specific UUID label
func NewLabeller ¶
func NewLabeller(addSkaffoldLabels bool, customLabels []string) *DefaultLabeller
func (*DefaultLabeller) GetRunID ¶
func (d *DefaultLabeller) GetRunID() string
func (*DefaultLabeller) Labels ¶
func (d *DefaultLabeller) Labels() map[string]string
func (*DefaultLabeller) RunIDSelector ¶
func (d *DefaultLabeller) RunIDSelector() string
Click to show internal directories.
Click to hide internal directories.