Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterLoggingTemplateWrap ¶
type ClusterLoggingTemplateWrap struct {
v3.LoggingCommonField
LoggingTargetTemplateWrap
ExcludeNamespace string
IncludeSystemComponent bool
}
func NewWrapClusterLogging ¶
func NewWrapClusterLogging(logging v3.ClusterLoggingSpec, excludeNamespace string) (*ClusterLoggingTemplateWrap, error)
type CustomTargetWrap ¶
type CustomTargetWrap struct {
v3.CustomTargetConfig
}
type ElasticsearchTemplateWrap ¶
type ElasticsearchTemplateWrap struct {
v3.ElasticsearchConfig
DateFormat string
Host string
Scheme string
}
type FluentForwarderTemplateWrap ¶
type FluentForwarderTemplateWrap struct {
v3.FluentForwarderConfig
FluentServers []FluentServer
}
type FluentServer ¶
type FluentServer struct {
Host string
Port string
v3.FluentServer
}
type KafkaTemplateWrap ¶
type KafkaTemplateWrap struct {
v3.KafkaConfig
Brokers string
Zookeeper string
IsSSL bool
}
type LoggingTargetTemplateWrap ¶
type LoggingTargetTemplateWrap struct {
CurrentTarget string
ElasticsearchTemplateWrap
SplunkTemplateWrap
SyslogTemplateWrap
KafkaTemplateWrap
FluentForwarderTemplateWrap
CustomTargetWrap
}
type LoggingTargetTestWrap ¶
type LoggingTargetTestWrap interface {
TestReachable(dial dialer.Dialer, includeSendTestLog bool) error
}
func NewLoggingTargetTestWrap ¶
func NewLoggingTargetTestWrap(loggingTargets v3.LoggingTargets) LoggingTargetTestWrap
type ProjectLoggingTemplateWrap ¶
type ProjectLoggingTemplateWrap struct {
ProjectName string
v3.LoggingCommonField
LoggingTargetTemplateWrap
GrepNamespace string
IsSystemProject bool
WrapProjectName string
}
func NewWrapProjectLogging ¶
func NewWrapProjectLogging(logging v3.ProjectLoggingSpec, grepNamespace string, isSystemProject bool) (*ProjectLoggingTemplateWrap, error)
type SplunkTemplateWrap ¶
type SplunkTemplateWrap struct {
v3.SplunkConfig
Host string
Port string
Scheme string
}
type SyslogTemplateWrap ¶
type SyslogTemplateWrap struct {
v3.SyslogConfig
Host string
Port string
}
Click to show internal directories.
Click to hide internal directories.