package
0.6.0
Repository: https://github.com/grepsr/mesos-dns.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

New generates and returns an HTTP transactor given an optional IAM configuration and some set of functional options.
Register associates an AuthMechanism with a DoerFactory.
RegistryReset unregisters all previously user-registered factory instances and resets to the default state.
Timeout returns an Option that configures client timeout.
TLSConfig generates and returns a recommended URL generation option and TLS configuration.
Transport returns an Option that configures client transport.
Validate checks that the given AuthMechainsm and ConfigMap are compatible with the registered set of DoerFactory instances.

# Constants

AuthBasic specifies to use HTTP Basic.
AuthIAM specifies to use IAM / JDK authentication.
AuthNone specifies no authentication mechanism.

# Variables

ErrAuthFailed is returned for any type of IAM authentication failure.
ErrDuplicateAuthRegistration signifies a configuration error in which the same AuthMechanism is being registered multiple times.
ErrDuplicateAuthRegistration signifies a configuration error in which the same AuthMechanism is being registered multiple times.
ErrDuplicateAuthRegistration signifies a configuration error in which the same AuthMechanism is being registered multiple times.
ErrDuplicateAuthRegistration signifies a configuration error in which the same AuthMechanism is being registered multiple times.

# Interfaces

Doer executes an http.Request and returns the generated http.Response; similar to http.RoundTripper but may modify an in-flight http.Request object.

# Type aliases

AuthMechanism enumerates the supported authentication strategies.
ConfigMap maps authentication configuration types to values.
ConfigMapOption is a functional option for a ConfigMap.
ConfigMapOptions aggregates ConfigMapOption.
DoerFactory generates a Doer.
DoerFunc is the functional adaptation of Doer.
Option is a functional option type.