package
0.12.0
Repository: https://github.com/scionproto/scion.git
Documentation: pkg.go.dev

# Functions

Error creates an detailed error response.
GetSwagger returns the Swagger specification corresponding to the generated code in this file.
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.
Creates a new Client, with reasonable defaults.
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling.
NewGetConfigRequest generates requests for GetConfig.
NewGetInfoRequest generates requests for GetInfo.
NewGetInterfacesRequest generates requests for GetInterfaces.
NewGetLogLevelRequest generates requests for GetLogLevel.
NewSetLogLevelRequest calls the generic SetLogLevel builder with application/json body.
NewSetLogLevelRequestWithBody generates requests for SetLogLevel with any type of body.
ParseGetConfigResponse parses an HTTP response from a GetConfigWithResponse call.
ParseGetInfoResponse parses an HTTP response from a GetInfoWithResponse call.
ParseGetInterfacesResponse parses an HTTP response from a GetInterfacesWithResponse call.
ParseGetLogLevelResponse parses an HTTP response from a GetLogLevelWithResponse call.
ParseSetLogLevelResponse parses an HTTP response from a SetLogLevelWithResponse call.
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
ServeSpecInteractive serves the interactive redocly OpenAPI3 spec.
ServeSpecJSON serves the json encoded OpenAPI3 spec.
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

Defines values for LinkRelationship.
Defines values for LinkRelationship.
Defines values for LogLevelLevel.
Defines values for LinkState.
Defines values for LogLevelLevel.
Defines values for LogLevelLevel.
Defines values for LinkRelationship.
Defines values for LinkRelationship.
Defines values for LinkState.

# Structs

BFD defines model for BFD.
No description provided by the author
Client which conforms to the OpenAPI3 specification for this service.
ClientWithResponses builds on ClientInterface to offer response payloads.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Interface defines model for Interface.
InterfaceNeighbor defines model for InterfaceNeighbor.
InterfacesResponse defines model for InterfacesResponse.
No description provided by the author
LogLevel defines model for LogLevel.
Problem defines model for Problem.
No description provided by the author
No description provided by the author
Server implements the Control Service API.
ServerInterfaceWrapper converts contexts to parameters.
No description provided by the author
SiblingInterface defines model for SiblingInterface.
SiblingNeighbor defines model for SiblingNeighbor.
StandardError defines model for StandardError.
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.
Doer performs HTTP requests.
ServerInterface represents all server handlers.

# Type aliases

BadRequest defines model for BadRequest.
ClientOption allows setting custom parameters during construction.
IsdAs defines model for IsdAs.
LinkRelationship defines model for LinkRelationship.
LinkState defines model for LinkState.
LogLevelLevel Logging level.
No description provided by the author
RequestEditorFn is the function signature for the RequestEditor callback function.
ScionMTU The maximum transmission unit in bytes for SCION packets.
SetLogLevelJSONRequestBody defines body for SetLogLevel for application/json ContentType.