Documentation ¶
Index ¶
Constants ¶
View Source
const ( SectionKey = "logs" Output_Cloudwatch_Logs = "cloudwatchlogs" )
View Source
const ( Role_Arn_Key = "role_arn" CredentialsSectionKey = "credentials" )
Variables ¶
View Source
var ChildRule = map[string]Rule{}
View Source
var (
GlobalLogConfig = Logs{}
)
View Source
var MergeRuleMap = map[string]mergeJsonRule.MergeRule{}
Functions ¶
func GetCurPath ¶
func GetCurPath() string
func RegisterRule ¶
Types ¶
type BasicLogConfig ¶
type BasicLogConfig struct { }
func (*BasicLogConfig) ApplyRule ¶
func (f *BasicLogConfig) ApplyRule(input interface{}) (returnKey string, returnVal interface{})
type DeploymentEnvironment ¶ added in v1.300046.0
type DeploymentEnvironment struct { }
func (*DeploymentEnvironment) ApplyRule ¶ added in v1.300046.0
func (f *DeploymentEnvironment) ApplyRule(input interface{}) (returnKey string, returnVal interface{})
type EndpointOverride ¶
type EndpointOverride struct { }
func (*EndpointOverride) ApplyRule ¶
func (r *EndpointOverride) ApplyRule(input interface{}) (returnKey string, returnVal interface{})
type ForceFlushInterval ¶
type ForceFlushInterval struct { }
func (*ForceFlushInterval) ApplyRule ¶
func (f *ForceFlushInterval) ApplyRule(input interface{}) (string, interface{})
type LogStreamName ¶
type LogStreamName struct { }
func (*LogStreamName) ApplyRule ¶
func (l *LogStreamName) ApplyRule(input interface{}) (returnKey string, returnVal interface{})
type Logs ¶
type Logs struct { FileStateFolder string MetadataInfo map[string]string ServiceName string DeploymentEnvironment string }
type Rule ¶
type Rule translator.Rule
type ServiceName ¶ added in v1.300046.0
type ServiceName struct { }
func (*ServiceName) ApplyRule ¶ added in v1.300046.0
func (f *ServiceName) ApplyRule(input interface{}) (returnKey string, returnVal interface{})
Source Files ¶
Click to show internal directories.
Click to hide internal directories.