logs

package
v1.247349.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 13 Imported by: 0

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

func RegisterRule(fieldname string, r Rule)

Types

type BasicLogConfig

type BasicLogConfig struct {
}

func (*BasicLogConfig) ApplyRule

func (f *BasicLogConfig) 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 LogCreds

type LogCreds struct {
}

func (*LogCreds) ApplyRule

func (c *LogCreds) ApplyRule(input interface{}) (returnKey string, returnVal 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
}

func (*Logs) ApplyRule

func (l *Logs) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

func (*Logs) Merge

func (l *Logs) Merge(source map[string]interface{}, result map[string]interface{})

type Rule

type Rule translator.Rule

Jump to

Keyboard shortcuts

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