filters

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Code generated by go generate; DO NOT EDIT.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache struct {
	Name    string
	Comment string
}

func (*Cache) Parse

func (f *Cache) Parse(parts []string, comment string) error

func (*Cache) Result

func (f *Cache) Result() common.ReturnResultLine

type Compression

type Compression struct {
	Enabled bool
	Comment string
}

func (*Compression) Parse

func (f *Compression) Parse(parts []string, comment string) error

func (*Compression) Result

func (f *Compression) Result() common.ReturnResultLine

type Filters

type Filters struct {
	Name string
	// contains filtered or unexported fields
}

func (*Filters) Delete

func (p *Filters) Delete(index int) error

func (*Filters) Get

func (p *Filters) Get(createIfNotExist bool) (common.ParserData, error)

func (*Filters) GetOne

func (p *Filters) GetOne(index int) (common.ParserData, error)

func (*Filters) GetParserName

func (p *Filters) GetParserName() string

func (*Filters) Init

func (h *Filters) Init()

func (*Filters) Insert

func (p *Filters) Insert(data common.ParserData, index int) error

func (*Filters) Parse

func (h *Filters) Parse(line string, parts, previousParts []string, comment string) (changeState string, err error)

func (*Filters) ParseFilter

func (h *Filters) ParseFilter(filter types.Filter, parts []string, comment string) error

func (*Filters) PreParse

func (p *Filters) PreParse(line string, parts, previousParts []string, preComments []string, comment string) (changeState string, err error)

func (*Filters) Result

func (h *Filters) Result() ([]common.ReturnResultLine, error)

func (*Filters) ResultAll

func (p *Filters) ResultAll() ([]common.ReturnResultLine, []string, error)

func (*Filters) Set

func (p *Filters) Set(data common.ParserData, index int) error

type Spoe

type Spoe struct {
	Engine  string
	Config  string
	Comment string
}

func (*Spoe) Parse

func (f *Spoe) Parse(parts []string, comment string) error

func (*Spoe) Result

func (f *Spoe) Result() common.ReturnResultLine

type Trace

type Trace struct {
	Name             string
	RandomParsing    bool
	RandomForwarding bool
	Hexdump          bool
	Comment          string
}

func (*Trace) Parse

func (f *Trace) Parse(parts []string, comment string) error

func (*Trace) Result

func (f *Trace) Result() common.ReturnResultLine

Jump to

Keyboard shortcuts

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