@7k-inari/api-client 0.6.0 → 0.7.0-0933ff8
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/gen/ts/proto/inari/agent/v1/agent_pb.ts +201 -286
- package/gen/ts/proto/inari/agent/v1/commands_pb.ts +271 -601
- package/gen/ts/proto/inari/agent/v1/credentials_pb.ts +87 -0
- package/gen/ts/proto/inari/agent/v1/events_pb.ts +298 -482
- package/gen/ts/proto/inari/agent/v1/registration_pb.ts +87 -114
- package/gen/ts/proto/inari/plugin/v1/plugin_pb.ts +340 -463
- package/gen/ts/proto/inari/tunnel/v1/tunnel_pb.ts +231 -0
- package/gen/ts/proto/inari/tunnel/v2/tunnel_pb.ts +252 -0
- package/gen/ts/rest/client.ts +2643 -1878
- package/gen/ts/smoke.ts +60 -30
- package/package.json +7 -7
- package/gen/ts/proto/inari/agent/v1/agent_connect.ts +0 -30
- package/gen/ts/proto/inari/agent/v1/registration_connect.ts +0 -30
- package/gen/ts/proto/inari/plugin/v1/plugin_connect.ts +0 -56
|
@@ -1,80 +1,20 @@
|
|
|
1
|
-
// @generated by protoc-gen-es
|
|
1
|
+
// @generated by protoc-gen-es v2.16.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file inari/agent/v1/commands.proto (package inari.agent.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
|
-
// @ts-nocheck
|
|
5
4
|
|
|
6
|
-
import type {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { Duration } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
import { file_google_protobuf_duration, file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
9
|
+
import type { ResourceRef } from "./events_pb";
|
|
10
|
+
import { file_inari_agent_v1_events } from "./events_pb";
|
|
11
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
9
12
|
|
|
10
13
|
/**
|
|
11
|
-
*
|
|
12
|
-
* policy, plan §5.3 GitOps decisions).
|
|
13
|
-
*
|
|
14
|
-
* @generated from enum inari.agent.v1.CommitPolicy
|
|
15
|
-
*/
|
|
16
|
-
export enum CommitPolicy {
|
|
17
|
-
/**
|
|
18
|
-
* @generated from enum value: COMMIT_POLICY_UNSPECIFIED = 0;
|
|
19
|
-
*/
|
|
20
|
-
UNSPECIFIED = 0,
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @generated from enum value: COMMIT_POLICY_DIRECT_COMMIT = 1;
|
|
24
|
-
*/
|
|
25
|
-
DIRECT_COMMIT = 1,
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* @generated from enum value: COMMIT_POLICY_PULL_REQUEST = 2;
|
|
29
|
-
*/
|
|
30
|
-
PULL_REQUEST = 2,
|
|
31
|
-
}
|
|
32
|
-
// Retrieve enum metadata with: proto3.getEnumType(CommitPolicy)
|
|
33
|
-
proto3.util.setEnumType(CommitPolicy, "inari.agent.v1.CommitPolicy", [
|
|
34
|
-
{ no: 0, name: "COMMIT_POLICY_UNSPECIFIED" },
|
|
35
|
-
{ no: 1, name: "COMMIT_POLICY_DIRECT_COMMIT" },
|
|
36
|
-
{ no: 2, name: "COMMIT_POLICY_PULL_REQUEST" },
|
|
37
|
-
]);
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* CommandResult is the outcome reported in a CommandAck.
|
|
41
|
-
*
|
|
42
|
-
* @generated from enum inari.agent.v1.CommandResult
|
|
14
|
+
* Describes the file inari/agent/v1/commands.proto.
|
|
43
15
|
*/
|
|
44
|
-
export
|
|
45
|
-
|
|
46
|
-
* @generated from enum value: COMMAND_RESULT_UNSPECIFIED = 0;
|
|
47
|
-
*/
|
|
48
|
-
UNSPECIFIED = 0,
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Accepted and queued by the agent.
|
|
52
|
-
*
|
|
53
|
-
* @generated from enum value: COMMAND_RESULT_ACCEPTED = 1;
|
|
54
|
-
*/
|
|
55
|
-
ACCEPTED = 1,
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Fully applied in the tenant environment.
|
|
59
|
-
*
|
|
60
|
-
* @generated from enum value: COMMAND_RESULT_APPLIED = 2;
|
|
61
|
-
*/
|
|
62
|
-
APPLIED = 2,
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Failed; message carries the reason.
|
|
66
|
-
*
|
|
67
|
-
* @generated from enum value: COMMAND_RESULT_FAILED = 3;
|
|
68
|
-
*/
|
|
69
|
-
FAILED = 3,
|
|
70
|
-
}
|
|
71
|
-
// Retrieve enum metadata with: proto3.getEnumType(CommandResult)
|
|
72
|
-
proto3.util.setEnumType(CommandResult, "inari.agent.v1.CommandResult", [
|
|
73
|
-
{ no: 0, name: "COMMAND_RESULT_UNSPECIFIED" },
|
|
74
|
-
{ no: 1, name: "COMMAND_RESULT_ACCEPTED" },
|
|
75
|
-
{ no: 2, name: "COMMAND_RESULT_APPLIED" },
|
|
76
|
-
{ no: 3, name: "COMMAND_RESULT_FAILED" },
|
|
77
|
-
]);
|
|
16
|
+
export const file_inari_agent_v1_commands: GenFile = /*@__PURE__*/
|
|
17
|
+
fileDesc("Ch1pbmFyaS9hZ2VudC92MS9jb21tYW5kcy5wcm90bxIOaW5hcmkuYWdlbnQudjEiPgoJR2l0VGFyZ2V0EgwKBHJlcG8YASABKAkSDAoEcGF0aBgCIAEoCRIOCgZicmFuY2gYAyABKAlKBQhkEMgBIsMBCgtBcHBseUJ1bmRsZRISCgpjb21tYW5kX2lkGAEgASgJEhEKB29jaV9yZWYYAiABKAlIABIRCgdnaXRfdXJsGAMgASgJSAASKQoGdGFyZ2V0GAQgASgLMhkuaW5hcmkuYWdlbnQudjEuR2l0VGFyZ2V0EiwKBnBvbGljeRgFIAEoDjIcLmluYXJpLmFnZW50LnYxLkNvbW1pdFBvbGljeRIQCghjaGVja3N1bRgGIAEoCUIICgZzb3VyY2VKBQhkEMgBImIKEUFwcGxpY2F0aW9uU291cmNlEhAKCHJlcG9fdXJsGAEgASgJEgwKBHBhdGgYAiABKAkSDQoFY2hhcnQYAyABKAkSFwoPdGFyZ2V0X3JldmlzaW9uGAQgASgJSgUIZBDIASJICgpTeW5jUG9saWN5EhEKCWF1dG9tYXRlZBgBIAEoCBIRCglzZWxmX2hlYWwYAiABKAgSDQoFcHJ1bmUYAyABKAhKBQhkEMgBIuwBChFSZWdpc3RlckFyZ29DREFwcBISCgpjb21tYW5kX2lkGAEgASgJEgwKBG5hbWUYAiABKAkSDwoHcHJvamVjdBgDIAEoCRIxCgZzb3VyY2UYBCABKAsyIS5pbmFyaS5hZ2VudC52MS5BcHBsaWNhdGlvblNvdXJjZRIaChJkZXN0aW5hdGlvbl9zZXJ2ZXIYBSABKAkSHQoVZGVzdGluYXRpb25fbmFtZXNwYWNlGAYgASgJEi8KC3N5bmNfcG9saWN5GAcgASgLMhouaW5hcmkuYWdlbnQudjEuU3luY1BvbGljeUoFCGQQyAEi3gEKDEludm9rZUFjdGlvbhISCgpjb21tYW5kX2lkGAEgASgJEg4KBmFjdGlvbhgCIAEoCRItCghyZXNvdXJjZRgDIAEoCzIbLmluYXJpLmFnZW50LnYxLlJlc291cmNlUmVmEisKCnBhcmFtZXRlcnMYBCABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0EioKB3RpbWVvdXQYBSABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24SGwoTdXNlcl9jcmVkZW50aWFsX3JlZhgGIAEoCUoFCGQQyAEi9gEKEVJlbmRlclJnZEluc3RhbmNlEhIKCmNvbW1hbmRfaWQYASABKAkSDwoHcmdkX3JlZhgCIAEoCRIVCg1pbnN0YW5jZV9uYW1lGAMgASgJEhgKEHRhcmdldF9uYW1lc3BhY2UYBCABKAkSKwoKcGFyYW1ldGVycxgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSKQoGdGFyZ2V0GAYgASgLMhkuaW5hcmkuYWdlbnQudjEuR2l0VGFyZ2V0EiwKBnBvbGljeRgHIAEoDjIcLmluYXJpLmFnZW50LnYxLkNvbW1pdFBvbGljeUoFCGQQyAEiMwoJU2VjcmV0UmVmEgwKBG5hbWUYASABKAkSEQoJbmFtZXNwYWNlGAIgASgJSgUIZBDIASJaCg1Bd3NTTVByb3ZpZGVyEg4KBnJlZ2lvbhgBIAEoCRIyCg9hdXRoX3NlY3JldF9yZWYYAiABKAsyGS5pbmFyaS5hZ2VudC52MS5TZWNyZXRSZWZKBQhkEMgBImgKDVZhdWx0UHJvdmlkZXISDgoGc2VydmVyGAEgASgJEgwKBHBhdGgYAiABKAkSMgoPYXV0aF9zZWNyZXRfcmVmGAMgASgLMhkuaW5hcmkuYWdlbnQudjEuU2VjcmV0UmVmSgUIZBDIASJeCg1HY3BTTVByb3ZpZGVyEhIKCnByb2plY3RfaWQYASABKAkSMgoPYXV0aF9zZWNyZXRfcmVmGAIgASgLMhkuaW5hcmkuYWdlbnQudjEuU2VjcmV0UmVmSgUIZBDIASJyCg9BenVyZUtWUHJvdmlkZXISEQoJdmF1bHRfdXJsGAEgASgJEhEKCXRlbmFudF9pZBgCIAEoCRIyCg9hdXRoX3NlY3JldF9yZWYYAyABKAsyGS5pbmFyaS5hZ2VudC52MS5TZWNyZXRSZWZKBQhkEMgBIvYCChBTZWNyZXRTdG9yZUFwcGx5EhIKCmNvbW1hbmRfaWQYASABKAkSDAoEbmFtZRgCIAEoCRINCgVzY29wZRgDIAEoCRIvCgZhd3Nfc20YBCABKAsyHS5pbmFyaS5hZ2VudC52MS5Bd3NTTVByb3ZpZGVySAASLgoFdmF1bHQYBSABKAsyHS5pbmFyaS5hZ2VudC52MS5WYXVsdFByb3ZpZGVySAASLwoGZ2NwX3NtGAYgASgLMh0uaW5hcmkuYWdlbnQudjEuR2NwU01Qcm92aWRlckgAEjMKCGF6dXJlX2t2GAcgASgLMh8uaW5hcmkuYWdlbnQudjEuQXp1cmVLVlByb3ZpZGVySAASKQoGdGFyZ2V0GAggASgLMhkuaW5hcmkuYWdlbnQudjEuR2l0VGFyZ2V0EiwKBnBvbGljeRgJIAEoDjIcLmluYXJpLmFnZW50LnYxLkNvbW1pdFBvbGljeUIKCghwcm92aWRlckoFCGQQyAEipAEKEVNlY3JldFN0b3JlRGVsZXRlEhIKCmNvbW1hbmRfaWQYASABKAkSDAoEbmFtZRgCIAEoCRINCgVzY29wZRgDIAEoCRIpCgZ0YXJnZXQYBCABKAsyGS5pbmFyaS5hZ2VudC52MS5HaXRUYXJnZXQSLAoGcG9saWN5GAUgASgOMhwuaW5hcmkuYWdlbnQudjEuQ29tbWl0UG9saWN5SgUIZBDIASJnCgpDb21tYW5kQWNrEhIKCmNvbW1hbmRfaWQYASABKAkSLQoGcmVzdWx0GAIgASgOMh0uaW5hcmkuYWdlbnQudjEuQ29tbWFuZFJlc3VsdBIPCgdtZXNzYWdlGAMgASgJSgUIZBDIASpuCgxDb21taXRQb2xpY3kSHQoZQ09NTUlUX1BPTElDWV9VTlNQRUNJRklFRBAAEh8KG0NPTU1JVF9QT0xJQ1lfRElSRUNUX0NPTU1JVBABEh4KGkNPTU1JVF9QT0xJQ1lfUFVMTF9SRVFVRVNUEAIqgwEKDUNvbW1hbmRSZXN1bHQSHgoaQ09NTUFORF9SRVNVTFRfVU5TUEVDSUZJRUQQABIbChdDT01NQU5EX1JFU1VMVF9BQ0NFUFRFRBABEhoKFkNPTU1BTkRfUkVTVUxUX0FQUExJRUQQAhIZChVDT01NQU5EX1JFU1VMVF9GQUlMRUQQA0I9WjtnaXRodWIuY29tLzdLLUluYXJpL2luYXJpLWFwaS9nZW4vZ28vaW5hcmkvYWdlbnQvdjE7YWdlbnR2MWIGcHJvdG8z", [file_google_protobuf_duration, file_google_protobuf_struct, file_inari_agent_v1_events]);
|
|
78
18
|
|
|
79
19
|
/**
|
|
80
20
|
* GitTarget identifies a repository + path rendered output is written to.
|
|
@@ -83,53 +23,31 @@ proto3.util.setEnumType(CommandResult, "inari.agent.v1.CommandResult", [
|
|
|
83
23
|
*
|
|
84
24
|
* @generated from message inari.agent.v1.GitTarget
|
|
85
25
|
*/
|
|
86
|
-
export
|
|
26
|
+
export type GitTarget = Message<"inari.agent.v1.GitTarget"> & {
|
|
87
27
|
/**
|
|
88
28
|
* @generated from field: string repo = 1;
|
|
89
29
|
*/
|
|
90
|
-
repo
|
|
30
|
+
repo: string;
|
|
91
31
|
|
|
92
32
|
/**
|
|
93
33
|
* @generated from field: string path = 2;
|
|
94
34
|
*/
|
|
95
|
-
path
|
|
35
|
+
path: string;
|
|
96
36
|
|
|
97
37
|
/**
|
|
98
38
|
* Branch for direct commits, or base branch for pull requests.
|
|
99
39
|
*
|
|
100
40
|
* @generated from field: string branch = 3;
|
|
101
41
|
*/
|
|
102
|
-
branch
|
|
103
|
-
|
|
104
|
-
constructor(data?: PartialMessage<GitTarget>) {
|
|
105
|
-
super();
|
|
106
|
-
proto3.util.initPartial(data, this);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
110
|
-
static readonly typeName = "inari.agent.v1.GitTarget";
|
|
111
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
112
|
-
{ no: 1, name: "repo", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
113
|
-
{ no: 2, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
114
|
-
{ no: 3, name: "branch", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
115
|
-
]);
|
|
116
|
-
|
|
117
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GitTarget {
|
|
118
|
-
return new GitTarget().fromBinary(bytes, options);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GitTarget {
|
|
122
|
-
return new GitTarget().fromJson(jsonValue, options);
|
|
123
|
-
}
|
|
42
|
+
branch: string;
|
|
43
|
+
};
|
|
124
44
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
}
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message inari.agent.v1.GitTarget.
|
|
47
|
+
* Use `create(GitTargetSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export const GitTargetSchema: GenMessage<GitTarget> = /*@__PURE__*/
|
|
50
|
+
messageDesc(file_inari_agent_v1_commands, 0);
|
|
133
51
|
|
|
134
52
|
/**
|
|
135
53
|
* ApplyBundle directs the agent to render a bundle (Helm/KRO/plain manifests)
|
|
@@ -137,11 +55,11 @@ export class GitTarget extends Message<GitTarget> {
|
|
|
137
55
|
*
|
|
138
56
|
* @generated from message inari.agent.v1.ApplyBundle
|
|
139
57
|
*/
|
|
140
|
-
export
|
|
58
|
+
export type ApplyBundle = Message<"inari.agent.v1.ApplyBundle"> & {
|
|
141
59
|
/**
|
|
142
60
|
* @generated from field: string command_id = 1;
|
|
143
61
|
*/
|
|
144
|
-
commandId
|
|
62
|
+
commandId: string;
|
|
145
63
|
|
|
146
64
|
/**
|
|
147
65
|
* @generated from oneof inari.agent.v1.ApplyBundle.source
|
|
@@ -162,167 +80,97 @@ export class ApplyBundle extends Message<ApplyBundle> {
|
|
|
162
80
|
*/
|
|
163
81
|
value: string;
|
|
164
82
|
case: "gitUrl";
|
|
165
|
-
} | { case: undefined; value?: undefined }
|
|
83
|
+
} | { case: undefined; value?: undefined };
|
|
166
84
|
|
|
167
85
|
/**
|
|
168
86
|
* @generated from field: inari.agent.v1.GitTarget target = 4;
|
|
169
87
|
*/
|
|
170
|
-
target?: GitTarget;
|
|
88
|
+
target?: GitTarget | undefined;
|
|
171
89
|
|
|
172
90
|
/**
|
|
173
91
|
* @generated from field: inari.agent.v1.CommitPolicy policy = 5;
|
|
174
92
|
*/
|
|
175
|
-
policy
|
|
93
|
+
policy: CommitPolicy;
|
|
176
94
|
|
|
177
95
|
/**
|
|
178
96
|
* Expected content checksum; the agent verifies before applying.
|
|
179
97
|
*
|
|
180
98
|
* @generated from field: string checksum = 6;
|
|
181
99
|
*/
|
|
182
|
-
checksum
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
192
|
-
{ no: 1, name: "command_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
193
|
-
{ no: 2, name: "oci_ref", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
|
|
194
|
-
{ no: 3, name: "git_url", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "source" },
|
|
195
|
-
{ no: 4, name: "target", kind: "message", T: GitTarget },
|
|
196
|
-
{ no: 5, name: "policy", kind: "enum", T: proto3.getEnumType(CommitPolicy) },
|
|
197
|
-
{ no: 6, name: "checksum", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
198
|
-
]);
|
|
199
|
-
|
|
200
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApplyBundle {
|
|
201
|
-
return new ApplyBundle().fromBinary(bytes, options);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApplyBundle {
|
|
205
|
-
return new ApplyBundle().fromJson(jsonValue, options);
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ApplyBundle {
|
|
209
|
-
return new ApplyBundle().fromJsonString(jsonString, options);
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
static equals(a: ApplyBundle | PlainMessage<ApplyBundle> | undefined, b: ApplyBundle | PlainMessage<ApplyBundle> | undefined): boolean {
|
|
213
|
-
return proto3.util.equals(ApplyBundle, a, b);
|
|
214
|
-
}
|
|
215
|
-
}
|
|
100
|
+
checksum: string;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message inari.agent.v1.ApplyBundle.
|
|
105
|
+
* Use `create(ApplyBundleSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export const ApplyBundleSchema: GenMessage<ApplyBundle> = /*@__PURE__*/
|
|
108
|
+
messageDesc(file_inari_agent_v1_commands, 1);
|
|
216
109
|
|
|
217
110
|
/**
|
|
218
111
|
* ApplicationSource describes the ArgoCD Application source.
|
|
219
112
|
*
|
|
220
113
|
* @generated from message inari.agent.v1.ApplicationSource
|
|
221
114
|
*/
|
|
222
|
-
export
|
|
115
|
+
export type ApplicationSource = Message<"inari.agent.v1.ApplicationSource"> & {
|
|
223
116
|
/**
|
|
224
117
|
* @generated from field: string repo_url = 1;
|
|
225
118
|
*/
|
|
226
|
-
repoUrl
|
|
119
|
+
repoUrl: string;
|
|
227
120
|
|
|
228
121
|
/**
|
|
229
122
|
* @generated from field: string path = 2;
|
|
230
123
|
*/
|
|
231
|
-
path
|
|
124
|
+
path: string;
|
|
232
125
|
|
|
233
126
|
/**
|
|
234
127
|
* Helm chart name when the source is a chart instead of a path.
|
|
235
128
|
*
|
|
236
129
|
* @generated from field: string chart = 3;
|
|
237
130
|
*/
|
|
238
|
-
chart
|
|
131
|
+
chart: string;
|
|
239
132
|
|
|
240
133
|
/**
|
|
241
134
|
* @generated from field: string target_revision = 4;
|
|
242
135
|
*/
|
|
243
|
-
targetRevision
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
253
|
-
{ no: 1, name: "repo_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
254
|
-
{ no: 2, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
255
|
-
{ no: 3, name: "chart", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
256
|
-
{ no: 4, name: "target_revision", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
257
|
-
]);
|
|
258
|
-
|
|
259
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ApplicationSource {
|
|
260
|
-
return new ApplicationSource().fromBinary(bytes, options);
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ApplicationSource {
|
|
264
|
-
return new ApplicationSource().fromJson(jsonValue, options);
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ApplicationSource {
|
|
268
|
-
return new ApplicationSource().fromJsonString(jsonString, options);
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
static equals(a: ApplicationSource | PlainMessage<ApplicationSource> | undefined, b: ApplicationSource | PlainMessage<ApplicationSource> | undefined): boolean {
|
|
272
|
-
return proto3.util.equals(ApplicationSource, a, b);
|
|
273
|
-
}
|
|
274
|
-
}
|
|
136
|
+
targetRevision: string;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Describes the message inari.agent.v1.ApplicationSource.
|
|
141
|
+
* Use `create(ApplicationSourceSchema)` to create a new message.
|
|
142
|
+
*/
|
|
143
|
+
export const ApplicationSourceSchema: GenMessage<ApplicationSource> = /*@__PURE__*/
|
|
144
|
+
messageDesc(file_inari_agent_v1_commands, 2);
|
|
275
145
|
|
|
276
146
|
/**
|
|
277
147
|
* SyncPolicy mirrors the ArgoCD Application sync policy knobs Inari manages.
|
|
278
148
|
*
|
|
279
149
|
* @generated from message inari.agent.v1.SyncPolicy
|
|
280
150
|
*/
|
|
281
|
-
export
|
|
151
|
+
export type SyncPolicy = Message<"inari.agent.v1.SyncPolicy"> & {
|
|
282
152
|
/**
|
|
283
153
|
* @generated from field: bool automated = 1;
|
|
284
154
|
*/
|
|
285
|
-
automated
|
|
155
|
+
automated: boolean;
|
|
286
156
|
|
|
287
157
|
/**
|
|
288
158
|
* @generated from field: bool self_heal = 2;
|
|
289
159
|
*/
|
|
290
|
-
selfHeal
|
|
160
|
+
selfHeal: boolean;
|
|
291
161
|
|
|
292
162
|
/**
|
|
293
163
|
* @generated from field: bool prune = 3;
|
|
294
164
|
*/
|
|
295
|
-
prune
|
|
165
|
+
prune: boolean;
|
|
166
|
+
};
|
|
296
167
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
static readonly typeName = "inari.agent.v1.SyncPolicy";
|
|
304
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
305
|
-
{ no: 1, name: "automated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
306
|
-
{ no: 2, name: "self_heal", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
307
|
-
{ no: 3, name: "prune", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
308
|
-
]);
|
|
309
|
-
|
|
310
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SyncPolicy {
|
|
311
|
-
return new SyncPolicy().fromBinary(bytes, options);
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SyncPolicy {
|
|
315
|
-
return new SyncPolicy().fromJson(jsonValue, options);
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SyncPolicy {
|
|
319
|
-
return new SyncPolicy().fromJsonString(jsonString, options);
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
static equals(a: SyncPolicy | PlainMessage<SyncPolicy> | undefined, b: SyncPolicy | PlainMessage<SyncPolicy> | undefined): boolean {
|
|
323
|
-
return proto3.util.equals(SyncPolicy, a, b);
|
|
324
|
-
}
|
|
325
|
-
}
|
|
168
|
+
/**
|
|
169
|
+
* Describes the message inari.agent.v1.SyncPolicy.
|
|
170
|
+
* Use `create(SyncPolicySchema)` to create a new message.
|
|
171
|
+
*/
|
|
172
|
+
export const SyncPolicySchema: GenMessage<SyncPolicy> = /*@__PURE__*/
|
|
173
|
+
messageDesc(file_inari_agent_v1_commands, 3);
|
|
326
174
|
|
|
327
175
|
/**
|
|
328
176
|
* RegisterArgoCDApp directs the agent to register (or update/remove) a
|
|
@@ -330,75 +178,49 @@ export class SyncPolicy extends Message<SyncPolicy> {
|
|
|
330
178
|
*
|
|
331
179
|
* @generated from message inari.agent.v1.RegisterArgoCDApp
|
|
332
180
|
*/
|
|
333
|
-
export
|
|
181
|
+
export type RegisterArgoCDApp = Message<"inari.agent.v1.RegisterArgoCDApp"> & {
|
|
334
182
|
/**
|
|
335
183
|
* @generated from field: string command_id = 1;
|
|
336
184
|
*/
|
|
337
|
-
commandId
|
|
185
|
+
commandId: string;
|
|
338
186
|
|
|
339
187
|
/**
|
|
340
188
|
* @generated from field: string name = 2;
|
|
341
189
|
*/
|
|
342
|
-
name
|
|
190
|
+
name: string;
|
|
343
191
|
|
|
344
192
|
/**
|
|
345
193
|
* @generated from field: string project = 3;
|
|
346
194
|
*/
|
|
347
|
-
project
|
|
195
|
+
project: string;
|
|
348
196
|
|
|
349
197
|
/**
|
|
350
198
|
* @generated from field: inari.agent.v1.ApplicationSource source = 4;
|
|
351
199
|
*/
|
|
352
|
-
source?: ApplicationSource;
|
|
200
|
+
source?: ApplicationSource | undefined;
|
|
353
201
|
|
|
354
202
|
/**
|
|
355
203
|
* @generated from field: string destination_server = 5;
|
|
356
204
|
*/
|
|
357
|
-
destinationServer
|
|
205
|
+
destinationServer: string;
|
|
358
206
|
|
|
359
207
|
/**
|
|
360
208
|
* @generated from field: string destination_namespace = 6;
|
|
361
209
|
*/
|
|
362
|
-
destinationNamespace
|
|
210
|
+
destinationNamespace: string;
|
|
363
211
|
|
|
364
212
|
/**
|
|
365
213
|
* @generated from field: inari.agent.v1.SyncPolicy sync_policy = 7;
|
|
366
214
|
*/
|
|
367
|
-
syncPolicy?: SyncPolicy;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
377
|
-
{ no: 1, name: "command_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
378
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
379
|
-
{ no: 3, name: "project", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
380
|
-
{ no: 4, name: "source", kind: "message", T: ApplicationSource },
|
|
381
|
-
{ no: 5, name: "destination_server", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
382
|
-
{ no: 6, name: "destination_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
383
|
-
{ no: 7, name: "sync_policy", kind: "message", T: SyncPolicy },
|
|
384
|
-
]);
|
|
385
|
-
|
|
386
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterArgoCDApp {
|
|
387
|
-
return new RegisterArgoCDApp().fromBinary(bytes, options);
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterArgoCDApp {
|
|
391
|
-
return new RegisterArgoCDApp().fromJson(jsonValue, options);
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterArgoCDApp {
|
|
395
|
-
return new RegisterArgoCDApp().fromJsonString(jsonString, options);
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
static equals(a: RegisterArgoCDApp | PlainMessage<RegisterArgoCDApp> | undefined, b: RegisterArgoCDApp | PlainMessage<RegisterArgoCDApp> | undefined): boolean {
|
|
399
|
-
return proto3.util.equals(RegisterArgoCDApp, a, b);
|
|
400
|
-
}
|
|
401
|
-
}
|
|
215
|
+
syncPolicy?: SyncPolicy | undefined;
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Describes the message inari.agent.v1.RegisterArgoCDApp.
|
|
220
|
+
* Use `create(RegisterArgoCDAppSchema)` to create a new message.
|
|
221
|
+
*/
|
|
222
|
+
export const RegisterArgoCDAppSchema: GenMessage<RegisterArgoCDApp> = /*@__PURE__*/
|
|
223
|
+
messageDesc(file_inari_agent_v1_commands, 4);
|
|
402
224
|
|
|
403
225
|
/**
|
|
404
226
|
* InvokeAction is an imperative out-of-band operation (sync/refresh/rollback,
|
|
@@ -408,63 +230,50 @@ export class RegisterArgoCDApp extends Message<RegisterArgoCDApp> {
|
|
|
408
230
|
*
|
|
409
231
|
* @generated from message inari.agent.v1.InvokeAction
|
|
410
232
|
*/
|
|
411
|
-
export
|
|
233
|
+
export type InvokeAction = Message<"inari.agent.v1.InvokeAction"> & {
|
|
412
234
|
/**
|
|
413
235
|
* @generated from field: string command_id = 1;
|
|
414
236
|
*/
|
|
415
|
-
commandId
|
|
237
|
+
commandId: string;
|
|
416
238
|
|
|
417
239
|
/**
|
|
418
240
|
* @generated from field: string action = 2;
|
|
419
241
|
*/
|
|
420
|
-
action
|
|
242
|
+
action: string;
|
|
421
243
|
|
|
422
244
|
/**
|
|
423
245
|
* @generated from field: inari.agent.v1.ResourceRef resource = 3;
|
|
424
246
|
*/
|
|
425
|
-
resource?: ResourceRef;
|
|
247
|
+
resource?: ResourceRef | undefined;
|
|
426
248
|
|
|
427
249
|
/**
|
|
428
250
|
* @generated from field: google.protobuf.Struct parameters = 4;
|
|
429
251
|
*/
|
|
430
|
-
parameters?:
|
|
252
|
+
parameters?: JsonObject | undefined;
|
|
431
253
|
|
|
432
254
|
/**
|
|
433
255
|
* @generated from field: google.protobuf.Duration timeout = 5;
|
|
434
256
|
*/
|
|
435
|
-
timeout?: Duration;
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InvokeAction {
|
|
457
|
-
return new InvokeAction().fromJson(jsonValue, options);
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InvokeAction {
|
|
461
|
-
return new InvokeAction().fromJsonString(jsonString, options);
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
static equals(a: InvokeAction | PlainMessage<InvokeAction> | undefined, b: InvokeAction | PlainMessage<InvokeAction> | undefined): boolean {
|
|
465
|
-
return proto3.util.equals(InvokeAction, a, b);
|
|
466
|
-
}
|
|
467
|
-
}
|
|
257
|
+
timeout?: Duration | undefined;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Opaque reference to a per-user credential the agent redeems via
|
|
261
|
+
* AgentCredentials.RedeemUserCredential. Command payloads are persisted
|
|
262
|
+
* (agent_commands.payload), so they carry only this reference, never a
|
|
263
|
+
* token. Redemption is single-use, bound to this cluster, and expires with
|
|
264
|
+
* the command timeout. Empty means the legacy static-token fallback.
|
|
265
|
+
*
|
|
266
|
+
* @generated from field: string user_credential_ref = 6;
|
|
267
|
+
*/
|
|
268
|
+
userCredentialRef: string;
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Describes the message inari.agent.v1.InvokeAction.
|
|
273
|
+
* Use `create(InvokeActionSchema)` to create a new message.
|
|
274
|
+
*/
|
|
275
|
+
export const InvokeActionSchema: GenMessage<InvokeAction> = /*@__PURE__*/
|
|
276
|
+
messageDesc(file_inari_agent_v1_commands, 5);
|
|
468
277
|
|
|
469
278
|
/**
|
|
470
279
|
* RenderRgdInstance directs the agent to render a KRO ResourceGraphDefinition
|
|
@@ -472,77 +281,51 @@ export class InvokeAction extends Message<InvokeAction> {
|
|
|
472
281
|
*
|
|
473
282
|
* @generated from message inari.agent.v1.RenderRgdInstance
|
|
474
283
|
*/
|
|
475
|
-
export
|
|
284
|
+
export type RenderRgdInstance = Message<"inari.agent.v1.RenderRgdInstance"> & {
|
|
476
285
|
/**
|
|
477
286
|
* @generated from field: string command_id = 1;
|
|
478
287
|
*/
|
|
479
|
-
commandId
|
|
288
|
+
commandId: string;
|
|
480
289
|
|
|
481
290
|
/**
|
|
482
291
|
* Signed OCI reference of the RGD package from inari-catalog.
|
|
483
292
|
*
|
|
484
293
|
* @generated from field: string rgd_ref = 2;
|
|
485
294
|
*/
|
|
486
|
-
rgdRef
|
|
295
|
+
rgdRef: string;
|
|
487
296
|
|
|
488
297
|
/**
|
|
489
298
|
* @generated from field: string instance_name = 3;
|
|
490
299
|
*/
|
|
491
|
-
instanceName
|
|
300
|
+
instanceName: string;
|
|
492
301
|
|
|
493
302
|
/**
|
|
494
303
|
* @generated from field: string target_namespace = 4;
|
|
495
304
|
*/
|
|
496
|
-
targetNamespace
|
|
305
|
+
targetNamespace: string;
|
|
497
306
|
|
|
498
307
|
/**
|
|
499
308
|
* @generated from field: google.protobuf.Struct parameters = 5;
|
|
500
309
|
*/
|
|
501
|
-
parameters?:
|
|
310
|
+
parameters?: JsonObject | undefined;
|
|
502
311
|
|
|
503
312
|
/**
|
|
504
313
|
* @generated from field: inari.agent.v1.GitTarget target = 6;
|
|
505
314
|
*/
|
|
506
|
-
target?: GitTarget;
|
|
315
|
+
target?: GitTarget | undefined;
|
|
507
316
|
|
|
508
317
|
/**
|
|
509
318
|
* @generated from field: inari.agent.v1.CommitPolicy policy = 7;
|
|
510
319
|
*/
|
|
511
|
-
policy
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
521
|
-
{ no: 1, name: "command_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
522
|
-
{ no: 2, name: "rgd_ref", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
523
|
-
{ no: 3, name: "instance_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
524
|
-
{ no: 4, name: "target_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
525
|
-
{ no: 5, name: "parameters", kind: "message", T: Struct },
|
|
526
|
-
{ no: 6, name: "target", kind: "message", T: GitTarget },
|
|
527
|
-
{ no: 7, name: "policy", kind: "enum", T: proto3.getEnumType(CommitPolicy) },
|
|
528
|
-
]);
|
|
529
|
-
|
|
530
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RenderRgdInstance {
|
|
531
|
-
return new RenderRgdInstance().fromBinary(bytes, options);
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RenderRgdInstance {
|
|
535
|
-
return new RenderRgdInstance().fromJson(jsonValue, options);
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RenderRgdInstance {
|
|
539
|
-
return new RenderRgdInstance().fromJsonString(jsonString, options);
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
static equals(a: RenderRgdInstance | PlainMessage<RenderRgdInstance> | undefined, b: RenderRgdInstance | PlainMessage<RenderRgdInstance> | undefined): boolean {
|
|
543
|
-
return proto3.util.equals(RenderRgdInstance, a, b);
|
|
544
|
-
}
|
|
545
|
-
}
|
|
320
|
+
policy: CommitPolicy;
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Describes the message inari.agent.v1.RenderRgdInstance.
|
|
325
|
+
* Use `create(RenderRgdInstanceSchema)` to create a new message.
|
|
326
|
+
*/
|
|
327
|
+
export const RenderRgdInstanceSchema: GenMessage<RenderRgdInstance> = /*@__PURE__*/
|
|
328
|
+
messageDesc(file_inari_agent_v1_commands, 6);
|
|
546
329
|
|
|
547
330
|
/**
|
|
548
331
|
* SecretRef references a cluster-side Kubernetes Secret holding provider
|
|
@@ -551,237 +334,130 @@ export class RenderRgdInstance extends Message<RenderRgdInstance> {
|
|
|
551
334
|
*
|
|
552
335
|
* @generated from message inari.agent.v1.SecretRef
|
|
553
336
|
*/
|
|
554
|
-
export
|
|
337
|
+
export type SecretRef = Message<"inari.agent.v1.SecretRef"> & {
|
|
555
338
|
/**
|
|
556
339
|
* @generated from field: string name = 1;
|
|
557
340
|
*/
|
|
558
|
-
name
|
|
341
|
+
name: string;
|
|
559
342
|
|
|
560
343
|
/**
|
|
561
344
|
* @generated from field: string namespace = 2;
|
|
562
345
|
*/
|
|
563
|
-
namespace
|
|
564
|
-
|
|
565
|
-
constructor(data?: PartialMessage<SecretRef>) {
|
|
566
|
-
super();
|
|
567
|
-
proto3.util.initPartial(data, this);
|
|
568
|
-
}
|
|
346
|
+
namespace: string;
|
|
347
|
+
};
|
|
569
348
|
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SecretRef {
|
|
578
|
-
return new SecretRef().fromBinary(bytes, options);
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SecretRef {
|
|
582
|
-
return new SecretRef().fromJson(jsonValue, options);
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SecretRef {
|
|
586
|
-
return new SecretRef().fromJsonString(jsonString, options);
|
|
587
|
-
}
|
|
588
|
-
|
|
589
|
-
static equals(a: SecretRef | PlainMessage<SecretRef> | undefined, b: SecretRef | PlainMessage<SecretRef> | undefined): boolean {
|
|
590
|
-
return proto3.util.equals(SecretRef, a, b);
|
|
591
|
-
}
|
|
592
|
-
}
|
|
349
|
+
/**
|
|
350
|
+
* Describes the message inari.agent.v1.SecretRef.
|
|
351
|
+
* Use `create(SecretRefSchema)` to create a new message.
|
|
352
|
+
*/
|
|
353
|
+
export const SecretRefSchema: GenMessage<SecretRef> = /*@__PURE__*/
|
|
354
|
+
messageDesc(file_inari_agent_v1_commands, 7);
|
|
593
355
|
|
|
594
356
|
/**
|
|
595
357
|
* AwsSMProvider configures an ESO AWS Secrets Manager backend.
|
|
596
358
|
*
|
|
597
359
|
* @generated from message inari.agent.v1.AwsSMProvider
|
|
598
360
|
*/
|
|
599
|
-
export
|
|
361
|
+
export type AwsSMProvider = Message<"inari.agent.v1.AwsSMProvider"> & {
|
|
600
362
|
/**
|
|
601
363
|
* @generated from field: string region = 1;
|
|
602
364
|
*/
|
|
603
|
-
region
|
|
365
|
+
region: string;
|
|
604
366
|
|
|
605
367
|
/**
|
|
606
368
|
* @generated from field: inari.agent.v1.SecretRef auth_secret_ref = 2;
|
|
607
369
|
*/
|
|
608
|
-
authSecretRef?: SecretRef;
|
|
609
|
-
|
|
610
|
-
constructor(data?: PartialMessage<AwsSMProvider>) {
|
|
611
|
-
super();
|
|
612
|
-
proto3.util.initPartial(data, this);
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
616
|
-
static readonly typeName = "inari.agent.v1.AwsSMProvider";
|
|
617
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
618
|
-
{ no: 1, name: "region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
619
|
-
{ no: 2, name: "auth_secret_ref", kind: "message", T: SecretRef },
|
|
620
|
-
]);
|
|
621
|
-
|
|
622
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AwsSMProvider {
|
|
623
|
-
return new AwsSMProvider().fromBinary(bytes, options);
|
|
624
|
-
}
|
|
370
|
+
authSecretRef?: SecretRef | undefined;
|
|
371
|
+
};
|
|
625
372
|
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
static equals(a: AwsSMProvider | PlainMessage<AwsSMProvider> | undefined, b: AwsSMProvider | PlainMessage<AwsSMProvider> | undefined): boolean {
|
|
635
|
-
return proto3.util.equals(AwsSMProvider, a, b);
|
|
636
|
-
}
|
|
637
|
-
}
|
|
373
|
+
/**
|
|
374
|
+
* Describes the message inari.agent.v1.AwsSMProvider.
|
|
375
|
+
* Use `create(AwsSMProviderSchema)` to create a new message.
|
|
376
|
+
*/
|
|
377
|
+
export const AwsSMProviderSchema: GenMessage<AwsSMProvider> = /*@__PURE__*/
|
|
378
|
+
messageDesc(file_inari_agent_v1_commands, 8);
|
|
638
379
|
|
|
639
380
|
/**
|
|
640
381
|
* VaultProvider configures an ESO HashiCorp Vault backend.
|
|
641
382
|
*
|
|
642
383
|
* @generated from message inari.agent.v1.VaultProvider
|
|
643
384
|
*/
|
|
644
|
-
export
|
|
385
|
+
export type VaultProvider = Message<"inari.agent.v1.VaultProvider"> & {
|
|
645
386
|
/**
|
|
646
387
|
* @generated from field: string server = 1;
|
|
647
388
|
*/
|
|
648
|
-
server
|
|
389
|
+
server: string;
|
|
649
390
|
|
|
650
391
|
/**
|
|
651
392
|
* @generated from field: string path = 2;
|
|
652
393
|
*/
|
|
653
|
-
path
|
|
394
|
+
path: string;
|
|
654
395
|
|
|
655
396
|
/**
|
|
656
397
|
* @generated from field: inari.agent.v1.SecretRef auth_secret_ref = 3;
|
|
657
398
|
*/
|
|
658
|
-
authSecretRef?: SecretRef;
|
|
659
|
-
|
|
660
|
-
constructor(data?: PartialMessage<VaultProvider>) {
|
|
661
|
-
super();
|
|
662
|
-
proto3.util.initPartial(data, this);
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
666
|
-
static readonly typeName = "inari.agent.v1.VaultProvider";
|
|
667
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
668
|
-
{ no: 1, name: "server", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
669
|
-
{ no: 2, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
670
|
-
{ no: 3, name: "auth_secret_ref", kind: "message", T: SecretRef },
|
|
671
|
-
]);
|
|
672
|
-
|
|
673
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VaultProvider {
|
|
674
|
-
return new VaultProvider().fromBinary(bytes, options);
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VaultProvider {
|
|
678
|
-
return new VaultProvider().fromJson(jsonValue, options);
|
|
679
|
-
}
|
|
399
|
+
authSecretRef?: SecretRef | undefined;
|
|
400
|
+
};
|
|
680
401
|
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
}
|
|
688
|
-
}
|
|
402
|
+
/**
|
|
403
|
+
* Describes the message inari.agent.v1.VaultProvider.
|
|
404
|
+
* Use `create(VaultProviderSchema)` to create a new message.
|
|
405
|
+
*/
|
|
406
|
+
export const VaultProviderSchema: GenMessage<VaultProvider> = /*@__PURE__*/
|
|
407
|
+
messageDesc(file_inari_agent_v1_commands, 9);
|
|
689
408
|
|
|
690
409
|
/**
|
|
691
410
|
* GcpSMProvider configures an ESO GCP Secret Manager backend.
|
|
692
411
|
*
|
|
693
412
|
* @generated from message inari.agent.v1.GcpSMProvider
|
|
694
413
|
*/
|
|
695
|
-
export
|
|
414
|
+
export type GcpSMProvider = Message<"inari.agent.v1.GcpSMProvider"> & {
|
|
696
415
|
/**
|
|
697
416
|
* @generated from field: string project_id = 1;
|
|
698
417
|
*/
|
|
699
|
-
projectId
|
|
418
|
+
projectId: string;
|
|
700
419
|
|
|
701
420
|
/**
|
|
702
421
|
* @generated from field: inari.agent.v1.SecretRef auth_secret_ref = 2;
|
|
703
422
|
*/
|
|
704
|
-
authSecretRef?: SecretRef;
|
|
705
|
-
|
|
706
|
-
constructor(data?: PartialMessage<GcpSMProvider>) {
|
|
707
|
-
super();
|
|
708
|
-
proto3.util.initPartial(data, this);
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
static readonly runtime: typeof proto3 = proto3;
|
|
712
|
-
static readonly typeName = "inari.agent.v1.GcpSMProvider";
|
|
713
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
714
|
-
{ no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
715
|
-
{ no: 2, name: "auth_secret_ref", kind: "message", T: SecretRef },
|
|
716
|
-
]);
|
|
423
|
+
authSecretRef?: SecretRef | undefined;
|
|
424
|
+
};
|
|
717
425
|
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GcpSMProvider {
|
|
727
|
-
return new GcpSMProvider().fromJsonString(jsonString, options);
|
|
728
|
-
}
|
|
729
|
-
|
|
730
|
-
static equals(a: GcpSMProvider | PlainMessage<GcpSMProvider> | undefined, b: GcpSMProvider | PlainMessage<GcpSMProvider> | undefined): boolean {
|
|
731
|
-
return proto3.util.equals(GcpSMProvider, a, b);
|
|
732
|
-
}
|
|
733
|
-
}
|
|
426
|
+
/**
|
|
427
|
+
* Describes the message inari.agent.v1.GcpSMProvider.
|
|
428
|
+
* Use `create(GcpSMProviderSchema)` to create a new message.
|
|
429
|
+
*/
|
|
430
|
+
export const GcpSMProviderSchema: GenMessage<GcpSMProvider> = /*@__PURE__*/
|
|
431
|
+
messageDesc(file_inari_agent_v1_commands, 10);
|
|
734
432
|
|
|
735
433
|
/**
|
|
736
434
|
* AzureKVProvider configures an ESO Azure Key Vault backend.
|
|
737
435
|
*
|
|
738
436
|
* @generated from message inari.agent.v1.AzureKVProvider
|
|
739
437
|
*/
|
|
740
|
-
export
|
|
438
|
+
export type AzureKVProvider = Message<"inari.agent.v1.AzureKVProvider"> & {
|
|
741
439
|
/**
|
|
742
440
|
* @generated from field: string vault_url = 1;
|
|
743
441
|
*/
|
|
744
|
-
vaultUrl
|
|
442
|
+
vaultUrl: string;
|
|
745
443
|
|
|
746
444
|
/**
|
|
747
445
|
* @generated from field: string tenant_id = 2;
|
|
748
446
|
*/
|
|
749
|
-
tenantId
|
|
447
|
+
tenantId: string;
|
|
750
448
|
|
|
751
449
|
/**
|
|
752
450
|
* @generated from field: inari.agent.v1.SecretRef auth_secret_ref = 3;
|
|
753
451
|
*/
|
|
754
|
-
authSecretRef?: SecretRef;
|
|
452
|
+
authSecretRef?: SecretRef | undefined;
|
|
453
|
+
};
|
|
755
454
|
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
static readonly typeName = "inari.agent.v1.AzureKVProvider";
|
|
763
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
764
|
-
{ no: 1, name: "vault_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
765
|
-
{ no: 2, name: "tenant_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
766
|
-
{ no: 3, name: "auth_secret_ref", kind: "message", T: SecretRef },
|
|
767
|
-
]);
|
|
768
|
-
|
|
769
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AzureKVProvider {
|
|
770
|
-
return new AzureKVProvider().fromBinary(bytes, options);
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AzureKVProvider {
|
|
774
|
-
return new AzureKVProvider().fromJson(jsonValue, options);
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AzureKVProvider {
|
|
778
|
-
return new AzureKVProvider().fromJsonString(jsonString, options);
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
static equals(a: AzureKVProvider | PlainMessage<AzureKVProvider> | undefined, b: AzureKVProvider | PlainMessage<AzureKVProvider> | undefined): boolean {
|
|
782
|
-
return proto3.util.equals(AzureKVProvider, a, b);
|
|
783
|
-
}
|
|
784
|
-
}
|
|
455
|
+
/**
|
|
456
|
+
* Describes the message inari.agent.v1.AzureKVProvider.
|
|
457
|
+
* Use `create(AzureKVProviderSchema)` to create a new message.
|
|
458
|
+
*/
|
|
459
|
+
export const AzureKVProviderSchema: GenMessage<AzureKVProvider> = /*@__PURE__*/
|
|
460
|
+
messageDesc(file_inari_agent_v1_commands, 11);
|
|
785
461
|
|
|
786
462
|
/**
|
|
787
463
|
* SecretStoreApply directs the agent to render an ESO SecretStore (scope
|
|
@@ -790,23 +466,23 @@ export class AzureKVProvider extends Message<AzureKVProvider> {
|
|
|
790
466
|
*
|
|
791
467
|
* @generated from message inari.agent.v1.SecretStoreApply
|
|
792
468
|
*/
|
|
793
|
-
export
|
|
469
|
+
export type SecretStoreApply = Message<"inari.agent.v1.SecretStoreApply"> & {
|
|
794
470
|
/**
|
|
795
471
|
* @generated from field: string command_id = 1;
|
|
796
472
|
*/
|
|
797
|
-
commandId
|
|
473
|
+
commandId: string;
|
|
798
474
|
|
|
799
475
|
/**
|
|
800
476
|
* @generated from field: string name = 2;
|
|
801
477
|
*/
|
|
802
|
-
name
|
|
478
|
+
name: string;
|
|
803
479
|
|
|
804
480
|
/**
|
|
805
481
|
* "platform" or "cluster".
|
|
806
482
|
*
|
|
807
483
|
* @generated from field: string scope = 3;
|
|
808
484
|
*/
|
|
809
|
-
scope
|
|
485
|
+
scope: string;
|
|
810
486
|
|
|
811
487
|
/**
|
|
812
488
|
* @generated from oneof inari.agent.v1.SecretStoreApply.provider
|
|
@@ -835,53 +511,25 @@ export class SecretStoreApply extends Message<SecretStoreApply> {
|
|
|
835
511
|
*/
|
|
836
512
|
value: AzureKVProvider;
|
|
837
513
|
case: "azureKv";
|
|
838
|
-
} | { case: undefined; value?: undefined }
|
|
514
|
+
} | { case: undefined; value?: undefined };
|
|
839
515
|
|
|
840
516
|
/**
|
|
841
517
|
* @generated from field: inari.agent.v1.GitTarget target = 8;
|
|
842
518
|
*/
|
|
843
|
-
target?: GitTarget;
|
|
519
|
+
target?: GitTarget | undefined;
|
|
844
520
|
|
|
845
521
|
/**
|
|
846
522
|
* @generated from field: inari.agent.v1.CommitPolicy policy = 9;
|
|
847
523
|
*/
|
|
848
|
-
policy
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
858
|
-
{ no: 1, name: "command_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
859
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
860
|
-
{ no: 3, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
861
|
-
{ no: 4, name: "aws_sm", kind: "message", T: AwsSMProvider, oneof: "provider" },
|
|
862
|
-
{ no: 5, name: "vault", kind: "message", T: VaultProvider, oneof: "provider" },
|
|
863
|
-
{ no: 6, name: "gcp_sm", kind: "message", T: GcpSMProvider, oneof: "provider" },
|
|
864
|
-
{ no: 7, name: "azure_kv", kind: "message", T: AzureKVProvider, oneof: "provider" },
|
|
865
|
-
{ no: 8, name: "target", kind: "message", T: GitTarget },
|
|
866
|
-
{ no: 9, name: "policy", kind: "enum", T: proto3.getEnumType(CommitPolicy) },
|
|
867
|
-
]);
|
|
868
|
-
|
|
869
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SecretStoreApply {
|
|
870
|
-
return new SecretStoreApply().fromBinary(bytes, options);
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SecretStoreApply {
|
|
874
|
-
return new SecretStoreApply().fromJson(jsonValue, options);
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SecretStoreApply {
|
|
878
|
-
return new SecretStoreApply().fromJsonString(jsonString, options);
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
static equals(a: SecretStoreApply | PlainMessage<SecretStoreApply> | undefined, b: SecretStoreApply | PlainMessage<SecretStoreApply> | undefined): boolean {
|
|
882
|
-
return proto3.util.equals(SecretStoreApply, a, b);
|
|
883
|
-
}
|
|
884
|
-
}
|
|
524
|
+
policy: CommitPolicy;
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* Describes the message inari.agent.v1.SecretStoreApply.
|
|
529
|
+
* Use `create(SecretStoreApplySchema)` to create a new message.
|
|
530
|
+
*/
|
|
531
|
+
export const SecretStoreApplySchema: GenMessage<SecretStoreApply> = /*@__PURE__*/
|
|
532
|
+
messageDesc(file_inari_agent_v1_commands, 12);
|
|
885
533
|
|
|
886
534
|
/**
|
|
887
535
|
* SecretStoreDelete directs the agent to prune a previously applied ESO
|
|
@@ -889,63 +537,39 @@ export class SecretStoreApply extends Message<SecretStoreApply> {
|
|
|
889
537
|
*
|
|
890
538
|
* @generated from message inari.agent.v1.SecretStoreDelete
|
|
891
539
|
*/
|
|
892
|
-
export
|
|
540
|
+
export type SecretStoreDelete = Message<"inari.agent.v1.SecretStoreDelete"> & {
|
|
893
541
|
/**
|
|
894
542
|
* @generated from field: string command_id = 1;
|
|
895
543
|
*/
|
|
896
|
-
commandId
|
|
544
|
+
commandId: string;
|
|
897
545
|
|
|
898
546
|
/**
|
|
899
547
|
* @generated from field: string name = 2;
|
|
900
548
|
*/
|
|
901
|
-
name
|
|
549
|
+
name: string;
|
|
902
550
|
|
|
903
551
|
/**
|
|
904
552
|
* @generated from field: string scope = 3;
|
|
905
553
|
*/
|
|
906
|
-
scope
|
|
554
|
+
scope: string;
|
|
907
555
|
|
|
908
556
|
/**
|
|
909
557
|
* @generated from field: inari.agent.v1.GitTarget target = 4;
|
|
910
558
|
*/
|
|
911
|
-
target?: GitTarget;
|
|
559
|
+
target?: GitTarget | undefined;
|
|
912
560
|
|
|
913
561
|
/**
|
|
914
562
|
* @generated from field: inari.agent.v1.CommitPolicy policy = 5;
|
|
915
563
|
*/
|
|
916
|
-
policy
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
926
|
-
{ no: 1, name: "command_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
927
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
928
|
-
{ no: 3, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
929
|
-
{ no: 4, name: "target", kind: "message", T: GitTarget },
|
|
930
|
-
{ no: 5, name: "policy", kind: "enum", T: proto3.getEnumType(CommitPolicy) },
|
|
931
|
-
]);
|
|
932
|
-
|
|
933
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SecretStoreDelete {
|
|
934
|
-
return new SecretStoreDelete().fromBinary(bytes, options);
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SecretStoreDelete {
|
|
938
|
-
return new SecretStoreDelete().fromJson(jsonValue, options);
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SecretStoreDelete {
|
|
942
|
-
return new SecretStoreDelete().fromJsonString(jsonString, options);
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
static equals(a: SecretStoreDelete | PlainMessage<SecretStoreDelete> | undefined, b: SecretStoreDelete | PlainMessage<SecretStoreDelete> | undefined): boolean {
|
|
946
|
-
return proto3.util.equals(SecretStoreDelete, a, b);
|
|
947
|
-
}
|
|
948
|
-
}
|
|
564
|
+
policy: CommitPolicy;
|
|
565
|
+
};
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Describes the message inari.agent.v1.SecretStoreDelete.
|
|
569
|
+
* Use `create(SecretStoreDeleteSchema)` to create a new message.
|
|
570
|
+
*/
|
|
571
|
+
export const SecretStoreDeleteSchema: GenMessage<SecretStoreDelete> = /*@__PURE__*/
|
|
572
|
+
messageDesc(file_inari_agent_v1_commands, 13);
|
|
949
573
|
|
|
950
574
|
/**
|
|
951
575
|
* CommandAck reports the outcome of a command back to the gateway. Sent as an
|
|
@@ -954,49 +578,95 @@ export class SecretStoreDelete extends Message<SecretStoreDelete> {
|
|
|
954
578
|
*
|
|
955
579
|
* @generated from message inari.agent.v1.CommandAck
|
|
956
580
|
*/
|
|
957
|
-
export
|
|
581
|
+
export type CommandAck = Message<"inari.agent.v1.CommandAck"> & {
|
|
958
582
|
/**
|
|
959
583
|
* @generated from field: string command_id = 1;
|
|
960
584
|
*/
|
|
961
|
-
commandId
|
|
585
|
+
commandId: string;
|
|
962
586
|
|
|
963
587
|
/**
|
|
964
588
|
* @generated from field: inari.agent.v1.CommandResult result = 2;
|
|
965
589
|
*/
|
|
966
|
-
result
|
|
590
|
+
result: CommandResult;
|
|
967
591
|
|
|
968
592
|
/**
|
|
969
593
|
* @generated from field: string message = 3;
|
|
970
594
|
*/
|
|
971
|
-
message
|
|
595
|
+
message: string;
|
|
596
|
+
};
|
|
972
597
|
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
598
|
+
/**
|
|
599
|
+
* Describes the message inari.agent.v1.CommandAck.
|
|
600
|
+
* Use `create(CommandAckSchema)` to create a new message.
|
|
601
|
+
*/
|
|
602
|
+
export const CommandAckSchema: GenMessage<CommandAck> = /*@__PURE__*/
|
|
603
|
+
messageDesc(file_inari_agent_v1_commands, 14);
|
|
977
604
|
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
605
|
+
/**
|
|
606
|
+
* CommitPolicy selects how rendered manifests reach tenant Git (per-tenant
|
|
607
|
+
* policy, plan §5.3 GitOps decisions).
|
|
608
|
+
*
|
|
609
|
+
* @generated from enum inari.agent.v1.CommitPolicy
|
|
610
|
+
*/
|
|
611
|
+
export enum CommitPolicy {
|
|
612
|
+
/**
|
|
613
|
+
* @generated from enum value: COMMIT_POLICY_UNSPECIFIED = 0;
|
|
614
|
+
*/
|
|
615
|
+
UNSPECIFIED = 0,
|
|
985
616
|
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
617
|
+
/**
|
|
618
|
+
* @generated from enum value: COMMIT_POLICY_DIRECT_COMMIT = 1;
|
|
619
|
+
*/
|
|
620
|
+
DIRECT_COMMIT = 1,
|
|
989
621
|
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
622
|
+
/**
|
|
623
|
+
* @generated from enum value: COMMIT_POLICY_PULL_REQUEST = 2;
|
|
624
|
+
*/
|
|
625
|
+
PULL_REQUEST = 2,
|
|
626
|
+
}
|
|
993
627
|
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
628
|
+
/**
|
|
629
|
+
* Describes the enum inari.agent.v1.CommitPolicy.
|
|
630
|
+
*/
|
|
631
|
+
export const CommitPolicySchema: GenEnum<CommitPolicy> = /*@__PURE__*/
|
|
632
|
+
enumDesc(file_inari_agent_v1_commands, 0);
|
|
997
633
|
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
634
|
+
/**
|
|
635
|
+
* CommandResult is the outcome reported in a CommandAck.
|
|
636
|
+
*
|
|
637
|
+
* @generated from enum inari.agent.v1.CommandResult
|
|
638
|
+
*/
|
|
639
|
+
export enum CommandResult {
|
|
640
|
+
/**
|
|
641
|
+
* @generated from enum value: COMMAND_RESULT_UNSPECIFIED = 0;
|
|
642
|
+
*/
|
|
643
|
+
UNSPECIFIED = 0,
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Accepted and queued by the agent.
|
|
647
|
+
*
|
|
648
|
+
* @generated from enum value: COMMAND_RESULT_ACCEPTED = 1;
|
|
649
|
+
*/
|
|
650
|
+
ACCEPTED = 1,
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Fully applied in the tenant environment.
|
|
654
|
+
*
|
|
655
|
+
* @generated from enum value: COMMAND_RESULT_APPLIED = 2;
|
|
656
|
+
*/
|
|
657
|
+
APPLIED = 2,
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* Failed; message carries the reason.
|
|
661
|
+
*
|
|
662
|
+
* @generated from enum value: COMMAND_RESULT_FAILED = 3;
|
|
663
|
+
*/
|
|
664
|
+
FAILED = 3,
|
|
1001
665
|
}
|
|
1002
666
|
|
|
667
|
+
/**
|
|
668
|
+
* Describes the enum inari.agent.v1.CommandResult.
|
|
669
|
+
*/
|
|
670
|
+
export const CommandResultSchema: GenEnum<CommandResult> = /*@__PURE__*/
|
|
671
|
+
enumDesc(file_inari_agent_v1_commands, 1);
|
|
672
|
+
|