Documentation
¶
Index ¶
- func AddCollectionArtifactPath(id string, name string) string
- func AddMetadataArtifactPath(id string, schema string) string
- func BuildAddCollectionPayload(artifactAddCollectionID string, artifactAddCollectionName string, ...) (*artifact.AddCollectionPayload, error)
- func BuildAddMetadataPayload(artifactAddMetadataBody string, artifactAddMetadataID string, ...) (*artifact.AddMetadataPayload, error)
- func BuildListPayload(artifactListFilter string, artifactListOrderby string, artifactListTop string, ...) (*artifact.ListPayload, error)
- func BuildReadPayload(artifactReadID string, artifactReadJWT string) (*artifact.ReadPayload, error)
- func BuildRemoveCollectionPayload(artifactRemoveCollectionID string, artifactRemoveCollectionName string, ...) (*artifact.RemoveCollectionPayload, error)
- func BuildUploadPayload(artifactUploadJWT string, artifactUploadContentType string, ...) (*artifact.UploadPayload, error)
- func BuildUploadStreamPayload(payload interface{}, fpath string) (*artifact.UploadRequestData, error)
- func DecodeAddCollectionResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeAddMetadataResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeListResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeReadResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeRemoveCollectionResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func DecodeUploadResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
- func EncodeAddCollectionRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeAddMetadataRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeListRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeReadRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeRemoveCollectionRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func EncodeUploadRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
- func ListArtifactPath() string
- func NewAddCollectionBadRequest(body *AddCollectionBadRequestResponseBody) *artifact.BadRequestT
- func NewAddCollectionInvalidCredential() *artifact.InvalidCredentialsT
- func NewAddCollectionInvalidScopes(body *AddCollectionInvalidScopesResponseBody) *artifact.InvalidScopesT
- func NewAddCollectionNotAuthorized() *artifact.UnauthorizedT
- func NewAddCollectionNotFound(body *AddCollectionNotFoundResponseBody) *artifact.ResourceNotFoundT
- func NewAddCollectionNotImplemented(body *AddCollectionNotImplementedResponseBody) *artifact.NotImplementedT
- func NewAddMetadataBadRequest(body *AddMetadataBadRequestResponseBody) *artifact.BadRequestT
- func NewAddMetadataInvalidCredential() *artifact.InvalidCredentialsT
- func NewAddMetadataInvalidScopes(body *AddMetadataInvalidScopesResponseBody) *artifact.InvalidScopesT
- func NewAddMetadataNotAuthorized() *artifact.UnauthorizedT
- func NewAddMetadataNotFound(body *AddMetadataNotFoundResponseBody) *artifact.ResourceNotFoundT
- func NewAddMetadataNotImplemented(body *AddMetadataNotImplementedResponseBody) *artifact.NotImplementedT
- func NewListArtifactListRTOK(body *ListResponseBody) *artifactviews.ArtifactListRTView
- func NewListBadRequest(body *ListBadRequestResponseBody) *artifact.BadRequestT
- func NewListInvalidCredential() *artifact.InvalidCredentialsT
- func NewListInvalidScopes(body *ListInvalidScopesResponseBody) *artifact.InvalidScopesT
- func NewListNotAuthorized() *artifact.UnauthorizedT
- func NewListNotImplemented(body *ListNotImplementedResponseBody) *artifact.NotImplementedT
- func NewReadArtifactStatusRTOK(body *ReadResponseBody) *artifactviews.ArtifactStatusRTView
- func NewReadBadRequest(body *ReadBadRequestResponseBody) *artifact.BadRequestT
- func NewReadInvalidCredential() *artifact.InvalidCredentialsT
- func NewReadInvalidScopes(body *ReadInvalidScopesResponseBody) *artifact.InvalidScopesT
- func NewReadNotAuthorized() *artifact.UnauthorizedT
- func NewReadNotFound(body *ReadNotFoundResponseBody) *artifact.ResourceNotFoundT
- func NewReadNotImplemented(body *ReadNotImplementedResponseBody) *artifact.NotImplementedT
- func NewRemoveCollectionBadRequest(body *RemoveCollectionBadRequestResponseBody) *artifact.BadRequestT
- func NewRemoveCollectionInvalidCredential() *artifact.InvalidCredentialsT
- func NewRemoveCollectionInvalidScopes(body *RemoveCollectionInvalidScopesResponseBody) *artifact.InvalidScopesT
- func NewRemoveCollectionNotAuthorized() *artifact.UnauthorizedT
- func NewRemoveCollectionNotFound(body *RemoveCollectionNotFoundResponseBody) *artifact.ResourceNotFoundT
- func NewRemoveCollectionNotImplemented(body *RemoveCollectionNotImplementedResponseBody) *artifact.NotImplementedT
- func NewUploadArtifactStatusRTCreated(body *UploadResponseBody, location *string, tusResumable *string, ...) *artifactviews.ArtifactStatusRTView
- func NewUploadBadRequest(body *UploadBadRequestResponseBody) *artifact.BadRequestT
- func NewUploadInvalidCredential() *artifact.InvalidCredentialsT
- func NewUploadInvalidScopes(body *UploadInvalidScopesResponseBody) *artifact.InvalidScopesT
- func NewUploadNotAuthorized() *artifact.UnauthorizedT
- func NewUploadNotImplemented(body *UploadNotImplementedResponseBody) *artifact.NotImplementedT
- func ReadArtifactPath(id string) string
- func RemoveCollectionArtifactPath(id string, name string) string
- func UploadArtifactPath() string
- func ValidateAddCollectionBadRequestResponseBody(body *AddCollectionBadRequestResponseBody) (err error)
- func ValidateAddCollectionInvalidScopesResponseBody(body *AddCollectionInvalidScopesResponseBody) (err error)
- func ValidateAddCollectionNotFoundResponseBody(body *AddCollectionNotFoundResponseBody) (err error)
- func ValidateAddCollectionNotImplementedResponseBody(body *AddCollectionNotImplementedResponseBody) (err error)
- func ValidateAddMetadataBadRequestResponseBody(body *AddMetadataBadRequestResponseBody) (err error)
- func ValidateAddMetadataInvalidScopesResponseBody(body *AddMetadataInvalidScopesResponseBody) (err error)
- func ValidateAddMetadataNotFoundResponseBody(body *AddMetadataNotFoundResponseBody) (err error)
- func ValidateAddMetadataNotImplementedResponseBody(body *AddMetadataNotImplementedResponseBody) (err error)
- func ValidateArtifactListItemResponseBody(body *ArtifactListItemResponseBody) (err error)
- func ValidateDescribedByTResponseBody(body *DescribedByTResponseBody) (err error)
- func ValidateListBadRequestResponseBody(body *ListBadRequestResponseBody) (err error)
- func ValidateListInvalidScopesResponseBody(body *ListInvalidScopesResponseBody) (err error)
- func ValidateListNotImplementedResponseBody(body *ListNotImplementedResponseBody) (err error)
- func ValidateNavTResponseBody(body *NavTResponseBody) (err error)
- func ValidateReadBadRequestResponseBody(body *ReadBadRequestResponseBody) (err error)
- func ValidateReadInvalidScopesResponseBody(body *ReadInvalidScopesResponseBody) (err error)
- func ValidateReadNotFoundResponseBody(body *ReadNotFoundResponseBody) (err error)
- func ValidateReadNotImplementedResponseBody(body *ReadNotImplementedResponseBody) (err error)
- func ValidateRefTResponseBody(body *RefTResponseBody) (err error)
- func ValidateRemoveCollectionBadRequestResponseBody(body *RemoveCollectionBadRequestResponseBody) (err error)
- func ValidateRemoveCollectionInvalidScopesResponseBody(body *RemoveCollectionInvalidScopesResponseBody) (err error)
- func ValidateRemoveCollectionNotFoundResponseBody(body *RemoveCollectionNotFoundResponseBody) (err error)
- func ValidateRemoveCollectionNotImplementedResponseBody(body *RemoveCollectionNotImplementedResponseBody) (err error)
- func ValidateSelfTResponseBody(body *SelfTResponseBody) (err error)
- func ValidateUploadBadRequestResponseBody(body *UploadBadRequestResponseBody) (err error)
- func ValidateUploadInvalidScopesResponseBody(body *UploadInvalidScopesResponseBody) (err error)
- func ValidateUploadNotImplementedResponseBody(body *UploadNotImplementedResponseBody) (err error)
- type AddCollectionBadRequestResponseBody
- type AddCollectionInvalidScopesResponseBody
- type AddCollectionNotFoundResponseBody
- type AddCollectionNotImplementedResponseBody
- type AddMetadataBadRequestResponseBody
- type AddMetadataInvalidScopesResponseBody
- type AddMetadataNotFoundResponseBody
- type AddMetadataNotImplementedResponseBody
- type ArtifactListItemResponseBody
- type Client
- func (c *Client) AddCollection() goa.Endpoint
- func (c *Client) AddMetadata() goa.Endpoint
- func (c *Client) BuildAddCollectionRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildAddMetadataRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildListRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildReadRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildRemoveCollectionRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) BuildUploadRequest(ctx context.Context, v interface{}) (*http.Request, error)
- func (c *Client) List() goa.Endpoint
- func (c *Client) Read() goa.Endpoint
- func (c *Client) RemoveCollection() goa.Endpoint
- func (c *Client) Upload() goa.Endpoint
- type DescribedByTResponseBody
- type ListBadRequestResponseBody
- type ListInvalidScopesResponseBody
- type ListNotImplementedResponseBody
- type ListResponseBody
- type MetadataTResponseBody
- type NavTResponseBody
- type ReadBadRequestResponseBody
- type ReadInvalidScopesResponseBody
- type ReadNotFoundResponseBody
- type ReadNotImplementedResponseBody
- type ReadResponseBody
- type RefTResponseBody
- type RemoveCollectionBadRequestResponseBody
- type RemoveCollectionInvalidScopesResponseBody
- type RemoveCollectionNotFoundResponseBody
- type RemoveCollectionNotImplementedResponseBody
- type SelfTResponseBody
- type UploadBadRequestResponseBody
- type UploadInvalidScopesResponseBody
- type UploadNotImplementedResponseBody
- type UploadResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCollectionArtifactPath ¶
AddCollectionArtifactPath returns the URL path to the artifact service addCollection HTTP endpoint.
func AddMetadataArtifactPath ¶
AddMetadataArtifactPath returns the URL path to the artifact service addMetadata HTTP endpoint.
func BuildAddCollectionPayload ¶
func BuildAddCollectionPayload(artifactAddCollectionID string, artifactAddCollectionName string, artifactAddCollectionJWT string) (*artifact.AddCollectionPayload, error)
BuildAddCollectionPayload builds the payload for the artifact addCollection endpoint from CLI flags.
func BuildAddMetadataPayload ¶
func BuildAddMetadataPayload(artifactAddMetadataBody string, artifactAddMetadataID string, artifactAddMetadataSchema string, artifactAddMetadataJWT string) (*artifact.AddMetadataPayload, error)
BuildAddMetadataPayload builds the payload for the artifact addMetadata endpoint from CLI flags.
func BuildListPayload ¶
func BuildListPayload(artifactListFilter string, artifactListOrderby string, artifactListTop string, artifactListSkip string, artifactListSelect string, artifactListOffset string, artifactListLimit string, artifactListPageToken string, artifactListJWT string) (*artifact.ListPayload, error)
BuildListPayload builds the payload for the artifact list endpoint from CLI flags.
func BuildReadPayload ¶
func BuildReadPayload(artifactReadID string, artifactReadJWT string) (*artifact.ReadPayload, error)
BuildReadPayload builds the payload for the artifact read endpoint from CLI flags.
func BuildRemoveCollectionPayload ¶
func BuildRemoveCollectionPayload(artifactRemoveCollectionID string, artifactRemoveCollectionName string, artifactRemoveCollectionJWT string) (*artifact.RemoveCollectionPayload, error)
BuildRemoveCollectionPayload builds the payload for the artifact removeCollection endpoint from CLI flags.
func BuildUploadPayload ¶
func BuildUploadPayload(artifactUploadJWT string, artifactUploadContentType string, artifactUploadContentEncoding string, artifactUploadContentLength string, artifactUploadName string, artifactUploadCollection string, artifactUploadXContentType string, artifactUploadXContentLength string, artifactUploadUploadLength string, artifactUploadTusResumable string) (*artifact.UploadPayload, error)
BuildUploadPayload builds the payload for the artifact upload endpoint from CLI flags.
func BuildUploadStreamPayload ¶
func BuildUploadStreamPayload(payload interface{}, fpath string) (*artifact.UploadRequestData, error)
// BuildUploadStreamPayload creates a streaming endpoint request payload from the method payload and the path to the file to be streamed
func DecodeAddCollectionResponse ¶
func DecodeAddCollectionResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeAddCollectionResponse returns a decoder for responses returned by the artifact addCollection endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeAddCollectionResponse may return the following errors:
- "bad-request" (type *artifact.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *artifact.InvalidCredentialsT): http.StatusBadRequest
- "invalid-scopes" (type *artifact.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *artifact.NotImplementedT): http.StatusNotImplemented
- "not-found" (type *artifact.ResourceNotFoundT): http.StatusNotFound
- "not-authorized" (type *artifact.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func DecodeAddMetadataResponse ¶
func DecodeAddMetadataResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeAddMetadataResponse returns a decoder for responses returned by the artifact addMetadata endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeAddMetadataResponse may return the following errors:
- "bad-request" (type *artifact.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *artifact.InvalidCredentialsT): http.StatusBadRequest
- "invalid-scopes" (type *artifact.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *artifact.NotImplementedT): http.StatusNotImplemented
- "not-found" (type *artifact.ResourceNotFoundT): http.StatusNotFound
- "not-authorized" (type *artifact.UnauthorizedT): http.StatusUnauthorized
- 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 artifact list endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeListResponse may return the following errors:
- "bad-request" (type *artifact.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *artifact.InvalidCredentialsT): http.StatusBadRequest
- "invalid-scopes" (type *artifact.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *artifact.NotImplementedT): http.StatusNotImplemented
- "not-authorized" (type *artifact.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func DecodeReadResponse ¶
func DecodeReadResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeReadResponse returns a decoder for responses returned by the artifact read endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeReadResponse may return the following errors:
- "bad-request" (type *artifact.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *artifact.InvalidCredentialsT): http.StatusBadRequest
- "invalid-scopes" (type *artifact.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *artifact.NotImplementedT): http.StatusNotImplemented
- "not-found" (type *artifact.ResourceNotFoundT): http.StatusNotFound
- "not-authorized" (type *artifact.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func DecodeRemoveCollectionResponse ¶
func DecodeRemoveCollectionResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeRemoveCollectionResponse returns a decoder for responses returned by the artifact removeCollection endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeRemoveCollectionResponse may return the following errors:
- "bad-request" (type *artifact.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *artifact.InvalidCredentialsT): http.StatusBadRequest
- "invalid-scopes" (type *artifact.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *artifact.NotImplementedT): http.StatusNotImplemented
- "not-found" (type *artifact.ResourceNotFoundT): http.StatusNotFound
- "not-authorized" (type *artifact.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func DecodeUploadResponse ¶
func DecodeUploadResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (interface{}, error)
DecodeUploadResponse returns a decoder for responses returned by the artifact upload endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeUploadResponse may return the following errors:
- "bad-request" (type *artifact.BadRequestT): http.StatusBadRequest
- "invalid-credential" (type *artifact.InvalidCredentialsT): http.StatusBadRequest
- "invalid-scopes" (type *artifact.InvalidScopesT): http.StatusForbidden
- "not-implemented" (type *artifact.NotImplementedT): http.StatusNotImplemented
- "not-authorized" (type *artifact.UnauthorizedT): http.StatusUnauthorized
- error: internal error
func EncodeAddCollectionRequest ¶
func EncodeAddCollectionRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeAddCollectionRequest returns an encoder for requests sent to the artifact addCollection server.
func EncodeAddMetadataRequest ¶
func EncodeAddMetadataRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeAddMetadataRequest returns an encoder for requests sent to the artifact addMetadata 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 artifact list server.
func EncodeReadRequest ¶
func EncodeReadRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeReadRequest returns an encoder for requests sent to the artifact read server.
func EncodeRemoveCollectionRequest ¶
func EncodeRemoveCollectionRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeRemoveCollectionRequest returns an encoder for requests sent to the artifact removeCollection server.
func EncodeUploadRequest ¶
func EncodeUploadRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, interface{}) error
EncodeUploadRequest returns an encoder for requests sent to the artifact upload server.
func ListArtifactPath ¶
func ListArtifactPath() string
ListArtifactPath returns the URL path to the artifact service list HTTP endpoint.
func NewAddCollectionBadRequest ¶
func NewAddCollectionBadRequest(body *AddCollectionBadRequestResponseBody) *artifact.BadRequestT
NewAddCollectionBadRequest builds a artifact service addCollection endpoint bad-request error.
func NewAddCollectionInvalidCredential ¶
func NewAddCollectionInvalidCredential() *artifact.InvalidCredentialsT
NewAddCollectionInvalidCredential builds a artifact service addCollection endpoint invalid-credential error.
func NewAddCollectionInvalidScopes ¶
func NewAddCollectionInvalidScopes(body *AddCollectionInvalidScopesResponseBody) *artifact.InvalidScopesT
NewAddCollectionInvalidScopes builds a artifact service addCollection endpoint invalid-scopes error.
func NewAddCollectionNotAuthorized ¶
func NewAddCollectionNotAuthorized() *artifact.UnauthorizedT
NewAddCollectionNotAuthorized builds a artifact service addCollection endpoint not-authorized error.
func NewAddCollectionNotFound ¶
func NewAddCollectionNotFound(body *AddCollectionNotFoundResponseBody) *artifact.ResourceNotFoundT
NewAddCollectionNotFound builds a artifact service addCollection endpoint not-found error.
func NewAddCollectionNotImplemented ¶
func NewAddCollectionNotImplemented(body *AddCollectionNotImplementedResponseBody) *artifact.NotImplementedT
NewAddCollectionNotImplemented builds a artifact service addCollection endpoint not-implemented error.
func NewAddMetadataBadRequest ¶
func NewAddMetadataBadRequest(body *AddMetadataBadRequestResponseBody) *artifact.BadRequestT
NewAddMetadataBadRequest builds a artifact service addMetadata endpoint bad-request error.
func NewAddMetadataInvalidCredential ¶
func NewAddMetadataInvalidCredential() *artifact.InvalidCredentialsT
NewAddMetadataInvalidCredential builds a artifact service addMetadata endpoint invalid-credential error.
func NewAddMetadataInvalidScopes ¶
func NewAddMetadataInvalidScopes(body *AddMetadataInvalidScopesResponseBody) *artifact.InvalidScopesT
NewAddMetadataInvalidScopes builds a artifact service addMetadata endpoint invalid-scopes error.
func NewAddMetadataNotAuthorized ¶
func NewAddMetadataNotAuthorized() *artifact.UnauthorizedT
NewAddMetadataNotAuthorized builds a artifact service addMetadata endpoint not-authorized error.
func NewAddMetadataNotFound ¶
func NewAddMetadataNotFound(body *AddMetadataNotFoundResponseBody) *artifact.ResourceNotFoundT
NewAddMetadataNotFound builds a artifact service addMetadata endpoint not-found error.
func NewAddMetadataNotImplemented ¶
func NewAddMetadataNotImplemented(body *AddMetadataNotImplementedResponseBody) *artifact.NotImplementedT
NewAddMetadataNotImplemented builds a artifact service addMetadata endpoint not-implemented error.
func NewListArtifactListRTOK ¶
func NewListArtifactListRTOK(body *ListResponseBody) *artifactviews.ArtifactListRTView
NewListArtifactListRTOK builds a "artifact" service "list" endpoint result from a HTTP "OK" response.
func NewListBadRequest ¶
func NewListBadRequest(body *ListBadRequestResponseBody) *artifact.BadRequestT
NewListBadRequest builds a artifact service list endpoint bad-request error.
func NewListInvalidCredential ¶
func NewListInvalidCredential() *artifact.InvalidCredentialsT
NewListInvalidCredential builds a artifact service list endpoint invalid-credential error.
func NewListInvalidScopes ¶
func NewListInvalidScopes(body *ListInvalidScopesResponseBody) *artifact.InvalidScopesT
NewListInvalidScopes builds a artifact service list endpoint invalid-scopes error.
func NewListNotAuthorized ¶
func NewListNotAuthorized() *artifact.UnauthorizedT
NewListNotAuthorized builds a artifact service list endpoint not-authorized error.
func NewListNotImplemented ¶
func NewListNotImplemented(body *ListNotImplementedResponseBody) *artifact.NotImplementedT
NewListNotImplemented builds a artifact service list endpoint not-implemented error.
func NewReadArtifactStatusRTOK ¶
func NewReadArtifactStatusRTOK(body *ReadResponseBody) *artifactviews.ArtifactStatusRTView
NewReadArtifactStatusRTOK builds a "artifact" service "read" endpoint result from a HTTP "OK" response.
func NewReadBadRequest ¶
func NewReadBadRequest(body *ReadBadRequestResponseBody) *artifact.BadRequestT
NewReadBadRequest builds a artifact service read endpoint bad-request error.
func NewReadInvalidCredential ¶
func NewReadInvalidCredential() *artifact.InvalidCredentialsT
NewReadInvalidCredential builds a artifact service read endpoint invalid-credential error.
func NewReadInvalidScopes ¶
func NewReadInvalidScopes(body *ReadInvalidScopesResponseBody) *artifact.InvalidScopesT
NewReadInvalidScopes builds a artifact service read endpoint invalid-scopes error.
func NewReadNotAuthorized ¶
func NewReadNotAuthorized() *artifact.UnauthorizedT
NewReadNotAuthorized builds a artifact service read endpoint not-authorized error.
func NewReadNotFound ¶
func NewReadNotFound(body *ReadNotFoundResponseBody) *artifact.ResourceNotFoundT
NewReadNotFound builds a artifact service read endpoint not-found error.
func NewReadNotImplemented ¶
func NewReadNotImplemented(body *ReadNotImplementedResponseBody) *artifact.NotImplementedT
NewReadNotImplemented builds a artifact service read endpoint not-implemented error.
func NewRemoveCollectionBadRequest ¶
func NewRemoveCollectionBadRequest(body *RemoveCollectionBadRequestResponseBody) *artifact.BadRequestT
NewRemoveCollectionBadRequest builds a artifact service removeCollection endpoint bad-request error.
func NewRemoveCollectionInvalidCredential ¶
func NewRemoveCollectionInvalidCredential() *artifact.InvalidCredentialsT
NewRemoveCollectionInvalidCredential builds a artifact service removeCollection endpoint invalid-credential error.
func NewRemoveCollectionInvalidScopes ¶
func NewRemoveCollectionInvalidScopes(body *RemoveCollectionInvalidScopesResponseBody) *artifact.InvalidScopesT
NewRemoveCollectionInvalidScopes builds a artifact service removeCollection endpoint invalid-scopes error.
func NewRemoveCollectionNotAuthorized ¶
func NewRemoveCollectionNotAuthorized() *artifact.UnauthorizedT
NewRemoveCollectionNotAuthorized builds a artifact service removeCollection endpoint not-authorized error.
func NewRemoveCollectionNotFound ¶
func NewRemoveCollectionNotFound(body *RemoveCollectionNotFoundResponseBody) *artifact.ResourceNotFoundT
NewRemoveCollectionNotFound builds a artifact service removeCollection endpoint not-found error.
func NewRemoveCollectionNotImplemented ¶
func NewRemoveCollectionNotImplemented(body *RemoveCollectionNotImplementedResponseBody) *artifact.NotImplementedT
NewRemoveCollectionNotImplemented builds a artifact service removeCollection endpoint not-implemented error.
func NewUploadArtifactStatusRTCreated ¶
func NewUploadArtifactStatusRTCreated(body *UploadResponseBody, location *string, tusResumable *string, tusOffset *int64) *artifactviews.ArtifactStatusRTView
NewUploadArtifactStatusRTCreated builds a "artifact" service "upload" endpoint result from a HTTP "Created" response.
func NewUploadBadRequest ¶
func NewUploadBadRequest(body *UploadBadRequestResponseBody) *artifact.BadRequestT
NewUploadBadRequest builds a artifact service upload endpoint bad-request error.
func NewUploadInvalidCredential ¶
func NewUploadInvalidCredential() *artifact.InvalidCredentialsT
NewUploadInvalidCredential builds a artifact service upload endpoint invalid-credential error.
func NewUploadInvalidScopes ¶
func NewUploadInvalidScopes(body *UploadInvalidScopesResponseBody) *artifact.InvalidScopesT
NewUploadInvalidScopes builds a artifact service upload endpoint invalid-scopes error.
func NewUploadNotAuthorized ¶
func NewUploadNotAuthorized() *artifact.UnauthorizedT
NewUploadNotAuthorized builds a artifact service upload endpoint not-authorized error.
func NewUploadNotImplemented ¶
func NewUploadNotImplemented(body *UploadNotImplementedResponseBody) *artifact.NotImplementedT
NewUploadNotImplemented builds a artifact service upload endpoint not-implemented error.
func ReadArtifactPath ¶
ReadArtifactPath returns the URL path to the artifact service read HTTP endpoint.
func RemoveCollectionArtifactPath ¶
RemoveCollectionArtifactPath returns the URL path to the artifact service removeCollection HTTP endpoint.
func UploadArtifactPath ¶
func UploadArtifactPath() string
UploadArtifactPath returns the URL path to the artifact service upload HTTP endpoint.
func ValidateAddCollectionBadRequestResponseBody ¶
func ValidateAddCollectionBadRequestResponseBody(body *AddCollectionBadRequestResponseBody) (err error)
ValidateAddCollectionBadRequestResponseBody runs the validations defined on addCollection_bad-request_response_body
func ValidateAddCollectionInvalidScopesResponseBody ¶
func ValidateAddCollectionInvalidScopesResponseBody(body *AddCollectionInvalidScopesResponseBody) (err error)
ValidateAddCollectionInvalidScopesResponseBody runs the validations defined on addCollection_invalid-scopes_response_body
func ValidateAddCollectionNotFoundResponseBody ¶
func ValidateAddCollectionNotFoundResponseBody(body *AddCollectionNotFoundResponseBody) (err error)
ValidateAddCollectionNotFoundResponseBody runs the validations defined on addCollection_not-found_response_body
func ValidateAddCollectionNotImplementedResponseBody ¶
func ValidateAddCollectionNotImplementedResponseBody(body *AddCollectionNotImplementedResponseBody) (err error)
ValidateAddCollectionNotImplementedResponseBody runs the validations defined on addCollection_not-implemented_response_body
func ValidateAddMetadataBadRequestResponseBody ¶
func ValidateAddMetadataBadRequestResponseBody(body *AddMetadataBadRequestResponseBody) (err error)
ValidateAddMetadataBadRequestResponseBody runs the validations defined on addMetadata_bad-request_response_body
func ValidateAddMetadataInvalidScopesResponseBody ¶
func ValidateAddMetadataInvalidScopesResponseBody(body *AddMetadataInvalidScopesResponseBody) (err error)
ValidateAddMetadataInvalidScopesResponseBody runs the validations defined on addMetadata_invalid-scopes_response_body
func ValidateAddMetadataNotFoundResponseBody ¶
func ValidateAddMetadataNotFoundResponseBody(body *AddMetadataNotFoundResponseBody) (err error)
ValidateAddMetadataNotFoundResponseBody runs the validations defined on addMetadata_not-found_response_body
func ValidateAddMetadataNotImplementedResponseBody ¶
func ValidateAddMetadataNotImplementedResponseBody(body *AddMetadataNotImplementedResponseBody) (err error)
ValidateAddMetadataNotImplementedResponseBody runs the validations defined on addMetadata_not-implemented_response_body
func ValidateArtifactListItemResponseBody ¶
func ValidateArtifactListItemResponseBody(body *ArtifactListItemResponseBody) (err error)
ValidateArtifactListItemResponseBody runs the validations defined on ArtifactListItemResponseBody
func ValidateDescribedByTResponseBody ¶
func ValidateDescribedByTResponseBody(body *DescribedByTResponseBody) (err error)
ValidateDescribedByTResponseBody runs the validations defined on DescribedByTResponseBody
func ValidateListBadRequestResponseBody ¶
func ValidateListBadRequestResponseBody(body *ListBadRequestResponseBody) (err error)
ValidateListBadRequestResponseBody runs the validations defined on list_bad-request_response_body
func ValidateListInvalidScopesResponseBody ¶
func ValidateListInvalidScopesResponseBody(body *ListInvalidScopesResponseBody) (err error)
ValidateListInvalidScopesResponseBody runs the validations defined on list_invalid-scopes_response_body
func ValidateListNotImplementedResponseBody ¶
func ValidateListNotImplementedResponseBody(body *ListNotImplementedResponseBody) (err error)
ValidateListNotImplementedResponseBody runs the validations defined on list_not-implemented_response_body
func ValidateNavTResponseBody ¶
func ValidateNavTResponseBody(body *NavTResponseBody) (err error)
ValidateNavTResponseBody runs the validations defined on NavTResponseBody
func ValidateReadBadRequestResponseBody ¶
func ValidateReadBadRequestResponseBody(body *ReadBadRequestResponseBody) (err error)
ValidateReadBadRequestResponseBody runs the validations defined on read_bad-request_response_body
func ValidateReadInvalidScopesResponseBody ¶
func ValidateReadInvalidScopesResponseBody(body *ReadInvalidScopesResponseBody) (err error)
ValidateReadInvalidScopesResponseBody runs the validations defined on read_invalid-scopes_response_body
func ValidateReadNotFoundResponseBody ¶
func ValidateReadNotFoundResponseBody(body *ReadNotFoundResponseBody) (err error)
ValidateReadNotFoundResponseBody runs the validations defined on read_not-found_response_body
func ValidateReadNotImplementedResponseBody ¶
func ValidateReadNotImplementedResponseBody(body *ReadNotImplementedResponseBody) (err error)
ValidateReadNotImplementedResponseBody runs the validations defined on read_not-implemented_response_body
func ValidateRefTResponseBody ¶
func ValidateRefTResponseBody(body *RefTResponseBody) (err error)
ValidateRefTResponseBody runs the validations defined on RefTResponseBody
func ValidateRemoveCollectionBadRequestResponseBody ¶
func ValidateRemoveCollectionBadRequestResponseBody(body *RemoveCollectionBadRequestResponseBody) (err error)
ValidateRemoveCollectionBadRequestResponseBody runs the validations defined on removeCollection_bad-request_response_body
func ValidateRemoveCollectionInvalidScopesResponseBody ¶
func ValidateRemoveCollectionInvalidScopesResponseBody(body *RemoveCollectionInvalidScopesResponseBody) (err error)
ValidateRemoveCollectionInvalidScopesResponseBody runs the validations defined on removeCollection_invalid-scopes_response_body
func ValidateRemoveCollectionNotFoundResponseBody ¶
func ValidateRemoveCollectionNotFoundResponseBody(body *RemoveCollectionNotFoundResponseBody) (err error)
ValidateRemoveCollectionNotFoundResponseBody runs the validations defined on removeCollection_not-found_response_body
func ValidateRemoveCollectionNotImplementedResponseBody ¶
func ValidateRemoveCollectionNotImplementedResponseBody(body *RemoveCollectionNotImplementedResponseBody) (err error)
ValidateRemoveCollectionNotImplementedResponseBody runs the validations defined on removeCollection_not-implemented_response_body
func ValidateSelfTResponseBody ¶
func ValidateSelfTResponseBody(body *SelfTResponseBody) (err error)
ValidateSelfTResponseBody runs the validations defined on SelfTResponseBody
func ValidateUploadBadRequestResponseBody ¶
func ValidateUploadBadRequestResponseBody(body *UploadBadRequestResponseBody) (err error)
ValidateUploadBadRequestResponseBody runs the validations defined on upload_bad-request_response_body
func ValidateUploadInvalidScopesResponseBody ¶
func ValidateUploadInvalidScopesResponseBody(body *UploadInvalidScopesResponseBody) (err error)
ValidateUploadInvalidScopesResponseBody runs the validations defined on upload_invalid-scopes_response_body
func ValidateUploadNotImplementedResponseBody ¶
func ValidateUploadNotImplementedResponseBody(body *UploadNotImplementedResponseBody) (err error)
ValidateUploadNotImplementedResponseBody runs the validations defined on upload_not-implemented_response_body
Types ¶
type AddCollectionBadRequestResponseBody ¶
type AddCollectionBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
AddCollectionBadRequestResponseBody is the type of the "artifact" service "addCollection" endpoint HTTP response body for the "bad-request" error.
type AddCollectionInvalidScopesResponseBody ¶
type AddCollectionInvalidScopesResponseBody struct { // ID of involved resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
AddCollectionInvalidScopesResponseBody is the type of the "artifact" service "addCollection" endpoint HTTP response body for the "invalid-scopes" error.
type AddCollectionNotFoundResponseBody ¶
type AddCollectionNotFoundResponseBody struct { // ID of missing resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
AddCollectionNotFoundResponseBody is the type of the "artifact" service "addCollection" endpoint HTTP response body for the "not-found" error.
type AddCollectionNotImplementedResponseBody ¶
type AddCollectionNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
AddCollectionNotImplementedResponseBody is the type of the "artifact" service "addCollection" endpoint HTTP response body for the "not-implemented" error.
type AddMetadataBadRequestResponseBody ¶
type AddMetadataBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
AddMetadataBadRequestResponseBody is the type of the "artifact" service "addMetadata" endpoint HTTP response body for the "bad-request" error.
type AddMetadataInvalidScopesResponseBody ¶
type AddMetadataInvalidScopesResponseBody struct { // ID of involved resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
AddMetadataInvalidScopesResponseBody is the type of the "artifact" service "addMetadata" endpoint HTTP response body for the "invalid-scopes" error.
type AddMetadataNotFoundResponseBody ¶
type AddMetadataNotFoundResponseBody struct { // ID of missing resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
AddMetadataNotFoundResponseBody is the type of the "artifact" service "addMetadata" endpoint HTTP response body for the "not-found" error.
type AddMetadataNotImplementedResponseBody ¶
type AddMetadataNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
AddMetadataNotImplementedResponseBody is the type of the "artifact" service "addMetadata" endpoint HTTP response body for the "not-implemented" error.
type ArtifactListItemResponseBody ¶
type ArtifactListItemResponseBody struct { // Artifact ID ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Optional name Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // Artifact status Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // Size of aritfact in bytes Size *int64 `form:"size,omitempty" json:"size,omitempty" xml:"size,omitempty"` // Mime (content) type of artifact MimeType *string `form:"mime-type,omitempty" json:"mime-type,omitempty" xml:"mime-type,omitempty"` Links *SelfTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"` }
ArtifactListItemResponseBody is used to define fields on response body types.
type Client ¶
type Client struct { // List Doer is the HTTP client used to make requests to the list endpoint. ListDoer goahttp.Doer // Upload Doer is the HTTP client used to make requests to the upload endpoint. UploadDoer goahttp.Doer // Read Doer is the HTTP client used to make requests to the read endpoint. ReadDoer goahttp.Doer // AddCollection Doer is the HTTP client used to make requests to the // addCollection endpoint. AddCollectionDoer goahttp.Doer // RemoveCollection Doer is the HTTP client used to make requests to the // removeCollection endpoint. RemoveCollectionDoer goahttp.Doer // AddMetadata Doer is the HTTP client used to make requests to the addMetadata // endpoint. AddMetadataDoer 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 artifact 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 artifact service servers.
func (*Client) AddCollection ¶
AddCollection returns an endpoint that makes HTTP requests to the artifact service addCollection server.
func (*Client) AddMetadata ¶
AddMetadata returns an endpoint that makes HTTP requests to the artifact service addMetadata server.
func (*Client) BuildAddCollectionRequest ¶
func (c *Client) BuildAddCollectionRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildAddCollectionRequest instantiates a HTTP request object with method and path set to call the "artifact" service "addCollection" endpoint
func (*Client) BuildAddMetadataRequest ¶
BuildAddMetadataRequest instantiates a HTTP request object with method and path set to call the "artifact" service "addMetadata" endpoint
func (*Client) BuildListRequest ¶
BuildListRequest instantiates a HTTP request object with method and path set to call the "artifact" service "list" endpoint
func (*Client) BuildReadRequest ¶
BuildReadRequest instantiates a HTTP request object with method and path set to call the "artifact" service "read" endpoint
func (*Client) BuildRemoveCollectionRequest ¶
func (c *Client) BuildRemoveCollectionRequest(ctx context.Context, v interface{}) (*http.Request, error)
BuildRemoveCollectionRequest instantiates a HTTP request object with method and path set to call the "artifact" service "removeCollection" endpoint
func (*Client) BuildUploadRequest ¶
BuildUploadRequest instantiates a HTTP request object with method and path set to call the "artifact" service "upload" endpoint
func (*Client) List ¶
List returns an endpoint that makes HTTP requests to the artifact service list server.
func (*Client) Read ¶
Read returns an endpoint that makes HTTP requests to the artifact service read server.
func (*Client) RemoveCollection ¶
RemoveCollection returns an endpoint that makes HTTP requests to the artifact service removeCollection server.
type DescribedByTResponseBody ¶
type DescribedByTResponseBody struct { Href *string `form:"href,omitempty" json:"href,omitempty" xml:"href,omitempty"` Type *string `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"` }
DescribedByTResponseBody is used to define fields on response body types.
type ListBadRequestResponseBody ¶
type ListBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ListBadRequestResponseBody is the type of the "artifact" service "list" endpoint HTTP response body for the "bad-request" error.
type ListInvalidScopesResponseBody ¶
type ListInvalidScopesResponseBody struct { // ID of involved resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ListInvalidScopesResponseBody is the type of the "artifact" service "list" endpoint HTTP response body for the "invalid-scopes" error.
type ListNotImplementedResponseBody ¶
type ListNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ListNotImplementedResponseBody is the type of the "artifact" service "list" endpoint HTTP response body for the "not-implemented" error.
type ListResponseBody ¶
type ListResponseBody struct { // Artifacts Artifacts []*ArtifactListItemResponseBody `form:"artifacts,omitempty" json:"artifacts,omitempty" xml:"artifacts,omitempty"` // Navigation links Links *NavTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"` }
ListResponseBody is the type of the "artifact" service "list" endpoint HTTP response body.
type MetadataTResponseBody ¶
type MetadataTResponseBody struct { Schema *string `form:"schema,omitempty" json:"schema,omitempty" xml:"schema,omitempty"` Data interface{} `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"` }
MetadataTResponseBody is used to define fields on response body types.
type NavTResponseBody ¶
type NavTResponseBody struct {}
NavTResponseBody is used to define fields on response body types.
type ReadBadRequestResponseBody ¶
type ReadBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ReadBadRequestResponseBody is the type of the "artifact" service "read" endpoint HTTP response body for the "bad-request" error.
type ReadInvalidScopesResponseBody ¶
type ReadInvalidScopesResponseBody struct { // ID of involved resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ReadInvalidScopesResponseBody is the type of the "artifact" service "read" endpoint HTTP response body for the "invalid-scopes" error.
type ReadNotFoundResponseBody ¶
type ReadNotFoundResponseBody struct { // ID of missing resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ReadNotFoundResponseBody is the type of the "artifact" service "read" endpoint HTTP response body for the "not-found" error.
type ReadNotImplementedResponseBody ¶
type ReadNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
ReadNotImplementedResponseBody is the type of the "artifact" service "read" endpoint HTTP response body for the "not-implemented" error.
type ReadResponseBody ¶
type ReadResponseBody struct { // Artifact ID ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Optional name Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // List of collections this artifact is part of Collections []string `form:"collections,omitempty" json:"collections,omitempty" xml:"collections,omitempty"` // Link to retrieve the artifact data Data *SelfTResponseBody `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"` // Artifact status Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // Mime-type of data MimeType *string `form:"mime-type,omitempty" json:"mime-type,omitempty" xml:"mime-type,omitempty"` // Size of data Size *int64 `form:"size,omitempty" json:"size,omitempty" xml:"size,omitempty"` // List of metadata records associated with this artifact Metadata []*MetadataTResponseBody `form:"metadata,omitempty" json:"metadata,omitempty" xml:"metadata,omitempty"` // Reference to billable account Account *RefTResponseBody `form:"account,omitempty" json:"account,omitempty" xml:"account,omitempty"` Links *SelfTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"` // link back to record Location *string `form:"location,omitempty" json:"location,omitempty" xml:"location,omitempty"` // indicate version of TUS supported TusResumable *string `form:"tus_resumable,omitempty" json:"tus_resumable,omitempty" xml:"tus_resumable,omitempty"` // TUS offset for partially uploaded content TusOffset *int64 `form:"tus_offset,omitempty" json:"tus_offset,omitempty" xml:"tus_offset,omitempty"` }
ReadResponseBody is the type of the "artifact" service "read" endpoint HTTP response body.
type RefTResponseBody ¶
type RefTResponseBody struct { ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` Links *SelfTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"` }
RefTResponseBody is used to define fields on response body types.
type RemoveCollectionBadRequestResponseBody ¶
type RemoveCollectionBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
RemoveCollectionBadRequestResponseBody is the type of the "artifact" service "removeCollection" endpoint HTTP response body for the "bad-request" error.
type RemoveCollectionInvalidScopesResponseBody ¶
type RemoveCollectionInvalidScopesResponseBody struct { // ID of involved resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
RemoveCollectionInvalidScopesResponseBody is the type of the "artifact" service "removeCollection" endpoint HTTP response body for the "invalid-scopes" error.
type RemoveCollectionNotFoundResponseBody ¶
type RemoveCollectionNotFoundResponseBody struct { // ID of missing resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
RemoveCollectionNotFoundResponseBody is the type of the "artifact" service "removeCollection" endpoint HTTP response body for the "not-found" error.
type RemoveCollectionNotImplementedResponseBody ¶
type RemoveCollectionNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
RemoveCollectionNotImplementedResponseBody is the type of the "artifact" service "removeCollection" endpoint HTTP response body for the "not-implemented" error.
type SelfTResponseBody ¶
type SelfTResponseBody struct { Self *string `form:"self,omitempty" json:"self,omitempty" xml:"self,omitempty"` DescribedBy *DescribedByTResponseBody `form:"describedBy,omitempty" json:"describedBy,omitempty" xml:"describedBy,omitempty"` }
SelfTResponseBody is used to define fields on response body types.
type UploadBadRequestResponseBody ¶
type UploadBadRequestResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
UploadBadRequestResponseBody is the type of the "artifact" service "upload" endpoint HTTP response body for the "bad-request" error.
type UploadInvalidScopesResponseBody ¶
type UploadInvalidScopesResponseBody struct { // ID of involved resource ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Message of error Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
UploadInvalidScopesResponseBody is the type of the "artifact" service "upload" endpoint HTTP response body for the "invalid-scopes" error.
type UploadNotImplementedResponseBody ¶
type UploadNotImplementedResponseBody struct { // Information message Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"` }
UploadNotImplementedResponseBody is the type of the "artifact" service "upload" endpoint HTTP response body for the "not-implemented" error.
type UploadResponseBody ¶
type UploadResponseBody struct { // Artifact ID ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"` // Optional name Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"` // List of collections this artifact is part of Collections []string `form:"collections,omitempty" json:"collections,omitempty" xml:"collections,omitempty"` // Link to retrieve the artifact data Data *SelfTResponseBody `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"` // Artifact status Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"` // Mime-type of data MimeType *string `form:"mime-type,omitempty" json:"mime-type,omitempty" xml:"mime-type,omitempty"` // Size of data Size *int64 `form:"size,omitempty" json:"size,omitempty" xml:"size,omitempty"` // List of metadata records associated with this artifact Metadata []*MetadataTResponseBody `form:"metadata,omitempty" json:"metadata,omitempty" xml:"metadata,omitempty"` // Reference to billable account Account *RefTResponseBody `form:"account,omitempty" json:"account,omitempty" xml:"account,omitempty"` Links *SelfTResponseBody `form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"` }
UploadResponseBody is the type of the "artifact" service "upload" endpoint HTTP response body.