get.porter.sh/porter@v1.3.0/pkg/storage/migrations/source_result.go (about) 1 package migrations 2 3 import ( 4 "time" 5 6 "get.porter.sh/porter/pkg/cnab" 7 ) 8 9 // SourceResult represents the file format of result documents from v0.38 10 type SourceResult struct { 11 // Id of the result. 12 ID string `json:"id"` 13 14 // ClaimId associated with the claim that generated the result. 15 ClaimID string `json:"claimId"` 16 17 // Created timestamp of the result. 18 Created time.Time `json:"created"` 19 20 // Message communicates the outcome of the operation. 21 Message string `json:"message,omitempty"` 22 23 // Status of the operation, for example StatusSucceeded. 24 Status string `json:"status"` 25 26 // OutputMetadata generated by the operation, mapping from the output names to 27 // metadata about the output. 28 OutputMetadata cnab.OutputMetadata `json:"outputs,omitempty"` 29 30 // Custom extension data applicable to a given runtime. 31 Custom interface{} `json:"custom,omitempty"` 32 }