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

# Functions

EncodeListError returns an encoder for errors returned by the list category endpoint.
EncodeListResponse returns an encoder for responses returned by the category list endpoint.
HandleCategoryOrigin applies the CORS response headers corresponding to the origin for the service category.
ListCategoryPath returns the URL path to the category service list HTTP endpoint.
ListCategoryPath2 returns the URL path to the category service list HTTP endpoint.
Mount configures the mux to serve the category endpoints.
MountCORSHandler configures the mux to serve the CORS endpoints for the service category.
MountListHandler configures the mux to serve the "category" service "list" endpoint.
New instantiates HTTP handlers for all the category service endpoints using the provided encoder and decoder.
NewCORSHandler creates a HTTP handler which returns a simple 204 response.
NewListHandler creates a HTTP handler which loads the HTTP request and calls the "category" service "list" endpoint.
NewListInternalErrorResponseBody builds the HTTP response body from the result of the "list" endpoint of the "category" service.
NewListResponseBody builds the HTTP response body from the result of the "list" endpoint of the "category" service.

# Structs

CategoryResponseBody is used to define fields on response body types.
ListInternalErrorResponseBody is the type of the "category" service "list" endpoint HTTP response body for the "internal-error" error.
ListResponseBody is the type of the "category" service "list" endpoint HTTP response body.
MountPoint holds information about the mounted endpoints.
Server lists the category service endpoint HTTP handlers.