@@ -69,17 +69,19 @@ type (
69
69
Current int64 `json:"current"`
70
70
Desired int64 `json:"desired"`
71
71
}
72
- User struct {
73
- Name string `json:"name"`
74
- Avatar string `json:"avatar"`
75
- }
72
+
76
73
Annotation struct {
77
74
Key string `json:"key"`
78
75
Value string `json:"value"`
79
76
}
80
77
78
+ GitopsUser struct {
79
+ Name string `json:"name"`
80
+ Avatar string `json:"avatar"`
81
+ }
82
+
81
83
Gitops struct {
82
- Comitters []User `json:"comitters"`
84
+ Comitters []GitopsUser `json:"comitters"`
83
85
Prs []Annotation `json:"prs"`
84
86
Issues []Annotation `json:"issues"`
85
87
}
@@ -99,6 +101,9 @@ type (
99
101
SyncPolicy SyncPolicy `json:"syncPolicy"`
100
102
Date string `json:"date"`
101
103
ParentApp string `json:"parentApp"`
104
+ Namespace string `json:"namespace"`
105
+ Server string `json:"server"`
106
+ Context * string `json:"context"`
102
107
}
103
108
104
109
EnvironmentActivity struct {
@@ -114,6 +119,7 @@ type (
114
119
HistoryId int64 `json:"historyId"`
115
120
Revision string `json:"revision, omitempty"`
116
121
Resources interface {} `json:"resources"`
122
+ Context * string `json:"context"`
117
123
}
118
124
)
119
125
0 commit comments