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