extra

package
v6.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 7 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) GetPreComments

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

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

func (*Comments) PreParse

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

func (*Comments) SetPreComments

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

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

func (h *ConfigHash) Parse(line string, parts []string, comment string) (string, error)

Parse see if we have version, since it is not haproxy keyword, it's in comments

func (*ConfigHash) PreParse

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

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

func (p *ConfigVersion) Parse(line string, parts []string, comment string) (string, 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 []string, preComments []string, comment string) (string, 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

func (*ConfigVersion) SetPreComments

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

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

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

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

Parse see if we have section name

func (*Section) PreParse

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

func (*Section) SetPreComments

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

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

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

func (*UnProcessed) PreParse

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

Jump to

Keyboard shortcuts

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