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.
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 Comments
- func (p *Comments) Delete(index int) error
- func (p *Comments) Get(createIfNotExist bool) (common.ParserData, error)
- func (p *Comments) GetOne(index int) (common.ParserData, error)
- func (p *Comments) GetParserName() string
- func (p *Comments) Init()
- func (p *Comments) Insert(data common.ParserData, index int) error
- func (p *Comments) Parse(line string, parts, previousParts []string, comment string) (changeState string, err error)
- func (p *Comments) PreParse(line string, parts, previousParts []string, preComments []string, ...) (changeState string, err error)
- func (p *Comments) Result() ([]common.ReturnResultLine, error)
- func (p *Comments) ResultAll() ([]common.ReturnResultLine, []string, error)
- func (p *Comments) Set(data common.ParserData, index int) error
- type ConfigVersion
- func (p *ConfigVersion) Delete(index int) error
- func (p *ConfigVersion) Get(createIfNotExist bool) (common.ParserData, error)
- func (p *ConfigVersion) GetOne(index int) (common.ParserData, error)
- func (p *ConfigVersion) GetParserName() string
- func (p *ConfigVersion) Init()
- func (p *ConfigVersion) Insert(data common.ParserData, index int) error
- func (p *ConfigVersion) Parse(line string, parts, previousParts []string, comment string) (changeState string, err error)
- func (p *ConfigVersion) PreParse(line string, parts, previousParts []string, preComments []string, ...) (changeState string, err error)
- func (p *ConfigVersion) Result() ([]common.ReturnResultLine, error)
- func (p *ConfigVersion) ResultAll() ([]common.ReturnResultLine, []string, error)
- func (p *ConfigVersion) Set(data common.ParserData, index int) error
- type Section
- func (p *Section) Delete(index int) error
- func (p *Section) Get(createIfNotExist bool) (common.ParserData, error)
- func (p *Section) GetOne(index int) (common.ParserData, error)
- func (p *Section) GetParserName() string
- func (s *Section) Init()
- func (p *Section) Insert(data common.ParserData, index int) error
- func (s *Section) Parse(line string, parts, previousParts []string, comment string) (changeState string, err error)
- func (p *Section) PreParse(line string, parts, previousParts []string, preComments []string, ...) (changeState string, err error)
- func (s *Section) Result() ([]common.ReturnResultLine, error)
- func (p *Section) ResultAll() ([]common.ReturnResultLine, []string, error)
- func (p *Section) Set(data common.ParserData, index int) error
- type UnProcessed
- func (p *UnProcessed) Delete(index int) error
- func (p *UnProcessed) Get(createIfNotExist bool) (common.ParserData, error)
- func (p *UnProcessed) GetOne(index int) (common.ParserData, error)
- func (p *UnProcessed) GetParserName() string
- func (u *UnProcessed) Init()
- func (p *UnProcessed) Insert(data common.ParserData, index int) error
- func (u *UnProcessed) Parse(line string, parts, previousParts []string, comment string) (changeState string, err error)
- func (p *UnProcessed) PreParse(line string, parts, previousParts []string, preComments []string, ...) (changeState string, err error)
- func (u *UnProcessed) Result() ([]common.ReturnResultLine, error)
- func (p *UnProcessed) ResultAll() ([]common.ReturnResultLine, []string, error)
- func (p *UnProcessed) Set(data common.ParserData, index int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comments ¶
type Comments struct { Name string // contains filtered or unexported fields }
func (*Comments) GetParserName ¶
type ConfigVersion ¶
type ConfigVersion struct { Name string // contains filtered or unexported fields }
func (*ConfigVersion) Delete ¶
func (p *ConfigVersion) Delete(index int) error
func (*ConfigVersion) Get ¶
func (p *ConfigVersion) Get(createIfNotExist bool) (common.ParserData, error)
func (*ConfigVersion) GetOne ¶
func (p *ConfigVersion) GetOne(index int) (common.ParserData, error)
func (*ConfigVersion) GetParserName ¶
func (p *ConfigVersion) GetParserName() string
func (*ConfigVersion) Init ¶
func (p *ConfigVersion) Init()
func (*ConfigVersion) Insert ¶
func (p *ConfigVersion) Insert(data common.ParserData, index int) error
func (*ConfigVersion) Parse ¶
func (p *ConfigVersion) Parse(line string, parts, previousParts []string, comment string) (changeState string, err error)
Parse see if we have version, since it is not haproxy keyword, it's in comments
func (*ConfigVersion) Result ¶
func (p *ConfigVersion) Result() ([]common.ReturnResultLine, error)
func (*ConfigVersion) ResultAll ¶
func (p *ConfigVersion) ResultAll() ([]common.ReturnResultLine, []string, error)
func (*ConfigVersion) Set ¶
func (p *ConfigVersion) Set(data common.ParserData, index int) error
type Section ¶
type Section struct { Name string // contains filtered or unexported fields }
func (*Section) GetParserName ¶
func (*Section) Parse ¶
func (s *Section) Parse(line string, parts, previousParts []string, comment string) (changeState string, err error)
Parse see if we have section name
type UnProcessed ¶
type UnProcessed struct { Name string // contains filtered or unexported fields }
func (*UnProcessed) Delete ¶
func (p *UnProcessed) Delete(index int) error
func (*UnProcessed) Get ¶
func (p *UnProcessed) Get(createIfNotExist bool) (common.ParserData, error)
func (*UnProcessed) GetOne ¶
func (p *UnProcessed) GetOne(index int) (common.ParserData, error)
func (*UnProcessed) GetParserName ¶
func (p *UnProcessed) GetParserName() string
func (*UnProcessed) Init ¶
func (u *UnProcessed) Init()
func (*UnProcessed) Insert ¶
func (p *UnProcessed) Insert(data common.ParserData, index int) error
func (*UnProcessed) Result ¶
func (u *UnProcessed) Result() ([]common.ReturnResultLine, error)
func (*UnProcessed) ResultAll ¶
func (p *UnProcessed) ResultAll() ([]common.ReturnResultLine, []string, error)
func (*UnProcessed) Set ¶
func (p *UnProcessed) Set(data common.ParserData, index int) error