@daocloud-proto/kangaroo 0.2.1-20 → 0.2.1-25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kangaroo.io/api/image/v1alpha1/image.pb.ts +51 -8
- package/kangaroo.io/api/image/v1alpha1/rpc.pb.ts +18 -6
- package/kangaroo.io/api/registryIntegrated/v1alpha1/associatedregistry.pb.ts +4 -3
- package/kangaroo.io/api/registryIntegrated/v1alpha1/registryIntegrated.pb.ts +4 -3
- package/kangaroo.io/api/registryIntegrated/v1alpha1/rpc.pb.ts +6 -6
- package/package.json +1 -1
|
@@ -19,22 +19,23 @@ export type ListRegistryRequest = {
|
|
|
19
19
|
export type RegistrySecret = {
|
|
20
20
|
name?: string
|
|
21
21
|
host?: string
|
|
22
|
+
registrySecretName?: string
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
export type ListRegistryResponse = {
|
|
25
|
-
|
|
26
|
+
items?: RegistrySecret[]
|
|
26
27
|
pagination?: KangarooIoApiTypesPage.Page
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
export type ListProjectRequest = {
|
|
30
31
|
workspaceId?: string
|
|
31
|
-
|
|
32
|
+
registrySecretName?: string
|
|
32
33
|
page?: number
|
|
33
34
|
pageSize?: number
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
export type ListProjectResponse = {
|
|
37
|
-
|
|
38
|
+
items?: string[]
|
|
38
39
|
pagination?: KangarooIoApiTypesPage.Page
|
|
39
40
|
}
|
|
40
41
|
|
|
@@ -48,7 +49,7 @@ export type Repository = {
|
|
|
48
49
|
|
|
49
50
|
export type ListRepositoriesRequest = {
|
|
50
51
|
workspaceId?: string
|
|
51
|
-
|
|
52
|
+
registrySecretName?: string
|
|
52
53
|
projectName?: string
|
|
53
54
|
page?: number
|
|
54
55
|
pageSize?: number
|
|
@@ -100,7 +101,7 @@ export type Artifacts = {
|
|
|
100
101
|
|
|
101
102
|
export type ListArtifactsRequest = {
|
|
102
103
|
workspaceId?: string
|
|
103
|
-
|
|
104
|
+
registrySecretName?: string
|
|
104
105
|
projectName?: string
|
|
105
106
|
repositoriesName?: string
|
|
106
107
|
sortBy?: ListArtifactsRequestSortBy
|
|
@@ -116,7 +117,7 @@ export type ListArtifactsResponse = {
|
|
|
116
117
|
|
|
117
118
|
export type TagInfoRequest = {
|
|
118
119
|
workspaceId?: string
|
|
119
|
-
|
|
120
|
+
registrySecretName?: string
|
|
120
121
|
projectName?: string
|
|
121
122
|
repositoriesName?: string
|
|
122
123
|
digest?: string
|
|
@@ -145,15 +146,57 @@ export type BuildHistory = {
|
|
|
145
146
|
|
|
146
147
|
export type DeleteRepositoriesRequest = {
|
|
147
148
|
workspaceId?: string
|
|
148
|
-
|
|
149
|
+
registrySecretName?: string
|
|
149
150
|
projectName?: string
|
|
150
151
|
name?: string
|
|
151
152
|
}
|
|
152
153
|
|
|
153
154
|
export type DeleteArtifactsRequest = {
|
|
154
155
|
workspaceId?: string
|
|
155
|
-
|
|
156
|
+
registrySecretName?: string
|
|
156
157
|
projectName?: string
|
|
157
158
|
repositoriesName?: string
|
|
158
159
|
digest?: string
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export type ListRegistryProjectRequest = {
|
|
163
|
+
filter?: string
|
|
164
|
+
registrySecretName?: string
|
|
165
|
+
page?: number
|
|
166
|
+
pageSize?: number
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export type ProjectBindingWorkspace = {
|
|
170
|
+
projectId?: string
|
|
171
|
+
projectAlias?: string
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export type RegistryProjectResponse = {
|
|
175
|
+
name?: string
|
|
176
|
+
public?: boolean
|
|
177
|
+
bindingWorkspace?: ProjectBindingWorkspace[]
|
|
178
|
+
repositoriesCount?: string
|
|
179
|
+
createTime?: string
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export type ListRegistryProjectResponse = {
|
|
183
|
+
items?: RegistryProjectResponse[]
|
|
184
|
+
pagination?: KangarooIoApiTypesPage.Page
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export type ProjectBindingRequest = {
|
|
188
|
+
registrySecretName?: string
|
|
189
|
+
name?: string
|
|
190
|
+
bindingWorkspace?: ProjectBindingWorkspace[]
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export type DeleteRegistryProject = {
|
|
194
|
+
registrySecretName?: string
|
|
195
|
+
name?: string
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export type CreateRegistryProject = {
|
|
199
|
+
registrySecretName?: string
|
|
200
|
+
name?: string
|
|
201
|
+
public?: boolean
|
|
159
202
|
}
|
|
@@ -12,21 +12,33 @@ export class Image {
|
|
|
12
12
|
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.ListRegistryRequest, KangarooIoApiImageV1alpha1Image.ListRegistryResponse>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/registry?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
|
|
13
13
|
}
|
|
14
14
|
static ListProject(req: KangarooIoApiImageV1alpha1Image.ListProjectRequest, initReq?: fm.InitReq): Promise<KangarooIoApiImageV1alpha1Image.ListProjectResponse> {
|
|
15
|
-
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.ListProjectRequest, KangarooIoApiImageV1alpha1Image.ListProjectResponse>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/registry/${req["
|
|
15
|
+
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.ListProjectRequest, KangarooIoApiImageV1alpha1Image.ListProjectResponse>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/registry/${req["registrySecretName"]}/projects?${fm.renderURLSearchParams(req, ["workspaceId", "registrySecretName"])}`, {...initReq, method: "GET"})
|
|
16
16
|
}
|
|
17
17
|
static ListRepositories(req: KangarooIoApiImageV1alpha1Image.ListRepositoriesRequest, initReq?: fm.InitReq): Promise<KangarooIoApiImageV1alpha1Image.ListRepositoriesResponse> {
|
|
18
|
-
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.ListRepositoriesRequest, KangarooIoApiImageV1alpha1Image.ListRepositoriesResponse>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/registry/${req["
|
|
18
|
+
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.ListRepositoriesRequest, KangarooIoApiImageV1alpha1Image.ListRepositoriesResponse>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/registry/${req["registrySecretName"]}/projects/${req["projectName"]}/repositories?${fm.renderURLSearchParams(req, ["workspaceId", "registrySecretName", "projectName"])}`, {...initReq, method: "GET"})
|
|
19
19
|
}
|
|
20
20
|
static ListArtifacts(req: KangarooIoApiImageV1alpha1Image.ListArtifactsRequest, initReq?: fm.InitReq): Promise<KangarooIoApiImageV1alpha1Image.ListArtifactsResponse> {
|
|
21
|
-
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.ListArtifactsRequest, KangarooIoApiImageV1alpha1Image.ListArtifactsResponse>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/registry/${req["
|
|
21
|
+
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.ListArtifactsRequest, KangarooIoApiImageV1alpha1Image.ListArtifactsResponse>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/registry/${req["registrySecretName"]}/projects/${req["projectName"]}/repositories/${req["repositoriesName"]}/artifacts?${fm.renderURLSearchParams(req, ["workspaceId", "registrySecretName", "projectName", "repositoriesName"])}`, {...initReq, method: "GET"})
|
|
22
22
|
}
|
|
23
23
|
static GetArtifactsInfo(req: KangarooIoApiImageV1alpha1Image.TagInfoRequest, initReq?: fm.InitReq): Promise<KangarooIoApiImageV1alpha1Image.TagInfoResponse> {
|
|
24
|
-
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.TagInfoRequest, KangarooIoApiImageV1alpha1Image.TagInfoResponse>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/registry/${req["
|
|
24
|
+
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.TagInfoRequest, KangarooIoApiImageV1alpha1Image.TagInfoResponse>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/registry/${req["registrySecretName"]}/projects/${req["projectName"]}/repositories/${req["repositoriesName"]}/artifacts/${req["digest"]}?${fm.renderURLSearchParams(req, ["workspaceId", "registrySecretName", "projectName", "repositoriesName", "digest"])}`, {...initReq, method: "GET"})
|
|
25
25
|
}
|
|
26
26
|
static DeleteRepositories(req: KangarooIoApiImageV1alpha1Image.DeleteRepositoriesRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
27
|
-
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.DeleteRepositoriesRequest, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/registry/${req["
|
|
27
|
+
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.DeleteRepositoriesRequest, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/registry/${req["registrySecretName"]}/projects/${req["projectName"]}/repositories/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
28
28
|
}
|
|
29
29
|
static DeleteArtifacts(req: KangarooIoApiImageV1alpha1Image.DeleteArtifactsRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
30
|
-
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.DeleteArtifactsRequest, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/registry/${req["
|
|
30
|
+
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.DeleteArtifactsRequest, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/registry/${req["registrySecretName"]}/projects/${req["projectName"]}/repositories/${req["repositoriesName"]}/artifacts/${req["digest"]}`, {...initReq, method: "DELETE"})
|
|
31
|
+
}
|
|
32
|
+
static GetRegistryProject(req: KangarooIoApiImageV1alpha1Image.ListRegistryProjectRequest, initReq?: fm.InitReq): Promise<KangarooIoApiImageV1alpha1Image.ListRegistryProjectResponse> {
|
|
33
|
+
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.ListRegistryProjectRequest, KangarooIoApiImageV1alpha1Image.ListRegistryProjectResponse>(`/apis/kangaroo.io/v1alpha1/registry/${req["registrySecretName"]}/projects?${fm.renderURLSearchParams(req, ["registrySecretName"])}`, {...initReq, method: "GET"})
|
|
34
|
+
}
|
|
35
|
+
static UpdateRegistryProjectBinding(req: KangarooIoApiImageV1alpha1Image.ProjectBindingRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
36
|
+
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.ProjectBindingRequest, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/registry/${req["registrySecretName"]}/projects/${req["name"]}/binding`, {...initReq, method: "PUT"})
|
|
37
|
+
}
|
|
38
|
+
static DeleteRegistryProject(req: KangarooIoApiImageV1alpha1Image.DeleteRegistryProject, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
39
|
+
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.DeleteRegistryProject, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/registry/${req["registrySecretName"]}/projects/${req["name"]}`, {...initReq, method: "DELETE"})
|
|
40
|
+
}
|
|
41
|
+
static CreateRegistryProjectBinding(req: KangarooIoApiImageV1alpha1Image.CreateRegistryProject, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
42
|
+
return fm.fetchReq<KangarooIoApiImageV1alpha1Image.CreateRegistryProject, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/registry/${req["registrySecretName"]}/projects`, {...initReq, method: "POST"})
|
|
31
43
|
}
|
|
32
44
|
}
|
|
@@ -12,6 +12,7 @@ export type AssociatedRegistry = {
|
|
|
12
12
|
registryUrl?: string
|
|
13
13
|
registryAdminCredential?: KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.RegistryAdminCredential
|
|
14
14
|
createAt?: string
|
|
15
|
+
registrySecretName?: string
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
export type CreateAssociatedRegistryRequest = {
|
|
@@ -24,18 +25,18 @@ export type CreateAssociatedRegistryRequest = {
|
|
|
24
25
|
|
|
25
26
|
export type UpdateAssociatedRegistryRequest = {
|
|
26
27
|
workspaceId?: string
|
|
27
|
-
|
|
28
|
+
registrySecretName?: string
|
|
28
29
|
registryAdminCredential?: KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.RegistryAdminCredential
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
export type DeleteAssociatedRegistryRequest = {
|
|
32
33
|
workspaceId?: string
|
|
33
|
-
|
|
34
|
+
registrySecretName?: string
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
export type GetAssociatedRegistryRequest = {
|
|
37
38
|
workspaceId?: string
|
|
38
|
-
|
|
39
|
+
registrySecretName?: string
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
export type ListAssociatedRegistryRequest = {
|
|
@@ -26,6 +26,7 @@ export type RegistryIntegrated = {
|
|
|
26
26
|
registryAdminCredential?: RegistryAdminCredential
|
|
27
27
|
integratedType?: IntegratedType
|
|
28
28
|
healthy?: boolean
|
|
29
|
+
registrySecretName?: string
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
export type CreateRegistryIntegratedRequest = {
|
|
@@ -36,15 +37,15 @@ export type CreateRegistryIntegratedRequest = {
|
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
export type DeleteRegistryIntegratedRequest = {
|
|
39
|
-
|
|
40
|
+
registrySecretName?: string
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
export type GetRegistryIntegratedRequest = {
|
|
43
|
-
|
|
44
|
+
registrySecretName?: string
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
export type UpdateRegistryIntegratedRequest = {
|
|
47
|
-
|
|
48
|
+
registrySecretName?: string
|
|
48
49
|
registryAdminCredential?: RegistryAdminCredential
|
|
49
50
|
}
|
|
50
51
|
|
|
@@ -13,13 +13,13 @@ export class RegistryIntegrateds {
|
|
|
13
13
|
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.CreateRegistryIntegratedRequest, KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.RegistryIntegrated>(`/apis/kangaroo.io/v1alpha1/registry_integrated`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
14
14
|
}
|
|
15
15
|
static DeleteRegistryIntegrated(req: KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.DeleteRegistryIntegratedRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
16
|
-
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.DeleteRegistryIntegratedRequest, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/registry_integrated/${req["
|
|
16
|
+
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.DeleteRegistryIntegratedRequest, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/registry_integrated/${req["registrySecretName"]}`, {...initReq, method: "DELETE"})
|
|
17
17
|
}
|
|
18
18
|
static GetRegistryIntegrated(req: KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.GetRegistryIntegratedRequest, initReq?: fm.InitReq): Promise<KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.RegistryIntegrated> {
|
|
19
|
-
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.GetRegistryIntegratedRequest, KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.RegistryIntegrated>(`/apis/kangaroo.io/v1alpha1/registry_integrated/${req["
|
|
19
|
+
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.GetRegistryIntegratedRequest, KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.RegistryIntegrated>(`/apis/kangaroo.io/v1alpha1/registry_integrated/${req["registrySecretName"]}?${fm.renderURLSearchParams(req, ["registrySecretName"])}`, {...initReq, method: "GET"})
|
|
20
20
|
}
|
|
21
21
|
static UpdateRegistryIntegrated(req: KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.UpdateRegistryIntegratedRequest, initReq?: fm.InitReq): Promise<KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.RegistryIntegrated> {
|
|
22
|
-
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.UpdateRegistryIntegratedRequest, KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.RegistryIntegrated>(`/apis/kangaroo.io/v1alpha1/registry_integrated/${req["
|
|
22
|
+
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.UpdateRegistryIntegratedRequest, KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.RegistryIntegrated>(`/apis/kangaroo.io/v1alpha1/registry_integrated/${req["registrySecretName"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
|
|
23
23
|
}
|
|
24
24
|
static ListRegistryIntegrated(req: KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.ListRegistryIntegratedRequest, initReq?: fm.InitReq): Promise<KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.ListRegistryIntegratedResponse> {
|
|
25
25
|
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.ListRegistryIntegratedRequest, KangarooIoApiRegistryIntegratedV1alpha1RegistryIntegrated.ListRegistryIntegratedResponse>(`/apis/kangaroo.io/v1alpha1/registry_integrated?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
@@ -30,13 +30,13 @@ export class AssociatedRegistries {
|
|
|
30
30
|
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.CreateAssociatedRegistryRequest, KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.AssociatedRegistry>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/associated_registry`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
31
31
|
}
|
|
32
32
|
static DeleteAssociatedRegistry(req: KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.DeleteAssociatedRegistryRequest, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
33
|
-
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.DeleteAssociatedRegistryRequest, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/associated_registry/${req["
|
|
33
|
+
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.DeleteAssociatedRegistryRequest, GoogleProtobufEmpty.Empty>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/associated_registry/${req["registrySecretName"]}`, {...initReq, method: "DELETE"})
|
|
34
34
|
}
|
|
35
35
|
static GetAssociatedRegistry(req: KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.GetAssociatedRegistryRequest, initReq?: fm.InitReq): Promise<KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.AssociatedRegistry> {
|
|
36
|
-
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.GetAssociatedRegistryRequest, KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.AssociatedRegistry>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/associated_registry/${req["
|
|
36
|
+
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.GetAssociatedRegistryRequest, KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.AssociatedRegistry>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/associated_registry/${req["registrySecretName"]}?${fm.renderURLSearchParams(req, ["workspaceId", "registrySecretName"])}`, {...initReq, method: "GET"})
|
|
37
37
|
}
|
|
38
38
|
static UpdateAssociatedRegistry(req: KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.UpdateAssociatedRegistryRequest, initReq?: fm.InitReq): Promise<KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.AssociatedRegistry> {
|
|
39
|
-
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.UpdateAssociatedRegistryRequest, KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.AssociatedRegistry>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/associated_registry/${req["
|
|
39
|
+
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.UpdateAssociatedRegistryRequest, KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.AssociatedRegistry>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/associated_registry/${req["registrySecretName"]}`, {...initReq, method: "PUT", body: JSON.stringify(req)})
|
|
40
40
|
}
|
|
41
41
|
static ListAssociatedRegistry(req: KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.ListAssociatedRegistryRequest, initReq?: fm.InitReq): Promise<KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.ListAssociatedRegistryResponse> {
|
|
42
42
|
return fm.fetchReq<KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.ListAssociatedRegistryRequest, KangarooIoApiRegistryIntegratedV1alpha1Associatedregistry.ListAssociatedRegistryResponse>(`/apis/kangaroo.io/v1alpha1/workspaces/${req["workspaceId"]}/associated_registry?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
|