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 (
SectionKeySDTaskDefinitionArnPattern = "sd_task_definition_arn_pattern"
)
View Source
const (
SubSectionKey = "task_definition_list"
)
Variables ¶
View Source
var ChildRule = map[string]Rule{}
Functions ¶
func GetCurPath ¶
func GetCurPath() string
func RegisterRule ¶
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 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 SDTaskDefinitionArnPattern ¶
type SDTaskDefinitionArnPattern struct { }
func (*SDTaskDefinitionArnPattern) ApplyRule ¶
func (d *SDTaskDefinitionArnPattern) ApplyRule(input interface{}) (returnKey string, returnVal interface{})
Mandatory Key
type TaskDefinition ¶
type TaskDefinition struct { }
func (*TaskDefinition) ApplyRule ¶
func (e *TaskDefinition) ApplyRule(input interface{}) (returnKey string, returnVal interface{})
Click to show internal directories.
Click to hide internal directories.