client

package
v0.0.0-...-c1e6758 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildConfirmPayload

func BuildConfirmPayload(package_ConfirmBody string, package_ConfirmID string, package_ConfirmOauthToken string) (*package_.ConfirmPayload, error)

BuildConfirmPayload builds the payload for the package confirm endpoint from CLI flags.

func BuildListPayload

func BuildListPayload(package_ListName string, package_ListAipID string, package_ListEarliestCreatedTime string, package_ListLatestCreatedTime string, package_ListLocationID string, package_ListStatus string, package_ListCursor string, package_ListOauthToken string) (*package_.ListPayload, error)

BuildListPayload builds the payload for the package list endpoint from CLI flags.

func BuildMonitorPayload

func BuildMonitorPayload(package_MonitorTicket string) (*package_.MonitorPayload, error)

BuildMonitorPayload builds the payload for the package monitor endpoint from CLI flags.

func BuildMonitorRequestPayload

func BuildMonitorRequestPayload(package_MonitorRequestOauthToken string) (*package_.MonitorRequestPayload, error)

BuildMonitorRequestPayload builds the payload for the package monitor_request endpoint from CLI flags.

func BuildMovePayload

func BuildMovePayload(package_MoveBody string, package_MoveID string, package_MoveOauthToken string) (*package_.MovePayload, error)

BuildMovePayload builds the payload for the package move endpoint from CLI flags.

func BuildMoveStatusPayload

func BuildMoveStatusPayload(package_MoveStatusID string, package_MoveStatusOauthToken string) (*package_.MoveStatusPayload, error)

BuildMoveStatusPayload builds the payload for the package move_status endpoint from CLI flags.

func BuildPreservationActionsPayload

func BuildPreservationActionsPayload(package_PreservationActionsID string, package_PreservationActionsOauthToken string) (*package_.PreservationActionsPayload, error)

BuildPreservationActionsPayload builds the payload for the package preservation_actions endpoint from CLI flags.

func BuildRejectPayload

func BuildRejectPayload(package_RejectID string, package_RejectOauthToken string) (*package_.RejectPayload, error)

BuildRejectPayload builds the payload for the package reject endpoint from CLI flags.

func BuildShowPayload

func BuildShowPayload(package_ShowID string, package_ShowOauthToken string) (*package_.ShowPayload, error)

BuildShowPayload builds the payload for the package show endpoint from CLI flags.

func ConfirmPackagePath

func ConfirmPackagePath(id uint) string

ConfirmPackagePath returns the URL path to the package service confirm HTTP endpoint.

func DecodeConfirmResponse

func DecodeConfirmResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

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

  • "not_available" (type *goa.ServiceError): http.StatusConflict
  • "not_valid" (type *goa.ServiceError): http.StatusBadRequest
  • "not_found" (type *package_.PackageNotFound): http.StatusNotFound
  • "unauthorized" (type package_.Unauthorized): http.StatusUnauthorized
  • error: internal error

func DecodeListResponse

func DecodeListResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

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

  • "unauthorized" (type package_.Unauthorized): http.StatusUnauthorized
  • error: internal error

func DecodeMonitorRequestResponse

func DecodeMonitorRequestResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

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

  • "not_available" (type *goa.ServiceError): http.StatusInternalServerError
  • "unauthorized" (type package_.Unauthorized): http.StatusUnauthorized
  • error: internal error

func DecodeMonitorResponse

func DecodeMonitorResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

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

  • "not_available" (type *goa.ServiceError): http.StatusInternalServerError
  • "unauthorized" (type package_.Unauthorized): http.StatusUnauthorized
  • error: internal error

func DecodeMoveResponse

func DecodeMoveResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

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

  • "not_available" (type *goa.ServiceError): http.StatusConflict
  • "not_valid" (type *goa.ServiceError): http.StatusBadRequest
  • "not_found" (type *package_.PackageNotFound): http.StatusNotFound
  • "unauthorized" (type package_.Unauthorized): http.StatusUnauthorized
  • error: internal error

func DecodeMoveStatusResponse

func DecodeMoveStatusResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

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

  • "failed_dependency" (type *goa.ServiceError): http.StatusFailedDependency
  • "not_found" (type *package_.PackageNotFound): http.StatusNotFound
  • "unauthorized" (type package_.Unauthorized): http.StatusUnauthorized
  • error: internal error

func DecodePreservationActionsResponse

func DecodePreservationActionsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

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

  • "not_found" (type *package_.PackageNotFound): http.StatusNotFound
  • "unauthorized" (type package_.Unauthorized): http.StatusUnauthorized
  • error: internal error

func DecodeRejectResponse

func DecodeRejectResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

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

  • "not_available" (type *goa.ServiceError): http.StatusConflict
  • "not_valid" (type *goa.ServiceError): http.StatusBadRequest
  • "not_found" (type *package_.PackageNotFound): http.StatusNotFound
  • "unauthorized" (type package_.Unauthorized): http.StatusUnauthorized
  • error: internal error

func DecodeShowResponse

func DecodeShowResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)

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

  • "not_available" (type *goa.ServiceError): http.StatusConflict
  • "not_found" (type *package_.PackageNotFound): http.StatusNotFound
  • "unauthorized" (type package_.Unauthorized): http.StatusUnauthorized
  • error: internal error

func EncodeConfirmRequest

func EncodeConfirmRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeConfirmRequest returns an encoder for requests sent to the package confirm server.

func EncodeListRequest

func EncodeListRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeListRequest returns an encoder for requests sent to the package list server.

func EncodeMonitorRequest

func EncodeMonitorRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeMonitorRequest returns an encoder for requests sent to the package monitor server.

func EncodeMonitorRequestRequest

func EncodeMonitorRequestRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeMonitorRequestRequest returns an encoder for requests sent to the package monitor_request server.

func EncodeMoveRequest

func EncodeMoveRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeMoveRequest returns an encoder for requests sent to the package move server.

func EncodeMoveStatusRequest

func EncodeMoveStatusRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeMoveStatusRequest returns an encoder for requests sent to the package move_status server.

func EncodePreservationActionsRequest

func EncodePreservationActionsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodePreservationActionsRequest returns an encoder for requests sent to the package preservation_actions server.

func EncodeRejectRequest

func EncodeRejectRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeRejectRequest returns an encoder for requests sent to the package reject server.

func EncodeShowRequest

func EncodeShowRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error

EncodeShowRequest returns an encoder for requests sent to the package show server.

func ListPackagePath

func ListPackagePath() string

ListPackagePath returns the URL path to the package service list HTTP endpoint.

func MonitorPackagePath

func MonitorPackagePath() string

MonitorPackagePath returns the URL path to the package service monitor HTTP endpoint.

func MonitorRequestPackagePath

func MonitorRequestPackagePath() string

MonitorRequestPackagePath returns the URL path to the package service monitor_request HTTP endpoint.

func MovePackagePath

func MovePackagePath(id uint) string

MovePackagePath returns the URL path to the package service move HTTP endpoint.

func MoveStatusPackagePath

func MoveStatusPackagePath(id uint) string

MoveStatusPackagePath returns the URL path to the package service move_status HTTP endpoint.

func NewConfirmNotAvailable

func NewConfirmNotAvailable(body *ConfirmNotAvailableResponseBody) *goa.ServiceError

NewConfirmNotAvailable builds a package service confirm endpoint not_available error.

func NewConfirmNotFound

func NewConfirmNotFound(body *ConfirmNotFoundResponseBody) *package_.PackageNotFound

NewConfirmNotFound builds a package service confirm endpoint not_found error.

func NewConfirmNotValid

func NewConfirmNotValid(body *ConfirmNotValidResponseBody) *goa.ServiceError

NewConfirmNotValid builds a package service confirm endpoint not_valid error.

func NewConfirmUnauthorized

func NewConfirmUnauthorized(body string) package_.Unauthorized

NewConfirmUnauthorized builds a package service confirm endpoint unauthorized error.

func NewListResultOK

func NewListResultOK(body *ListResponseBody) *package_.ListResult

NewListResultOK builds a "package" service "list" endpoint result from a HTTP "OK" response.

func NewListUnauthorized

func NewListUnauthorized(body string) package_.Unauthorized

NewListUnauthorized builds a package service list endpoint unauthorized error.

func NewMonitorEventOK

func NewMonitorEventOK(body *MonitorResponseBody) *package_.MonitorEvent

NewMonitorEventOK builds a "package" service "monitor" endpoint result from a HTTP "OK" response.

func NewMonitorNotAvailable

func NewMonitorNotAvailable(body *MonitorNotAvailableResponseBody) *goa.ServiceError

NewMonitorNotAvailable builds a package service monitor endpoint not_available error.

func NewMonitorRequestNotAvailable

func NewMonitorRequestNotAvailable(body *MonitorRequestNotAvailableResponseBody) *goa.ServiceError

NewMonitorRequestNotAvailable builds a package service monitor_request endpoint not_available error.

func NewMonitorRequestResultOK

func NewMonitorRequestResultOK(ticket *string) *package_.MonitorRequestResult

NewMonitorRequestResultOK builds a "package" service "monitor_request" endpoint result from a HTTP "OK" response.

func NewMonitorRequestUnauthorized

func NewMonitorRequestUnauthorized(body string) package_.Unauthorized

NewMonitorRequestUnauthorized builds a package service monitor_request endpoint unauthorized error.

func NewMonitorUnauthorized

func NewMonitorUnauthorized(body string) package_.Unauthorized

NewMonitorUnauthorized builds a package service monitor endpoint unauthorized error.

func NewMoveNotAvailable

func NewMoveNotAvailable(body *MoveNotAvailableResponseBody) *goa.ServiceError

NewMoveNotAvailable builds a package service move endpoint not_available error.

func NewMoveNotFound

func NewMoveNotFound(body *MoveNotFoundResponseBody) *package_.PackageNotFound

NewMoveNotFound builds a package service move endpoint not_found error.

func NewMoveNotValid

func NewMoveNotValid(body *MoveNotValidResponseBody) *goa.ServiceError

NewMoveNotValid builds a package service move endpoint not_valid error.

func NewMoveStatusFailedDependency

func NewMoveStatusFailedDependency(body *MoveStatusFailedDependencyResponseBody) *goa.ServiceError

NewMoveStatusFailedDependency builds a package service move_status endpoint failed_dependency error.

func NewMoveStatusNotFound

func NewMoveStatusNotFound(body *MoveStatusNotFoundResponseBody) *package_.PackageNotFound

NewMoveStatusNotFound builds a package service move_status endpoint not_found error.

func NewMoveStatusResultOK

func NewMoveStatusResultOK(body *MoveStatusResponseBody) *package_.MoveStatusResult

NewMoveStatusResultOK builds a "package" service "move_status" endpoint result from a HTTP "OK" response.

func NewMoveStatusUnauthorized

func NewMoveStatusUnauthorized(body string) package_.Unauthorized

NewMoveStatusUnauthorized builds a package service move_status endpoint unauthorized error.

func NewMoveUnauthorized

func NewMoveUnauthorized(body string) package_.Unauthorized

NewMoveUnauthorized builds a package service move endpoint unauthorized error.

func NewPreservationActionsEnduroPackagePreservationActionsOK

func NewPreservationActionsEnduroPackagePreservationActionsOK(body *PreservationActionsResponseBody) *package_views.EnduroPackagePreservationActionsView

NewPreservationActionsEnduroPackagePreservationActionsOK builds a "package" service "preservation_actions" endpoint result from a HTTP "OK" response.

func NewPreservationActionsNotFound

func NewPreservationActionsNotFound(body *PreservationActionsNotFoundResponseBody) *package_.PackageNotFound

NewPreservationActionsNotFound builds a package service preservation_actions endpoint not_found error.

func NewPreservationActionsUnauthorized

func NewPreservationActionsUnauthorized(body string) package_.Unauthorized

NewPreservationActionsUnauthorized builds a package service preservation_actions endpoint unauthorized error.

func NewRejectNotAvailable

func NewRejectNotAvailable(body *RejectNotAvailableResponseBody) *goa.ServiceError

NewRejectNotAvailable builds a package service reject endpoint not_available error.

func NewRejectNotFound

func NewRejectNotFound(body *RejectNotFoundResponseBody) *package_.PackageNotFound

NewRejectNotFound builds a package service reject endpoint not_found error.

func NewRejectNotValid

func NewRejectNotValid(body *RejectNotValidResponseBody) *goa.ServiceError

NewRejectNotValid builds a package service reject endpoint not_valid error.

func NewRejectUnauthorized

func NewRejectUnauthorized(body string) package_.Unauthorized

NewRejectUnauthorized builds a package service reject endpoint unauthorized error.

func NewShowEnduroStoredPackageOK

func NewShowEnduroStoredPackageOK(body *ShowResponseBody) *package_views.EnduroStoredPackageView

NewShowEnduroStoredPackageOK builds a "package" service "show" endpoint result from a HTTP "OK" response.

func NewShowNotAvailable

func NewShowNotAvailable(body *ShowNotAvailableResponseBody) *goa.ServiceError

NewShowNotAvailable builds a package service show endpoint not_available error.

func NewShowNotFound

func NewShowNotFound(body *ShowNotFoundResponseBody) *package_.PackageNotFound

NewShowNotFound builds a package service show endpoint not_found error.

func NewShowUnauthorized

func NewShowUnauthorized(body string) package_.Unauthorized

NewShowUnauthorized builds a package service show endpoint unauthorized error.

func PreservationActionsPackagePath

func PreservationActionsPackagePath(id uint) string

PreservationActionsPackagePath returns the URL path to the package service preservation_actions HTTP endpoint.

func RejectPackagePath

func RejectPackagePath(id uint) string

RejectPackagePath returns the URL path to the package service reject HTTP endpoint.

func ShowPackagePath

func ShowPackagePath(id uint) string

ShowPackagePath returns the URL path to the package service show HTTP endpoint.

func ValidateConfirmNotAvailableResponseBody

func ValidateConfirmNotAvailableResponseBody(body *ConfirmNotAvailableResponseBody) (err error)

ValidateConfirmNotAvailableResponseBody runs the validations defined on confirm_not_available_response_body

func ValidateConfirmNotFoundResponseBody

func ValidateConfirmNotFoundResponseBody(body *ConfirmNotFoundResponseBody) (err error)

ValidateConfirmNotFoundResponseBody runs the validations defined on confirm_not_found_response_body

func ValidateConfirmNotValidResponseBody

func ValidateConfirmNotValidResponseBody(body *ConfirmNotValidResponseBody) (err error)

ValidateConfirmNotValidResponseBody runs the validations defined on confirm_not_valid_response_body

func ValidateEnduroPackagePreservationActionCollectionResponseBody

func ValidateEnduroPackagePreservationActionCollectionResponseBody(body EnduroPackagePreservationActionCollectionResponseBody) (err error)

ValidateEnduroPackagePreservationActionCollectionResponseBody runs the validations defined on EnduroPackage-Preservation-ActionCollectionResponseBody

func ValidateEnduroPackagePreservationActionResponseBody

func ValidateEnduroPackagePreservationActionResponseBody(body *EnduroPackagePreservationActionResponseBody) (err error)

ValidateEnduroPackagePreservationActionResponseBody runs the validations defined on EnduroPackage-Preservation-ActionResponseBody

func ValidateEnduroPackagePreservationTaskCollectionResponseBody

func ValidateEnduroPackagePreservationTaskCollectionResponseBody(body EnduroPackagePreservationTaskCollectionResponseBody) (err error)

ValidateEnduroPackagePreservationTaskCollectionResponseBody runs the validations defined on EnduroPackage-Preservation-TaskCollectionResponseBody

func ValidateEnduroPackagePreservationTaskResponseBody

func ValidateEnduroPackagePreservationTaskResponseBody(body *EnduroPackagePreservationTaskResponseBody) (err error)

ValidateEnduroPackagePreservationTaskResponseBody runs the validations defined on EnduroPackage-Preservation-TaskResponseBody

func ValidateEnduroStoredPackageCollectionResponseBody

func ValidateEnduroStoredPackageCollectionResponseBody(body EnduroStoredPackageCollectionResponseBody) (err error)

ValidateEnduroStoredPackageCollectionResponseBody runs the validations defined on EnduroStored-PackageCollectionResponseBody

func ValidateEnduroStoredPackageResponseBody

func ValidateEnduroStoredPackageResponseBody(body *EnduroStoredPackageResponseBody) (err error)

ValidateEnduroStoredPackageResponseBody runs the validations defined on EnduroStored-PackageResponseBody

func ValidateListResponseBody

func ValidateListResponseBody(body *ListResponseBody) (err error)

ValidateListResponseBody runs the validations defined on ListResponseBody

func ValidateMonitorNotAvailableResponseBody

func ValidateMonitorNotAvailableResponseBody(body *MonitorNotAvailableResponseBody) (err error)

ValidateMonitorNotAvailableResponseBody runs the validations defined on monitor_not_available_response_body

func ValidateMonitorRequestNotAvailableResponseBody

func ValidateMonitorRequestNotAvailableResponseBody(body *MonitorRequestNotAvailableResponseBody) (err error)

ValidateMonitorRequestNotAvailableResponseBody runs the validations defined on monitor_request_not_available_response_body

func ValidateMonitorResponseBody

func ValidateMonitorResponseBody(body *MonitorResponseBody) (err error)

ValidateMonitorResponseBody runs the validations defined on MonitorResponseBody

func ValidateMoveNotAvailableResponseBody

func ValidateMoveNotAvailableResponseBody(body *MoveNotAvailableResponseBody) (err error)

ValidateMoveNotAvailableResponseBody runs the validations defined on move_not_available_response_body

func ValidateMoveNotFoundResponseBody

func ValidateMoveNotFoundResponseBody(body *MoveNotFoundResponseBody) (err error)

ValidateMoveNotFoundResponseBody runs the validations defined on move_not_found_response_body

func ValidateMoveNotValidResponseBody

func ValidateMoveNotValidResponseBody(body *MoveNotValidResponseBody) (err error)

ValidateMoveNotValidResponseBody runs the validations defined on move_not_valid_response_body

func ValidateMoveStatusFailedDependencyResponseBody

func ValidateMoveStatusFailedDependencyResponseBody(body *MoveStatusFailedDependencyResponseBody) (err error)

ValidateMoveStatusFailedDependencyResponseBody runs the validations defined on move_status_failed_dependency_response_body

func ValidateMoveStatusNotFoundResponseBody

func ValidateMoveStatusNotFoundResponseBody(body *MoveStatusNotFoundResponseBody) (err error)

ValidateMoveStatusNotFoundResponseBody runs the validations defined on move_status_not_found_response_body

func ValidateMoveStatusResponseBody

func ValidateMoveStatusResponseBody(body *MoveStatusResponseBody) (err error)

ValidateMoveStatusResponseBody runs the validations defined on move_status_response_body

func ValidatePreservationActionsNotFoundResponseBody

func ValidatePreservationActionsNotFoundResponseBody(body *PreservationActionsNotFoundResponseBody) (err error)

ValidatePreservationActionsNotFoundResponseBody runs the validations defined on preservation_actions_not_found_response_body

func ValidateRejectNotAvailableResponseBody

func ValidateRejectNotAvailableResponseBody(body *RejectNotAvailableResponseBody) (err error)

ValidateRejectNotAvailableResponseBody runs the validations defined on reject_not_available_response_body

func ValidateRejectNotFoundResponseBody

func ValidateRejectNotFoundResponseBody(body *RejectNotFoundResponseBody) (err error)

ValidateRejectNotFoundResponseBody runs the validations defined on reject_not_found_response_body

func ValidateRejectNotValidResponseBody

func ValidateRejectNotValidResponseBody(body *RejectNotValidResponseBody) (err error)

ValidateRejectNotValidResponseBody runs the validations defined on reject_not_valid_response_body

func ValidateShowNotAvailableResponseBody

func ValidateShowNotAvailableResponseBody(body *ShowNotAvailableResponseBody) (err error)

ValidateShowNotAvailableResponseBody runs the validations defined on show_not_available_response_body

func ValidateShowNotFoundResponseBody

func ValidateShowNotFoundResponseBody(body *ShowNotFoundResponseBody) (err error)

ValidateShowNotFoundResponseBody runs the validations defined on show_not_found_response_body

Types

type Client

type Client struct {
	// MonitorRequest Doer is the HTTP client used to make requests to the
	// monitor_request endpoint.
	MonitorRequestDoer goahttp.Doer

	// Monitor Doer is the HTTP client used to make requests to the monitor
	// endpoint.
	MonitorDoer goahttp.Doer

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

	// Show Doer is the HTTP client used to make requests to the show endpoint.
	ShowDoer goahttp.Doer

	// PreservationActions Doer is the HTTP client used to make requests to the
	// preservation_actions endpoint.
	PreservationActionsDoer goahttp.Doer

	// Confirm Doer is the HTTP client used to make requests to the confirm
	// endpoint.
	ConfirmDoer goahttp.Doer

	// Reject Doer is the HTTP client used to make requests to the reject endpoint.
	RejectDoer goahttp.Doer

	// Move Doer is the HTTP client used to make requests to the move endpoint.
	MoveDoer goahttp.Doer

	// MoveStatus Doer is the HTTP client used to make requests to the move_status
	// endpoint.
	MoveStatusDoer 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 package 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,
	dialer goahttp.Dialer,
	cfn *ConnConfigurer,
) *Client

NewClient instantiates HTTP clients for all the package service servers.

func (*Client) BuildConfirmRequest

func (c *Client) BuildConfirmRequest(ctx context.Context, v any) (*http.Request, error)

BuildConfirmRequest instantiates a HTTP request object with method and path set to call the "package" service "confirm" endpoint

func (*Client) BuildListRequest

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

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

func (*Client) BuildMonitorRequest

func (c *Client) BuildMonitorRequest(ctx context.Context, v any) (*http.Request, error)

BuildMonitorRequest instantiates a HTTP request object with method and path set to call the "package" service "monitor" endpoint

func (*Client) BuildMonitorRequestRequest

func (c *Client) BuildMonitorRequestRequest(ctx context.Context, v any) (*http.Request, error)

BuildMonitorRequestRequest instantiates a HTTP request object with method and path set to call the "package" service "monitor_request" endpoint

func (*Client) BuildMoveRequest

func (c *Client) BuildMoveRequest(ctx context.Context, v any) (*http.Request, error)

BuildMoveRequest instantiates a HTTP request object with method and path set to call the "package" service "move" endpoint

func (*Client) BuildMoveStatusRequest

func (c *Client) BuildMoveStatusRequest(ctx context.Context, v any) (*http.Request, error)

BuildMoveStatusRequest instantiates a HTTP request object with method and path set to call the "package" service "move_status" endpoint

func (*Client) BuildPreservationActionsRequest

func (c *Client) BuildPreservationActionsRequest(ctx context.Context, v any) (*http.Request, error)

BuildPreservationActionsRequest instantiates a HTTP request object with method and path set to call the "package" service "preservation_actions" endpoint

func (*Client) BuildRejectRequest

func (c *Client) BuildRejectRequest(ctx context.Context, v any) (*http.Request, error)

BuildRejectRequest instantiates a HTTP request object with method and path set to call the "package" service "reject" endpoint

func (*Client) BuildShowRequest

func (c *Client) BuildShowRequest(ctx context.Context, v any) (*http.Request, error)

BuildShowRequest instantiates a HTTP request object with method and path set to call the "package" service "show" endpoint

func (*Client) Confirm

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

Confirm returns an endpoint that makes HTTP requests to the package service confirm server.

func (*Client) List

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

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

func (*Client) Monitor

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

Monitor returns an endpoint that makes HTTP requests to the package service monitor server.

func (*Client) MonitorRequest

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

MonitorRequest returns an endpoint that makes HTTP requests to the package service monitor_request server.

func (*Client) Move

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

Move returns an endpoint that makes HTTP requests to the package service move server.

func (*Client) MoveStatus

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

MoveStatus returns an endpoint that makes HTTP requests to the package service move_status server.

func (*Client) PreservationActions

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

PreservationActions returns an endpoint that makes HTTP requests to the package service preservation_actions server.

func (*Client) Reject

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

Reject returns an endpoint that makes HTTP requests to the package service reject server.

func (*Client) Show

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

Show returns an endpoint that makes HTTP requests to the package service show server.

type ConfirmNotAvailableResponseBody

type ConfirmNotAvailableResponseBody 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"`
}

ConfirmNotAvailableResponseBody is the type of the "package" service "confirm" endpoint HTTP response body for the "not_available" error.

type ConfirmNotFoundResponseBody

type ConfirmNotFoundResponseBody struct {
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Identifier of missing package
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
}

ConfirmNotFoundResponseBody is the type of the "package" service "confirm" endpoint HTTP response body for the "not_found" error.

type ConfirmNotValidResponseBody

type ConfirmNotValidResponseBody 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"`
}

ConfirmNotValidResponseBody is the type of the "package" service "confirm" endpoint HTTP response body for the "not_valid" error.

type ConfirmRequestBody

type ConfirmRequestBody struct {
	// Identifier of storage location
	LocationID uuid.UUID `form:"location_id" json:"location_id" xml:"location_id"`
}

ConfirmRequestBody is the type of the "package" service "confirm" endpoint HTTP request body.

func NewConfirmRequestBody

func NewConfirmRequestBody(p *package_.ConfirmPayload) *ConfirmRequestBody

NewConfirmRequestBody builds the HTTP request body from the payload of the "confirm" endpoint of the "package" service.

type ConnConfigurer

type ConnConfigurer struct {
	MonitorFn goahttp.ConnConfigureFunc
}

ConnConfigurer holds the websocket connection configurer functions for the streaming endpoints in "package" service.

func NewConnConfigurer

func NewConnConfigurer(fn goahttp.ConnConfigureFunc) *ConnConfigurer

NewConnConfigurer initializes the websocket connection configurer function with fn for all the streaming endpoints in "package" service.

type EnduroPackagePreservationActionCollectionResponseBody

type EnduroPackagePreservationActionCollectionResponseBody []*EnduroPackagePreservationActionResponseBody

EnduroPackagePreservationActionCollectionResponseBody is used to define fields on response body types.

type EnduroPackagePreservationActionResponseBody

type EnduroPackagePreservationActionResponseBody struct {
	ID          *uint                                               `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	WorkflowID  *string                                             `form:"workflow_id,omitempty" json:"workflow_id,omitempty" xml:"workflow_id,omitempty"`
	Type        *string                                             `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"`
	Status      *string                                             `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	StartedAt   *string                                             `form:"started_at,omitempty" json:"started_at,omitempty" xml:"started_at,omitempty"`
	CompletedAt *string                                             `form:"completed_at,omitempty" json:"completed_at,omitempty" xml:"completed_at,omitempty"`
	Tasks       EnduroPackagePreservationTaskCollectionResponseBody `form:"tasks,omitempty" json:"tasks,omitempty" xml:"tasks,omitempty"`
	PackageID   *uint                                               `form:"package_id,omitempty" json:"package_id,omitempty" xml:"package_id,omitempty"`
}

EnduroPackagePreservationActionResponseBody is used to define fields on response body types.

type EnduroPackagePreservationTaskCollectionResponseBody

type EnduroPackagePreservationTaskCollectionResponseBody []*EnduroPackagePreservationTaskResponseBody

EnduroPackagePreservationTaskCollectionResponseBody is used to define fields on response body types.

type EnduroPackagePreservationTaskResponseBody

type EnduroPackagePreservationTaskResponseBody struct {
	ID                   *uint   `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	TaskID               *string `form:"task_id,omitempty" json:"task_id,omitempty" xml:"task_id,omitempty"`
	Name                 *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	Status               *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	StartedAt            *string `form:"started_at,omitempty" json:"started_at,omitempty" xml:"started_at,omitempty"`
	CompletedAt          *string `form:"completed_at,omitempty" json:"completed_at,omitempty" xml:"completed_at,omitempty"`
	Note                 *string `form:"note,omitempty" json:"note,omitempty" xml:"note,omitempty"`
	PreservationActionID *uint   `form:"preservation_action_id,omitempty" json:"preservation_action_id,omitempty" xml:"preservation_action_id,omitempty"`
}

EnduroPackagePreservationTaskResponseBody is used to define fields on response body types.

type EnduroStoredPackageCollectionResponseBody

type EnduroStoredPackageCollectionResponseBody []*EnduroStoredPackageResponseBody

EnduroStoredPackageCollectionResponseBody is used to define fields on response body types.

type EnduroStoredPackageResponseBody

type EnduroStoredPackageResponseBody struct {
	// Identifier of package
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Name of the package
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// Identifier of storage location
	LocationID *uuid.UUID `form:"location_id,omitempty" json:"location_id,omitempty" xml:"location_id,omitempty"`
	// Status of the package
	Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	// Identifier of processing workflow
	WorkflowID *string `form:"workflow_id,omitempty" json:"workflow_id,omitempty" xml:"workflow_id,omitempty"`
	// Identifier of latest processing workflow run
	RunID *string `form:"run_id,omitempty" json:"run_id,omitempty" xml:"run_id,omitempty"`
	// Identifier of AIP
	AipID *string `form:"aip_id,omitempty" json:"aip_id,omitempty" xml:"aip_id,omitempty"`
	// Creation datetime
	CreatedAt *string `form:"created_at,omitempty" json:"created_at,omitempty" xml:"created_at,omitempty"`
	// Start datetime
	StartedAt *string `form:"started_at,omitempty" json:"started_at,omitempty" xml:"started_at,omitempty"`
	// Completion datetime
	CompletedAt *string `form:"completed_at,omitempty" json:"completed_at,omitempty" xml:"completed_at,omitempty"`
}

EnduroStoredPackageResponseBody is used to define fields on response body types.

type ListResponseBody

type ListResponseBody struct {
	Items      EnduroStoredPackageCollectionResponseBody `form:"items,omitempty" json:"items,omitempty" xml:"items,omitempty"`
	NextCursor *string                                   `form:"next_cursor,omitempty" json:"next_cursor,omitempty" xml:"next_cursor,omitempty"`
}

ListResponseBody is the type of the "package" service "list" endpoint HTTP response body.

type MonitorClientStream

type MonitorClientStream struct {
	// contains filtered or unexported fields
}

MonitorClientStream implements the package_.MonitorClientStream interface.

func (*MonitorClientStream) Recv

Recv reads instances of "package_.MonitorEvent" from the "monitor" endpoint websocket connection.

type MonitorNotAvailableResponseBody

type MonitorNotAvailableResponseBody 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"`
}

MonitorNotAvailableResponseBody is the type of the "package" service "monitor" endpoint HTTP response body for the "not_available" error.

type MonitorRequestNotAvailableResponseBody

type MonitorRequestNotAvailableResponseBody 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"`
}

MonitorRequestNotAvailableResponseBody is the type of the "package" service "monitor_request" endpoint HTTP response body for the "not_available" error.

type MonitorResponseBody

type MonitorResponseBody struct {
	Event *struct {
		// Union type name, one of:
		// - "monitor_ping_event"
		// - "package_created_event"
		// - "package_updated_event"
		// - "package_status_updated_event"
		// - "package_location_updated_event"
		// - "preservation_action_created_event"
		// - "preservation_action_updated_event"
		// - "preservation_task_created_event"
		// - "preservation_task_updated_event"
		Type *string `form:"Type" json:"Type" xml:"Type"`
		// JSON encoded union value
		Value *string `form:"Value" json:"Value" xml:"Value"`
	} `form:"event,omitempty" json:"event,omitempty" xml:"event,omitempty"`
}

MonitorResponseBody is the type of the "package" service "monitor" endpoint HTTP response body.

type MoveNotAvailableResponseBody

type MoveNotAvailableResponseBody 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"`
}

MoveNotAvailableResponseBody is the type of the "package" service "move" endpoint HTTP response body for the "not_available" error.

type MoveNotFoundResponseBody

type MoveNotFoundResponseBody struct {
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Identifier of missing package
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
}

MoveNotFoundResponseBody is the type of the "package" service "move" endpoint HTTP response body for the "not_found" error.

type MoveNotValidResponseBody

type MoveNotValidResponseBody 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"`
}

MoveNotValidResponseBody is the type of the "package" service "move" endpoint HTTP response body for the "not_valid" error.

type MoveRequestBody

type MoveRequestBody struct {
	// Identifier of storage location
	LocationID uuid.UUID `form:"location_id" json:"location_id" xml:"location_id"`
}

MoveRequestBody is the type of the "package" service "move" endpoint HTTP request body.

func NewMoveRequestBody

func NewMoveRequestBody(p *package_.MovePayload) *MoveRequestBody

NewMoveRequestBody builds the HTTP request body from the payload of the "move" endpoint of the "package" service.

type MoveStatusFailedDependencyResponseBody

type MoveStatusFailedDependencyResponseBody 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"`
}

MoveStatusFailedDependencyResponseBody is the type of the "package" service "move_status" endpoint HTTP response body for the "failed_dependency" error.

type MoveStatusNotFoundResponseBody

type MoveStatusNotFoundResponseBody struct {
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Identifier of missing package
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
}

MoveStatusNotFoundResponseBody is the type of the "package" service "move_status" endpoint HTTP response body for the "not_found" error.

type MoveStatusResponseBody

type MoveStatusResponseBody struct {
	Done *bool `form:"done,omitempty" json:"done,omitempty" xml:"done,omitempty"`
}

MoveStatusResponseBody is the type of the "package" service "move_status" endpoint HTTP response body.

type PreservationActionsNotFoundResponseBody

type PreservationActionsNotFoundResponseBody struct {
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Identifier of missing package
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
}

PreservationActionsNotFoundResponseBody is the type of the "package" service "preservation_actions" endpoint HTTP response body for the "not_found" error.

type PreservationActionsResponseBody

type PreservationActionsResponseBody struct {
	Actions EnduroPackagePreservationActionCollectionResponseBody `form:"actions,omitempty" json:"actions,omitempty" xml:"actions,omitempty"`
}

PreservationActionsResponseBody is the type of the "package" service "preservation_actions" endpoint HTTP response body.

type RejectNotAvailableResponseBody

type RejectNotAvailableResponseBody 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"`
}

RejectNotAvailableResponseBody is the type of the "package" service "reject" endpoint HTTP response body for the "not_available" error.

type RejectNotFoundResponseBody

type RejectNotFoundResponseBody struct {
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Identifier of missing package
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
}

RejectNotFoundResponseBody is the type of the "package" service "reject" endpoint HTTP response body for the "not_found" error.

type RejectNotValidResponseBody

type RejectNotValidResponseBody 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"`
}

RejectNotValidResponseBody is the type of the "package" service "reject" endpoint HTTP response body for the "not_valid" error.

type ShowNotAvailableResponseBody

type ShowNotAvailableResponseBody 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"`
}

ShowNotAvailableResponseBody is the type of the "package" service "show" endpoint HTTP response body for the "not_available" error.

type ShowNotFoundResponseBody

type ShowNotFoundResponseBody struct {
	// Message of error
	Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
	// Identifier of missing package
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
}

ShowNotFoundResponseBody is the type of the "package" service "show" endpoint HTTP response body for the "not_found" error.

type ShowResponseBody

type ShowResponseBody struct {
	// Identifier of package
	ID *uint `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
	// Name of the package
	Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
	// Identifier of storage location
	LocationID *uuid.UUID `form:"location_id,omitempty" json:"location_id,omitempty" xml:"location_id,omitempty"`
	// Status of the package
	Status *string `form:"status,omitempty" json:"status,omitempty" xml:"status,omitempty"`
	// Identifier of processing workflow
	WorkflowID *string `form:"workflow_id,omitempty" json:"workflow_id,omitempty" xml:"workflow_id,omitempty"`
	// Identifier of latest processing workflow run
	RunID *string `form:"run_id,omitempty" json:"run_id,omitempty" xml:"run_id,omitempty"`
	// Identifier of AIP
	AipID *string `form:"aip_id,omitempty" json:"aip_id,omitempty" xml:"aip_id,omitempty"`
	// Creation datetime
	CreatedAt *string `form:"created_at,omitempty" json:"created_at,omitempty" xml:"created_at,omitempty"`
	// Start datetime
	StartedAt *string `form:"started_at,omitempty" json:"started_at,omitempty" xml:"started_at,omitempty"`
	// Completion datetime
	CompletedAt *string `form:"completed_at,omitempty" json:"completed_at,omitempty" xml:"completed_at,omitempty"`
}

ShowResponseBody is the type of the "package" service "show" endpoint HTTP response body.

Jump to

Keyboard shortcuts

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