-
Notifications
You must be signed in to change notification settings - Fork 201
/
aliases.go
33 lines (26 loc) · 1013 Bytes
/
aliases.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
30
31
32
33
package cnab
import (
cnabclaims "github.com/cnabio/cnab-go/claim"
)
// Alias common cnab values in this package so that we don't have imports from
// this package and the cnab-go package which gets super confusing now that we
// are declaring document types in this package.
const (
ActionInstall = cnabclaims.ActionInstall
ActionUpgrade = cnabclaims.ActionUpgrade
ActionUninstall = cnabclaims.ActionUninstall
ActionUnknown = cnabclaims.ActionUnknown
StatusSucceeded = cnabclaims.StatusSucceeded
StatusCanceled = cnabclaims.StatusCanceled
StatusFailed = cnabclaims.StatusFailed
StatusRunning = cnabclaims.StatusRunning
StatusPending = cnabclaims.StatusPending
StatusUnknown = cnabclaims.StatusUnknown
OutputInvocationImageLogs = cnabclaims.OutputInvocationImageLogs
)
type Installation = cnabclaims.Installation
type Claim = cnabclaims.Claim
type Result = cnabclaims.Result
type Output = cnabclaims.Output
type Outputs = cnabclaims.Outputs
var NewULID = cnabclaims.MustNewULID