# Packages
No description provided by the author
# Functions
GetControllerWellKnownCaPool will attempt to connect to a controller and retrieve its PKCS11 well-known CA bundle as an x509.CertPool.
GetControllerWellKnownCaPoolWithTlsConfig will attempt to connect to a controller and retrieve its PKCS11 well-known CA bundle as an x509.CertPool using a pre-configured TLS config.
GetControllerWellKnownCas will attempt to connect to a controller and retrieve its PKCS11 well-known CA bundle.
GetControllerWellKnownCasWithTlsConfig will attempt to connect to a controller and retrieve its PKCS11 well-known CA bundle with a specific TLS config.
No description provided by the author
No description provided by the author
No description provided by the author
NewEdgeClientClientWithAuthenticator will generate a new rest_client_api_client.ZitiEdgeClient client based upon a provided http.Client, controller address, and will authenticate with the provided Authenticator to obtain an API Session token.
NewEdgeClientClientWithCert will generate a new rest_client_api_client.ZitiEdgeClient client based upon a provided http.Client, controller address, and will authenticate via client certificate to obtain an API Session token.
NewEdgeClientClientWithToken will generate a new rest_client_api_client.ZitiEdgeClient client based upon a provided http.Client, controller address, and an API Session token that has been previously obtained.
NewEdgeClientClientWithUpdb will generate a new rest_client_api_client.ZitiEdgeClient client based upon a provided http.Client, controller address, and will authenticate via username/password database (updb) to obtain an API Session token.
NewEdgeManagementClientWithAuthenticator will generate a new rest_management_api_client.ZitiEdgeManagement client based upon a provided http.Client, controller address, and will authenticate with the provided Authenticator to obtain an API Session token.
NewEdgeManagementClientWithCert will generate a new rest_management_api_client.ZitiEdgeManagement client based upon a provided http.Client, controller address, and will authenticate via client certificate to obtain an API Session token.
NewEdgeManagementClientWithToken will generate a new rest_management_api_client.ZitiEdgeManagement client based upon a provided http.Client, controller address, and an API Session token that has been previously obtained.
NewEdgeManagementClientWithUpdb will generate a new rest_management_api_client.ZitiEdgeManagement client based upon a provided http.Client, controller address, and will authenticate via username/password database (updb) to obtain an API Session token.
NewHttpClientWithTlsConfig provides a default HTTP client with generous default timeouts.
NewTlsConfig creates a tls.Config with default min/max TSL versions.
VerifyController will attempt to use the provided x509.CertPool to connect to the provided controller.
WrapErr return an error that has been wrapped so that err.Error() prints useful API error information if possible.
# Structs
APIFormattedError takes a rest_model.APIError and wraps it so that it can output helpful information rather than pointer addresses for `Data` and `Meta`.
No description provided by the author
AuthenticatorBase provides embeddable shared capabilities for all authenticators.
AuthenticatorCert is an implementation of Authenticator that can fulfill client certificate authentication requests.
AuthenticatorIdentity is meant to deal with OpenZiti identity files and interfaces defined in the `identity` repository.
AuthenticatorUpdb is an implementation of Authenticator that can fulfill username/password authentication requests.
No description provided by the author
ZitiTokenAuth is an implementation of runtime.ClientAuthInfoWriter.
# Interfaces
No description provided by the author
Authenticator is an interface that facilitates obtaining an API Session.
CertProvider scopes a subset of the identity.Identity interface.
# Type aliases
HttpClientFunc allows an external HttpClient to be created and used.
TlsConfigFunc allows the tls.Config to be modified before use.