// Code generated by goa v3.3.1, DO NOT EDIT.
//
// HTTP request path constructors for the resource service.
//
// Command:
// $ goa gen github.com/tektoncd/hub/api/design

package client

import (
	"fmt"
)

// QueryResourcePath returns the URL path to the resource service Query HTTP endpoint.
func QueryResourcePath() string {
	return "/query"
}

// ListResourcePath returns the URL path to the resource service List HTTP endpoint.
func ListResourcePath() string {
	return "/resources"
}

// VersionsByIDResourcePath returns the URL path to the resource service VersionsByID HTTP endpoint.
func VersionsByIDResourcePath(id uint) string {
	return fmt.Sprintf("/resource/%v/versions", id)
}

// ByCatalogKindNameVersionResourcePath returns the URL path to the resource service ByCatalogKindNameVersion HTTP endpoint.
func ByCatalogKindNameVersionResourcePath(catalog string, kind string, name string, version string) string {
	return fmt.Sprintf("/resource/%v/%v/%v/%v", catalog, kind, name, version)
}

// ByVersionIDResourcePath returns the URL path to the resource service ByVersionId HTTP endpoint.
func ByVersionIDResourcePath(versionID uint) string {
	return fmt.Sprintf("/resource/version/%v", versionID)
}

// ByCatalogKindNameResourcePath returns the URL path to the resource service ByCatalogKindName HTTP endpoint.
func ByCatalogKindNameResourcePath(catalog string, kind string, name string) string {
	return fmt.Sprintf("/resource/%v/%v/%v", catalog, kind, name)
}

// ByIDResourcePath returns the URL path to the resource service ById HTTP endpoint.
func ByIDResourcePath(id uint) string {
	return fmt.Sprintf("/resource/%v", id)
}
