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 ValidateEnduroStoredCollection(result *EnduroStoredCollection) (err error)
- func ValidateEnduroStoredCollectionView(result *EnduroStoredCollectionView) (err error)
- type EnduroCollectionWorkflowHistoryCollectionView
- type EnduroCollectionWorkflowHistoryView
- type EnduroCollectionWorkflowStatus
- type EnduroCollectionWorkflowStatusView
- type EnduroStoredCollection
- type EnduroStoredCollectionView
Constants ¶
This section is empty.
Variables ¶
var ( // EnduroStoredCollectionMap is a map of attribute names in result type // EnduroStoredCollection indexed by view name. EnduroStoredCollectionMap = map[string][]string{ "default": []string{ "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 of attribute names in result type // EnduroCollectionWorkflowStatus indexed by view name. EnduroCollectionWorkflowStatusMap = map[string][]string{ "default": []string{ "status", "history", }, } // EnduroCollectionWorkflowHistoryCollectionMap is a map of attribute names in // result type EnduroCollectionWorkflowHistoryCollection indexed by view name. EnduroCollectionWorkflowHistoryCollectionMap = map[string][]string{ "default": []string{ "id", "type", "details", }, } // EnduroCollectionWorkflowHistoryMap is a map of attribute names in result // type EnduroCollectionWorkflowHistory indexed by view name. EnduroCollectionWorkflowHistoryMap = map[string][]string{ "default": []string{ "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 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 interface{} }
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 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 transfer 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.