dockerlabel

package
v1.247354.0 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SectionKeySDJobNameLabel = "sd_job_name_label"
)
View Source
const (
	SectionKeySDMetricsPathLabel = "sd_metrics_path_label"
)
View Source
const (
	SectionKeySDPortLabel = "sd_port_label"
)
View Source
const (
	SubSectionKey = "docker_label"
)

Variables

View Source
var ChildRule = map[string]Rule{}

Functions

func GetCurPath

func GetCurPath() string

func RegisterRule

func RegisterRule(fieldname string, r Rule)

Types

type DockerLabel

type DockerLabel struct {
}

func (*DockerLabel) ApplyRule

func (e *DockerLabel) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type Rule

type Rule translator.Rule

type SDJobNameLabel

type SDJobNameLabel struct {
}

func (*SDJobNameLabel) ApplyRule

func (d *SDJobNameLabel) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type SDMetricsPathLabel

type SDMetricsPathLabel struct {
}

func (*SDMetricsPathLabel) ApplyRule

func (d *SDMetricsPathLabel) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type SDPortLabel

type SDPortLabel struct {
}

func (*SDPortLabel) ApplyRule

func (d *SDPortLabel) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

Jump to

Keyboard shortcuts

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