configuration

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2020 License: Apache-2.0 Imports: 26 Imported by: 3

Documentation

Index

Constants

View Source
const (
	//DefaultConfigurationFile sane default for path to haproxy configuration file
	DefaultConfigurationFile string = "/etc/haproxy/haproxy.cfg"
	//DefaultHaproxy sane default for path to haproxy executable
	DefaultHaproxy string = "/usr/sbin/haproxy"
	//DefaultUseValidation sane default using validation in client native
	DefaultUseValidation bool = true
	//DefaultPersistentTransactions sane default using persistent transactions in client native
	DefaultPersistentTransactions bool = true
	// DefaultTransactionDir sane default for path for transactions
	DefaultTransactionDir string = "/tmp/haproxy"
)
View Source
const (
	// General error, unknown cause
	ErrGeneralError = 0

	// Errors regarding configurations
	ErrNoParentSpecified      = 10
	ErrParentDoesNotExist     = 11
	ErrBothVersionTransaction = 12
	ErrNoVersionTransaction   = 13
	ErrValidationError        = 14
	ErrVersionMismatch        = 15

	ErrTransactionDoesNotExist  = 20
	ErrTransactionAlreadyExists = 21
	ErrCannotParseTransaction   = 22

	ErrObjectDoesNotExist    = 30
	ErrObjectAlreadyExists   = 31
	ErrObjectIndexOutOfRange = 32

	ErrErrorChangingConfig = 40
	ErrCannotReadConfFile  = 41
	ErrCannotReadVersion   = 42
	ErrCannotSetVersion    = 43

	ErrCannotFindHAProxy = 50
)

Variables

This section is empty.

Functions

func CompositeTransactionError

func CompositeTransactionError(e ...error) *oaerrors.CompositeError

CompositeTransactionError helper function to aggregate multiple errors when calling multiple operations in transactions.

Types

type Client

type Client struct {
	ClientParams

	Parser *parser.Parser
	// contains filtered or unexported fields
}

Client configuration client Parser is the config parser instance that loads "master" configuration file on Init and when transaction is committed it gets replaced with the parser from parsers map. parsers map contains a config parser for each transaction, which loads data from transaction files on StartTransaction, and deletes on CommitTransaction. We save data to file on every change for persistence.

func DefaultClient

func DefaultClient() (*Client, error)

DefaultClient returns Client with sane defaults

func (*Client) AddParser

func (c *Client) AddParser(transaction string) error

AddParser adds parser to parser map

func (*Client) CommitParser

func (c *Client) CommitParser(transaction string) error

CommitParser commits transaction parser, deletes it from parsers map, and replaces master Parser

func (*Client) CommitTransaction

func (c *Client) CommitTransaction(id string) (*models.Transaction, error)

CommitTransaction commits a transaction by id.

func (*Client) CreateACL

func (c *Client) CreateACL(parentType string, parentName string, data *models.ACL, transactionID string, version int64) error

CreateACL creates a ACL line in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateBackend

func (c *Client) CreateBackend(data *models.Backend, transactionID string, version int64) error

CreateBackend creates a backend in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateBackendSwitchingRule

func (c *Client) CreateBackendSwitchingRule(frontend string, data *models.BackendSwitchingRule, transactionID string, version int64) error

CreateBackendSwitchingRule creates a backend switching rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateBind

func (c *Client) CreateBind(frontend string, data *models.Bind, transactionID string, version int64) error

CreateBind creates a bind in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateFilter

func (c *Client) CreateFilter(parentType string, parentName string, data *models.Filter, transactionID string, version int64) error

CreateFilter creates a filter in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateFrontend

func (c *Client) CreateFrontend(data *models.Frontend, transactionID string, version int64) error

CreateFrontend creates a frontend in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateHTTPRequestRule

func (c *Client) CreateHTTPRequestRule(parentType string, parentName string, data *models.HTTPRequestRule, transactionID string, version int64) error

CreateHTTPRequestRule creates a http request rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateHTTPResponseRule

func (c *Client) CreateHTTPResponseRule(parentType string, parentName string, data *models.HTTPResponseRule, transactionID string, version int64) error

CreateHTTPResponseRule creates a http response rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateLogTarget

func (c *Client) CreateLogTarget(parentType string, parentName string, data *models.LogTarget, transactionID string, version int64) error

CreateLogTarget creates a log target in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateServer

func (c *Client) CreateServer(backend string, data *models.Server, transactionID string, version int64) error

CreateServer creates a server in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateServerSwitchingRule

func (c *Client) CreateServerSwitchingRule(backend string, data *models.ServerSwitchingRule, transactionID string, version int64) error

CreateServerSwitchingRule creates a server switching rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateSite

func (c *Client) CreateSite(data *models.Site, transactionID string, version int64) error

CreateSite creates a site in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateStickRule

func (c *Client) CreateStickRule(backend string, data *models.StickRule, transactionID string, version int64) error

CreateStickRule creates a stick rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateTCPRequestRule

func (c *Client) CreateTCPRequestRule(parentType string, parentName string, data *models.TCPRequestRule, transactionID string, version int64) error

CreateTCPRequestRule creates a tcp request rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) CreateTCPResponseRule

func (c *Client) CreateTCPResponseRule(backend string, data *models.TCPResponseRule, transactionID string, version int64) error

CreateTCPResponseRule creates a tcp response rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteACL

func (c *Client) DeleteACL(id int64, parentType string, parentName string, transactionID string, version int64) error

DeleteACL deletes a ACL line in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteBackend

func (c *Client) DeleteBackend(name string, transactionID string, version int64) error

DeleteBackend deletes a backend in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteBackendSwitchingRule

func (c *Client) DeleteBackendSwitchingRule(id int64, frontend string, transactionID string, version int64) error

DeleteBackendSwitchingRule deletes a backend switching rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteBind

func (c *Client) DeleteBind(name string, frontend string, transactionID string, version int64) error

DeleteBind deletes a bind in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteFilter

func (c *Client) DeleteFilter(id int64, parentType string, parentName string, transactionID string, version int64) error

DeleteFilter deletes a filter in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteFrontend

func (c *Client) DeleteFrontend(name string, transactionID string, version int64) error

DeleteFrontend deletes a frontend in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteHTTPRequestRule

func (c *Client) DeleteHTTPRequestRule(id int64, parentType string, parentName string, transactionID string, version int64) error

DeleteHTTPRequestRule deletes a http request rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteHTTPResponseRule

func (c *Client) DeleteHTTPResponseRule(id int64, parentType string, parentName string, transactionID string, version int64) error

DeleteHTTPResponseRule deletes a http response rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteLogTarget

func (c *Client) DeleteLogTarget(id int64, parentType string, parentName string, transactionID string, version int64) error

DeleteLogTarget deletes a log target in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteParser

func (c *Client) DeleteParser(transaction string) error

DeleteParser deletes parser from parsers map

func (*Client) DeleteServer

func (c *Client) DeleteServer(name string, backend string, transactionID string, version int64) error

DeleteServer deletes a server in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteServerSwitchingRule

func (c *Client) DeleteServerSwitchingRule(id int64, backend string, transactionID string, version int64) error

DeleteServerSwitchingRule deletes a server switching rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteSite

func (c *Client) DeleteSite(name string, transactionID string, version int64) error

DeleteSite deletes a site in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteStickRule

func (c *Client) DeleteStickRule(id int64, backend string, transactionID string, version int64) error

DeleteStickRule deletes a stick rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteTCPRequestRule

func (c *Client) DeleteTCPRequestRule(id int64, parentType string, parentName string, transactionID string, version int64) error

DeleteTCPRequestRule deletes a tcp request rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteTCPResponseRule

func (c *Client) DeleteTCPResponseRule(id int64, backend string, transactionID string, version int64) error

DeleteTCPResponseRule deletes a tcp response rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) DeleteTransaction

func (c *Client) DeleteTransaction(id string) error

DeleteTransaction deletes a transaction by id.

func (*Client) EditACL

func (c *Client) EditACL(id int64, parentType string, parentName string, data *models.ACL, transactionID string, version int64) error

EditACL edits a ACL line in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditBackend

func (c *Client) EditBackend(name string, data *models.Backend, transactionID string, version int64) error

EditBackend edits a backend in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditBackendSwitchingRule

func (c *Client) EditBackendSwitchingRule(id int64, frontend string, data *models.BackendSwitchingRule, transactionID string, version int64) error

EditBackendSwitchingRule edits a backend switching rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditBind

func (c *Client) EditBind(name string, frontend string, data *models.Bind, transactionID string, version int64) error

EditBind edits a bind in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditFilter

func (c *Client) EditFilter(id int64, parentType string, parentName string, data *models.Filter, transactionID string, version int64) error

EditFilter edits a filter in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditFrontend

func (c *Client) EditFrontend(name string, data *models.Frontend, transactionID string, version int64) error

EditFrontend edits a frontend in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditHTTPRequestRule

func (c *Client) EditHTTPRequestRule(id int64, parentType string, parentName string, data *models.HTTPRequestRule, transactionID string, version int64) error

EditHTTPRequestRule edits a http request rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditHTTPResponseRule

func (c *Client) EditHTTPResponseRule(id int64, parentType string, parentName string, data *models.HTTPResponseRule, transactionID string, version int64) error

EditHTTPResponseRule edits a http response rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditLogTarget

func (c *Client) EditLogTarget(id int64, parentType string, parentName string, data *models.LogTarget, transactionID string, version int64) error

EditLogTarget edits a log target in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditServer

func (c *Client) EditServer(name string, backend string, data *models.Server, transactionID string, version int64) error

EditServer edits a server in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditServerSwitchingRule

func (c *Client) EditServerSwitchingRule(id int64, backend string, data *models.ServerSwitchingRule, transactionID string, version int64) error

EditServerSwitchingRule edits a server switching rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditSite

func (c *Client) EditSite(name string, data *models.Site, transactionID string, version int64) error

EditSite edits a site in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditStickRule

func (c *Client) EditStickRule(id int64, backend string, data *models.StickRule, transactionID string, version int64) error

EditStickRule edits a stick rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditTCPRequestRule

func (c *Client) EditTCPRequestRule(id int64, parentType string, parentName string, data *models.TCPRequestRule, transactionID string, version int64) error

EditTCPRequestRule edits a tcp request rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) EditTCPResponseRule

func (c *Client) EditTCPResponseRule(id int64, backend string, data *models.TCPResponseRule, transactionID string, version int64) error

EditTCPResponseRule edits a tcp response rule in configuration. One of version or transactionID is mandatory. Returns error on fail, nil on success.

func (*Client) GetACL

func (c *Client) GetACL(id int64, parentType, parentName string, transactionID string) (int64, *models.ACL, error)

GetACL returns configuration version and a requested ACL line in the specified parent. Returns error on fail or if ACL line does not exist.

func (*Client) GetACLs

func (c *Client) GetACLs(parentType, parentName string, transactionID string) (int64, models.Acls, error)

GetACLs returns configuration version and an array of configured ACL lines in the specified parent. Returns error on fail.

func (*Client) GetBackend

func (c *Client) GetBackend(name string, transactionID string) (int64, *models.Backend, error)

GetBackend returns configuration version and a requested backend. Returns error on fail or if backend does not exist.

func (*Client) GetBackendSwitchingRule

func (c *Client) GetBackendSwitchingRule(id int64, frontend string, transactionID string) (int64, *models.BackendSwitchingRule, error)

GetBackendSwitchingRule returns configuration version and a requested backend switching rule in the specified frontend. Returns error on fail or if backend switching rule does not exist.

func (*Client) GetBackendSwitchingRules

func (c *Client) GetBackendSwitchingRules(frontend string, transactionID string) (int64, models.BackendSwitchingRules, error)

GetBackendSwitchingRules returns configuration version and an array of configured backend switching rules in the specified frontend. Returns error on fail.

func (*Client) GetBackends

func (c *Client) GetBackends(transactionID string) (int64, models.Backends, error)

GetBackends returns configuration version and an array of configured backends. Returns error on fail.

func (*Client) GetBind

func (c *Client) GetBind(name string, frontend string, transactionID string) (int64, *models.Bind, error)

GetBind returns configuration version and a requested bind in the specified frontend. Returns error on fail or if bind does not exist.

func (*Client) GetBinds

func (c *Client) GetBinds(frontend string, transactionID string) (int64, models.Binds, error)

GetBinds returns configuration version and an array of configured binds in the specified frontend. Returns error on fail.

func (*Client) GetDefaultsConfiguration added in v0.9.4

func (c *Client) GetDefaultsConfiguration(transactionID string) (int64, *models.Defaults, error)

GetDefaultsConfiguration returns configuration version and a struct representing Defaults configuration

func (*Client) GetFilter

func (c *Client) GetFilter(id int64, parentType, parentName string, transactionID string) (int64, *models.Filter, error)

GetFilter returns configuration version and a requested filter in the specified parent. Returns error on fail or if filter does not exist.

func (*Client) GetFilters

func (c *Client) GetFilters(parentType, parentName string, transactionID string) (int64, models.Filters, error)

GetFilters returns configuration version and an array of configured filters in the specified parent. Returns error on fail.

func (*Client) GetFrontend

func (c *Client) GetFrontend(name string, transactionID string) (int64, *models.Frontend, error)

GetFrontend returns configuration version and a requested frontend. Returns error on fail or if frontend does not exist.

func (*Client) GetFrontends

func (c *Client) GetFrontends(transactionID string) (int64, models.Frontends, error)

GetFrontends returns configuration version and an array of configured frontends. Returns error on fail.

func (*Client) GetGlobalConfiguration

func (c *Client) GetGlobalConfiguration(transactionID string) (int64, *models.Global, error)

GetGlobalConfiguration returns configuration version and a struct representing Global configuration

func (*Client) GetHTTPRequestRule

func (c *Client) GetHTTPRequestRule(id int64, parentType, parentName string, transactionID string) (int64, *models.HTTPRequestRule, error)

GetHTTPRequestRule returns configuration version and a requested http request rule in the specified parent. Returns error on fail or if http request rule does not exist.

func (*Client) GetHTTPRequestRules

func (c *Client) GetHTTPRequestRules(parentType, parentName string, transactionID string) (int64, models.HTTPRequestRules, error)

GetHTTPRequestRules returns configuration version and an array of configured http request rules in the specified parent. Returns error on fail.

func (*Client) GetHTTPResponseRule

func (c *Client) GetHTTPResponseRule(id int64, parentType, parentName string, transactionID string) (int64, *models.HTTPResponseRule, error)

GetHTTPResponseRule returns configuration version and a responseed http response rule in the specified parent. Returns error on fail or if http response rule does not exist.

func (*Client) GetHTTPResponseRules

func (c *Client) GetHTTPResponseRules(parentType, parentName string, transactionID string) (int64, models.HTTPResponseRules, error)

GetHTTPResponseRules returns configuration version and an array of configured http response rules in the specified parent. Returns error on fail.

func (*Client) GetLogTarget

func (c *Client) GetLogTarget(id int64, parentType, parentName string, transactionID string) (int64, *models.LogTarget, error)

GetLogTarget returns configuration version and a requested log target in the specified parent. Returns error on fail or if log target does not exist.

func (*Client) GetLogTargets

func (c *Client) GetLogTargets(parentType, parentName string, transactionID string) (int64, models.LogTargets, error)

GetLogTargets returns configuration version and an array of configured log targets in the specified parent. Returns error on fail.

func (*Client) GetParser

func (c *Client) GetParser(transaction string) (*parser.Parser, error)

GetParser returns a parser for given transaction, if transaction is "", it returns "master" parser

func (*Client) GetRawConfiguration

func (c *Client) GetRawConfiguration(transactionID string, version int64) (int64, string, error)

GetRawConfiguration returns configuration version and a string containing raw config file

func (*Client) GetServer

func (c *Client) GetServer(name string, backend string, transactionID string) (int64, *models.Server, error)

GetServer returns configuration version and a requested server in the specified backend. Returns error on fail or if server does not exist.

func (*Client) GetServerSwitchingRule

func (c *Client) GetServerSwitchingRule(id int64, backend string, transactionID string) (int64, *models.ServerSwitchingRule, error)

GetServerSwitchingRule returns configuration version and a requested server switching rule in the specified backend. Returns error on fail or if server switching rule does not exist.

func (*Client) GetServerSwitchingRules

func (c *Client) GetServerSwitchingRules(backend string, transactionID string) (int64, models.ServerSwitchingRules, error)

GetServerSwitchingRules returns configuration version and an array of configured server switching rules in the specified backend. Returns error on fail.

func (*Client) GetServers

func (c *Client) GetServers(backend string, transactionID string) (int64, models.Servers, error)

GetServers returns configuration version and an array of configured servers in the specified backend. Returns error on fail.

func (*Client) GetSite

func (c *Client) GetSite(name string, transactionID string) (int64, *models.Site, error)

GetSite returns configuration version and a requested site. Returns error on fail or if backend does not exist.

func (*Client) GetSites

func (c *Client) GetSites(transactionID string) (int64, models.Sites, error)

GetSites returns configuration version and an array of configured sites. Returns error on fail.

func (*Client) GetStickRule

func (c *Client) GetStickRule(id int64, backend string, transactionID string) (int64, *models.StickRule, error)

GetStickRule returns configuration version and a requested stick rule in the specified backend. Returns error on fail or if stick rule does not exist.

func (*Client) GetStickRules

func (c *Client) GetStickRules(backend string, transactionID string) (int64, models.StickRules, error)

GetStickRules returns configuration version and an array of configured stick rules in the specified backend. Returns error on fail.

func (*Client) GetTCPRequestRule

func (c *Client) GetTCPRequestRule(id int64, parentType, parentName string, transactionID string) (int64, *models.TCPRequestRule, error)

GetTCPRequestRule returns configuration version and a requested tcp request rule in the specified parent. Returns error on fail or if http request rule does not exist.

func (*Client) GetTCPRequestRules

func (c *Client) GetTCPRequestRules(parentType, parentName string, transactionID string) (int64, models.TCPRequestRules, error)

GetTCPRequestRules returns configuration version and an array of configured TCP request rules in the specified parent. Returns error on fail.

func (*Client) GetTCPResponseRule

func (c *Client) GetTCPResponseRule(id int64, backend string, transactionID string) (int64, *models.TCPResponseRule, error)

GetTCPResponseRule returns configuration version and a requested tcp response rule in the specified backend. Returns error on fail or if tcp response rule does not exist.

func (*Client) GetTCPResponseRules

func (c *Client) GetTCPResponseRules(backend string, transactionID string) (int64, models.TCPResponseRules, error)

GetTCPResponseRules returns configuration version and an array of configured tcp response rules in the specified backend. Returns error on fail.

func (*Client) GetTransaction

func (c *Client) GetTransaction(id string) (*models.Transaction, error)

GetTransaction returns transaction information by id

func (*Client) GetTransactions

func (c *Client) GetTransactions(status string) (*models.Transactions, error)

GetTransactions returns an array of transactions

func (*Client) GetVersion

func (c *Client) GetVersion(transaction string) (int64, error)

GetVersion returns configuration file version

func (*Client) Init

func (c *Client) Init(options ClientParams) error

Init initializes a Client

func (*Client) InitTransactionParsers

func (c *Client) InitTransactionParsers() error

InitTransactionParsers checks transactions and initializes parsers map with transactions in_progress

func (*Client) PostRawConfiguration

func (c *Client) PostRawConfiguration(config *string, version int64) error

PostRawConfiguration pushes given string to the config file if the version matches

func (*Client) PushDefaultsConfiguration added in v0.9.4

func (c *Client) PushDefaultsConfiguration(data *models.Defaults, transactionID string, version int64) error

PushDefaultsConfiguration pushes a Defaults config struct to global config gile

func (*Client) PushGlobalConfiguration

func (c *Client) PushGlobalConfiguration(data *models.Global, transactionID string, version int64) error

PushGlobalConfiguration pushes a Global config struct to global config gile

func (*Client) StartTransaction

func (c *Client) StartTransaction(version int64) (*models.Transaction, error)

StartTransaction starts a new empty lbctl transaction

type ClientParams

type ClientParams struct {
	ConfigurationFile      string
	Haproxy                string
	UseValidation          bool
	PersistentTransactions bool
	TransactionDir         string
	BackupsNumber          int
	MasterWorker           bool
}

ClientParams is just a placeholder for all client options

type ConfError

type ConfError struct {
	// contains filtered or unexported fields
}

ConfError general configuration client error

func NewConfError

func NewConfError(code int, msg string) *ConfError

NewConfError constructor for ConfError

func (*ConfError) Code

func (e *ConfError) Code() int

Code returns ConfError code, which is one of constants in this package

func (*ConfError) Error

func (e *ConfError) Error() string

Error implementation for ConfError

Jump to

Keyboard shortcuts

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