package
0.0.0-20231207202602-cbf242d12cdb
Repository: https://github.com/pomerium/zero-sdk.git
Documentation: pkg.go.dev

# Functions

Handler creates http.Handler with routing matching OpenAPI spec.
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
No description provided by the author
HandlerWithOptions creates http.Handler with additional options.
No description provided by the author
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewDownloadClusterResourceBundleRequest generates requests for DownloadClusterResourceBundle.
NewExchangeClusterIdentityTokenRequest calls the generic ExchangeClusterIdentityToken builder with application/json body.
NewExchangeClusterIdentityTokenRequestWithBody generates requests for ExchangeClusterIdentityToken with any type of body.
NewGetClusterBootstrapConfigRequest generates requests for GetClusterBootstrapConfig.
NewGetClusterResourceBundlesRequest generates requests for GetClusterResourceBundles.
NewReportClusterResourceBundleStatusRequest calls the generic ReportClusterResourceBundleStatus builder with application/json body.
NewReportClusterResourceBundleStatusRequestWithBody generates requests for ReportClusterResourceBundleStatus with any type of body.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseDownloadClusterResourceBundleResp parses an HTTP response from a DownloadClusterResourceBundleWithResponse call.
ParseExchangeClusterIdentityTokenResp parses an HTTP response from a ExchangeClusterIdentityTokenWithResponse call.
ParseGetClusterBootstrapConfigResp parses an HTTP response from a GetClusterBootstrapConfigWithResponse call.
ParseGetClusterResourceBundlesResp parses an HTTP response from a GetClusterResourceBundlesWithResponse call.
ParseReportClusterResourceBundleStatusResp parses an HTTP response from a ReportClusterResourceBundleStatusWithResponse call.
WithBaseURL overrides the baseURL.
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client.
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request.

# Constants

No description provided by the author
Defines values for BundleStatusFailureSource.
Defines values for BundleStatusFailureSource.
Defines values for BundleStatusFailureSource.
Defines values for BundleStatusFailureSource.
Defines values for BundleStatusFailureSource.

# Structs

BootstrapConfig defines model for BootstrapConfig.
Bundle defines model for Bundle.
BundleStatus defines model for BundleStatus.
BundleStatusFailure defines model for BundleStatusFailure.
BundleStatusSuccess defines model for BundleStatusSuccess.
No description provided by the author
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
DownloadBundleResponse defines model for DownloadBundleResponse.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrorResponse defines model for ErrorResponse.
No description provided by the author
No description provided by the author
ExchangeTokenRequest defines model for ExchangeTokenRequest.
ExchangeTokenResponse defines model for ExchangeTokenResponse.
GetBundlesResponse defines model for GetBundlesResponse.
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
ServerInterfaceWrapper converts contexts to parameters.
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

# Interfaces

The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Doer performs HTTP requests.
No description provided by the author
ServerInterface represents all server handlers.
StrictServerInterface represents all server handlers.

# Type aliases

BundleId defines model for bundleId.
BundleStatusFailureSource source of the failure.
ClientOption allows setting custom parameters during construction.
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
ExchangeClusterIdentityTokenJSONRequestBody defines body for ExchangeClusterIdentityToken for application/json ContentType.
GetBootstrapConfigResponse defines model for GetBootstrapConfigResponse.
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
ReportClusterResourceBundleStatusJSONRequestBody defines body for ReportClusterResourceBundleStatus for application/json ContentType.
RequestEditorFn is the function signature for the RequestEditor callback function.
No description provided by the author
No description provided by the author
TokenProviderFn is a function that returns a token that is expected to be valid for at least minTTL.