Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupUnsetConfig ¶ added in v0.8.5
type GroupUnsetConfig struct { Pattern string `json:"pattern" syslog-ng:"name=values"` // NOTE: this is specified as `value(<field name>)` in the syslog-ng config Condition *MatchExpr `json:"condition,omitempty" syslog-ng:"name=condition,optional"` }
+kubebuilder:object:generate=true https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide/78#TOPIC-1829212
func (*GroupUnsetConfig) DeepCopy ¶ added in v0.8.5
func (in *GroupUnsetConfig) DeepCopy() *GroupUnsetConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GroupUnsetConfig.
func (*GroupUnsetConfig) DeepCopyInto ¶ added in v0.8.5
func (in *GroupUnsetConfig) DeepCopyInto(out *GroupUnsetConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatchConfig ¶
type MatchConfig MatchExpr
+kubebuilder:object:generate=true
func (*MatchConfig) DeepCopy ¶
func (in *MatchConfig) DeepCopy() *MatchConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchConfig.
func (*MatchConfig) DeepCopyInto ¶
func (in *MatchConfig) DeepCopyInto(out *MatchConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatchExpr ¶
type MatchExpr struct { // +docLink:"And Directive,#And-Directive" // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless And []MatchExpr `json:"and,omitempty"` // +docLink:"Not Directive,#Exclude-Directive" // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Not *MatchExpr `json:"not,omitempty"` // +docLink:"Regexp Directive,#Regexp-Directive" Regexp *RegexpMatchExpr `json:"regexp,omitempty" syslog-ng:"name=match,optional"` // +docLink:"Or Directive,#Or-Directive" // +kubebuilder:pruning:PreserveUnknownFields // +kubebuilder:validation:Schemaless Or []MatchExpr `json:"or,omitempty"` }
+kubebuilder:object:generate=true
func (*MatchExpr) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchExpr.
func (*MatchExpr) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ParserConfig ¶
type ParserConfig struct { Regexp *RegexpParser `json:"regexp,omitempty" syslog-ng:"parser-drv,name=regexp-parser"` SyslogParser *SyslogParser `json:"syslog-parser,omitempty," syslog-ng:"parser-drv,name=syslog-parser"` }
+kubebuilder:object:generate=true +docName:"[Parser](https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.36/administration-guide/82#TOPIC-1768819)"
func (*ParserConfig) DeepCopy ¶
func (in *ParserConfig) DeepCopy() *ParserConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ParserConfig.
func (*ParserConfig) DeepCopyInto ¶
func (in *ParserConfig) DeepCopyInto(out *ParserConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegexpMatchExpr ¶
type RegexpMatchExpr struct { // Pattern expression to evaluate Pattern string `json:"pattern"` // Specify a template of the record fields to match against. Template string `json:"template,omitempty"` // Specify a field name of the record to match against the value of. Value string `json:"value,omitempty"` // Pattern flags Flags []string `json:"flags,omitempty"` // https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide/81#TOPIC-1829224 // Pattern type Type string `json:"type,omitempty"` // https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide/81#TOPIC-1829223 }
+kubebuilder:object:generate=true +docName:"[Regexp Directive](https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide/68#TOPIC-1829171) {#Regexp-Directive}" Specify filtering rule.
func (*RegexpMatchExpr) DeepCopy ¶
func (in *RegexpMatchExpr) DeepCopy() *RegexpMatchExpr
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegexpMatchExpr.
func (*RegexpMatchExpr) DeepCopyInto ¶
func (in *RegexpMatchExpr) DeepCopyInto(out *RegexpMatchExpr)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegexpParser ¶
type RegexpParser struct { // The regular expression patterns that you want to find a match. regexp-parser() supports multiple patterns, and stops the processing at the first successful match. Patterns []string `json:"patterns"` // Insert a prefix before the name part of the parsed name-value pairs to help further processing. Prefix string `json:"prefix,omitempty"` // Specify a template of the record fields to match against. Template string `json:"template,omitempty"` // Pattern flags Flags []string `json:"flags,omitempty"` // https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide/81#TOPIC-1829224 }
+kubebuilder:object:generate=true +docName:"[Regexp parser](https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.36/administration-guide/90)"
func (*RegexpParser) DeepCopy ¶
func (in *RegexpParser) DeepCopy() *RegexpParser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegexpParser.
func (*RegexpParser) DeepCopyInto ¶
func (in *RegexpParser) DeepCopyInto(out *RegexpParser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RenameConfig ¶
type RenameConfig struct { OldFieldName string `json:"oldName" syslog-ng:"pos=0"` NewFieldName string `json:"newName" syslog-ng:"pos=1"` Condition *MatchExpr `json:"condition,omitempty" syslog-ng:"name=condition,optional"` }
+kubebuilder:object:generate=true https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide/78#TOPIC-1829213
func (*RenameConfig) DeepCopy ¶
func (in *RenameConfig) DeepCopy() *RenameConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RenameConfig.
func (*RenameConfig) DeepCopyInto ¶
func (in *RenameConfig) DeepCopyInto(out *RenameConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RewriteConfig ¶
type RewriteConfig struct { GroupUnset *GroupUnsetConfig `json:"group_unset,omitempty" syslog-ng:"rewrite-drv,name=groupunset"` Rename *RenameConfig `json:"rename,omitempty" syslog-ng:"rewrite-drv,name=rename"` Set *SetConfig `json:"set,omitempty" syslog-ng:"rewrite-drv,name=set"` Substitute *SubstituteConfig `json:"subst,omitempty" syslog-ng:"rewrite-drv,name=subst"` Unset *UnsetConfig `json:"unset,omitempty" syslog-ng:"rewrite-drv,name=unset"` }
+kubebuilder:object:generate=true
func (*RewriteConfig) DeepCopy ¶
func (in *RewriteConfig) DeepCopy() *RewriteConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RewriteConfig.
func (*RewriteConfig) DeepCopyInto ¶
func (in *RewriteConfig) DeepCopyInto(out *RewriteConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SetConfig ¶
type SetConfig struct { FieldName string `json:"field" syslog-ng:"name=value"` // NOTE: this is specified as `value(<field name>)` in the syslog-ng config Value string `json:"value" syslog-ng:"pos=0"` Condition *MatchExpr `json:"condition,omitempty" syslog-ng:"name=condition,optional"` }
+kubebuilder:object:generate=true https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide/77#TOPIC-1829207
func (*SetConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetConfig.
func (*SetConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SubstituteConfig ¶
type SubstituteConfig struct { Pattern string `json:"pattern" syslog-ng:"pos=0"` Replacement string `json:"replace" syslog-ng:"pos=1"` FieldName string `json:"field" syslog-ng:"name=value"` Flags []string `json:"flags,omitempty" syslog-ng:"name=flags,optional"` // https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide/81#TOPIC-1829224 Type string `json:"type,omitempty" syslog-ng:"name=type,optional"` // https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide/81#TOPIC-1829223 Condition *MatchExpr `json:"condition,omitempty" syslog-ng:"name=condition,optional"` }
+kubebuilder:object:generate=true https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide/77#TOPIC-1829206
func (*SubstituteConfig) DeepCopy ¶
func (in *SubstituteConfig) DeepCopy() *SubstituteConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubstituteConfig.
func (*SubstituteConfig) DeepCopyInto ¶
func (in *SubstituteConfig) DeepCopyInto(out *SubstituteConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SyslogParser ¶ added in v0.8.2
type SyslogParser struct { // Pattern flags Flags []string `json:"flags,omitempty"` }
+kubebuilder:object:generate=true +docName:"[Syslog Parser] https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.36/administration-guide/90
func (*SyslogParser) DeepCopy ¶ added in v0.8.2
func (in *SyslogParser) DeepCopy() *SyslogParser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SyslogParser.
func (*SyslogParser) DeepCopyInto ¶ added in v0.8.2
func (in *SyslogParser) DeepCopyInto(out *SyslogParser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UnsetConfig ¶
type UnsetConfig struct { FieldName string `json:"field" syslog-ng:"name=value"` // NOTE: this is specified as `value(<field name>)` in the syslog-ng config Condition *MatchExpr `json:"condition,omitempty" syslog-ng:"name=condition,optional"` }
+kubebuilder:object:generate=true https://www.syslog-ng.com/technical-documents/doc/syslog-ng-open-source-edition/3.37/administration-guide/78#TOPIC-1829212
func (*UnsetConfig) DeepCopy ¶
func (in *UnsetConfig) DeepCopy() *UnsetConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnsetConfig.
func (*UnsetConfig) DeepCopyInto ¶
func (in *UnsetConfig) DeepCopyInto(out *UnsetConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.