package
1.20.0
Repository: https://github.com/tektoncd/hub.git
Documentation: pkg.go.dev

# Functions

HandleSwaggerOrigin applies the CORS response headers corresponding to the origin for the service swagger.
Mount configures the mux to serve the swagger endpoints.
MountCORSHandler configures the mux to serve the CORS endpoints for the service swagger.
MountDocsV1Openapi3JSON configures the mux to serve GET request made to "/v1/schema/swagger.json".
New instantiates HTTP handlers for all the swagger service endpoints using the provided encoder and decoder.
NewCORSHandler creates a HTTP handler which returns a simple 204 response.

# Structs

MountPoint holds information about the mounted endpoints.
Server lists the swagger service endpoint HTTP handlers.