package
1.0.6
Repository: https://github.com/couchbase/tools-common.git
Documentation: pkg.go.dev

# Functions

NewConfig creates a new TLS config which can either skip SSL verification or may contain a x509 certificate pool with the users provided ca certificate.

# Variables

ErrInvalidPasswordInputDataOrKey is a broader version of the 'ParseCertKeyError' which is used as more of a catchall to indicate something is wrong with the provided public/private key.
ErrInvalidPublicPrivateKeyPair is returned if the users provided public/private keys do not match.
ErrPasswordProvidedButUnused is returned if the user has provided a password, but we've got to a point where it would no longer be used.

# Structs

ConfigOptions encapsulates the available options for creating a new TLS config.
ParseCertKeyError is a more useful variation of 'ErrInvalidPasswordInputDataOrKey' which contains hints as to the next steps the user may be able to take to resolve the issue.