package
0.0.0-20240816150306-18fa68df911d
Repository: https://github.com/joeycumines/sesame.git
Documentation: pkg.go.dev
# Functions
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewSesameCreateEndpointRequest calls the generic SesameCreateEndpoint builder with application/json body.
NewSesameCreateEndpointRequestWithBody generates requests for SesameCreateEndpoint with any type of body.
NewSesameCreateRemoteRequest calls the generic SesameCreateRemote builder with application/json body.
NewSesameCreateRemoteRequestWithBody generates requests for SesameCreateRemote with any type of body.
NewSesameDeleteEndpointRequest generates requests for SesameDeleteEndpoint.
NewSesameDeleteRemoteRequest generates requests for SesameDeleteRemote.
NewSesameGetEndpointRequest generates requests for SesameGetEndpoint.
NewSesameGetRemoteRequest generates requests for SesameGetRemote.
NewSesameListEndpointsRequest generates requests for SesameListEndpoints.
NewSesameListRemotesRequest generates requests for SesameListRemotes.
NewSesameProxyRequest calls the generic SesameProxy builder with application/json body.
NewSesameProxyRequestWithBody generates requests for SesameProxy with any type of body.
NewSesameUpdateEndpointRequest calls the generic SesameUpdateEndpoint builder with application/json body.
NewSesameUpdateEndpointRequestWithBody generates requests for SesameUpdateEndpoint with any type of body.
NewSesameUpdateRemoteRequest calls the generic SesameUpdateRemote builder with application/json body.
NewSesameUpdateRemoteRequestWithBody generates requests for SesameUpdateRemote with any type of body.
ParseSesameCreateEndpointResponse parses an HTTP response from a SesameCreateEndpointWithResponse call.
ParseSesameCreateRemoteResponse parses an HTTP response from a SesameCreateRemoteWithResponse call.
ParseSesameDeleteEndpointResponse parses an HTTP response from a SesameDeleteEndpointWithResponse call.
ParseSesameDeleteRemoteResponse parses an HTTP response from a SesameDeleteRemoteWithResponse call.
ParseSesameGetEndpointResponse parses an HTTP response from a SesameGetEndpointWithResponse call.
ParseSesameGetRemoteResponse parses an HTTP response from a SesameGetRemoteWithResponse call.
ParseSesameListEndpointsResponse parses an HTTP response from a SesameListEndpointsWithResponse call.
ParseSesameListRemotesResponse parses an HTTP response from a SesameListRemotesWithResponse call.
ParseSesameProxyResponse parses an HTTP response from a SesameProxyWithResponse call.
ParseSesameUpdateEndpointResponse parses an HTTP response from a SesameUpdateEndpointWithResponse call.
ParseSesameUpdateRemoteResponse parses an HTTP response from a SesameUpdateRemoteWithResponse 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.
# Structs
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
EndpointSpec Spec models the endpoint specification, containing configuration around access and usage behavior.
GrpcMetadataBin defines model for GrpcMetadataBin.
GrpcMetadataStr defines model for GrpcMetadataStr.
ProtobufAny `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
ProxyRequestDial Dial models the initial request routing of a method call.
ProxyResponseConn Conn is the response to ProxyRequest.dial.
RpcStatus The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.
SesameCreateEndpointParams defines parameters for SesameCreateEndpoint.
No description provided by the author
SesameCreateRemoteParams defines parameters for SesameCreateRemote.
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
SesameListEndpointsParams defines parameters for SesameListEndpoints.
No description provided by the author
SesameListRemotesParams defines parameters for SesameListRemotes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TypeGrpcMetadata GrpcMetadata represents gRPC request or response (header, trailer) metadata.
TypeGrpcMetadataValue defines model for typeGrpcMetadataValue.
V1alpha1Endpoint Endpoint is a gRPC service available via a remote.
V1alpha1ListEndpointsResponse defines model for v1alpha1ListEndpointsResponse.
V1alpha1ListRemotesResponse defines model for v1alpha1ListRemotesResponse.
V1alpha1Namespace Namespace scopes resources in the Sesame API, and is intended to (eventually) facilitate scoped simple auth.
V1alpha1ProxyRequest defines model for v1alpha1ProxyRequest.
V1alpha1ProxyResponse defines model for v1alpha1ProxyResponse.
V1alpha1Remote Remote is a network device or other resource that may be accessed by Sesame clients.
# Interfaces
The interface specification for the client above.
ClientWithResponsesInterface is the interface specification for the client with responses above.
Doer performs HTTP requests.
# Type aliases
ClientOption allows setting custom parameters during construction.
EndpointTunnel Tunnel models an endpoint exposed directly over a tunnel provider.
RequestEditorFn is the function signature for the RequestEditor callback function.
SesameCreateEndpointJSONRequestBody defines body for SesameCreateEndpoint for application/json ContentType.
SesameCreateRemoteJSONRequestBody defines body for SesameCreateRemote for application/json ContentType.
SesameProxyJSONRequestBody defines body for SesameProxy for application/json ContentType.
SesameUpdateEndpointJSONRequestBody defines body for SesameUpdateEndpoint for application/json ContentType.
SesameUpdateRemoteJSONRequestBody defines body for SesameUpdateRemote for application/json ContentType.