Documentation
¶
Overview ¶
Code generated by go generate; DO NOT EDIT.
Copyright 2019 HAProxy Technologies ¶
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.
Code generated by go generate; DO NOT EDIT.
Copyright 2019 HAProxy Technologies ¶
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 ¶
- type Event
- func (p *Event) Delete(index int) error
- func (p *Event) Get(createIfNotExist bool) (common.ParserData, error)
- func (p *Event) GetOne(index int) (common.ParserData, error)
- func (p *Event) GetParserName() string
- func (p *Event) Init()
- func (p *Event) Insert(data common.ParserData, index int) error
- func (e *Event) Parse(line string, parts, previousParts []string, comment string) (changeState string, err error)
- func (p *Event) PreParse(line string, parts, previousParts []string, preComments []string, ...) (changeState string, err error)
- func (e *Event) Result() ([]common.ReturnResultLine, error)
- func (p *Event) ResultAll() ([]common.ReturnResultLine, []string, error)
- func (p *Event) Set(data common.ParserData, index int) error
- type SPOESection
- func (p *SPOESection) Delete(index int) error
- func (p *SPOESection) Get(createIfNotExist bool) (common.ParserData, error)
- func (p *SPOESection) GetOne(index int) (common.ParserData, error)
- func (p *SPOESection) GetParserName() string
- func (s *SPOESection) Init()
- func (p *SPOESection) Insert(data common.ParserData, index int) error
- func (s *SPOESection) Parse(line string, parts, previousParts []string, comment string) (changeState string, err error)
- func (p *SPOESection) PreParse(line string, parts, previousParts []string, preComments []string, ...) (changeState string, err error)
- func (s *SPOESection) Result() ([]common.ReturnResultLine, error)
- func (p *SPOESection) ResultAll() ([]common.ReturnResultLine, []string, error)
- func (p *SPOESection) Set(data common.ParserData, index int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
func (*Event) GetParserName ¶
type SPOESection ¶
type SPOESection struct { Name string // contains filtered or unexported fields }
func (*SPOESection) Delete ¶
func (p *SPOESection) Delete(index int) error
func (*SPOESection) Get ¶
func (p *SPOESection) Get(createIfNotExist bool) (common.ParserData, error)
func (*SPOESection) GetOne ¶
func (p *SPOESection) GetOne(index int) (common.ParserData, error)
func (*SPOESection) GetParserName ¶
func (p *SPOESection) GetParserName() string
func (*SPOESection) Init ¶
func (s *SPOESection) Init()
func (*SPOESection) Insert ¶
func (p *SPOESection) Insert(data common.ParserData, index int) error
func (*SPOESection) Parse ¶
func (s *SPOESection) Parse(line string, parts, previousParts []string, comment string) (changeState string, err error)
Parse see if we have section name
func (*SPOESection) Result ¶
func (s *SPOESection) Result() ([]common.ReturnResultLine, error)
func (*SPOESection) ResultAll ¶ added in v2.0.5
func (p *SPOESection) ResultAll() ([]common.ReturnResultLine, []string, error)
func (*SPOESection) Set ¶
func (p *SPOESection) Set(data common.ParserData, index int) error