logs

package
v1.300046.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 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 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 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
	ServiceName           string
	DeploymentEnvironment 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

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{})

Jump to

Keyboard shortcuts

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