Skip to content

Commit

Permalink
feat(claim.go): add bundleReference property
Browse files Browse the repository at this point in the history
Ref cnabio/cnab-spec#299

Signed-off-by: Vaughn Dice <vadice@microsoft.com>
  • Loading branch information
vdice committed Mar 2, 2020
1 parent 772f315 commit 8590d94
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions claim/claim.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,15 @@ const (
// provide the necessary data to upgrade and uninstall
// a CNAB package.
type Claim struct {
SchemaVersion schemaversion.SchemaVersion `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"`
Result Result `json:"result,omitempty"`
Parameters map[string]interface{} `json:"parameters,omitempty"`
SchemaVersion schemaversion.SchemaVersion `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 Result `json:"result,omitempty"`
Parameters map[string]interface{} `json:"parameters,omitempty"`
// Outputs is a map from the names of outputs (defined in the bundle) to the contents of the files.
Outputs map[string]interface{} `json:"outputs,omitempty"`
Custom interface{} `json:"custom,omitempty"`
Expand Down

0 comments on commit 8590d94

Please sign in to comment.