-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
contract.go
30 lines (25 loc) · 1.16 KB
/
contract.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
package launch
type ActionReferenceRequest struct {
Action string `json:"action,omitempty"`
Version string `json:"version,omitempty"`
Path string `json:"path,omitempty"`
}
type ActionReferenceRequestList struct {
Actions []ActionReferenceRequest `json:"actions,omitempty"`
}
type ActionDownloadInfoResponse struct {
Authentication *ActionDownloadAuthenticationResponse `json:"authentication,omitempty"`
Name string `json:"name,omitempty"`
ResolvedName string `json:"resolved_name,omitempty"`
ResolvedSha string `json:"resolved_sha,omitempty"`
TarUrl string `json:"tar_url,omitempty"`
Version string `json:"version,omitempty"`
ZipUrl string `json:"zip_url,omitempty"`
}
type ActionDownloadAuthenticationResponse struct {
ExpiresAt string `json:"expires_at,omitempty"`
Token string `json:"token,omitempty"`
}
type ActionDownloadInfoResponseCollection struct {
Actions map[string]ActionDownloadInfoResponse `json:"actions,omitempty"`
}