extra

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: 6 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.

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.

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.

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.

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.

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 Comments

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

func (*Comments) Delete

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

func (*Comments) Get

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

func (*Comments) GetOne

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

func (*Comments) GetParserName

func (p *Comments) GetParserName() string

func (*Comments) Init

func (p *Comments) Init()

func (*Comments) Insert

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

func (*Comments) Parse

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

func (*Comments) PreParse

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

func (*Comments) Result

func (p *Comments) Result() ([]common.ReturnResultLine, error)

func (*Comments) ResultAll

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

func (*Comments) Set

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

type ConfigHash added in v3.1.0

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

func (*ConfigHash) Delete added in v3.1.0

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

func (*ConfigHash) Get added in v3.1.0

func (h *ConfigHash) Get(createIfNotExist bool) (common.ParserData, error)

func (*ConfigHash) GetOne added in v3.1.0

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

func (*ConfigHash) GetParserName added in v3.1.0

func (p *ConfigHash) GetParserName() string

func (*ConfigHash) Init added in v3.1.0

func (h *ConfigHash) Init()

func (*ConfigHash) Insert added in v3.1.0

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

func (*ConfigHash) Parse added in v3.1.0

func (h *ConfigHash) 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 (*ConfigHash) PreParse added in v3.1.0

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

func (*ConfigHash) Result added in v3.1.0

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

func (*ConfigHash) ResultAll added in v3.1.0

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

func (*ConfigHash) Set added in v3.1.0

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

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) PreParse

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

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) Delete

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

func (*Section) Get

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

func (*Section) GetOne

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

func (*Section) GetParserName

func (p *Section) GetParserName() string

func (*Section) Init

func (s *Section) Init()

func (*Section) Insert

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

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

func (*Section) PreParse

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

func (*Section) Result

func (s *Section) Result() ([]common.ReturnResultLine, error)

func (*Section) ResultAll

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

func (*Section) Set

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

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) Parse

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

func (*UnProcessed) PreParse

func (p *UnProcessed) PreParse(line string, parts, previousParts []string, preComments []string, comment string) (changeState string, err 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

Jump to

Keyboard shortcuts

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