@flyteorg/flyteidl2 2.0.0-alpha10
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/flyteidl2/common/authorization_pb.ts +323 -0
- package/flyteidl2/common/identifier_pb.ts +423 -0
- package/flyteidl2/common/identity_pb.ts +205 -0
- package/flyteidl2/common/list_pb.ts +232 -0
- package/flyteidl2/common/policy_pb.ts +76 -0
- package/flyteidl2/common/role_pb.ts +161 -0
- package/flyteidl2/common/runtime_version_pb.ts +76 -0
- package/flyteidl2/core/artifact_id_pb.ts +400 -0
- package/flyteidl2/core/catalog_pb.ts +215 -0
- package/flyteidl2/core/execution_pb.ts +641 -0
- package/flyteidl2/core/identifier_pb.ts +237 -0
- package/flyteidl2/core/interface_pb.ts +187 -0
- package/flyteidl2/core/literals_pb.ts +673 -0
- package/flyteidl2/core/security_pb.ts +310 -0
- package/flyteidl2/core/tasks_pb.ts +1088 -0
- package/flyteidl2/core/types_pb.ts +592 -0
- package/flyteidl2/imagebuilder/definition_pb.ts +535 -0
- package/flyteidl2/imagebuilder/payload_pb.ts +62 -0
- package/flyteidl2/imagebuilder/service_pb.ts +30 -0
- package/flyteidl2/logs/dataplane/payload_pb.ts +396 -0
- package/flyteidl2/plugins/dask_pb.ts +109 -0
- package/flyteidl2/plugins/ray_pb.ts +189 -0
- package/flyteidl2/plugins/spark_pb.ts +145 -0
- package/flyteidl2/secret/definition_pb.ts +310 -0
- package/flyteidl2/secret/payload_pb.ts +266 -0
- package/flyteidl2/secret/secret_pb.ts +63 -0
- package/flyteidl2/task/common_pb.ts +319 -0
- package/flyteidl2/task/environment_pb.ts +36 -0
- package/flyteidl2/task/run_pb.ts +177 -0
- package/flyteidl2/task/task_definition_pb.ts +417 -0
- package/flyteidl2/task/task_service_pb.ts +248 -0
- package/flyteidl2/trigger/trigger_definition_pb.ts +283 -0
- package/flyteidl2/trigger/trigger_service_pb.ts +451 -0
- package/flyteidl2/workflow/queue_service_pb.ts +245 -0
- package/flyteidl2/workflow/run_definition_pb.ts +1192 -0
- package/flyteidl2/workflow/run_logs_service_pb.ts +106 -0
- package/flyteidl2/workflow/run_service_pb.ts +870 -0
- package/flyteidl2/workflow/state_service_pb.ts +310 -0
- package/flyteidl2/workflow/translator_service_pb.ts +174 -0
- package/package.json +18 -0
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/plugins/spark.proto (package flyteidl2.plugins, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import type { K8sPod } from "../core/tasks_pb.ts";
|
|
8
|
+
import { file_flyteidl2_core_tasks } from "../core/tasks_pb.ts";
|
|
9
|
+
import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
10
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file flyteidl2/plugins/spark.proto.
|
|
14
|
+
*/
|
|
15
|
+
export const file_flyteidl2_plugins_spark: GenFile = /*@__PURE__*/
|
|
16
|
+
fileDesc("Ch1mbHl0ZWlkbDIvcGx1Z2lucy9zcGFyay5wcm90bxIRZmx5dGVpZGwyLnBsdWdpbnMiQgoQU3BhcmtBcHBsaWNhdGlvbiIuCgRUeXBlEgoKBlBZVEhPThAAEggKBEpBVkEQARIJCgVTQ0FMQRACEgUKAVIQAyK2BAoIU3BhcmtKb2ISQQoPYXBwbGljYXRpb25UeXBlGAEgASgOMiguZmx5dGVpZGwyLnBsdWdpbnMuU3BhcmtBcHBsaWNhdGlvbi5UeXBlEhsKE21haW5BcHBsaWNhdGlvbkZpbGUYAiABKAkSEQoJbWFpbkNsYXNzGAMgASgJEj0KCXNwYXJrQ29uZhgEIAMoCzIqLmZseXRlaWRsMi5wbHVnaW5zLlNwYXJrSm9iLlNwYXJrQ29uZkVudHJ5Ej8KCmhhZG9vcENvbmYYBSADKAsyKy5mbHl0ZWlkbDIucGx1Z2lucy5TcGFya0pvYi5IYWRvb3BDb25mRW50cnkSFAoMZXhlY3V0b3JQYXRoGAYgASgJEi8KDmRhdGFicmlja3NDb25mGAcgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBIXCg9kYXRhYnJpY2tzVG9rZW4YCCABKAkSGgoSZGF0YWJyaWNrc0luc3RhbmNlGAkgASgJEikKCWRyaXZlclBvZBgKIAEoCzIWLmZseXRlaWRsMi5jb3JlLks4c1BvZBIrCgtleGVjdXRvclBvZBgLIAEoCzIWLmZseXRlaWRsMi5jb3JlLks4c1BvZBowCg5TcGFya0NvbmZFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBGjEKD0hhZG9vcENvbmZFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBQsEBChVjb20uZmx5dGVpZGwyLnBsdWdpbnNCClNwYXJrUHJvdG9IAlABWjVnaXRodWIuY29tL2ZseXRlb3JnL2ZseXRlL3YyL2dlbi9nby9mbHl0ZWlkbDIvcGx1Z2luc6ICA0ZQWKoCEUZseXRlaWRsMi5QbHVnaW5zygIRRmx5dGVpZGwyXFBsdWdpbnPiAh1GbHl0ZWlkbDJcUGx1Z2luc1xHUEJNZXRhZGF0YeoCEkZseXRlaWRsMjo6UGx1Z2luc2IGcHJvdG8z", [file_flyteidl2_core_tasks, file_google_protobuf_struct]);
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* @generated from message flyteidl2.plugins.SparkApplication
|
|
20
|
+
*/
|
|
21
|
+
export type SparkApplication = Message<"flyteidl2.plugins.SparkApplication"> & {
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message flyteidl2.plugins.SparkApplication.
|
|
26
|
+
* Use `create(SparkApplicationSchema)` to create a new message.
|
|
27
|
+
*/
|
|
28
|
+
export const SparkApplicationSchema: GenMessage<SparkApplication> = /*@__PURE__*/
|
|
29
|
+
messageDesc(file_flyteidl2_plugins_spark, 0);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from enum flyteidl2.plugins.SparkApplication.Type
|
|
33
|
+
*/
|
|
34
|
+
export enum SparkApplication_Type {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from enum value: PYTHON = 0;
|
|
37
|
+
*/
|
|
38
|
+
PYTHON = 0,
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from enum value: JAVA = 1;
|
|
42
|
+
*/
|
|
43
|
+
JAVA = 1,
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from enum value: SCALA = 2;
|
|
47
|
+
*/
|
|
48
|
+
SCALA = 2,
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from enum value: R = 3;
|
|
52
|
+
*/
|
|
53
|
+
R = 3,
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes the enum flyteidl2.plugins.SparkApplication.Type.
|
|
58
|
+
*/
|
|
59
|
+
export const SparkApplication_TypeSchema: GenEnum<SparkApplication_Type> = /*@__PURE__*/
|
|
60
|
+
enumDesc(file_flyteidl2_plugins_spark, 0, 0);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Custom Proto for Spark Plugin.
|
|
64
|
+
*
|
|
65
|
+
* @generated from message flyteidl2.plugins.SparkJob
|
|
66
|
+
*/
|
|
67
|
+
export type SparkJob = Message<"flyteidl2.plugins.SparkJob"> & {
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: flyteidl2.plugins.SparkApplication.Type applicationType = 1;
|
|
70
|
+
*/
|
|
71
|
+
applicationType: SparkApplication_Type;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: string mainApplicationFile = 2;
|
|
75
|
+
*/
|
|
76
|
+
mainApplicationFile: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: string mainClass = 3;
|
|
80
|
+
*/
|
|
81
|
+
mainClass: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* @generated from field: map<string, string> sparkConf = 4;
|
|
85
|
+
*/
|
|
86
|
+
sparkConf: { [key: string]: string };
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: map<string, string> hadoopConf = 5;
|
|
90
|
+
*/
|
|
91
|
+
hadoopConf: { [key: string]: string };
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Executor path for Python jobs.
|
|
95
|
+
*
|
|
96
|
+
* @generated from field: string executorPath = 6;
|
|
97
|
+
*/
|
|
98
|
+
executorPath: string;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Databricks job configuration.
|
|
102
|
+
* Config structure can be found here. https://docs.databricks.com/dev-tools/api/2.0/jobs.html#request-structure.
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: google.protobuf.Struct databricksConf = 7;
|
|
105
|
+
*/
|
|
106
|
+
databricksConf?: JsonObject;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Databricks access token. https://docs.databricks.com/dev-tools/api/latest/authentication.html
|
|
110
|
+
* This token can be set in either flytepropeller or flytekit.
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: string databricksToken = 8;
|
|
113
|
+
*/
|
|
114
|
+
databricksToken: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Domain name of your deployment. Use the form <account>.cloud.databricks.com.
|
|
118
|
+
* This instance name can be set in either flytepropeller or flytekit.
|
|
119
|
+
*
|
|
120
|
+
* @generated from field: string databricksInstance = 9;
|
|
121
|
+
*/
|
|
122
|
+
databricksInstance: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* Pod Spec for the Spark driver pod
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: flyteidl2.core.K8sPod driverPod = 10;
|
|
128
|
+
*/
|
|
129
|
+
driverPod?: K8sPod;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Pod Spec for the Spark executor pod
|
|
133
|
+
*
|
|
134
|
+
* @generated from field: flyteidl2.core.K8sPod executorPod = 11;
|
|
135
|
+
*/
|
|
136
|
+
executorPod?: K8sPod;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Describes the message flyteidl2.plugins.SparkJob.
|
|
141
|
+
* Use `create(SparkJobSchema)` to create a new message.
|
|
142
|
+
*/
|
|
143
|
+
export const SparkJobSchema: GenMessage<SparkJob> = /*@__PURE__*/
|
|
144
|
+
messageDesc(file_flyteidl2_plugins_spark, 1);
|
|
145
|
+
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.ts"
|
|
2
|
+
// @generated from file flyteidl2/secret/definition.proto (package flyteidl2.secret, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
6
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
7
|
+
import { file_buf_validate_validate } from "../../buf/validate/validate_pb.ts";
|
|
8
|
+
import type { ClusterIdentifier } from "../common/identifier_pb.ts";
|
|
9
|
+
import { file_flyteidl2_common_identifier } from "../common/identifier_pb.ts";
|
|
10
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
11
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
12
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Describes the file flyteidl2/secret/definition.proto.
|
|
16
|
+
*/
|
|
17
|
+
export const file_flyteidl2_secret_definition: GenFile = /*@__PURE__*/
|
|
18
|
+
fileDesc("CiFmbHl0ZWlkbDIvc2VjcmV0L2RlZmluaXRpb24ucHJvdG8SEGZseXRlaWRsMi5zZWNyZXQieAoKU2VjcmV0U3BlYxIWCgxzdHJpbmdfdmFsdWUYASABKAlIABIWCgxiaW5hcnlfdmFsdWUYAiABKAxIABIqCgR0eXBlGAMgASgOMhwuZmx5dGVpZGwyLnNlY3JldC5TZWNyZXRUeXBlQg4KBXZhbHVlEgW6SAIIASJyChBTZWNyZXRJZGVudGlmaWVyEicKBG5hbWUYASABKAlCGbpIFnIUEAEyEF5bLWEtekEtWjAtOV9dKyQSFAoMb3JnYW5pemF0aW9uGAIgASgJEg4KBmRvbWFpbhgDIAEoCRIPCgdwcm9qZWN0GAQgASgJIqUBCg5TZWNyZXRNZXRhZGF0YRIwCgxjcmVhdGVkX3RpbWUYASABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjUKDXNlY3JldF9zdGF0dXMYAiABKAsyHi5mbHl0ZWlkbDIuc2VjcmV0LlNlY3JldFN0YXR1cxIqCgR0eXBlGAMgASgOMhwuZmx5dGVpZGwyLnNlY3JldC5TZWNyZXRUeXBlIoYBCgxTZWNyZXRTdGF0dXMSNwoOb3ZlcmFsbF9zdGF0dXMYASABKA4yHy5mbHl0ZWlkbDIuc2VjcmV0Lk92ZXJhbGxTdGF0dXMSPQoOY2x1c3Rlcl9zdGF0dXMYAiADKAsyJS5mbHl0ZWlkbDIuc2VjcmV0LkNsdXN0ZXJTZWNyZXRTdGF0dXMijAEKE0NsdXN0ZXJTZWNyZXRTdGF0dXMSNAoHY2x1c3RlchgBIAEoCzIjLmZseXRlaWRsMi5jb21tb24uQ2x1c3RlcklkZW50aWZpZXISPwoPcHJlc2VuY2Vfc3RhdHVzGAIgASgOMiYuZmx5dGVpZGwyLnNlY3JldC5TZWNyZXRQcmVzZW5jZVN0YXR1cyJzCgZTZWNyZXQSLgoCaWQYASABKAsyIi5mbHl0ZWlkbDIuc2VjcmV0LlNlY3JldElkZW50aWZpZXISOQoPc2VjcmV0X21ldGFkYXRhGAIgASgLMiAuZmx5dGVpZGwyLnNlY3JldC5TZWNyZXRNZXRhZGF0YSpICgpTZWNyZXRUeXBlEhcKE1NFQ1JFVF9UWVBFX0dFTkVSSUMQABIhCh1TRUNSRVRfVFlQRV9JTUFHRV9QVUxMX1NFQ1JFVBABKl4KDU92ZXJhbGxTdGF0dXMSDwoLVU5TUEVDSUZJRUQQABIVChFQQVJUSUFMTFlfUFJFU0VOVBABEhEKDUZVTExZX1BSRVNFTlQQAhISCg5VTktOT1dOX1NUQVRVUxADKj0KFFNlY3JldFByZXNlbmNlU3RhdHVzEgsKB1VOS05PV04QABILCgdNSVNTSU5HEAESCwoHUFJFU0VOVBACQsABChRjb20uZmx5dGVpZGwyLnNlY3JldEIPRGVmaW5pdGlvblByb3RvSAJQAVo0Z2l0aHViLmNvbS9mbHl0ZW9yZy9mbHl0ZS92Mi9nZW4vZ28vZmx5dGVpZGwyL3NlY3JldKICA0ZTWKoCEEZseXRlaWRsMi5TZWNyZXTKAhBGbHl0ZWlkbDJcU2VjcmV04gIcRmx5dGVpZGwyXFNlY3JldFxHUEJNZXRhZGF0YeoCEUZseXRlaWRsMjo6U2VjcmV0YgZwcm90bzM", [file_buf_validate_validate, file_flyteidl2_common_identifier, file_google_protobuf_timestamp]);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* SecretSpec contains information used for creating/updating the secret.
|
|
22
|
+
* Mainly it contains the value of the secret
|
|
23
|
+
* In future we could add meta info like tags, rotation config, whether stored secret has any binary format etc for storage/retrieval.
|
|
24
|
+
*
|
|
25
|
+
* @generated from message flyteidl2.secret.SecretSpec
|
|
26
|
+
*/
|
|
27
|
+
export type SecretSpec = Message<"flyteidl2.secret.SecretSpec"> & {
|
|
28
|
+
/**
|
|
29
|
+
* @generated from oneof flyteidl2.secret.SecretSpec.value
|
|
30
|
+
*/
|
|
31
|
+
value: {
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: string string_value = 1;
|
|
34
|
+
*/
|
|
35
|
+
value: string;
|
|
36
|
+
case: "stringValue";
|
|
37
|
+
} | {
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: bytes binary_value = 2;
|
|
40
|
+
*/
|
|
41
|
+
value: Uint8Array;
|
|
42
|
+
case: "binaryValue";
|
|
43
|
+
} | { case: undefined; value?: undefined };
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The secret type
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: flyteidl2.secret.SecretType type = 3;
|
|
49
|
+
*/
|
|
50
|
+
type: SecretType;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Describes the message flyteidl2.secret.SecretSpec.
|
|
55
|
+
* Use `create(SecretSpecSchema)` to create a new message.
|
|
56
|
+
*/
|
|
57
|
+
export const SecretSpecSchema: GenMessage<SecretSpec> = /*@__PURE__*/
|
|
58
|
+
messageDesc(file_flyteidl2_secret_definition, 0);
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* SecretIdentifier contains the uniquely identifiable way of storing or retrieving the secret
|
|
62
|
+
* Name and scope combination are used for defining the format for storage and retrieval of the secret
|
|
63
|
+
* For eg : for org scope secrets
|
|
64
|
+
* storage format org:<org-name>:name:secret-name
|
|
65
|
+
*
|
|
66
|
+
* @generated from message flyteidl2.secret.SecretIdentifier
|
|
67
|
+
*/
|
|
68
|
+
export type SecretIdentifier = Message<"flyteidl2.secret.SecretIdentifier"> & {
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: string name = 1;
|
|
71
|
+
*/
|
|
72
|
+
name: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Only org scoped resources are supported right now
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: string organization = 2;
|
|
78
|
+
*/
|
|
79
|
+
organization: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* domain scoped secret
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: string domain = 3;
|
|
85
|
+
*/
|
|
86
|
+
domain: string;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Project-domain scoped secret
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: string project = 4;
|
|
92
|
+
*/
|
|
93
|
+
project: string;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Describes the message flyteidl2.secret.SecretIdentifier.
|
|
98
|
+
* Use `create(SecretIdentifierSchema)` to create a new message.
|
|
99
|
+
*/
|
|
100
|
+
export const SecretIdentifierSchema: GenMessage<SecretIdentifier> = /*@__PURE__*/
|
|
101
|
+
messageDesc(file_flyteidl2_secret_definition, 1);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* SecretMetadata contain meta info about the secret
|
|
105
|
+
*
|
|
106
|
+
* @generated from message flyteidl2.secret.SecretMetadata
|
|
107
|
+
*/
|
|
108
|
+
export type SecretMetadata = Message<"flyteidl2.secret.SecretMetadata"> & {
|
|
109
|
+
/**
|
|
110
|
+
* created_time of the secret.
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: google.protobuf.Timestamp created_time = 1;
|
|
113
|
+
*/
|
|
114
|
+
createdTime?: Timestamp;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* secret_status reports the overall status of the secret across all the clusters.
|
|
118
|
+
* This relies on number of clusters queried which relies on there enabled state.
|
|
119
|
+
*
|
|
120
|
+
* @generated from field: flyteidl2.secret.SecretStatus secret_status = 2;
|
|
121
|
+
*/
|
|
122
|
+
secretStatus?: SecretStatus;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* The secret type
|
|
126
|
+
*
|
|
127
|
+
* @generated from field: flyteidl2.secret.SecretType type = 3;
|
|
128
|
+
*/
|
|
129
|
+
type: SecretType;
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Describes the message flyteidl2.secret.SecretMetadata.
|
|
134
|
+
* Use `create(SecretMetadataSchema)` to create a new message.
|
|
135
|
+
*/
|
|
136
|
+
export const SecretMetadataSchema: GenMessage<SecretMetadata> = /*@__PURE__*/
|
|
137
|
+
messageDesc(file_flyteidl2_secret_definition, 2);
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* SecretStatus contains the status of the secret across all the clusters
|
|
141
|
+
*
|
|
142
|
+
* @generated from message flyteidl2.secret.SecretStatus
|
|
143
|
+
*/
|
|
144
|
+
export type SecretStatus = Message<"flyteidl2.secret.SecretStatus"> & {
|
|
145
|
+
/**
|
|
146
|
+
* overall_status reports the overall status of the secret across all the clusters.
|
|
147
|
+
*
|
|
148
|
+
* @generated from field: flyteidl2.secret.OverallStatus overall_status = 1;
|
|
149
|
+
*/
|
|
150
|
+
overallStatus: OverallStatus;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* cluster_status reports the status of the secret in each cluster
|
|
154
|
+
*
|
|
155
|
+
* @generated from field: repeated flyteidl2.secret.ClusterSecretStatus cluster_status = 2;
|
|
156
|
+
*/
|
|
157
|
+
clusterStatus: ClusterSecretStatus[];
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Describes the message flyteidl2.secret.SecretStatus.
|
|
162
|
+
* Use `create(SecretStatusSchema)` to create a new message.
|
|
163
|
+
*/
|
|
164
|
+
export const SecretStatusSchema: GenMessage<SecretStatus> = /*@__PURE__*/
|
|
165
|
+
messageDesc(file_flyteidl2_secret_definition, 3);
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* ClusterSecretStatus contains the status of the secret in a cluster
|
|
169
|
+
*
|
|
170
|
+
* @generated from message flyteidl2.secret.ClusterSecretStatus
|
|
171
|
+
*/
|
|
172
|
+
export type ClusterSecretStatus = Message<"flyteidl2.secret.ClusterSecretStatus"> & {
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: flyteidl2.common.ClusterIdentifier cluster = 1;
|
|
175
|
+
*/
|
|
176
|
+
cluster?: ClusterIdentifier;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* presence_status reports the status of the secret in the cluster
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: flyteidl2.secret.SecretPresenceStatus presence_status = 2;
|
|
182
|
+
*/
|
|
183
|
+
presenceStatus: SecretPresenceStatus;
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Describes the message flyteidl2.secret.ClusterSecretStatus.
|
|
188
|
+
* Use `create(ClusterSecretStatusSchema)` to create a new message.
|
|
189
|
+
*/
|
|
190
|
+
export const ClusterSecretStatusSchema: GenMessage<ClusterSecretStatus> = /*@__PURE__*/
|
|
191
|
+
messageDesc(file_flyteidl2_secret_definition, 4);
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Secret is the returned object for Get and List calls which returns the identifier of the secret along with
|
|
195
|
+
* meta information in future about the creation data, update date, tags etc
|
|
196
|
+
* This doesn't contain the value of the secret
|
|
197
|
+
*
|
|
198
|
+
* @generated from message flyteidl2.secret.Secret
|
|
199
|
+
*/
|
|
200
|
+
export type Secret = Message<"flyteidl2.secret.Secret"> & {
|
|
201
|
+
/**
|
|
202
|
+
* @generated from field: flyteidl2.secret.SecretIdentifier id = 1;
|
|
203
|
+
*/
|
|
204
|
+
id?: SecretIdentifier;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: flyteidl2.secret.SecretMetadata secret_metadata = 2;
|
|
208
|
+
*/
|
|
209
|
+
secretMetadata?: SecretMetadata;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Describes the message flyteidl2.secret.Secret.
|
|
214
|
+
* Use `create(SecretSchema)` to create a new message.
|
|
215
|
+
*/
|
|
216
|
+
export const SecretSchema: GenMessage<Secret> = /*@__PURE__*/
|
|
217
|
+
messageDesc(file_flyteidl2_secret_definition, 5);
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @generated from enum flyteidl2.secret.SecretType
|
|
221
|
+
*/
|
|
222
|
+
export enum SecretType {
|
|
223
|
+
/**
|
|
224
|
+
* Default, unspecified secret type. Assumed to be generic and no type specific handling required.
|
|
225
|
+
*
|
|
226
|
+
* @generated from enum value: SECRET_TYPE_GENERIC = 0;
|
|
227
|
+
*/
|
|
228
|
+
GENERIC = 0,
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Secret used specifically for pulling images from a container registry.
|
|
232
|
+
*
|
|
233
|
+
* @generated from enum value: SECRET_TYPE_IMAGE_PULL_SECRET = 1;
|
|
234
|
+
*/
|
|
235
|
+
IMAGE_PULL_SECRET = 1,
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Describes the enum flyteidl2.secret.SecretType.
|
|
240
|
+
*/
|
|
241
|
+
export const SecretTypeSchema: GenEnum<SecretType> = /*@__PURE__*/
|
|
242
|
+
enumDesc(file_flyteidl2_secret_definition, 0);
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* @generated from enum flyteidl2.secret.OverallStatus
|
|
246
|
+
*/
|
|
247
|
+
export enum OverallStatus {
|
|
248
|
+
/**
|
|
249
|
+
* @generated from enum value: UNSPECIFIED = 0;
|
|
250
|
+
*/
|
|
251
|
+
UNSPECIFIED = 0,
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Exists in some cluster
|
|
255
|
+
*
|
|
256
|
+
* @generated from enum value: PARTIALLY_PRESENT = 1;
|
|
257
|
+
*/
|
|
258
|
+
PARTIALLY_PRESENT = 1,
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Exists in all enabled clusters
|
|
262
|
+
*
|
|
263
|
+
* @generated from enum value: FULLY_PRESENT = 2;
|
|
264
|
+
*/
|
|
265
|
+
FULLY_PRESENT = 2,
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Status is unknown
|
|
269
|
+
*
|
|
270
|
+
* @generated from enum value: UNKNOWN_STATUS = 3;
|
|
271
|
+
*/
|
|
272
|
+
UNKNOWN_STATUS = 3,
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Describes the enum flyteidl2.secret.OverallStatus.
|
|
277
|
+
*/
|
|
278
|
+
export const OverallStatusSchema: GenEnum<OverallStatus> = /*@__PURE__*/
|
|
279
|
+
enumDesc(file_flyteidl2_secret_definition, 1);
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* @generated from enum flyteidl2.secret.SecretPresenceStatus
|
|
283
|
+
*/
|
|
284
|
+
export enum SecretPresenceStatus {
|
|
285
|
+
/**
|
|
286
|
+
* @generated from enum value: UNKNOWN = 0;
|
|
287
|
+
*/
|
|
288
|
+
UNKNOWN = 0,
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Secret is missing in the cluster
|
|
292
|
+
*
|
|
293
|
+
* @generated from enum value: MISSING = 1;
|
|
294
|
+
*/
|
|
295
|
+
MISSING = 1,
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Secret is present in the cluster
|
|
299
|
+
*
|
|
300
|
+
* @generated from enum value: PRESENT = 2;
|
|
301
|
+
*/
|
|
302
|
+
PRESENT = 2,
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Describes the enum flyteidl2.secret.SecretPresenceStatus.
|
|
307
|
+
*/
|
|
308
|
+
export const SecretPresenceStatusSchema: GenEnum<SecretPresenceStatus> = /*@__PURE__*/
|
|
309
|
+
enumDesc(file_flyteidl2_secret_definition, 2);
|
|
310
|
+
|