serviceendpoint

package
v1.300028.4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SectionKeySDContainerNamePattern = "sd_container_name_pattern"
)
View Source
const (
	SectionKeySDJobName = "sd_job_name"
)
View Source
const (
	SectionKeySDMetricsPath = "sd_metrics_path"
)
View Source
const (
	SectionKeySDMetricsPorts = "sd_metrics_ports"
)
View Source
const (
	SectionKeySDServiceNamePattern = "sd_service_name_pattern"
)
View Source
const (
	SubSectionKey = "service_name_list_for_tasks"
)

Variables

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

Functions

func GetCurPath

func GetCurPath() string

func RegisterRule

func RegisterRule(fieldname string, r Rule)

Types

type Rule

type Rule translator.Rule

type SDContainerNamePattern

type SDContainerNamePattern struct {
}

func (*SDContainerNamePattern) ApplyRule

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

Optional Key

type SDJobName

type SDJobName struct {
}

func (*SDJobName) ApplyRule

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

Optional Key

type SDMetricsPath

type SDMetricsPath struct {
}

func (*SDMetricsPath) ApplyRule

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

Optional Key

type SDMetricsPorts

type SDMetricsPorts struct {
}

func (*SDMetricsPorts) ApplyRule

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

Mandatory Key

type SDServiceNamePattern

type SDServiceNamePattern struct {
}

func (*SDServiceNamePattern) ApplyRule

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

Mandatory Key

type ServiceEndpoint

type ServiceEndpoint struct {
}

func (*ServiceEndpoint) ApplyRule

func (e *ServiceEndpoint) 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