client

package
v1.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildByCatalogKindNamePayload

func BuildByCatalogKindNamePayload(resourceByCatalogKindNameCatalog string, resourceByCatalogKindNameKind string, resourceByCatalogKindNameName string, resourceByCatalogKindNamePipelinesversion string) (*resource.ByCatalogKindNamePayload, error)

BuildByCatalogKindNamePayload builds the payload for the resource ByCatalogKindName endpoint from CLI flags.

func BuildByCatalogKindNameVersionPayload

func BuildByCatalogKindNameVersionPayload(resourceByCatalogKindNameVersionCatalog string, resourceByCatalogKindNameVersionKind string, resourceByCatalogKindNameVersionName string, resourceByCatalogKindNameVersionVersion string) (*resource.ByCatalogKindNameVersionPayload, error)

BuildByCatalogKindNameVersionPayload builds the payload for the resource ByCatalogKindNameVersion endpoint from CLI flags.

func BuildByCatalogKindNameVersionReadmePayload

func BuildByCatalogKindNameVersionReadmePayload(resourceByCatalogKindNameVersionReadmeCatalog string, resourceByCatalogKindNameVersionReadmeKind string, resourceByCatalogKindNameVersionReadmeName string, resourceByCatalogKindNameVersionReadmeVersion string) (*resource.ByCatalogKindNameVersionReadmePayload, error)

BuildByCatalogKindNameVersionReadmePayload builds the payload for the resource ByCatalogKindNameVersionReadme endpoint from CLI flags.

func BuildByCatalogKindNameVersionYamlPayload

func BuildByCatalogKindNameVersionYamlPayload(resourceByCatalogKindNameVersionYamlCatalog string, resourceByCatalogKindNameVersionYamlKind string, resourceByCatalogKindNameVersionYamlName string, resourceByCatalogKindNameVersionYamlVersion string) (*resource.ByCatalogKindNameVersionYamlPayload, error)

BuildByCatalogKindNameVersionYamlPayload builds the payload for the resource ByCatalogKindNameVersionYaml endpoint from CLI flags.

func BuildByIDPayload

func BuildByIDPayload(resourceByIDID string) (*resource.ByIDPayload, error)

BuildByIDPayload builds the payload for the resource ById endpoint from CLI flags.

func BuildByVersionIDPayload

func BuildByVersionIDPayload(resourceByVersionIDVersionID string) (*resource.ByVersionIDPayload, error)

BuildByVersionIDPayload builds the payload for the resource ByVersionId endpoint from CLI flags.

func BuildListPayload

func BuildListPayload(resourceListLimit string) (*resource.ListPayload, error)

BuildListPayload builds the payload for the resource List endpoint from CLI flags.

func BuildQueryPayload

func BuildQueryPayload(resourceQueryName string, resourceQueryCatalogs string, resourceQueryCategories string, resourceQueryKinds string, resourceQueryTags string, resourceQueryPlatforms string, resourceQueryLimit string, resourceQueryMatch string) (*resource.QueryPayload, error)

BuildQueryPayload builds the payload for the resource Query endpoint from CLI flags.

func BuildVersionsByIDPayload

func BuildVersionsByIDPayload(resourceVersionsByIDID string) (*resource.VersionsByIDPayload, error)

BuildVersionsByIDPayload builds the payload for the resource VersionsByID endpoint from CLI flags.

func ByCatalogKindNameResourcePath

func ByCatalogKindNameResourcePath(catalog string, kind string, name string) string

ByCatalogKindNameResourcePath returns the URL path to the resource service ByCatalogKindName HTTP endpoint.

func ByCatalogKindNameVersionReadmeResourcePath

func ByCatalogKindNameVersionReadmeResourcePath(catalog string, kind string, name string, version string) string

ByCatalogKindNameVersionReadmeResourcePath returns the URL path to the resource service ByCatalogKindNameVersionReadme HTTP endpoint.

func ByCatalogKindNameVersionResourcePath

func ByCatalogKindNameVersionResourcePath(catalog string, kind string, name string, version string) string

ByCatalogKindNameVersionResourcePath returns the URL path to the resource service ByCatalogKindNameVersion HTTP endpoint.

func ByCatalogKindNameVersionYamlResourcePath

func ByCatalogKindNameVersionYamlResourcePath(catalog string, kind string, name string, version string) string

ByCatalogKindNameVersionYamlResourcePath returns the URL path to the resource service ByCatalogKindNameVersionYaml HTTP endpoint.

func ByIDResourcePath

func ByIDResourcePath(id uint) string

ByIDResourcePath returns the URL path to the resource service ById HTTP endpoint.

func ByVersionIDResourcePath

func ByVersionIDResourcePath(versionID uint) string

ByVersionIDResourcePath returns the URL path to the resource service ByVersionId HTTP endpoint.

func DecodeByCatalogKindNameResponse

func DecodeByCatalogKindNameResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeByCatalogKindNameResponse returns a decoder for responses returned by the resource ByCatalogKindName endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeByCatalogKindNameResponse may return the following errors:

  • "internal-error" (type *goa.ServiceError): http.StatusInternalServerError
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • error: internal error

func DecodeByCatalogKindNameVersionReadmeResponse

func DecodeByCatalogKindNameVersionReadmeResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeByCatalogKindNameVersionReadmeResponse returns a decoder for responses returned by the resource ByCatalogKindNameVersionReadme endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeByCatalogKindNameVersionReadmeResponse may return the following errors:

  • "internal-error" (type *goa.ServiceError): http.StatusInternalServerError
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • error: internal error

func DecodeByCatalogKindNameVersionResponse

func DecodeByCatalogKindNameVersionResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeByCatalogKindNameVersionResponse returns a decoder for responses returned by the resource ByCatalogKindNameVersion endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeByCatalogKindNameVersionResponse may return the following errors:

  • "internal-error" (type *goa.ServiceError): http.StatusInternalServerError
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • error: internal error

func DecodeByCatalogKindNameVersionYamlResponse

func DecodeByCatalogKindNameVersionYamlResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeByCatalogKindNameVersionYamlResponse returns a decoder for responses returned by the resource ByCatalogKindNameVersionYaml endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeByCatalogKindNameVersionYamlResponse may return the following errors:

  • "internal-error" (type *goa.ServiceError): http.StatusInternalServerError
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • error: internal error

func DecodeByIDResponse

func DecodeByIDResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeByIDResponse returns a decoder for responses returned by the resource ById endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeByIDResponse may return the following errors:

  • "internal-error" (type *goa.ServiceError): http.StatusInternalServerError
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • error: internal error

func DecodeByVersionIDResponse

func DecodeByVersionIDResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeByVersionIDResponse returns a decoder for responses returned by the resource ByVersionId endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeByVersionIDResponse may return the following errors:

  • "internal-error" (type *goa.ServiceError): http.StatusInternalServerError
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • error: internal error

func DecodeListResponse

func DecodeListResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeListResponse returns a decoder for responses returned by the resource List endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeListResponse may return the following errors:

  • "internal-error" (type *goa.ServiceError): http.StatusInternalServerError
  • error: internal error

func DecodeQueryResponse

func DecodeQueryResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeQueryResponse returns a decoder for responses returned by the resource Query endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeQueryResponse may return the following errors:

  • "internal-error" (type *goa.ServiceError): http.StatusInternalServerError
  • "invalid-kind" (type *goa.ServiceError): http.StatusBadRequest
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • error: internal error

func DecodeVersionsByIDResponse

func DecodeVersionsByIDResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)

DecodeVersionsByIDResponse returns a decoder for responses returned by the resource VersionsByID endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeVersionsByIDResponse may return the following errors:

  • "internal-error" (type *goa.ServiceError): http.StatusInternalServerError
  • "not-found" (type *goa.ServiceError): http.StatusNotFound
  • error: internal error

func EncodeByCatalogKindNameRequest

func EncodeByCatalogKindNameRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeByCatalogKindNameRequest returns an encoder for requests sent to the resource ByCatalogKindName server.

func EncodeListRequest

func EncodeListRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeListRequest returns an encoder for requests sent to the resource List server.

func EncodeQueryRequest

func EncodeQueryRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error

EncodeQueryRequest returns an encoder for requests sent to the resource Query server.

func ListResourcePath

func ListResourcePath() string

ListResourcePath returns the URL path to the resource service List HTTP endpoint.

func NewByCatalogKindNameInternalError

func NewByCatalogKindNameInternalError(body *ByCatalogKindNameInternalErrorResponseBody) *goa.ServiceError

NewByCatalogKindNameInternalError builds a resource service ByCatalogKindName endpoint internal-error error.

func NewByCatalogKindNameNotFound

func NewByCatalogKindNameNotFound(body *ByCatalogKindNameNotFoundResponseBody) *goa.ServiceError

NewByCatalogKindNameNotFound builds a resource service ByCatalogKindName endpoint not-found error.

func NewByCatalogKindNameResourceOK

func NewByCatalogKindNameResourceOK(body *ByCatalogKindNameResponseBody) *resourceviews.ResourceView

NewByCatalogKindNameResourceOK builds a "resource" service "ByCatalogKindName" endpoint result from a HTTP "OK" response.

func NewByCatalogKindNameVersionInternalError

func NewByCatalogKindNameVersionInternalError(body *ByCatalogKindNameVersionInternalErrorResponseBody) *goa.ServiceError

NewByCatalogKindNameVersionInternalError builds a resource service ByCatalogKindNameVersion endpoint internal-error error.

func NewByCatalogKindNameVersionNotFound

func NewByCatalogKindNameVersionNotFound(body *ByCatalogKindNameVersionNotFoundResponseBody) *goa.ServiceError

NewByCatalogKindNameVersionNotFound builds a resource service ByCatalogKindNameVersion endpoint not-found error.

func NewByCatalogKindNameVersionReadmeInternalError

func NewByCatalogKindNameVersionReadmeInternalError(body *ByCatalogKindNameVersionReadmeInternalErrorResponseBody) *goa.ServiceError

NewByCatalogKindNameVersionReadmeInternalError builds a resource service ByCatalogKindNameVersionReadme endpoint internal-error error.

func NewByCatalogKindNameVersionReadmeNotFound

func NewByCatalogKindNameVersionReadmeNotFound(body *ByCatalogKindNameVersionReadmeNotFoundResponseBody) *goa.ServiceError

NewByCatalogKindNameVersionReadmeNotFound builds a resource service ByCatalogKindNameVersionReadme endpoint not-found error.

func NewByCatalogKindNameVersionReadmeResourceVersionReadmeOK

func NewByCatalogKindNameVersionReadmeResourceVersionReadmeOK(body *ByCatalogKindNameVersionReadmeResponseBody) *resourceviews.ResourceVersionReadmeView

NewByCatalogKindNameVersionReadmeResourceVersionReadmeOK builds a "resource" service "ByCatalogKindNameVersionReadme" endpoint result from a HTTP "OK" response.

func NewByCatalogKindNameVersionResourceVersionOK

func NewByCatalogKindNameVersionResourceVersionOK(body *ByCatalogKindNameVersionResponseBody) *resourceviews.ResourceVersionView

NewByCatalogKindNameVersionResourceVersionOK builds a "resource" service "ByCatalogKindNameVersion" endpoint result from a HTTP "OK" response.

func NewByCatalogKindNameVersionYamlInternalError

func NewByCatalogKindNameVersionYamlInternalError(body *ByCatalogKindNameVersionYamlInternalErrorResponseBody) *goa.ServiceError

NewByCatalogKindNameVersionYamlInternalError builds a resource service ByCatalogKindNameVersionYaml endpoint internal-error error.

func NewByCatalogKindNameVersionYamlNotFound

func NewByCatalogKindNameVersionYamlNotFound(body *ByCatalogKindNameVersionYamlNotFoundResponseBody) *goa.ServiceError

NewByCatalogKindNameVersionYamlNotFound builds a resource service ByCatalogKindNameVersionYaml endpoint not-found error.

func NewByCatalogKindNameVersionYamlResourceVersionYamlOK

func NewByCatalogKindNameVersionYamlResourceVersionYamlOK(body *ByCatalogKindNameVersionYamlResponseBody) *resourceviews.ResourceVersionYamlView

NewByCatalogKindNameVersionYamlResourceVersionYamlOK builds a "resource" service "ByCatalogKindNameVersionYaml" endpoint result from a HTTP "OK" response.

func NewByIDInternalError

func NewByIDInternalError(body *ByIDInternalErrorResponseBody) *goa.ServiceError

NewByIDInternalError builds a resource service ById endpoint internal-error error.

func NewByIDNotFound

func NewByIDNotFound(body *ByIDNotFoundResponseBody) *goa.ServiceError

NewByIDNotFound builds a resource service ById endpoint not-found error.

func NewByIDResourceOK

func NewByIDResourceOK(body *ByIDResponseBody) *resourceviews.ResourceView

NewByIDResourceOK builds a "resource" service "ById" endpoint result from a HTTP "OK" response.

func NewByVersionIDInternalError

func NewByVersionIDInternalError(body *ByVersionIDInternalErrorResponseBody) *goa.ServiceError

NewByVersionIDInternalError builds a resource service ByVersionId endpoint internal-error error.

func NewByVersionIDNotFound

func NewByVersionIDNotFound(body *ByVersionIDNotFoundResponseBody) *goa.ServiceError

NewByVersionIDNotFound builds a resource service ByVersionId endpoint not-found error.

func NewByVersionIDResourceVersionOK

func NewByVersionIDResourceVersionOK(body *ByVersionIDResponseBody) *resourceviews.ResourceVersionView

NewByVersionIDResourceVersionOK builds a "resource" service "ByVersionId" endpoint result from a HTTP "OK" response.

func NewListInternalError

func NewListInternalError(body *ListInternalErrorResponseBody) *goa.ServiceError

NewListInternalError builds a resource service List endpoint internal-error error.

func NewListResourcesOK

func NewListResourcesOK(body *ListResponseBody) *resourceviews.ResourcesView

NewListResourcesOK builds a "resource" service "List" endpoint result from a HTTP "OK" response.

func NewQueryInternalError

func NewQueryInternalError(body *QueryInternalErrorResponseBody) *goa.ServiceError

NewQueryInternalError builds a resource service Query endpoint internal-error error.

func NewQueryInvalidKind

func NewQueryInvalidKind(body *QueryInvalidKindResponseBody) *goa.ServiceError

NewQueryInvalidKind builds a resource service Query endpoint invalid-kind error.

func NewQueryNotFound

func NewQueryNotFound(body *QueryNotFoundResponseBody) *goa.ServiceError

NewQueryNotFound builds a resource service Query endpoint not-found error.

func NewQueryResourcesOK

func NewQueryResourcesOK(body *QueryResponseBody) *resourceviews.ResourcesView

NewQueryResourcesOK builds a "resource" service "Query" endpoint result from a HTTP "OK" response.

func NewVersionsByIDInternalError

func NewVersionsByIDInternalError(body *VersionsByIDInternalErrorResponseBody) *goa.ServiceError

NewVersionsByIDInternalError builds a resource service VersionsByID endpoint internal-error error.

func NewVersionsByIDNotFound

func NewVersionsByIDNotFound(body *VersionsByIDNotFoundResponseBody) *goa.ServiceError

NewVersionsByIDNotFound builds a resource service VersionsByID endpoint not-found error.

func NewVersionsByIDResourceVersionsOK

func NewVersionsByIDResourceVersionsOK(body *VersionsByIDResponseBody) *resourceviews.ResourceVersionsView

NewVersionsByIDResourceVersionsOK builds a "resource" service "VersionsByID" endpoint result from a HTTP "OK" response.

func QueryResourcePath

func QueryResourcePath() string

QueryResourcePath returns the URL path to the resource service Query HTTP endpoint.

func ValidateByCatalogKindNameInternalErrorResponseBody

func ValidateByCatalogKindNameInternalErrorResponseBody(body *ByCatalogKindNameInternalErrorResponseBody) (err error)

ValidateByCatalogKindNameInternalErrorResponseBody runs the validations defined on ByCatalogKindName_internal-error_Response_Body

func ValidateByCatalogKindNameNotFoundResponseBody

func ValidateByCatalogKindNameNotFoundResponseBody(body *ByCatalogKindNameNotFoundResponseBody) (err error)

ValidateByCatalogKindNameNotFoundResponseBody runs the validations defined on ByCatalogKindName_not-found_Response_Body

func ValidateByCatalogKindNameVersionInternalErrorResponseBody

func ValidateByCatalogKindNameVersionInternalErrorResponseBody(body *ByCatalogKindNameVersionInternalErrorResponseBody) (err error)

ValidateByCatalogKindNameVersionInternalErrorResponseBody runs the validations defined on ByCatalogKindNameVersion_internal-error_Response_Body

func ValidateByCatalogKindNameVersionNotFoundResponseBody

func ValidateByCatalogKindNameVersionNotFoundResponseBody(body *ByCatalogKindNameVersionNotFoundResponseBody) (err error)

ValidateByCatalogKindNameVersionNotFoundResponseBody runs the validations defined on ByCatalogKindNameVersion_not-found_Response_Body

func ValidateByCatalogKindNameVersionReadmeInternalErrorResponseBody

func ValidateByCatalogKindNameVersionReadmeInternalErrorResponseBody(body *ByCatalogKindNameVersionReadmeInternalErrorResponseBody) (err error)

ValidateByCatalogKindNameVersionReadmeInternalErrorResponseBody runs the validations defined on ByCatalogKindNameVersionReadme_internal-error_Response_Body

func ValidateByCatalogKindNameVersionReadmeNotFoundResponseBody

func ValidateByCatalogKindNameVersionReadmeNotFoundResponseBody(body *ByCatalogKindNameVersionReadmeNotFoundResponseBody) (err error)

ValidateByCatalogKindNameVersionReadmeNotFoundResponseBody runs the validations defined on ByCatalogKindNameVersionReadme_not-found_Response_Body

func ValidateByCatalogKindNameVersionYamlInternalErrorResponseBody

func ValidateByCatalogKindNameVersionYamlInternalErrorResponseBody(body *ByCatalogKindNameVersionYamlInternalErrorResponseBody) (err error)

ValidateByCatalogKindNameVersionYamlInternalErrorResponseBody runs the validations defined on ByCatalogKindNameVersionYaml_internal-error_Response_Body

func ValidateByCatalogKindNameVersionYamlNotFoundResponseBody

func ValidateByCatalogKindNameVersionYamlNotFoundResponseBody(body *ByCatalogKindNameVersionYamlNotFoundResponseBody) (err error)

ValidateByCatalogKindNameVersionYamlNotFoundResponseBody runs the validations defined on ByCatalogKindNameVersionYaml_not-found_Response_Body

func ValidateByIDInternalErrorResponseBody

func ValidateByIDInternalErrorResponseBody(body *ByIDInternalErrorResponseBody) (err error)

ValidateByIDInternalErrorResponseBody runs the validations defined on ById_internal-error_Response_Body

func ValidateByIDNotFoundResponseBody

func ValidateByIDNotFoundResponseBody(body *ByIDNotFoundResponseBody) (err error)

ValidateByIDNotFoundResponseBody runs the validations defined on ById_not-found_Response_Body

func ValidateByVersionIDInternalErrorResponseBody

func ValidateByVersionIDInternalErrorResponseBody(body *ByVersionIDInternalErrorResponseBody) (err error)

ValidateByVersionIDInternalErrorResponseBody runs the validations defined on ByVersionId_internal-error_Response_Body

func ValidateByVersionIDNotFoundResponseBody

func ValidateByVersionIDNotFoundResponseBody(body *ByVersionIDNotFoundResponseBody) (err error)

ValidateByVersionIDNotFoundResponseBody runs the validations defined on ByVersionId_not-found_Response_Body

func ValidateCatalogResponseBody

func ValidateCatalogResponseBody(body *CatalogResponseBody) (err error)

ValidateCatalogResponseBody runs the validations defined on CatalogResponseBody

func ValidateCategoryResponseBody

func ValidateCategoryResponseBody(body *CategoryResponseBody) (err error)

ValidateCategoryResponseBody runs the validations defined on CategoryResponseBody

func ValidateListInternalErrorResponseBody

func ValidateListInternalErrorResponseBody(body *ListInternalErrorResponseBody) (err error)

ValidateListInternalErrorResponseBody runs the validations defined on List_internal-error_Response_Body

func ValidatePlatformResponseBody

func ValidatePlatformResponseBody(body *PlatformResponseBody) (err error)

ValidatePlatformResponseBody runs the validations defined on PlatformResponseBody

func ValidateQueryInternalErrorResponseBody

func ValidateQueryInternalErrorResponseBody(body *QueryInternalErrorResponseBody) (err error)

ValidateQueryInternalErrorResponseBody runs the validations defined on Query_internal-error_Response_Body

func ValidateQueryInvalidKindResponseBody

func ValidateQueryInvalidKindResponseBody(body *QueryInvalidKindResponseBody) (err error)

ValidateQueryInvalidKindResponseBody runs the validations defined on Query_invalid-kind_Response_Body

func ValidateQueryNotFoundResponseBody

func ValidateQueryNotFoundResponseBody(body *QueryNotFoundResponseBody) (err error)

ValidateQueryNotFoundResponseBody runs the validations defined on Query_not-found_Response_Body

func ValidateResourceDataCollectionResponseBody

func ValidateResourceDataCollectionResponseBody(body ResourceDataCollectionResponseBody) (err error)

ValidateResourceDataCollectionResponseBody runs the validations defined on ResourceDataCollectionResponseBody

func ValidateResourceDataResponseBody

func ValidateResourceDataResponseBody(body *ResourceDataResponseBody) (err error)

ValidateResourceDataResponseBody runs the validations defined on ResourceDataResponseBody

func ValidateResourceVersionDataResponseBody

func ValidateResourceVersionDataResponseBody(body *ResourceVersionDataResponseBody) (err error)

ValidateResourceVersionDataResponseBody runs the validations defined on ResourceVersionDataResponseBody

func ValidateTagResponseBody

func ValidateTagResponseBody(body *TagResponseBody) (err error)

ValidateTagResponseBody runs the validations defined on TagResponseBody

func ValidateVersionsByIDInternalErrorResponseBody

func ValidateVersionsByIDInternalErrorResponseBody(body *VersionsByIDInternalErrorResponseBody) (err error)

ValidateVersionsByIDInternalErrorResponseBody runs the validations defined on VersionsByID_internal-error_Response_Body

func ValidateVersionsByIDNotFoundResponseBody

func ValidateVersionsByIDNotFoundResponseBody(body *VersionsByIDNotFoundResponseBody) (err error)

ValidateVersionsByIDNotFoundResponseBody runs the validations defined on VersionsByID_not-found_Response_Body

func ValidateVersionsResponseBody

func ValidateVersionsResponseBody(body *VersionsResponseBody) (err error)

ValidateVersionsResponseBody runs the validations defined on VersionsResponseBody

func VersionsByIDResourcePath

func VersionsByIDResourcePath(id uint) string

VersionsByIDResourcePath returns the URL path to the resource service VersionsByID HTTP endpoint.

Types

type ByCatalogKindNameInternalErrorResponseBody

type ByCatalogKindNameInternalErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ByCatalogKindNameInternalErrorResponseBody is the type of the "resource" service "ByCatalogKindName" endpoint HTTP response body for the "internal-error" error.

type ByCatalogKindNameNotFoundResponseBody

type ByCatalogKindNameNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ByCatalogKindNameNotFoundResponseBody is the type of the "resource" service "ByCatalogKindName" endpoint HTTP response body for the "not-found" error.

type ByCatalogKindNameResponseBody

type ByCatalogKindNameResponseBody struct {
	Data *ResourceDataResponseBody `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

ByCatalogKindNameResponseBody is the type of the "resource" service "ByCatalogKindName" endpoint HTTP response body.

type ByCatalogKindNameVersionInternalErrorResponseBody

type ByCatalogKindNameVersionInternalErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ByCatalogKindNameVersionInternalErrorResponseBody is the type of the "resource" service "ByCatalogKindNameVersion" endpoint HTTP response body for the "internal-error" error.

type ByCatalogKindNameVersionNotFoundResponseBody

type ByCatalogKindNameVersionNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ByCatalogKindNameVersionNotFoundResponseBody is the type of the "resource" service "ByCatalogKindNameVersion" endpoint HTTP response body for the "not-found" error.

type ByCatalogKindNameVersionReadmeInternalErrorResponseBody

type ByCatalogKindNameVersionReadmeInternalErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ByCatalogKindNameVersionReadmeInternalErrorResponseBody is the type of the "resource" service "ByCatalogKindNameVersionReadme" endpoint HTTP response body for the "internal-error" error.

type ByCatalogKindNameVersionReadmeNotFoundResponseBody

type ByCatalogKindNameVersionReadmeNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ByCatalogKindNameVersionReadmeNotFoundResponseBody is the type of the "resource" service "ByCatalogKindNameVersionReadme" endpoint HTTP response body for the "not-found" error.

type ByCatalogKindNameVersionReadmeResponseBody

type ByCatalogKindNameVersionReadmeResponseBody struct {
	Data *ResourceContentResponseBody `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

ByCatalogKindNameVersionReadmeResponseBody is the type of the "resource" service "ByCatalogKindNameVersionReadme" endpoint HTTP response body.

type ByCatalogKindNameVersionResponseBody

type ByCatalogKindNameVersionResponseBody struct {
	Data *ResourceVersionDataResponseBody `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

ByCatalogKindNameVersionResponseBody is the type of the "resource" service "ByCatalogKindNameVersion" endpoint HTTP response body.

type ByCatalogKindNameVersionYamlInternalErrorResponseBody

type ByCatalogKindNameVersionYamlInternalErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ByCatalogKindNameVersionYamlInternalErrorResponseBody is the type of the "resource" service "ByCatalogKindNameVersionYaml" endpoint HTTP response body for the "internal-error" error.

type ByCatalogKindNameVersionYamlNotFoundResponseBody

type ByCatalogKindNameVersionYamlNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ByCatalogKindNameVersionYamlNotFoundResponseBody is the type of the "resource" service "ByCatalogKindNameVersionYaml" endpoint HTTP response body for the "not-found" error.

type ByCatalogKindNameVersionYamlResponseBody

type ByCatalogKindNameVersionYamlResponseBody struct {
	Data *ResourceContentResponseBody `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

ByCatalogKindNameVersionYamlResponseBody is the type of the "resource" service "ByCatalogKindNameVersionYaml" endpoint HTTP response body.

type ByIDInternalErrorResponseBody

type ByIDInternalErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ByIDInternalErrorResponseBody is the type of the "resource" service "ById" endpoint HTTP response body for the "internal-error" error.

type ByIDNotFoundResponseBody

type ByIDNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ByIDNotFoundResponseBody is the type of the "resource" service "ById" endpoint HTTP response body for the "not-found" error.

type ByIDResponseBody

type ByIDResponseBody struct {
	Data *ResourceDataResponseBody `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

ByIDResponseBody is the type of the "resource" service "ById" endpoint HTTP response body.

type ByVersionIDInternalErrorResponseBody

type ByVersionIDInternalErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ByVersionIDInternalErrorResponseBody is the type of the "resource" service "ByVersionId" endpoint HTTP response body for the "internal-error" error.

type ByVersionIDNotFoundResponseBody

type ByVersionIDNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ByVersionIDNotFoundResponseBody is the type of the "resource" service "ByVersionId" endpoint HTTP response body for the "not-found" error.

type ByVersionIDResponseBody

type ByVersionIDResponseBody struct {
	Data *ResourceVersionDataResponseBody `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

ByVersionIDResponseBody is the type of the "resource" service "ByVersionId" endpoint HTTP response body.

type CatalogResponseBody

type CatalogResponseBody struct {
	// ID is the unique id of the catalog
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Name of catalog
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// Type of catalog
	Type *string `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"`
	// URL of catalog
	URL *string `form:"url,omitempty" json:"url,omitempty" xml:"url,omitempty"`
	// Provider of catalog
	Provider *string `form:"provider,omitempty" json:"provider,omitempty" xml:"provider,omitempty"`
}

CatalogResponseBody is used to define fields on response body types.

type CategoryResponseBody

type CategoryResponseBody struct {
	// ID is the unique id of the category
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Name of category
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
}

CategoryResponseBody is used to define fields on response body types.

type Client

type Client struct {
	// Query Doer is the HTTP client used to make requests to the Query endpoint.
	QueryDoer goahttp.Doer

	// List Doer is the HTTP client used to make requests to the List endpoint.
	ListDoer goahttp.Doer

	// VersionsByID Doer is the HTTP client used to make requests to the
	// VersionsByID endpoint.
	VersionsByIDDoer goahttp.Doer

	// ByCatalogKindNameVersion Doer is the HTTP client used to make requests to
	// the ByCatalogKindNameVersion endpoint.
	ByCatalogKindNameVersionDoer goahttp.Doer

	// ByCatalogKindNameVersionReadme Doer is the HTTP client used to make requests
	// to the ByCatalogKindNameVersionReadme endpoint.
	ByCatalogKindNameVersionReadmeDoer goahttp.Doer

	// ByCatalogKindNameVersionYaml Doer is the HTTP client used to make requests
	// to the ByCatalogKindNameVersionYaml endpoint.
	ByCatalogKindNameVersionYamlDoer goahttp.Doer

	// ByVersionID Doer is the HTTP client used to make requests to the ByVersionId
	// endpoint.
	ByVersionIDDoer goahttp.Doer

	// ByCatalogKindName Doer is the HTTP client used to make requests to the
	// ByCatalogKindName endpoint.
	ByCatalogKindNameDoer goahttp.Doer

	// ByID Doer is the HTTP client used to make requests to the ById endpoint.
	ByIDDoer goahttp.Doer

	// CORS Doer is the HTTP client used to make requests to the  endpoint.
	CORSDoer goahttp.Doer

	// RestoreResponseBody controls whether the response bodies are reset after
	// decoding so they can be read again.
	RestoreResponseBody bool
	// contains filtered or unexported fields
}

Client lists the resource service endpoint HTTP clients.

func NewClient

func NewClient(
	scheme string,
	host string,
	doer goahttp.Doer,
	enc func(*http.Request) goahttp.Encoder,
	dec func(*http.Response) goahttp.Decoder,
	restoreBody bool,
) *Client

NewClient instantiates HTTP clients for all the resource service servers.

func (*Client) BuildByCatalogKindNameRequest

func (c *Client) BuildByCatalogKindNameRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildByCatalogKindNameRequest instantiates a HTTP request object with method and path set to call the "resource" service "ByCatalogKindName" endpoint

func (*Client) BuildByCatalogKindNameVersionReadmeRequest

func (c *Client) BuildByCatalogKindNameVersionReadmeRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildByCatalogKindNameVersionReadmeRequest instantiates a HTTP request object with method and path set to call the "resource" service "ByCatalogKindNameVersionReadme" endpoint

func (*Client) BuildByCatalogKindNameVersionRequest

func (c *Client) BuildByCatalogKindNameVersionRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildByCatalogKindNameVersionRequest instantiates a HTTP request object with method and path set to call the "resource" service "ByCatalogKindNameVersion" endpoint

func (*Client) BuildByCatalogKindNameVersionYamlRequest

func (c *Client) BuildByCatalogKindNameVersionYamlRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildByCatalogKindNameVersionYamlRequest instantiates a HTTP request object with method and path set to call the "resource" service "ByCatalogKindNameVersionYaml" endpoint

func (*Client) BuildByIDRequest

func (c *Client) BuildByIDRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildByIDRequest instantiates a HTTP request object with method and path set to call the "resource" service "ById" endpoint

func (*Client) BuildByVersionIDRequest

func (c *Client) BuildByVersionIDRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildByVersionIDRequest instantiates a HTTP request object with method and path set to call the "resource" service "ByVersionId" endpoint

func (*Client) BuildListRequest

func (c *Client) BuildListRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildListRequest instantiates a HTTP request object with method and path set to call the "resource" service "List" endpoint

func (*Client) BuildQueryRequest

func (c *Client) BuildQueryRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildQueryRequest instantiates a HTTP request object with method and path set to call the "resource" service "Query" endpoint

func (*Client) BuildVersionsByIDRequest

func (c *Client) BuildVersionsByIDRequest(ctx context.Context, v interface{}) (*http.Request, error)

BuildVersionsByIDRequest instantiates a HTTP request object with method and path set to call the "resource" service "VersionsByID" endpoint

func (*Client) ByCatalogKindName

func (c *Client) ByCatalogKindName() goa.Endpoint

ByCatalogKindName returns an endpoint that makes HTTP requests to the resource service ByCatalogKindName server.

func (*Client) ByCatalogKindNameVersion

func (c *Client) ByCatalogKindNameVersion() goa.Endpoint

ByCatalogKindNameVersion returns an endpoint that makes HTTP requests to the resource service ByCatalogKindNameVersion server.

func (*Client) ByCatalogKindNameVersionReadme

func (c *Client) ByCatalogKindNameVersionReadme() goa.Endpoint

ByCatalogKindNameVersionReadme returns an endpoint that makes HTTP requests to the resource service ByCatalogKindNameVersionReadme server.

func (*Client) ByCatalogKindNameVersionYaml

func (c *Client) ByCatalogKindNameVersionYaml() goa.Endpoint

ByCatalogKindNameVersionYaml returns an endpoint that makes HTTP requests to the resource service ByCatalogKindNameVersionYaml server.

func (*Client) ByID

func (c *Client) ByID() goa.Endpoint

ByID returns an endpoint that makes HTTP requests to the resource service ById server.

func (*Client) ByVersionID

func (c *Client) ByVersionID() goa.Endpoint

ByVersionID returns an endpoint that makes HTTP requests to the resource service ByVersionId server.

func (*Client) List

func (c *Client) List() goa.Endpoint

List returns an endpoint that makes HTTP requests to the resource service List server.

func (*Client) Query

func (c *Client) Query() goa.Endpoint

Query returns an endpoint that makes HTTP requests to the resource service Query server.

func (*Client) VersionsByID

func (c *Client) VersionsByID() goa.Endpoint

VersionsByID returns an endpoint that makes HTTP requests to the resource service VersionsByID server.

type ListInternalErrorResponseBody

type ListInternalErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

ListInternalErrorResponseBody is the type of the "resource" service "List" endpoint HTTP response body for the "internal-error" error.

type ListResponseBody

type ListResponseBody struct {
	Data ResourceDataCollectionResponseBody `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

ListResponseBody is the type of the "resource" service "List" endpoint HTTP response body.

type PlatformResponseBody

type PlatformResponseBody struct {
	// ID is the unique id of platform
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Name of platform
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
}

PlatformResponseBody is used to define fields on response body types.

type QueryInternalErrorResponseBody

type QueryInternalErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

QueryInternalErrorResponseBody is the type of the "resource" service "Query" endpoint HTTP response body for the "internal-error" error.

type QueryInvalidKindResponseBody

type QueryInvalidKindResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

QueryInvalidKindResponseBody is the type of the "resource" service "Query" endpoint HTTP response body for the "invalid-kind" error.

type QueryNotFoundResponseBody

type QueryNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

QueryNotFoundResponseBody is the type of the "resource" service "Query" endpoint HTTP response body for the "not-found" error.

type QueryResponseBody

type QueryResponseBody struct {
	Data ResourceDataCollectionResponseBody `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

QueryResponseBody is the type of the "resource" service "Query" endpoint HTTP response body.

type ResourceContentResponseBody

type ResourceContentResponseBody struct {
	// Readme
	Readme *string `form:"readme,omitempty" json:"readme,omitempty" xml:"readme,omitempty"`
	// Yaml
	Yaml *string `form:"yaml,omitempty" json:"yaml,omitempty" xml:"yaml,omitempty"`
}

ResourceContentResponseBody is used to define fields on response body types.

type ResourceDataCollectionResponseBody

type ResourceDataCollectionResponseBody []*ResourceDataResponseBody

ResourceDataCollectionResponseBody is used to define fields on response body types.

type ResourceDataResponseBody

type ResourceDataResponseBody struct {
	// ID is the unique id of the resource
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Name of resource
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// Type of catalog to which resource belongs
	Catalog *CatalogResponseBody `form:"catalog,omitempty" json:"catalog,omitempty" xml:"catalog,omitempty"`
	// Categories related to resource
	Categories []*CategoryResponseBody `form:"categories,omitempty" json:"categories,omitempty" xml:"categories,omitempty"`
	// Kind of resource
	Kind *string `form:"kind,omitempty" json:"kind,omitempty" xml:"kind,omitempty"`
	// Url path of the resource in hub
	HubURLPath *string `form:"hubURLPath,omitempty" json:"hubURLPath,omitempty" xml:"hubURLPath,omitempty"`
	// Latest version of resource
	LatestVersion *ResourceVersionDataResponseBody `form:"latestVersion,omitempty" json:"latestVersion,omitempty" xml:"latestVersion,omitempty"`
	// Tags related to resource
	Tags []*TagResponseBody `form:"tags,omitempty" json:"tags,omitempty" xml:"tags,omitempty"`
	// Platforms related to resource
	Platforms []*PlatformResponseBody `form:"platforms,omitempty" json:"platforms,omitempty" xml:"platforms,omitempty"`
	// Rating of resource
	Rating *float64 `form:"rating,omitempty" json:"rating,omitempty" xml:"rating,omitempty"`
	// List of all versions of a resource
	Versions []*ResourceVersionDataResponseBody `form:"versions,omitempty" json:"versions,omitempty" xml:"versions,omitempty"`
}

ResourceDataResponseBody is used to define fields on response body types.

type ResourceVersionDataResponseBody

type ResourceVersionDataResponseBody struct {
	// ID is the unique id of resource's version
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Version of resource
	Version *string `form:"version,omitempty" json:"version,omitempty" xml:"version,omitempty"`
	// Display name of version
	DisplayName *string `form:"displayName,omitempty" json:"displayName,omitempty" xml:"displayName,omitempty"`
	// Deprecation status of a version
	Deprecated *bool `form:"deprecated,omitempty" json:"deprecated,omitempty" xml:"deprecated,omitempty"`
	// Description of version
	Description *string `form:"description,omitempty" json:"description,omitempty" xml:"description,omitempty"`
	// Minimum pipelines version the resource's version is compatible with
	MinPipelinesVersion *string `form:"minPipelinesVersion,omitempty" json:"minPipelinesVersion,omitempty" xml:"minPipelinesVersion,omitempty"`
	// Raw URL of resource's yaml file of the version
	RawURL *string `form:"rawURL,omitempty" json:"rawURL,omitempty" xml:"rawURL,omitempty"`
	// Web URL of resource's yaml file of the version
	WebURL *string `form:"webURL,omitempty" json:"webURL,omitempty" xml:"webURL,omitempty"`
	// Timestamp when version was last updated
	UpdatedAt *string `form:"updatedAt,omitempty" json:"updatedAt,omitempty" xml:"updatedAt,omitempty"`
	// Platforms related to resource version
	Platforms []*PlatformResponseBody `form:"platforms,omitempty" json:"platforms,omitempty" xml:"platforms,omitempty"`
	// Url path of the resource in hub
	HubURLPath *string `form:"hubURLPath,omitempty" json:"hubURLPath,omitempty" xml:"hubURLPath,omitempty"`
	// Resource to which the version belongs
	Resource *ResourceDataResponseBody `form:"resource,omitempty" json:"resource,omitempty" xml:"resource,omitempty"`
}

ResourceVersionDataResponseBody is used to define fields on response body types.

type TagResponseBody

type TagResponseBody struct {
	// ID is the unique id of tag
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Name of tag
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
}

TagResponseBody is used to define fields on response body types.

type VersionsByIDInternalErrorResponseBody

type VersionsByIDInternalErrorResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

VersionsByIDInternalErrorResponseBody is the type of the "resource" service "VersionsByID" endpoint HTTP response body for the "internal-error" error.

type VersionsByIDNotFoundResponseBody

type VersionsByIDNotFoundResponseBody struct {
	// Name is the name of this class of errors.
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// ID is a unique identifier for this particular occurrence of the problem.
	ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Message is a human-readable explanation specific to this occurrence of the
	// problem.
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Is the error temporary?
	Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
	// Is the error a timeout?
	Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
	// Is the error a server-side fault?
	Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}

VersionsByIDNotFoundResponseBody is the type of the "resource" service "VersionsByID" endpoint HTTP response body for the "not-found" error.

type VersionsByIDResponseBody

type VersionsByIDResponseBody struct {
	Data *VersionsResponseBody `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}

VersionsByIDResponseBody is the type of the "resource" service "VersionsByID" endpoint HTTP response body.

type VersionsResponseBody

type VersionsResponseBody struct {
	// Latest Version of resource
	Latest *ResourceVersionDataResponseBody `form:"latest,omitempty" json:"latest,omitempty" xml:"latest,omitempty"`
	// List of all versions of resource
	Versions []*ResourceVersionDataResponseBody `form:"versions,omitempty" json:"versions,omitempty" xml:"versions,omitempty"`
}

VersionsResponseBody is used to define fields on response body types.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL