naming

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommand

func AddCommand(metricAnnotations data.InterfaceMap, command string)

AddCommand adds docker command to metricAnnotations

func AddContainerID

func AddContainerID(metricAnnotations data.InterfaceMap, containerID string)

AddContainerID adds container ID to metricAnnotations

func AddContainerName

func AddContainerName(metricAnnotations data.InterfaceMap, containerName string)

AddContainerName adds container name to metricAnnotations

func AddDockerContainerName

func AddDockerContainerName(metricAnnotations data.InterfaceMap, dockerContainerName string)

AddDockerContainerName adds docker container name to metricAnnotations

func AddImage

func AddImage(metricAnnotations data.InterfaceMap, image string)

AddImage adds Image name to metricAnnotations

func AddImageID

func AddImageID(metricAnnotations data.InterfaceMap, imageID string)

AddImageID adds Image ID to metricAnnotations

func AddLabels

func AddLabels(metricAnnotations data.InterfaceMap, labels map[string]string)

AddLabels adds Docker labels to metricAnnotations

func AddPrefixToVariable

func AddPrefixToVariable(prefix, variable string) string

AddPrefixToVariable is used to inject a prefix into a discovery variable name.

func ToVariable

func ToVariable(name string) string

ToVariable converts a string into a discovery variable.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL