Skip to content

Commit 50f18f4

Browse files
committed
feat: regenerate all facades, add facades for Juju 4.0.10
1 parent 8584b37 commit 50f18f4

209 files changed

Lines changed: 1199 additions & 1716 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 128 additions & 128 deletions
Large diffs are not rendered by default.

api/facades/action-pruner/ActionPrunerV1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
Unit-agent
77
Models
88
9+
10+
911
NOTE: This file was generated using the Juju schema
1012
from Juju 3.3 at the git SHA 65fa4c1ee5.
1113
Do not manually edit this file.

api/facades/action/ActionV6.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
This facade is available on:
44
Models
55
6+
7+
68
NOTE: This file was generated using the Juju schema
79
from Juju 2.9-rc3 at the git SHA cb361902f8.
810
Do not manually edit this file.
@@ -292,9 +294,6 @@ class ActionV6 implements Facade {
292294
});
293295
}
294296

295-
/**
296-
297-
*/
298297
findActionsByNames(params: FindActionsByNames): Promise<ActionsByNames> {
299298
return new Promise((resolve, reject) => {
300299
const req: JujuRequest = {

api/facades/action/ActionV7.ts

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
/**
22
Juju Action version 7.
3-
This facade is available on:
4-
Models
3+
54
65
NOTE: This file was generated using the Juju schema
7-
from Juju 3.3 at the git SHA 65fa4c1ee5.
6+
from Juju 4.0.10 at the git SHA b08ad63.
87
Do not manually edit this file.
98
*/
109

@@ -116,7 +115,6 @@ export interface RunParams {
116115
parallel?: boolean;
117116
timeout: number;
118117
units?: string[];
119-
"workload-context"?: boolean;
120118
}
121119

122120
export interface StringsWatchResult {
@@ -133,9 +131,6 @@ export interface AdditionalProperties {
133131
[key: string]: any;
134132
}
135133

136-
/**
137-
APIv7 provides the Action API facade for version 7.
138-
*/
139134
class ActionV7 implements Facade {
140135
static NAME = "Action";
141136
static VERSION = 7;
@@ -153,10 +148,7 @@ class ActionV7 implements Facade {
153148
// Automatically bind all methods to instances.
154149
autoBind(this);
155150
}
156-
/**
157-
Actions takes a list of ActionTags, and returns the full Action for
158-
each ID.
159-
*/
151+
160152
actions(params: Entities): Promise<ActionResults> {
161153
return new Promise((resolve, reject) => {
162154
const req: JujuRequest = {
@@ -170,10 +162,6 @@ class ActionV7 implements Facade {
170162
});
171163
}
172164

173-
/**
174-
ApplicationsCharmsActions returns a slice of charm Actions for a slice of
175-
services.
176-
*/
177165
applicationsCharmsActions(
178166
params: Entities
179167
): Promise<ApplicationsCharmActionsResults> {
@@ -189,9 +177,6 @@ class ActionV7 implements Facade {
189177
});
190178
}
191179

192-
/**
193-
Cancel attempts to cancel enqueued Actions from running.
194-
*/
195180
cancel(params: Entities): Promise<ActionResults> {
196181
return new Promise((resolve, reject) => {
197182
const req: JujuRequest = {
@@ -205,11 +190,6 @@ class ActionV7 implements Facade {
205190
});
206191
}
207192

208-
/**
209-
EnqueueOperation takes a list of Actions and queues them up to be executed as
210-
an operation, each action running as a task on the designated ActionReceiver.
211-
We return the ID of the overall operation and each individual task.
212-
*/
213193
enqueueOperation(params: Actions): Promise<EnqueuedActions> {
214194
return new Promise((resolve, reject) => {
215195
const req: JujuRequest = {
@@ -223,9 +203,6 @@ class ActionV7 implements Facade {
223203
});
224204
}
225205

226-
/**
227-
ListOperations fetches the called actions for specified apps/units.
228-
*/
229206
listOperations(params: OperationQueryArgs): Promise<OperationResults> {
230207
return new Promise((resolve, reject) => {
231208
const req: JujuRequest = {
@@ -239,9 +216,6 @@ class ActionV7 implements Facade {
239216
});
240217
}
241218

242-
/**
243-
Operations fetches the specified operation ids.
244-
*/
245219
operations(params: Entities): Promise<OperationResults> {
246220
return new Promise((resolve, reject) => {
247221
const req: JujuRequest = {
@@ -255,10 +229,6 @@ class ActionV7 implements Facade {
255229
});
256230
}
257231

258-
/**
259-
Run the commands specified on the machines identified through the
260-
list of machines, units and services.
261-
*/
262232
run(params: RunParams): Promise<EnqueuedActions> {
263233
return new Promise((resolve, reject) => {
264234
const req: JujuRequest = {
@@ -272,9 +242,6 @@ class ActionV7 implements Facade {
272242
});
273243
}
274244

275-
/**
276-
RunOnAllMachines attempts to run the specified command on all the machines.
277-
*/
278245
runOnAllMachines(params: RunParams): Promise<EnqueuedActions> {
279246
return new Promise((resolve, reject) => {
280247
const req: JujuRequest = {
@@ -288,9 +255,6 @@ class ActionV7 implements Facade {
288255
});
289256
}
290257

291-
/**
292-
WatchActionsProgress creates a watcher that reports on action log messages.
293-
*/
294258
watchActionsProgress(params: Entities): Promise<StringsWatchResults> {
295259
return new Promise((resolve, reject) => {
296260
const req: JujuRequest = {

api/facades/admin/AdminV3.ts

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
/**
22
Juju Admin version 3.
3-
This facade is available on:
4-
Controller-machine-agent
5-
Machine-agent
6-
Unit-agent
7-
Controllers
8-
Models
3+
94
105
NOTE: This file was generated using the Juju schema
11-
from Juju 3.3 at the git SHA 65fa4c1ee5.
6+
from Juju 4.0.10 at the git SHA b08ad63.
127
Do not manually edit this file.
138
*/
149

@@ -93,10 +88,6 @@ export interface AdditionalProperties {
9388
[key: string]: any;
9489
}
9590

96-
/**
97-
admin is the only object that unlogged-in clients can access. It holds any
98-
methods that are needed to log in.
99-
*/
10091
class AdminV3 implements Facade {
10192
static NAME = "Admin";
10293
static VERSION = 3;
@@ -114,10 +105,7 @@ class AdminV3 implements Facade {
114105
// Automatically bind all methods to instances.
115106
autoBind(this);
116107
}
117-
/**
118-
Login logs in with the provided credentials. All subsequent requests on the
119-
connection will act as the authenticated user.
120-
*/
108+
121109
login(params: LoginRequest): Promise<LoginResult> {
122110
return new Promise((resolve, reject) => {
123111
const req: JujuRequest = {
@@ -131,11 +119,6 @@ class AdminV3 implements Facade {
131119
});
132120
}
133121

134-
/**
135-
RedirectInfo returns redirected host information for the model.
136-
In Juju it always returns an error because the Juju controller
137-
does not multiplex controllers.
138-
*/
139122
redirectInfo(params: any): Promise<RedirectInfoResult> {
140123
return new Promise((resolve, reject) => {
141124
const req: JujuRequest = {

api/facades/agent-life-flag/AgentLifeFlagV1.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
Unit-agent
77
Models
88
9+
10+
911
NOTE: This file was generated using the Juju schema
1012
from Juju 3.3 at the git SHA 65fa4c1ee5.
1113
Do not manually edit this file.
@@ -52,9 +54,6 @@ export interface AdditionalProperties {
5254
[key: string]: any;
5355
}
5456

55-
/**
56-
57-
*/
5857
class AgentLifeFlagV1 implements Facade {
5958
static NAME = "AgentLifeFlag";
6059
static VERSION = 1;

api/facades/agent-tools/AgentToolsV1.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
Unit-agent
77
Models
88
9+
10+
911
NOTE: This file was generated using the Juju schema
1012
from Juju 3.3 at the git SHA 65fa4c1ee5.
1113
Do not manually edit this file.

api/facades/agent/AgentV2.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
Machine-agent
66
Unit-agent
77
8+
9+
810
NOTE: This file was generated using the Juju schema
911
from Juju 2.8.2 at the git SHA 516c1904ce.
1012
Do not manually edit this file.
@@ -235,9 +237,6 @@ class AgentV2 implements Facade {
235237
});
236238
}
237239

238-
/**
239-
240-
*/
241240
getEntities(params: Entities): Promise<AgentGetEntitiesResults> {
242241
return new Promise((resolve, reject) => {
243242
const req: JujuRequest = {
@@ -251,9 +250,6 @@ class AgentV2 implements Facade {
251250
});
252251
}
253252

254-
/**
255-
256-
*/
257253
isMaster(params: any): Promise<IsMasterResult> {
258254
return new Promise((resolve, reject) => {
259255
const req: JujuRequest = {
@@ -299,9 +295,6 @@ class AgentV2 implements Facade {
299295
});
300296
}
301297

302-
/**
303-
304-
*/
305298
stateServingInfo(params: any): Promise<StateServingInfo> {
306299
return new Promise((resolve, reject) => {
307300
const req: JujuRequest = {

api/facades/agent/AgentV3.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
Machine-agent
66
Unit-agent
77
8+
9+
810
NOTE: This file was generated using the Juju schema
911
from Juju 3.3 at the git SHA 65fa4c1ee5.
1012
Do not manually edit this file.
@@ -237,9 +239,6 @@ class AgentV3 implements Facade {
237239
});
238240
}
239241

240-
/**
241-
242-
*/
243242
getEntities(params: Entities): Promise<AgentGetEntitiesResults> {
244243
return new Promise((resolve, reject) => {
245244
const req: JujuRequest = {
@@ -253,9 +252,6 @@ class AgentV3 implements Facade {
253252
});
254253
}
255254

256-
/**
257-
258-
*/
259255
isMaster(params: any): Promise<IsMasterResult> {
260256
return new Promise((resolve, reject) => {
261257
const req: JujuRequest = {
@@ -301,9 +297,6 @@ class AgentV3 implements Facade {
301297
});
302298
}
303299

304-
/**
305-
306-
*/
307300
stateServingInfo(params: any): Promise<StateServingInfo> {
308301
return new Promise((resolve, reject) => {
309302
const req: JujuRequest = {

api/facades/all-model-watcher/AllModelWatcherV2.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
This facade is available on:
44
Controllers
55
6+
7+
68
NOTE: This file was generated using the Juju schema
79
from Juju 3.0-beta1 at the git SHA 61c87ab7e1.
810
Do not manually edit this file.

0 commit comments

Comments
 (0)