package
0.2.0-alpha
Repository: https://github.com/vmware-archive/dispatch.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AuthWithMulti writes authentication info to a request.
AuthWithToken authenticates with a token.
AuthWithUserPassword authenticates with username and password.
DefaultHTTPClient Creates a default HTTP transport for all clients.
NewAPIsClient is used to create a new APIs client.
NewErrorAlreadyExists creates new instance of ErrorAlreadyExists based on Error Model.
NewErrorBadRequest creates new instance of ErrorBadRequest based on Error Model.
NewErrorForbidden creates new instance of ErrorForbidden based on Error Model.
NewErrorFunctionError creates new instance of ErrorFunctionError based on Error Model.
NewErrorInvalidInput creates new instance of ErrorInvalidInput based on Error Model.
NewErrorNotFound creates new instance of ErrorNotFound based on Error Model.
NewErrorServerUnknownError creates new instance of ErrorServerUnknownError based on Error Model.
NewErrorUnauthorized creates new instance of ErrorUnauthorized based on Error Model.
NewEventsClient is used to create a new subscriptions client.
NewFunctionsClient is used to create a new functions client.
NewIdentityClient is used to create a new subscriptions client.
NewImagesClient is used to create a new Images client.
NewSecretsClient is used to create a new secrets client.
NewServicesClient is used to create a new serviceInstances client.
NewTracingRoundTripper returns new instance of RoundTripper.
# Constants
TokenHeaderName defines the cookie token.
# Structs
DefaultAPIsClient defines the default APIs client.
DefaultEventsClient defines the default client for events API.
DefaultFunctionsClient defines the default functions client.
DefaultIdentityClient defines the default client for events API.
DefaultImagesClient defines the default images client.
DefaultSecretsClient defines the default secrets client.
DefaultServicesClient defines the default services client.
ErrorAlreadyExists represents error when resource already exists on the server.
ErrorBadRequest represents client-side request error.
ErrorForbidden represents authz error.
ErrorFunctionError represents error that happened when executing the function.
ErrorInvalidInput represents error of request input being invalid.
ErrorNotFound represents error of missing resource.
ErrorServerUnknownError represents unknown server error.
ErrorUnauthorized represents authn error.
FunctionOpts are options for retrieving function runs.
TracingRoundTripper injects tracing headers into the request based on the context.
# Interfaces
APIsClient defines the api client interface.
Error is an interface implemented by all errors declared here.
EventsClient defines the event client interface.
FunctionsClient defines the function client interface.
IdentityClient defines the identity client interface.
ImagesClient defines the image client interface.
SecretsClient defines the secrets client interface.
ServicesClient defines the services client interface.