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

# Packages

No description provided by the author

# Functions

MakeInternalError builds a goa.ServiceError from an error.
MakeInvalidKind builds a goa.ServiceError from an error.
MakeNotFound builds a goa.ServiceError from an error.
NewByCatalogKindNameEndpoint returns an endpoint function that calls the method "ByCatalogKindName" of service "resource".
NewByCatalogKindNameVersionEndpoint returns an endpoint function that calls the method "ByCatalogKindNameVersion" of service "resource".
NewByCatalogKindNameVersionReadmeEndpoint returns an endpoint function that calls the method "ByCatalogKindNameVersionReadme" of service "resource".
NewByCatalogKindNameVersionYamlEndpoint returns an endpoint function that calls the method "ByCatalogKindNameVersionYaml" of service "resource".
NewByIDEndpoint returns an endpoint function that calls the method "ById" of service "resource".
NewByVersionIDEndpoint returns an endpoint function that calls the method "ByVersionId" of service "resource".
NewClient initializes a "resource" service client given the endpoints.
NewEndpoints wraps the methods of the "resource" service with endpoints.
NewGetLatestRawYamlByCatalogKindNameEndpoint returns an endpoint function that calls the method "GetLatestRawYamlByCatalogKindName" of service "resource".
NewGetRawYamlByCatalogKindNameVersionEndpoint returns an endpoint function that calls the method "GetRawYamlByCatalogKindNameVersion" of service "resource".
NewListEndpoint returns an endpoint function that calls the method "List" of service "resource".
NewQueryEndpoint returns an endpoint function that calls the method "Query" of service "resource".
NewResource initializes result type Resource from viewed result type Resource.
NewResources initializes result type Resources from viewed result type Resources.
NewResourceVersion initializes result type ResourceVersion from viewed result type ResourceVersion.
NewResourceVersionReadme initializes result type ResourceVersionReadme from viewed result type ResourceVersionReadme.
NewResourceVersions initializes result type ResourceVersions from viewed result type ResourceVersions.
NewResourceVersionYaml initializes result type ResourceVersionYaml from viewed result type ResourceVersionYaml.
NewVersionsByIDEndpoint returns an endpoint function that calls the method "VersionsByID" of service "resource".
NewViewedResource initializes viewed result type Resource from result type Resource using the given view.
NewViewedResources initializes viewed result type Resources from result type Resources using the given view.
NewViewedResourceVersion initializes viewed result type ResourceVersion from result type ResourceVersion using the given view.
NewViewedResourceVersionReadme initializes viewed result type ResourceVersionReadme from result type ResourceVersionReadme using the given view.
NewViewedResourceVersions initializes viewed result type ResourceVersions from result type ResourceVersions using the given view.
NewViewedResourceVersionYaml initializes viewed result type ResourceVersionYaml from result type ResourceVersionYaml using the given view.

# Constants

APIName is the name of the API as defined in the design.
APIVersion is the version of the API as defined in the design.
ServiceName is the name of the service as defined in the design.

# Variables

MethodNames lists the service method names as defined in the design.

# Structs

ByCatalogKindNamePayload is the payload type of the resource service ByCatalogKindName method.
ByCatalogKindNameVersionPayload is the payload type of the resource service ByCatalogKindNameVersion method.
ByCatalogKindNameVersionReadmePayload is the payload type of the resource service ByCatalogKindNameVersionReadme method.
ByCatalogKindNameVersionYamlPayload is the payload type of the resource service ByCatalogKindNameVersionYaml method.
ByIDPayload is the payload type of the resource service ById method.
ByVersionIDPayload is the payload type of the resource service ByVersionId method.
No description provided by the author
No description provided by the author
Client is the "resource" service client.
Endpoints wraps the "resource" service endpoints.
GetLatestRawYamlByCatalogKindNamePayload is the payload type of the resource service GetLatestRawYamlByCatalogKindName method.
GetLatestRawYamlByCatalogKindNameResponseData holds both the result and the HTTP response body reader of the "GetLatestRawYamlByCatalogKindName" method.
GetRawYamlByCatalogKindNameVersionPayload is the payload type of the resource service GetRawYamlByCatalogKindNameVersion method.
GetRawYamlByCatalogKindNameVersionResponseData holds both the result and the HTTP response body reader of the "GetRawYamlByCatalogKindNameVersion" method.
ListPayload is the payload type of the resource service List method.
No description provided by the author
QueryPayload is the payload type of the resource service Query method.
Resource is the result type of the resource service ByCatalogKindName method.
No description provided by the author
The resource type describes resource information.
Resources is the result type of the resource service Query method.
ResourceVersion is the result type of the resource service ByCatalogKindNameVersion method.
The Version result type describes resource's version information.
ResourceVersionReadme is the result type of the resource service ByCatalogKindNameVersionReadme method.
ResourceVersions is the result type of the resource service VersionsByID method.
ResourceVersionYaml is the result type of the resource service ByCatalogKindNameVersionYaml method.
No description provided by the author
The Versions type describes response for versions by resource id API.
VersionsByIDPayload is the payload type of the resource service VersionsByID method.

# Interfaces

The resource service provides details about all kind of resources.

# Type aliases

No description provided by the author