filters

package
v6.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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 BandwidthLimit

type BandwidthLimit struct {
	Comment       string
	Attribute     string
	Name          string
	DefaultLimit  string
	DefaultPeriod string
	Limit         string
	Key           string
	Table         *string
	MinSize       *string
}

func (*BandwidthLimit) Parse

func (b *BandwidthLimit) Parse(parts []string, comment string) error

func (*BandwidthLimit) Result

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 FcgiApp

type FcgiApp struct {
	Comment string
	Name    string
}

func (*FcgiApp) Parse

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

func (*FcgiApp) Result

func (f *FcgiApp) 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) GetPreComments

func (p *Filters) GetPreComments() ([]string, error)

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 []string, comment string) (string, 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 []string, preComments []string, comment string) (string, 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

func (*Filters) SetPreComments

func (p *Filters) SetPreComments(preComments []string)

type Opentracing

type Opentracing struct {
	Comment string
	ID      string
	Config  string
}

func (*Opentracing) Parse

func (o *Opentracing) Parse(parts []string, comment string) error

func (*Opentracing) Result

func (o *Opentracing) Result() common.ReturnResultLine

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