-
Notifications
You must be signed in to change notification settings - Fork 200
/
claimd7ffba8.go
29 lines (25 loc) · 1.03 KB
/
claimd7ffba8.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package storage
import (
"time"
"github.com/cnabio/cnab-go/bundle"
"github.com/cnabio/cnab-go/schema"
)
// https://cnab.io/schema/cnab-claim-1.0.0-DRAFT+d7ffba8/claim.schema.json
type claimd7ffba8 struct {
SchemaVersion schema.Version `json:"schemaVersion"`
Installation string `json:"installation"`
Revision string `json:"revision"`
Created time.Time `json:"created"`
Modified time.Time `json:"modified"`
Bundle *bundle.Bundle `json:"bundle"`
BundleReference string `json:"bundleReference,omitempty"`
Result resultd7ffba8 `json:"result,omitempty"`
Parameters map[string]interface{} `json:"parameters,omitempty"`
Outputs map[string]interface{} `json:"outputs,omitempty"`
Custom interface{} `json:"custom,omitempty"`
}
type resultd7ffba8 struct {
Message string `json:"message,omitempty"`
Action string `json:"action"`
Status string `json:"status"`
}