Documentation ¶
Index ¶
- Variables
- func ValidateEnduroCollectionWorkflowHistoryCollectionView(result EnduroCollectionWorkflowHistoryCollectionView) (err error)
- func ValidateEnduroCollectionWorkflowHistoryView(result *EnduroCollectionWorkflowHistoryView) (err error)
- func ValidateEnduroCollectionWorkflowStatus(result *EnduroCollectionWorkflowStatus) (err error)
- func ValidateEnduroCollectionWorkflowStatusView(result *EnduroCollectionWorkflowStatusView) (err error)
- func ValidateEnduroMonitorUpdate(result *EnduroMonitorUpdate) (err error)
- func ValidateEnduroMonitorUpdateView(result *EnduroMonitorUpdateView) (err error)
- func ValidateEnduroStoredCollection(result *EnduroStoredCollection) (err error)
- func ValidateEnduroStoredCollectionView(result *EnduroStoredCollectionView) (err error)
- type EnduroCollectionWorkflowHistoryCollectionView
- type EnduroCollectionWorkflowHistoryView
- type EnduroCollectionWorkflowStatus
- type EnduroCollectionWorkflowStatusView
- type EnduroMonitorUpdate
- type EnduroMonitorUpdateView
- type EnduroStoredCollection
- type EnduroStoredCollectionView
Constants ¶
This section is empty.
Variables ¶
var ( // EnduroMonitorUpdateMap is a map indexing the attribute names of // EnduroMonitorUpdate by view name. EnduroMonitorUpdateMap = map[string][]string{ "default": { "id", "type", "item", }, } // EnduroStoredCollectionMap is a map indexing the attribute names of // EnduroStoredCollection by view name. EnduroStoredCollectionMap = map[string][]string{ "default": { "id", "name", "status", "workflow_id", "run_id", "transfer_id", "aip_id", "original_id", "pipeline_id", "created_at", "started_at", "completed_at", }, } // EnduroCollectionWorkflowStatusMap is a map indexing the attribute names of // EnduroCollectionWorkflowStatus by view name. EnduroCollectionWorkflowStatusMap = map[string][]string{ "default": { "status", "history", }, } // EnduroCollectionWorkflowHistoryCollectionMap is a map indexing the attribute // names of EnduroCollectionWorkflowHistoryCollection by view name. EnduroCollectionWorkflowHistoryCollectionMap = map[string][]string{ "default": { "id", "type", "details", }, } // EnduroCollectionWorkflowHistoryMap is a map indexing the attribute names of // EnduroCollectionWorkflowHistory by view name. EnduroCollectionWorkflowHistoryMap = map[string][]string{ "default": { "id", "type", "details", }, } )
Functions ¶
func ValidateEnduroCollectionWorkflowHistoryCollectionView ¶
func ValidateEnduroCollectionWorkflowHistoryCollectionView(result EnduroCollectionWorkflowHistoryCollectionView) (err error)
ValidateEnduroCollectionWorkflowHistoryCollectionView runs the validations defined on EnduroCollectionWorkflowHistoryCollectionView using the "default" view.
func ValidateEnduroCollectionWorkflowHistoryView ¶
func ValidateEnduroCollectionWorkflowHistoryView(result *EnduroCollectionWorkflowHistoryView) (err error)
ValidateEnduroCollectionWorkflowHistoryView runs the validations defined on EnduroCollectionWorkflowHistoryView using the "default" view.
func ValidateEnduroCollectionWorkflowStatus ¶
func ValidateEnduroCollectionWorkflowStatus(result *EnduroCollectionWorkflowStatus) (err error)
ValidateEnduroCollectionWorkflowStatus runs the validations defined on the viewed result type EnduroCollectionWorkflowStatus.
func ValidateEnduroCollectionWorkflowStatusView ¶
func ValidateEnduroCollectionWorkflowStatusView(result *EnduroCollectionWorkflowStatusView) (err error)
ValidateEnduroCollectionWorkflowStatusView runs the validations defined on EnduroCollectionWorkflowStatusView using the "default" view.
func ValidateEnduroMonitorUpdate ¶ added in v0.34.0
func ValidateEnduroMonitorUpdate(result *EnduroMonitorUpdate) (err error)
ValidateEnduroMonitorUpdate runs the validations defined on the viewed result type EnduroMonitorUpdate.
func ValidateEnduroMonitorUpdateView ¶ added in v0.34.0
func ValidateEnduroMonitorUpdateView(result *EnduroMonitorUpdateView) (err error)
ValidateEnduroMonitorUpdateView runs the validations defined on EnduroMonitorUpdateView using the "default" view.
func ValidateEnduroStoredCollection ¶
func ValidateEnduroStoredCollection(result *EnduroStoredCollection) (err error)
ValidateEnduroStoredCollection runs the validations defined on the viewed result type EnduroStoredCollection.
func ValidateEnduroStoredCollectionView ¶
func ValidateEnduroStoredCollectionView(result *EnduroStoredCollectionView) (err error)
ValidateEnduroStoredCollectionView runs the validations defined on EnduroStoredCollectionView using the "default" view.
Types ¶
type EnduroCollectionWorkflowHistoryCollectionView ¶
type EnduroCollectionWorkflowHistoryCollectionView []*EnduroCollectionWorkflowHistoryView
EnduroCollectionWorkflowHistoryCollectionView is a type that runs validations on a projected type.
type EnduroCollectionWorkflowHistoryView ¶
type EnduroCollectionWorkflowHistoryView struct { // Identifier of collection ID *uint // Type of the event Type *string // Contents of the event Details any }
EnduroCollectionWorkflowHistoryView is a type that runs validations on a projected type.
type EnduroCollectionWorkflowStatus ¶
type EnduroCollectionWorkflowStatus struct { // Type to project Projected *EnduroCollectionWorkflowStatusView // View to render View string }
EnduroCollectionWorkflowStatus is the viewed result type that is projected based on a view.
type EnduroCollectionWorkflowStatusView ¶
type EnduroCollectionWorkflowStatusView struct { Status *string History EnduroCollectionWorkflowHistoryCollectionView }
EnduroCollectionWorkflowStatusView is a type that runs validations on a projected type.
type EnduroMonitorUpdate ¶ added in v0.34.0
type EnduroMonitorUpdate struct { // Type to project Projected *EnduroMonitorUpdateView // View to render View string }
EnduroMonitorUpdate is the viewed result type that is projected based on a view.
type EnduroMonitorUpdateView ¶ added in v0.34.0
type EnduroMonitorUpdateView struct { // Identifier of collection ID *uint // Type of the event Type *string // Collection Item *EnduroStoredCollectionView }
EnduroMonitorUpdateView is a type that runs validations on a projected type.
type EnduroStoredCollection ¶
type EnduroStoredCollection struct { // Type to project Projected *EnduroStoredCollectionView // View to render View string }
EnduroStoredCollection is the viewed result type that is projected based on a view.
type EnduroStoredCollectionView ¶
type EnduroStoredCollectionView struct { // Identifier of collection ID *uint // Name of the collection Name *string // Status of the collection Status *string // Identifier of processing workflow WorkflowID *string // Identifier of latest processing workflow run RunID *string // Identifier of Archivematica tranfser TransferID *string // Identifier of Archivematica AIP AipID *string // Identifier provided by the client OriginalID *string // Identifier of Archivematica pipeline PipelineID *string // Creation datetime CreatedAt *string // Start datetime StartedAt *string // Completion datetime CompletedAt *string }
EnduroStoredCollectionView is a type that runs validations on a projected type.