Documentation
¶
Index ¶
Constants ¶
View Source
const (
AnnotationsKeyPrefix = "lighthouse.jenkins-x.io/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnotationsCarrier ¶
AnnotationsCarrier adapts a Kubernetes annotations map to satisfy the OpenTelemetry TextMapCarrier interface. Note that the keys will be prefixed with the `AnnotationsKeyPrefix`
func (AnnotationsCarrier) Get ¶
func (ac AnnotationsCarrier) Get(key string) string
Get returns the value associated with the passed key.
func (AnnotationsCarrier) Keys ¶
func (ac AnnotationsCarrier) Keys() []string
Keys lists the keys stored in this carrier.
func (AnnotationsCarrier) Set ¶
func (ac AnnotationsCarrier) Set(key string, value string)
Set stores the key-value pair.
Click to show internal directories.
Click to hide internal directories.