Versions in this module Expand all Collapse all v0 v0.7.0 Jan 17, 2025 v0.6.0 Jan 9, 2025 v0.5.0 Nov 29, 2024 v0.4.0 Nov 15, 2024 v0.3.0 Oct 29, 2024 v0.2.0 Oct 23, 2024 v0.1.0 Oct 2, 2024 Changes in this version + func BuildConfirmPayload(package_ConfirmBody string, package_ConfirmID string, ...) (*package_.ConfirmPayload, error) + func BuildListPayload(package_ListName string, package_ListAipID string, ...) (*package_.ListPayload, error) + func BuildMonitorPayload(package_MonitorTicket string) (*package_.MonitorPayload, error) + func BuildMonitorRequestPayload(package_MonitorRequestToken string) (*package_.MonitorRequestPayload, error) + func BuildMovePayload(package_MoveBody string, package_MoveID string, package_MoveToken string) (*package_.MovePayload, error) + func BuildMoveStatusPayload(package_MoveStatusID string, package_MoveStatusToken string) (*package_.MoveStatusPayload, error) + func BuildPreservationActionsPayload(package_PreservationActionsID string, package_PreservationActionsToken string) (*package_.PreservationActionsPayload, error) + func BuildRejectPayload(package_RejectID string, package_RejectToken string) (*package_.RejectPayload, error) + func BuildShowPayload(package_ShowID string, package_ShowToken string) (*package_.ShowPayload, error) + func BuildUploadPayload(package_UploadContentType string, package_UploadToken string) (*package_.UploadPayload, error) + func BuildUploadStreamPayload(payload any, fpath string) (*package_.UploadRequestData, error) + func ConfirmPackagePath(id uint) string + func DecodeConfirmResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error) + func DecodeListResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error) + func DecodeMonitorRequestResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error) + func DecodeMonitorResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error) + func DecodeMoveResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error) + func DecodeMoveStatusResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error) + func DecodePreservationActionsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error) + func DecodeRejectResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error) + func DecodeShowResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error) + func DecodeUploadResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error) + func EncodeConfirmRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error + func EncodeListRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error + func EncodeMonitorRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error + func EncodeMonitorRequestRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error + func EncodeMoveRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error + func EncodeMoveStatusRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error + func EncodePreservationActionsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error + func EncodeRejectRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error + func EncodeShowRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error + func EncodeUploadRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error + func ListPackagePath() string + func MonitorPackagePath() string + func MonitorRequestPackagePath() string + func MovePackagePath(id uint) string + func MoveStatusPackagePath(id uint) string + func NewConfirmForbidden(body string) package_.Forbidden + func NewConfirmNotAvailable(body *ConfirmNotAvailableResponseBody) *goa.ServiceError + func NewConfirmNotFound(body *ConfirmNotFoundResponseBody) *package_.PackageNotFound + func NewConfirmNotValid(body *ConfirmNotValidResponseBody) *goa.ServiceError + func NewConfirmUnauthorized(body string) package_.Unauthorized + func NewListEnduroPackagesOK(body *ListResponseBody) *package_views.EnduroPackagesView + func NewListForbidden(body string) package_.Forbidden + func NewListUnauthorized(body string) package_.Unauthorized + func NewMonitorEventOK(body *MonitorResponseBody) *package_.MonitorEvent + func NewMonitorForbidden(body string) package_.Forbidden + func NewMonitorNotAvailable(body *MonitorNotAvailableResponseBody) *goa.ServiceError + func NewMonitorRequestForbidden(body string) package_.Forbidden + func NewMonitorRequestNotAvailable(body *MonitorRequestNotAvailableResponseBody) *goa.ServiceError + func NewMonitorRequestResultOK(ticket *string) *package_.MonitorRequestResult + func NewMonitorRequestUnauthorized(body string) package_.Unauthorized + func NewMonitorUnauthorized(body string) package_.Unauthorized + func NewMoveForbidden(body string) package_.Forbidden + func NewMoveNotAvailable(body *MoveNotAvailableResponseBody) *goa.ServiceError + func NewMoveNotFound(body *MoveNotFoundResponseBody) *package_.PackageNotFound + func NewMoveNotValid(body *MoveNotValidResponseBody) *goa.ServiceError + func NewMoveStatusFailedDependency(body *MoveStatusFailedDependencyResponseBody) *goa.ServiceError + func NewMoveStatusForbidden(body string) package_.Forbidden + func NewMoveStatusNotFound(body *MoveStatusNotFoundResponseBody) *package_.PackageNotFound + func NewMoveStatusResultOK(body *MoveStatusResponseBody) *package_.MoveStatusResult + func NewMoveStatusUnauthorized(body string) package_.Unauthorized + func NewMoveUnauthorized(body string) package_.Unauthorized + func NewPreservationActionsEnduroPackagePreservationActionsOK(body *PreservationActionsResponseBody) *package_views.EnduroPackagePreservationActionsView + func NewPreservationActionsForbidden(body string) package_.Forbidden + func NewPreservationActionsNotFound(body *PreservationActionsNotFoundResponseBody) *package_.PackageNotFound + func NewPreservationActionsUnauthorized(body string) package_.Unauthorized + func NewRejectForbidden(body string) package_.Forbidden + func NewRejectNotAvailable(body *RejectNotAvailableResponseBody) *goa.ServiceError + func NewRejectNotFound(body *RejectNotFoundResponseBody) *package_.PackageNotFound + func NewRejectNotValid(body *RejectNotValidResponseBody) *goa.ServiceError + func NewRejectUnauthorized(body string) package_.Unauthorized + func NewShowEnduroStoredPackageOK(body *ShowResponseBody) *package_views.EnduroStoredPackageView + func NewShowForbidden(body string) package_.Forbidden + func NewShowNotAvailable(body *ShowNotAvailableResponseBody) *goa.ServiceError + func NewShowNotFound(body *ShowNotFoundResponseBody) *package_.PackageNotFound + func NewShowUnauthorized(body string) package_.Unauthorized + func NewUploadForbidden(body string) package_.Forbidden + func NewUploadInternalError(body *UploadInternalErrorResponseBody) *goa.ServiceError + func NewUploadInvalidMediaType(body *UploadInvalidMediaTypeResponseBody) *goa.ServiceError + func NewUploadInvalidMultipartRequest(body *UploadInvalidMultipartRequestResponseBody) *goa.ServiceError + func NewUploadUnauthorized(body string) package_.Unauthorized + func PreservationActionsPackagePath(id uint) string + func RejectPackagePath(id uint) string + func ShowPackagePath(id uint) string + func UploadPackagePath() string + func ValidateConfirmNotAvailableResponseBody(body *ConfirmNotAvailableResponseBody) (err error) + func ValidateConfirmNotFoundResponseBody(body *ConfirmNotFoundResponseBody) (err error) + func ValidateConfirmNotValidResponseBody(body *ConfirmNotValidResponseBody) (err error) + func ValidateEnduroPackagePreservationActionCollectionResponseBody(body EnduroPackagePreservationActionCollectionResponseBody) (err error) + func ValidateEnduroPackagePreservationActionResponseBody(body *EnduroPackagePreservationActionResponseBody) (err error) + func ValidateEnduroPackagePreservationTaskCollectionResponseBody(body EnduroPackagePreservationTaskCollectionResponseBody) (err error) + func ValidateEnduroPackagePreservationTaskResponseBody(body *EnduroPackagePreservationTaskResponseBody) (err error) + func ValidateEnduroPageResponseBody(body *EnduroPageResponseBody) (err error) + func ValidateEnduroStoredPackageCollectionResponseBody(body EnduroStoredPackageCollectionResponseBody) (err error) + func ValidateEnduroStoredPackageResponseBody(body *EnduroStoredPackageResponseBody) (err error) + func ValidateMonitorNotAvailableResponseBody(body *MonitorNotAvailableResponseBody) (err error) + func ValidateMonitorRequestNotAvailableResponseBody(body *MonitorRequestNotAvailableResponseBody) (err error) + func ValidateMonitorResponseBody(body *MonitorResponseBody) (err error) + func ValidateMoveNotAvailableResponseBody(body *MoveNotAvailableResponseBody) (err error) + func ValidateMoveNotFoundResponseBody(body *MoveNotFoundResponseBody) (err error) + func ValidateMoveNotValidResponseBody(body *MoveNotValidResponseBody) (err error) + func ValidateMoveStatusFailedDependencyResponseBody(body *MoveStatusFailedDependencyResponseBody) (err error) + func ValidateMoveStatusNotFoundResponseBody(body *MoveStatusNotFoundResponseBody) (err error) + func ValidateMoveStatusResponseBody(body *MoveStatusResponseBody) (err error) + func ValidatePreservationActionsNotFoundResponseBody(body *PreservationActionsNotFoundResponseBody) (err error) + func ValidateRejectNotAvailableResponseBody(body *RejectNotAvailableResponseBody) (err error) + func ValidateRejectNotFoundResponseBody(body *RejectNotFoundResponseBody) (err error) + func ValidateRejectNotValidResponseBody(body *RejectNotValidResponseBody) (err error) + func ValidateShowNotAvailableResponseBody(body *ShowNotAvailableResponseBody) (err error) + func ValidateShowNotFoundResponseBody(body *ShowNotFoundResponseBody) (err error) + func ValidateUploadInternalErrorResponseBody(body *UploadInternalErrorResponseBody) (err error) + func ValidateUploadInvalidMediaTypeResponseBody(body *UploadInvalidMediaTypeResponseBody) (err error) + func ValidateUploadInvalidMultipartRequestResponseBody(body *UploadInvalidMultipartRequestResponseBody) (err error) + type Client struct + CORSDoer goahttp.Doer + ConfirmDoer goahttp.Doer + ListDoer goahttp.Doer + MonitorDoer goahttp.Doer + MonitorRequestDoer goahttp.Doer + MoveDoer goahttp.Doer + MoveStatusDoer goahttp.Doer + PreservationActionsDoer goahttp.Doer + RejectDoer goahttp.Doer + RestoreResponseBody bool + ShowDoer goahttp.Doer + UploadDoer goahttp.Doer + func NewClient(scheme string, host string, doer goahttp.Doer, ...) *Client + func (c *Client) BuildConfirmRequest(ctx context.Context, v any) (*http.Request, error) + func (c *Client) BuildListRequest(ctx context.Context, v any) (*http.Request, error) + func (c *Client) BuildMonitorRequest(ctx context.Context, v any) (*http.Request, error) + func (c *Client) BuildMonitorRequestRequest(ctx context.Context, v any) (*http.Request, error) + func (c *Client) BuildMoveRequest(ctx context.Context, v any) (*http.Request, error) + func (c *Client) BuildMoveStatusRequest(ctx context.Context, v any) (*http.Request, error) + func (c *Client) BuildPreservationActionsRequest(ctx context.Context, v any) (*http.Request, error) + func (c *Client) BuildRejectRequest(ctx context.Context, v any) (*http.Request, error) + func (c *Client) BuildShowRequest(ctx context.Context, v any) (*http.Request, error) + func (c *Client) BuildUploadRequest(ctx context.Context, v any) (*http.Request, error) + func (c *Client) Confirm() goa.Endpoint + func (c *Client) List() goa.Endpoint + func (c *Client) Monitor() goa.Endpoint + func (c *Client) MonitorRequest() goa.Endpoint + func (c *Client) Move() goa.Endpoint + func (c *Client) MoveStatus() goa.Endpoint + func (c *Client) PreservationActions() goa.Endpoint + func (c *Client) Reject() goa.Endpoint + func (c *Client) Show() goa.Endpoint + func (c *Client) Upload() goa.Endpoint + type ConfirmNotAvailableResponseBody struct + Fault *bool + ID *string + Message *string + Name *string + Temporary *bool + Timeout *bool + type ConfirmNotFoundResponseBody struct + ID *uint + Message *string + type ConfirmNotValidResponseBody struct + Fault *bool + ID *string + Message *string + Name *string + Temporary *bool + Timeout *bool + type ConfirmRequestBody struct + LocationID uuid.UUID + func NewConfirmRequestBody(p *package_.ConfirmPayload) *ConfirmRequestBody + type ConnConfigurer struct + MonitorFn goahttp.ConnConfigureFunc + func NewConnConfigurer(fn goahttp.ConnConfigureFunc) *ConnConfigurer + type EnduroPackagePreservationActionCollectionResponseBody []*EnduroPackagePreservationActionResponseBody + type EnduroPackagePreservationActionResponseBody struct + CompletedAt *string + ID *uint + PackageID *uint + StartedAt *string + Status *string + Tasks EnduroPackagePreservationTaskCollectionResponseBody + Type *string + WorkflowID *string + type EnduroPackagePreservationTaskCollectionResponseBody []*EnduroPackagePreservationTaskResponseBody + type EnduroPackagePreservationTaskResponseBody struct + CompletedAt *string + ID *uint + Name *string + Note *string + PreservationActionID *uint + StartedAt *string + Status *string + TaskID *string + type EnduroPageResponseBody struct + Limit *int + Offset *int + Total *int + type EnduroStoredPackageCollectionResponseBody []*EnduroStoredPackageResponseBody + type EnduroStoredPackageResponseBody struct + AipID *string + CompletedAt *string + CreatedAt *string + ID *uint + LocationID *uuid.UUID + Name *string + RunID *string + StartedAt *string + Status *string + WorkflowID *string + type ListResponseBody struct + Items EnduroStoredPackageCollectionResponseBody + Page *EnduroPageResponseBody + type MonitorClientStream struct + func (s *MonitorClientStream) Recv() (*package_.MonitorEvent, error) + type MonitorNotAvailableResponseBody struct + Fault *bool + ID *string + Message *string + Name *string + Temporary *bool + Timeout *bool + type MonitorRequestNotAvailableResponseBody struct + Fault *bool + ID *string + Message *string + Name *string + Temporary *bool + Timeout *bool + type MonitorResponseBody struct + Event ... + type MoveNotAvailableResponseBody struct + Fault *bool + ID *string + Message *string + Name *string + Temporary *bool + Timeout *bool + type MoveNotFoundResponseBody struct + ID *uint + Message *string + type MoveNotValidResponseBody struct + Fault *bool + ID *string + Message *string + Name *string + Temporary *bool + Timeout *bool + type MoveRequestBody struct + LocationID uuid.UUID + func NewMoveRequestBody(p *package_.MovePayload) *MoveRequestBody + type MoveStatusFailedDependencyResponseBody struct + Fault *bool + ID *string + Message *string + Name *string + Temporary *bool + Timeout *bool + type MoveStatusNotFoundResponseBody struct + ID *uint + Message *string + type MoveStatusResponseBody struct + Done *bool + type PreservationActionsNotFoundResponseBody struct + ID *uint + Message *string + type PreservationActionsResponseBody struct + Actions EnduroPackagePreservationActionCollectionResponseBody + type RejectNotAvailableResponseBody struct + Fault *bool + ID *string + Message *string + Name *string + Temporary *bool + Timeout *bool + type RejectNotFoundResponseBody struct + ID *uint + Message *string + type RejectNotValidResponseBody struct + Fault *bool + ID *string + Message *string + Name *string + Temporary *bool + Timeout *bool + type ShowNotAvailableResponseBody struct + Fault *bool + ID *string + Message *string + Name *string + Temporary *bool + Timeout *bool + type ShowNotFoundResponseBody struct + ID *uint + Message *string + type ShowResponseBody struct + AipID *string + CompletedAt *string + CreatedAt *string + ID *uint + LocationID *uuid.UUID + Name *string + RunID *string + StartedAt *string + Status *string + WorkflowID *string + type UploadInternalErrorResponseBody struct + Fault *bool + ID *string + Message *string + Name *string + Temporary *bool + Timeout *bool + type UploadInvalidMediaTypeResponseBody struct + Fault *bool + ID *string + Message *string + Name *string + Temporary *bool + Timeout *bool + type UploadInvalidMultipartRequestResponseBody struct + Fault *bool + ID *string + Message *string + Name *string + Temporary *bool + Timeout *bool