-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.go
55 lines (47 loc) · 1.57 KB
/
types.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package types
type TokenEndpointPayload struct {
TokenEndpoint string `json:"token_endpoint"`
}
type EntandoIngressesPath struct {
AppBuilder string
Ecr string
}
type ClientSecret struct {
ClientId string `json:"clientId"`
ClientSecret string `json:"clientSecret"`
AuthUrl string `json:"authUrl"`
Realm string `json:"realm"`
}
type EcrComponentsResponse struct {
Payload []EcrComponentsPayload `json:"payload"`
}
type EcrComponentsPayload struct {
Code string `json:"code"`
Title string `json:"title"`
Description string `json:"description"`
RepoUrl string `json:"repoUrl"`
BundleType string `json:"bundleType"`
Thumbnail string `json:"thumbnail"`
ComponentTypes []string `json:"componentTypes"`
LastJob LastJob `json:"lastJob"`
}
type LastJob struct {
ID string `json:"id"`
ComponentID string `json:"componentId"`
ComponentName string `json:"componentName"`
ComponentVersion string `json:"componentVersion"`
Progress float64 `json:"progress"`
Status string `json:"status"`
ComponentJobs []struct{} `json:"componentJobs"`
}
type EcrComponentUninstallResponse struct {
Payload EcrComponentUninstall `json:"payload"`
}
type EcrComponentUninstall struct {
ID string `json:"id"`
ComponentID string `json:"componentId"`
ComponentName string `json:"componentName"`
ComponentVersion string `json:"componentVersion"`
Progress float64 `json:"progress"`
Status string `json:"status"`
}