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

# Functions

ByCatalogKindNameResourcePath returns the URL path to the resource service ByCatalogKindName HTTP endpoint.
ByCatalogKindNameVersionResourcePath returns the URL path to the resource service ByCatalogKindNameVersion HTTP endpoint.
ByIDResourcePath returns the URL path to the resource service ById HTTP endpoint.
ByVersionIDResourcePath returns the URL path to the resource service ByVersionId HTTP endpoint.
DecodeByCatalogKindNameRequest returns a decoder for requests sent to the resource ByCatalogKindName endpoint.
DecodeByCatalogKindNameVersionRequest returns a decoder for requests sent to the resource ByCatalogKindNameVersion endpoint.
DecodeByIDRequest returns a decoder for requests sent to the resource ById endpoint.
DecodeByVersionIDRequest returns a decoder for requests sent to the resource ByVersionId endpoint.
DecodeQueryRequest returns a decoder for requests sent to the resource Query endpoint.
DecodeVersionsByIDRequest returns a decoder for requests sent to the resource VersionsByID endpoint.
EncodeByCatalogKindNameResponse returns an encoder for responses returned by the resource ByCatalogKindName endpoint.
EncodeByCatalogKindNameVersionResponse returns an encoder for responses returned by the resource ByCatalogKindNameVersion endpoint.
EncodeByIDResponse returns an encoder for responses returned by the resource ById endpoint.
EncodeByVersionIDResponse returns an encoder for responses returned by the resource ByVersionId endpoint.
EncodeQueryResponse returns an encoder for responses returned by the resource Query endpoint.
EncodeVersionsByIDResponse returns an encoder for responses returned by the resource VersionsByID endpoint.
HandleResourceOrigin applies the CORS response headers corresponding to the origin for the service resource.
ListResourcePath returns the URL path to the resource service List HTTP endpoint.
Mount configures the mux to serve the resource endpoints.
MountByCatalogKindNameHandler configures the mux to serve the "resource" service "ByCatalogKindName" endpoint.
MountByCatalogKindNameVersionHandler configures the mux to serve the "resource" service "ByCatalogKindNameVersion" endpoint.
MountByIDHandler configures the mux to serve the "resource" service "ById" endpoint.
MountByVersionIDHandler configures the mux to serve the "resource" service "ByVersionId" endpoint.
MountCORSHandler configures the mux to serve the CORS endpoints for the service resource.
MountListHandler configures the mux to serve the "resource" service "List" endpoint.
MountQueryHandler configures the mux to serve the "resource" service "Query" endpoint.
MountVersionsByIDHandler configures the mux to serve the "resource" service "VersionsByID" endpoint.
New instantiates HTTP handlers for all the resource service endpoints using the provided encoder and decoder.
NewByCatalogKindNameHandler creates a HTTP handler which loads the HTTP request and calls the "resource" service "ByCatalogKindName" endpoint.
NewByCatalogKindNamePayload builds a resource service ByCatalogKindName endpoint payload.
NewByCatalogKindNameVersionHandler creates a HTTP handler which loads the HTTP request and calls the "resource" service "ByCatalogKindNameVersion" endpoint.
NewByCatalogKindNameVersionPayload builds a resource service ByCatalogKindNameVersion endpoint payload.
NewByIDHandler creates a HTTP handler which loads the HTTP request and calls the "resource" service "ById" endpoint.
NewByIDPayload builds a resource service ById endpoint payload.
NewByVersionIDHandler creates a HTTP handler which loads the HTTP request and calls the "resource" service "ByVersionId" endpoint.
NewByVersionIDPayload builds a resource service ByVersionId endpoint payload.
NewCORSHandler creates a HTTP handler which returns a simple 204 response.
NewListHandler creates a HTTP handler which loads the HTTP request and calls the "resource" service "List" endpoint.
NewListResponseBody builds the HTTP response body from the result of the "List" endpoint of the "resource" service.
NewQueryHandler creates a HTTP handler which loads the HTTP request and calls the "resource" service "Query" endpoint.
NewQueryPayload builds a resource service Query endpoint payload.
NewVersionsByIDHandler creates a HTTP handler which loads the HTTP request and calls the "resource" service "VersionsByID" endpoint.
NewVersionsByIDPayload builds a resource service VersionsByID endpoint payload.
QueryResourcePath returns the URL path to the resource service Query HTTP endpoint.
VersionsByIDResourcePath returns the URL path to the resource service VersionsByID HTTP endpoint.

# Structs

CatalogResponseBodyMin is used to define fields on response body types.
CategoryResponseBody is used to define fields on response body types.
ListResponseBody is the type of the "resource" service "List" endpoint HTTP response body.
MountPoint holds information about the mounted endpoints.
PlatformResponseBody is used to define fields on response body types.
ResourceDataResponseBodyWithoutVersion is used to define fields on response body types.
ResourceVersionDataResponseBodyWithoutResource is used to define fields on response body types.
Server lists the resource service endpoint HTTP handlers.
TagResponseBody is used to define fields on response body types.

# Type aliases

ResourceDataResponseBodyWithoutVersionCollection is used to define fields on response body types.