# Functions
No description provided by the author
Deprecated: ForAllContexts iterates over all Context instances in the DefaultCollection and call the provided function `f`.
GetControllerWellKnownCaPool will return a x509.CertPool.
No description provided by the author
Deprecated: LoadContext loads a configuration from the supplied path into the DefaultCollection as a convenience.
NewConfig will create a new Config object from a provided Ziti Edge Client API URL and identity configuration.
NewConfigFromFile attempts to load a Config object from the provided path.
NewContext creates a Context from the supplied Config with the default options.
NewContextFromFile attempts to load a new Config from the provided path and then uses that config to instantiate a new Context.
NewContextFromFileWithOpts does the same as NewContextFromFile but allow Options to be supplied.
NewContextWithOpts creates a Context from the supplied Config and Options.
Deprecated: NewDialer will return a dialer from the DefaultCollection that will iterate over the Context instances inside the collection searching for the context that best matches the service.
Deprecated: NewDialerWithFallback will return a dialer from the DefaultCollection that will iterate over the Context instances inside the collection searching for the context that best matches the service.
NewId will return a unique string id suitable for ziti.Context Id functionality.
NewSdkCollection creates a new empty collection.
NewSdkCollectionFromEnv will create an empty CtxCollection and then attempt to populate it from configuration files provided in a semicolon separate list of file paths retrieved from an environment variable.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EventAuthenticationStateFull is emitted when a context acquires an API Session that is fully authenticated.
EventAuthenticationStatePartial emitted if a context acquires an API Session that is in a partially authenticated state.
EventAuthenticationStateUnauthenticated is emitted when a context has reverted to an unauthenticated state after being fully or partially authenticated.
EventAuthQuery is emitted when a Ziti context requires an answer to an authentication query.
EventControllerUrlsUpdated is emitted when a new set of controllers is detected
Arguments: 1) Context - the context that triggered the listener 2) apiUrls []*urls.URL - the URLs of the API for the available controllers.
EventMfaTotpCode is emitted when a Ziti context requires an MFA TOTP code to proceed with authentication.
EventRouterConnected is emitted when a connection to an Edge Router is established.
EventRouterDisconnected is emitted when a connection to an Edge Router is disconnected.
EventServiceAdded is emitted when a new service is detected by a Ziti SDK context.
EventServiceChanged is emitted when an existing service undergoes a change in its definition.
EventServiceRemoved is emitted when a service is no longer available.
IdentitiesEnv is the string environment variable that is used to load identity files to populate DefaultCollection.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Deprecated: DefaultCollection is deprecated and is included for legacy support.
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
CtrlClient is a stateful version of ZitiEdgeClient that simplifies operations.
An CtxCollection allows Context instances to be instantiated and maintained as a group.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Context is the main interface for SDK instances that may be used to authenticate, connect to services, or host services.
No description provided by the author
No description provided by the author
Eventer provides types methods for adding event listeners to a context and exposes some weakly typed functions that are useful for debugging/testing.
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
MfaCodeResponse is a handler used to return a string (TOTP) code.
No description provided by the author
No description provided by the author
No description provided by the author