flyte 2.0.0b13__py3-none-any.whl → 2.0.0b30__py3-none-any.whl
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.
- flyte/__init__.py +18 -2
- flyte/_bin/debug.py +38 -0
- flyte/_bin/runtime.py +62 -8
- flyte/_cache/cache.py +4 -2
- flyte/_cache/local_cache.py +216 -0
- flyte/_code_bundle/_ignore.py +12 -4
- flyte/_code_bundle/_packaging.py +13 -9
- flyte/_code_bundle/_utils.py +18 -10
- flyte/_code_bundle/bundle.py +17 -9
- flyte/_constants.py +1 -0
- flyte/_context.py +4 -1
- flyte/_custom_context.py +73 -0
- flyte/_debug/constants.py +38 -0
- flyte/_debug/utils.py +17 -0
- flyte/_debug/vscode.py +307 -0
- flyte/_deploy.py +235 -61
- flyte/_environment.py +20 -6
- flyte/_excepthook.py +1 -1
- flyte/_hash.py +1 -16
- flyte/_image.py +178 -81
- flyte/_initialize.py +132 -51
- flyte/_interface.py +39 -2
- flyte/_internal/controllers/__init__.py +4 -5
- flyte/_internal/controllers/_local_controller.py +70 -29
- flyte/_internal/controllers/_trace.py +1 -1
- flyte/_internal/controllers/remote/__init__.py +0 -2
- flyte/_internal/controllers/remote/_action.py +14 -16
- flyte/_internal/controllers/remote/_client.py +1 -1
- flyte/_internal/controllers/remote/_controller.py +68 -70
- flyte/_internal/controllers/remote/_core.py +127 -99
- flyte/_internal/controllers/remote/_informer.py +19 -10
- flyte/_internal/controllers/remote/_service_protocol.py +7 -7
- flyte/_internal/imagebuild/docker_builder.py +181 -69
- flyte/_internal/imagebuild/image_builder.py +0 -5
- flyte/_internal/imagebuild/remote_builder.py +155 -64
- flyte/_internal/imagebuild/utils.py +51 -2
- flyte/_internal/resolvers/_task_module.py +5 -38
- flyte/_internal/resolvers/default.py +2 -2
- flyte/_internal/runtime/convert.py +110 -21
- flyte/_internal/runtime/entrypoints.py +27 -1
- flyte/_internal/runtime/io.py +21 -8
- flyte/_internal/runtime/resources_serde.py +20 -6
- flyte/_internal/runtime/reuse.py +1 -1
- flyte/_internal/runtime/rusty.py +20 -5
- flyte/_internal/runtime/task_serde.py +34 -19
- flyte/_internal/runtime/taskrunner.py +22 -4
- flyte/_internal/runtime/trigger_serde.py +160 -0
- flyte/_internal/runtime/types_serde.py +1 -1
- flyte/_keyring/__init__.py +0 -0
- flyte/_keyring/file.py +115 -0
- flyte/_logging.py +201 -39
- flyte/_map.py +111 -14
- flyte/_module.py +70 -0
- flyte/_pod.py +4 -3
- flyte/_resources.py +213 -31
- flyte/_run.py +110 -39
- flyte/_task.py +75 -16
- flyte/_task_environment.py +105 -29
- flyte/_task_plugins.py +4 -2
- flyte/_trace.py +5 -0
- flyte/_trigger.py +1000 -0
- flyte/_utils/__init__.py +2 -1
- flyte/_utils/asyn.py +3 -1
- flyte/_utils/coro_management.py +2 -1
- flyte/_utils/docker_credentials.py +173 -0
- flyte/_utils/module_loader.py +17 -2
- flyte/_version.py +3 -3
- flyte/cli/_abort.py +3 -3
- flyte/cli/_build.py +3 -6
- flyte/cli/_common.py +78 -7
- flyte/cli/_create.py +182 -4
- flyte/cli/_delete.py +23 -1
- flyte/cli/_deploy.py +63 -16
- flyte/cli/_get.py +79 -34
- flyte/cli/_params.py +26 -10
- flyte/cli/_plugins.py +209 -0
- flyte/cli/_run.py +151 -26
- flyte/cli/_serve.py +64 -0
- flyte/cli/_update.py +37 -0
- flyte/cli/_user.py +17 -0
- flyte/cli/main.py +30 -4
- flyte/config/_config.py +10 -6
- flyte/config/_internal.py +1 -0
- flyte/config/_reader.py +29 -8
- flyte/connectors/__init__.py +11 -0
- flyte/connectors/_connector.py +270 -0
- flyte/connectors/_server.py +197 -0
- flyte/connectors/utils.py +135 -0
- flyte/errors.py +22 -2
- flyte/extend.py +8 -1
- flyte/extras/_container.py +6 -1
- flyte/git/__init__.py +3 -0
- flyte/git/_config.py +21 -0
- flyte/io/__init__.py +2 -0
- flyte/io/_dataframe/__init__.py +2 -0
- flyte/io/_dataframe/basic_dfs.py +17 -8
- flyte/io/_dataframe/dataframe.py +98 -132
- flyte/io/_dir.py +575 -113
- flyte/io/_file.py +582 -139
- flyte/io/_hashing_io.py +342 -0
- flyte/models.py +74 -15
- flyte/remote/__init__.py +6 -1
- flyte/remote/_action.py +34 -26
- flyte/remote/_client/_protocols.py +39 -4
- flyte/remote/_client/auth/_authenticators/device_code.py +4 -5
- flyte/remote/_client/auth/_authenticators/pkce.py +1 -1
- flyte/remote/_client/auth/_channel.py +10 -6
- flyte/remote/_client/controlplane.py +17 -5
- flyte/remote/_console.py +3 -2
- flyte/remote/_data.py +6 -6
- flyte/remote/_logs.py +3 -3
- flyte/remote/_run.py +64 -8
- flyte/remote/_secret.py +26 -17
- flyte/remote/_task.py +75 -33
- flyte/remote/_trigger.py +306 -0
- flyte/remote/_user.py +33 -0
- flyte/report/_report.py +1 -1
- flyte/storage/__init__.py +6 -1
- flyte/storage/_config.py +5 -1
- flyte/storage/_parallel_reader.py +274 -0
- flyte/storage/_storage.py +200 -103
- flyte/types/__init__.py +16 -0
- flyte/types/_interface.py +2 -2
- flyte/types/_pickle.py +35 -8
- flyte/types/_string_literals.py +8 -9
- flyte/types/_type_engine.py +40 -70
- flyte/types/_utils.py +1 -1
- flyte-2.0.0b30.data/scripts/debug.py +38 -0
- {flyte-2.0.0b13.data → flyte-2.0.0b30.data}/scripts/runtime.py +62 -8
- {flyte-2.0.0b13.dist-info → flyte-2.0.0b30.dist-info}/METADATA +11 -3
- flyte-2.0.0b30.dist-info/RECORD +192 -0
- {flyte-2.0.0b13.dist-info → flyte-2.0.0b30.dist-info}/entry_points.txt +3 -0
- flyte/_protos/common/authorization_pb2.py +0 -66
- flyte/_protos/common/authorization_pb2.pyi +0 -108
- flyte/_protos/common/authorization_pb2_grpc.py +0 -4
- flyte/_protos/common/identifier_pb2.py +0 -93
- flyte/_protos/common/identifier_pb2.pyi +0 -110
- flyte/_protos/common/identifier_pb2_grpc.py +0 -4
- flyte/_protos/common/identity_pb2.py +0 -48
- flyte/_protos/common/identity_pb2.pyi +0 -72
- flyte/_protos/common/identity_pb2_grpc.py +0 -4
- flyte/_protos/common/list_pb2.py +0 -36
- flyte/_protos/common/list_pb2.pyi +0 -71
- flyte/_protos/common/list_pb2_grpc.py +0 -4
- flyte/_protos/common/policy_pb2.py +0 -37
- flyte/_protos/common/policy_pb2.pyi +0 -27
- flyte/_protos/common/policy_pb2_grpc.py +0 -4
- flyte/_protos/common/role_pb2.py +0 -37
- flyte/_protos/common/role_pb2.pyi +0 -53
- flyte/_protos/common/role_pb2_grpc.py +0 -4
- flyte/_protos/common/runtime_version_pb2.py +0 -28
- flyte/_protos/common/runtime_version_pb2.pyi +0 -24
- flyte/_protos/common/runtime_version_pb2_grpc.py +0 -4
- flyte/_protos/imagebuilder/definition_pb2.py +0 -59
- flyte/_protos/imagebuilder/definition_pb2.pyi +0 -140
- flyte/_protos/imagebuilder/definition_pb2_grpc.py +0 -4
- flyte/_protos/imagebuilder/payload_pb2.py +0 -32
- flyte/_protos/imagebuilder/payload_pb2.pyi +0 -21
- flyte/_protos/imagebuilder/payload_pb2_grpc.py +0 -4
- flyte/_protos/imagebuilder/service_pb2.py +0 -29
- flyte/_protos/imagebuilder/service_pb2.pyi +0 -5
- flyte/_protos/imagebuilder/service_pb2_grpc.py +0 -66
- flyte/_protos/logs/dataplane/payload_pb2.py +0 -100
- flyte/_protos/logs/dataplane/payload_pb2.pyi +0 -177
- flyte/_protos/logs/dataplane/payload_pb2_grpc.py +0 -4
- flyte/_protos/secret/definition_pb2.py +0 -49
- flyte/_protos/secret/definition_pb2.pyi +0 -93
- flyte/_protos/secret/definition_pb2_grpc.py +0 -4
- flyte/_protos/secret/payload_pb2.py +0 -62
- flyte/_protos/secret/payload_pb2.pyi +0 -94
- flyte/_protos/secret/payload_pb2_grpc.py +0 -4
- flyte/_protos/secret/secret_pb2.py +0 -38
- flyte/_protos/secret/secret_pb2.pyi +0 -6
- flyte/_protos/secret/secret_pb2_grpc.py +0 -198
- flyte/_protos/secret/secret_pb2_grpc_grpc.py +0 -198
- flyte/_protos/validate/validate/validate_pb2.py +0 -76
- flyte/_protos/workflow/common_pb2.py +0 -27
- flyte/_protos/workflow/common_pb2.pyi +0 -14
- flyte/_protos/workflow/common_pb2_grpc.py +0 -4
- flyte/_protos/workflow/environment_pb2.py +0 -29
- flyte/_protos/workflow/environment_pb2.pyi +0 -12
- flyte/_protos/workflow/environment_pb2_grpc.py +0 -4
- flyte/_protos/workflow/node_execution_service_pb2.py +0 -26
- flyte/_protos/workflow/node_execution_service_pb2.pyi +0 -4
- flyte/_protos/workflow/node_execution_service_pb2_grpc.py +0 -32
- flyte/_protos/workflow/queue_service_pb2.py +0 -109
- flyte/_protos/workflow/queue_service_pb2.pyi +0 -166
- flyte/_protos/workflow/queue_service_pb2_grpc.py +0 -172
- flyte/_protos/workflow/run_definition_pb2.py +0 -121
- flyte/_protos/workflow/run_definition_pb2.pyi +0 -327
- flyte/_protos/workflow/run_definition_pb2_grpc.py +0 -4
- flyte/_protos/workflow/run_logs_service_pb2.py +0 -41
- flyte/_protos/workflow/run_logs_service_pb2.pyi +0 -28
- flyte/_protos/workflow/run_logs_service_pb2_grpc.py +0 -69
- flyte/_protos/workflow/run_service_pb2.py +0 -137
- flyte/_protos/workflow/run_service_pb2.pyi +0 -185
- flyte/_protos/workflow/run_service_pb2_grpc.py +0 -446
- flyte/_protos/workflow/state_service_pb2.py +0 -67
- flyte/_protos/workflow/state_service_pb2.pyi +0 -76
- flyte/_protos/workflow/state_service_pb2_grpc.py +0 -138
- flyte/_protos/workflow/task_definition_pb2.py +0 -79
- flyte/_protos/workflow/task_definition_pb2.pyi +0 -81
- flyte/_protos/workflow/task_definition_pb2_grpc.py +0 -4
- flyte/_protos/workflow/task_service_pb2.py +0 -60
- flyte/_protos/workflow/task_service_pb2.pyi +0 -59
- flyte/_protos/workflow/task_service_pb2_grpc.py +0 -138
- flyte-2.0.0b13.dist-info/RECORD +0 -239
- /flyte/{_protos → _debug}/__init__.py +0 -0
- {flyte-2.0.0b13.dist-info → flyte-2.0.0b30.dist-info}/WHEEL +0 -0
- {flyte-2.0.0b13.dist-info → flyte-2.0.0b30.dist-info}/licenses/LICENSE +0 -0
- {flyte-2.0.0b13.dist-info → flyte-2.0.0b30.dist-info}/top_level.txt +0 -0
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: common/identity.proto
|
|
4
|
-
"""Generated protocol buffer code."""
|
|
5
|
-
from google.protobuf import descriptor as _descriptor
|
|
6
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
-
from google.protobuf.internal import builder as _builder
|
|
9
|
-
# @@protoc_insertion_point(imports)
|
|
10
|
-
|
|
11
|
-
_sym_db = _symbol_database.Default()
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
from flyte._protos.common import identifier_pb2 as common_dot_identifier__pb2
|
|
15
|
-
from flyte._protos.common import policy_pb2 as common_dot_policy__pb2
|
|
16
|
-
from flyte._protos.common import role_pb2 as common_dot_role__pb2
|
|
17
|
-
from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15\x63ommon/identity.proto\x12\x0f\x63loudidl.common\x1a\x17\x63ommon/identifier.proto\x1a\x13\x63ommon/policy.proto\x1a\x11\x63ommon/role.proto\x1a\x17validate/validate.proto\"\xcc\x01\n\x04User\x12/\n\x02id\x18\x01 \x01(\x0b\x32\x1f.cloudidl.common.UserIdentifierR\x02id\x12-\n\x04spec\x18\x02 \x01(\x0b\x32\x19.cloudidl.common.UserSpecR\x04spec\x12/\n\x05roles\x18\x03 \x03(\x0b\x32\x15.cloudidl.common.RoleB\x02\x18\x01R\x05roles\x12\x33\n\x08policies\x18\x04 \x03(\x0b\x32\x17.cloudidl.common.PolicyR\x08policies\"\xd6\x01\n\x08UserSpec\x12\x1d\n\nfirst_name\x18\x01 \x01(\tR\tfirstName\x12\x1b\n\tlast_name\x18\x02 \x01(\tR\x08lastName\x12\x14\n\x05\x65mail\x18\x03 \x01(\tR\x05\x65mail\x12\"\n\x0corganization\x18\x04 \x01(\tR\x0corganization\x12\x1f\n\x0buser_handle\x18\x05 \x01(\tR\nuserHandle\x12\x16\n\x06groups\x18\x06 \x03(\tR\x06groups\x12\x1b\n\tphoto_url\x18\x07 \x01(\tR\x08photoUrl\"s\n\x0b\x41pplication\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32&.cloudidl.common.ApplicationIdentifierR\x02id\x12,\n\x04spec\x18\x02 \x01(\x0b\x32\x18.cloudidl.common.AppSpecR\x04spec\"A\n\x07\x41ppSpec\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\"\n\x0corganization\x18\x02 \x01(\tR\x0corganization\"\xa7\x01\n\x10\x45nrichedIdentity\x12\x35\n\x04user\x18\x01 \x01(\x0b\x32\x15.cloudidl.common.UserB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x04user\x12J\n\x0b\x61pplication\x18\x02 \x01(\x0b\x32\x1c.cloudidl.common.ApplicationB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\x0b\x61pplicationB\x10\n\tprincipal\x12\x03\xf8\x42\x01\"\xa4\x01\n\x08Identity\x12:\n\x07user_id\x18\x01 \x01(\x0b\x32\x1f.cloudidl.common.UserIdentifierH\x00R\x06userId\x12O\n\x0e\x61pplication_id\x18\x02 \x01(\x0b\x32&.cloudidl.common.ApplicationIdentifierH\x00R\rapplicationIdB\x0b\n\tprincipalB\xae\x01\n\x13\x63om.cloudidl.commonB\rIdentityProtoH\x02P\x01Z)github.com/unionai/cloud/gen/pb-go/common\xa2\x02\x03\x43\x43X\xaa\x02\x0f\x43loudidl.Common\xca\x02\x0f\x43loudidl\\Common\xe2\x02\x1b\x43loudidl\\Common\\GPBMetadata\xea\x02\x10\x43loudidl::Commonb\x06proto3')
|
|
21
|
-
|
|
22
|
-
_globals = globals()
|
|
23
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
24
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common.identity_pb2', _globals)
|
|
25
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
26
|
-
DESCRIPTOR._options = None
|
|
27
|
-
DESCRIPTOR._serialized_options = b'\n\023com.cloudidl.commonB\rIdentityProtoH\002P\001Z)github.com/unionai/cloud/gen/pb-go/common\242\002\003CCX\252\002\017Cloudidl.Common\312\002\017Cloudidl\\Common\342\002\033Cloudidl\\Common\\GPBMetadata\352\002\020Cloudidl::Common'
|
|
28
|
-
_USER.fields_by_name['roles']._options = None
|
|
29
|
-
_USER.fields_by_name['roles']._serialized_options = b'\030\001'
|
|
30
|
-
_ENRICHEDIDENTITY.oneofs_by_name['principal']._options = None
|
|
31
|
-
_ENRICHEDIDENTITY.oneofs_by_name['principal']._serialized_options = b'\370B\001'
|
|
32
|
-
_ENRICHEDIDENTITY.fields_by_name['user']._options = None
|
|
33
|
-
_ENRICHEDIDENTITY.fields_by_name['user']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
34
|
-
_ENRICHEDIDENTITY.fields_by_name['application']._options = None
|
|
35
|
-
_ENRICHEDIDENTITY.fields_by_name['application']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
36
|
-
_globals['_USER']._serialized_start=133
|
|
37
|
-
_globals['_USER']._serialized_end=337
|
|
38
|
-
_globals['_USERSPEC']._serialized_start=340
|
|
39
|
-
_globals['_USERSPEC']._serialized_end=554
|
|
40
|
-
_globals['_APPLICATION']._serialized_start=556
|
|
41
|
-
_globals['_APPLICATION']._serialized_end=671
|
|
42
|
-
_globals['_APPSPEC']._serialized_start=673
|
|
43
|
-
_globals['_APPSPEC']._serialized_end=738
|
|
44
|
-
_globals['_ENRICHEDIDENTITY']._serialized_start=741
|
|
45
|
-
_globals['_ENRICHEDIDENTITY']._serialized_end=908
|
|
46
|
-
_globals['_IDENTITY']._serialized_start=911
|
|
47
|
-
_globals['_IDENTITY']._serialized_end=1075
|
|
48
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
from flyte._protos.common import identifier_pb2 as _identifier_pb2
|
|
2
|
-
from flyte._protos.common import policy_pb2 as _policy_pb2
|
|
3
|
-
from flyte._protos.common import role_pb2 as _role_pb2
|
|
4
|
-
from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
|
|
5
|
-
from google.protobuf.internal import containers as _containers
|
|
6
|
-
from google.protobuf import descriptor as _descriptor
|
|
7
|
-
from google.protobuf import message as _message
|
|
8
|
-
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
9
|
-
|
|
10
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
|
-
|
|
12
|
-
class User(_message.Message):
|
|
13
|
-
__slots__ = ["id", "spec", "roles", "policies"]
|
|
14
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
-
SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
-
ROLES_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
-
POLICIES_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
-
id: _identifier_pb2.UserIdentifier
|
|
19
|
-
spec: UserSpec
|
|
20
|
-
roles: _containers.RepeatedCompositeFieldContainer[_role_pb2.Role]
|
|
21
|
-
policies: _containers.RepeatedCompositeFieldContainer[_policy_pb2.Policy]
|
|
22
|
-
def __init__(self, id: _Optional[_Union[_identifier_pb2.UserIdentifier, _Mapping]] = ..., spec: _Optional[_Union[UserSpec, _Mapping]] = ..., roles: _Optional[_Iterable[_Union[_role_pb2.Role, _Mapping]]] = ..., policies: _Optional[_Iterable[_Union[_policy_pb2.Policy, _Mapping]]] = ...) -> None: ...
|
|
23
|
-
|
|
24
|
-
class UserSpec(_message.Message):
|
|
25
|
-
__slots__ = ["first_name", "last_name", "email", "organization", "user_handle", "groups", "photo_url"]
|
|
26
|
-
FIRST_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
-
LAST_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
-
EMAIL_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
-
ORGANIZATION_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
-
USER_HANDLE_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
-
GROUPS_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
-
PHOTO_URL_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
-
first_name: str
|
|
34
|
-
last_name: str
|
|
35
|
-
email: str
|
|
36
|
-
organization: str
|
|
37
|
-
user_handle: str
|
|
38
|
-
groups: _containers.RepeatedScalarFieldContainer[str]
|
|
39
|
-
photo_url: str
|
|
40
|
-
def __init__(self, first_name: _Optional[str] = ..., last_name: _Optional[str] = ..., email: _Optional[str] = ..., organization: _Optional[str] = ..., user_handle: _Optional[str] = ..., groups: _Optional[_Iterable[str]] = ..., photo_url: _Optional[str] = ...) -> None: ...
|
|
41
|
-
|
|
42
|
-
class Application(_message.Message):
|
|
43
|
-
__slots__ = ["id", "spec"]
|
|
44
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
-
SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
-
id: _identifier_pb2.ApplicationIdentifier
|
|
47
|
-
spec: AppSpec
|
|
48
|
-
def __init__(self, id: _Optional[_Union[_identifier_pb2.ApplicationIdentifier, _Mapping]] = ..., spec: _Optional[_Union[AppSpec, _Mapping]] = ...) -> None: ...
|
|
49
|
-
|
|
50
|
-
class AppSpec(_message.Message):
|
|
51
|
-
__slots__ = ["name", "organization"]
|
|
52
|
-
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
-
ORGANIZATION_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
-
name: str
|
|
55
|
-
organization: str
|
|
56
|
-
def __init__(self, name: _Optional[str] = ..., organization: _Optional[str] = ...) -> None: ...
|
|
57
|
-
|
|
58
|
-
class EnrichedIdentity(_message.Message):
|
|
59
|
-
__slots__ = ["user", "application"]
|
|
60
|
-
USER_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
-
APPLICATION_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
-
user: User
|
|
63
|
-
application: Application
|
|
64
|
-
def __init__(self, user: _Optional[_Union[User, _Mapping]] = ..., application: _Optional[_Union[Application, _Mapping]] = ...) -> None: ...
|
|
65
|
-
|
|
66
|
-
class Identity(_message.Message):
|
|
67
|
-
__slots__ = ["user_id", "application_id"]
|
|
68
|
-
USER_ID_FIELD_NUMBER: _ClassVar[int]
|
|
69
|
-
APPLICATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
-
user_id: _identifier_pb2.UserIdentifier
|
|
71
|
-
application_id: _identifier_pb2.ApplicationIdentifier
|
|
72
|
-
def __init__(self, user_id: _Optional[_Union[_identifier_pb2.UserIdentifier, _Mapping]] = ..., application_id: _Optional[_Union[_identifier_pb2.ApplicationIdentifier, _Mapping]] = ...) -> None: ...
|
flyte/_protos/common/list_pb2.py
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: common/list.proto
|
|
4
|
-
"""Generated protocol buffer code."""
|
|
5
|
-
from google.protobuf import descriptor as _descriptor
|
|
6
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
-
from google.protobuf.internal import builder as _builder
|
|
9
|
-
# @@protoc_insertion_point(imports)
|
|
10
|
-
|
|
11
|
-
_sym_db = _symbol_database.Default()
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x63ommon/list.proto\x12\x0f\x63loudidl.common\"\x83\x01\n\x04Sort\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12=\n\tdirection\x18\x02 \x01(\x0e\x32\x1f.cloudidl.common.Sort.DirectionR\tdirection\"*\n\tDirection\x12\x0e\n\nDESCENDING\x10\x00\x12\r\n\tASCENDING\x10\x01\"\xfe\x01\n\x0bListRequest\x12\x14\n\x05limit\x18\x01 \x01(\rR\x05limit\x12\x14\n\x05token\x18\x02 \x01(\tR\x05token\x12\x32\n\x07sort_by\x18\x03 \x01(\x0b\x32\x15.cloudidl.common.SortB\x02\x18\x01R\x06sortBy\x12\x31\n\x07\x66ilters\x18\x04 \x03(\x0b\x32\x17.cloudidl.common.FilterR\x07\x66ilters\x12\x1f\n\x0braw_filters\x18\x05 \x03(\tR\nrawFilters\x12;\n\x0esort_by_fields\x18\x06 \x03(\x0b\x32\x15.cloudidl.common.SortR\x0csortByFields\"\xcc\x02\n\x06\x46ilter\x12<\n\x08\x66unction\x18\x01 \x01(\x0e\x32 .cloudidl.common.Filter.FunctionR\x08\x66unction\x12\x14\n\x05\x66ield\x18\x02 \x01(\tR\x05\x66ield\x12\x16\n\x06values\x18\x03 \x03(\tR\x06values\"\xd5\x01\n\x08\x46unction\x12\t\n\x05\x45QUAL\x10\x00\x12\r\n\tNOT_EQUAL\x10\x01\x12\x10\n\x0cGREATER_THAN\x10\x02\x12\x19\n\x15GREATER_THAN_OR_EQUAL\x10\x03\x12\r\n\tLESS_THAN\x10\x04\x12\x16\n\x12LESS_THAN_OR_EQUAL\x10\x05\x12\x0c\n\x08\x43ONTAINS\x10\x06\x12\x0c\n\x08VALUE_IN\x10\x07\x12\r\n\tENDS_WITH\x10\x0c\x12\x11\n\rNOT_ENDS_WITH\x10\r\x12\x1d\n\x19\x43ONTAINS_CASE_INSENSITIVE\x10\x0e\x42\xaa\x01\n\x13\x63om.cloudidl.commonB\tListProtoH\x02P\x01Z)github.com/unionai/cloud/gen/pb-go/common\xa2\x02\x03\x43\x43X\xaa\x02\x0f\x43loudidl.Common\xca\x02\x0f\x43loudidl\\Common\xe2\x02\x1b\x43loudidl\\Common\\GPBMetadata\xea\x02\x10\x43loudidl::Commonb\x06proto3')
|
|
17
|
-
|
|
18
|
-
_globals = globals()
|
|
19
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
20
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common.list_pb2', _globals)
|
|
21
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
-
DESCRIPTOR._options = None
|
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\023com.cloudidl.commonB\tListProtoH\002P\001Z)github.com/unionai/cloud/gen/pb-go/common\242\002\003CCX\252\002\017Cloudidl.Common\312\002\017Cloudidl\\Common\342\002\033Cloudidl\\Common\\GPBMetadata\352\002\020Cloudidl::Common'
|
|
24
|
-
_LISTREQUEST.fields_by_name['sort_by']._options = None
|
|
25
|
-
_LISTREQUEST.fields_by_name['sort_by']._serialized_options = b'\030\001'
|
|
26
|
-
_globals['_SORT']._serialized_start=39
|
|
27
|
-
_globals['_SORT']._serialized_end=170
|
|
28
|
-
_globals['_SORT_DIRECTION']._serialized_start=128
|
|
29
|
-
_globals['_SORT_DIRECTION']._serialized_end=170
|
|
30
|
-
_globals['_LISTREQUEST']._serialized_start=173
|
|
31
|
-
_globals['_LISTREQUEST']._serialized_end=427
|
|
32
|
-
_globals['_FILTER']._serialized_start=430
|
|
33
|
-
_globals['_FILTER']._serialized_end=762
|
|
34
|
-
_globals['_FILTER_FUNCTION']._serialized_start=549
|
|
35
|
-
_globals['_FILTER_FUNCTION']._serialized_end=762
|
|
36
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
from google.protobuf.internal import containers as _containers
|
|
2
|
-
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
3
|
-
from google.protobuf import descriptor as _descriptor
|
|
4
|
-
from google.protobuf import message as _message
|
|
5
|
-
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
6
|
-
|
|
7
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
-
|
|
9
|
-
class Sort(_message.Message):
|
|
10
|
-
__slots__ = ["key", "direction"]
|
|
11
|
-
class Direction(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
12
|
-
__slots__ = []
|
|
13
|
-
DESCENDING: _ClassVar[Sort.Direction]
|
|
14
|
-
ASCENDING: _ClassVar[Sort.Direction]
|
|
15
|
-
DESCENDING: Sort.Direction
|
|
16
|
-
ASCENDING: Sort.Direction
|
|
17
|
-
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
-
DIRECTION_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
-
key: str
|
|
20
|
-
direction: Sort.Direction
|
|
21
|
-
def __init__(self, key: _Optional[str] = ..., direction: _Optional[_Union[Sort.Direction, str]] = ...) -> None: ...
|
|
22
|
-
|
|
23
|
-
class ListRequest(_message.Message):
|
|
24
|
-
__slots__ = ["limit", "token", "sort_by", "filters", "raw_filters", "sort_by_fields"]
|
|
25
|
-
LIMIT_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
-
TOKEN_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
-
SORT_BY_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
-
FILTERS_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
-
RAW_FILTERS_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
-
SORT_BY_FIELDS_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
-
limit: int
|
|
32
|
-
token: str
|
|
33
|
-
sort_by: Sort
|
|
34
|
-
filters: _containers.RepeatedCompositeFieldContainer[Filter]
|
|
35
|
-
raw_filters: _containers.RepeatedScalarFieldContainer[str]
|
|
36
|
-
sort_by_fields: _containers.RepeatedCompositeFieldContainer[Sort]
|
|
37
|
-
def __init__(self, limit: _Optional[int] = ..., token: _Optional[str] = ..., sort_by: _Optional[_Union[Sort, _Mapping]] = ..., filters: _Optional[_Iterable[_Union[Filter, _Mapping]]] = ..., raw_filters: _Optional[_Iterable[str]] = ..., sort_by_fields: _Optional[_Iterable[_Union[Sort, _Mapping]]] = ...) -> None: ...
|
|
38
|
-
|
|
39
|
-
class Filter(_message.Message):
|
|
40
|
-
__slots__ = ["function", "field", "values"]
|
|
41
|
-
class Function(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
42
|
-
__slots__ = []
|
|
43
|
-
EQUAL: _ClassVar[Filter.Function]
|
|
44
|
-
NOT_EQUAL: _ClassVar[Filter.Function]
|
|
45
|
-
GREATER_THAN: _ClassVar[Filter.Function]
|
|
46
|
-
GREATER_THAN_OR_EQUAL: _ClassVar[Filter.Function]
|
|
47
|
-
LESS_THAN: _ClassVar[Filter.Function]
|
|
48
|
-
LESS_THAN_OR_EQUAL: _ClassVar[Filter.Function]
|
|
49
|
-
CONTAINS: _ClassVar[Filter.Function]
|
|
50
|
-
VALUE_IN: _ClassVar[Filter.Function]
|
|
51
|
-
ENDS_WITH: _ClassVar[Filter.Function]
|
|
52
|
-
NOT_ENDS_WITH: _ClassVar[Filter.Function]
|
|
53
|
-
CONTAINS_CASE_INSENSITIVE: _ClassVar[Filter.Function]
|
|
54
|
-
EQUAL: Filter.Function
|
|
55
|
-
NOT_EQUAL: Filter.Function
|
|
56
|
-
GREATER_THAN: Filter.Function
|
|
57
|
-
GREATER_THAN_OR_EQUAL: Filter.Function
|
|
58
|
-
LESS_THAN: Filter.Function
|
|
59
|
-
LESS_THAN_OR_EQUAL: Filter.Function
|
|
60
|
-
CONTAINS: Filter.Function
|
|
61
|
-
VALUE_IN: Filter.Function
|
|
62
|
-
ENDS_WITH: Filter.Function
|
|
63
|
-
NOT_ENDS_WITH: Filter.Function
|
|
64
|
-
CONTAINS_CASE_INSENSITIVE: Filter.Function
|
|
65
|
-
FUNCTION_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
-
FIELD_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
-
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
-
function: Filter.Function
|
|
69
|
-
field: str
|
|
70
|
-
values: _containers.RepeatedScalarFieldContainer[str]
|
|
71
|
-
def __init__(self, function: _Optional[_Union[Filter.Function, str]] = ..., field: _Optional[str] = ..., values: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: common/policy.proto
|
|
4
|
-
"""Generated protocol buffer code."""
|
|
5
|
-
from google.protobuf import descriptor as _descriptor
|
|
6
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
-
from google.protobuf.internal import builder as _builder
|
|
9
|
-
# @@protoc_insertion_point(imports)
|
|
10
|
-
|
|
11
|
-
_sym_db = _symbol_database.Default()
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
from flyte._protos.common import authorization_pb2 as common_dot_authorization__pb2
|
|
15
|
-
from flyte._protos.common import identifier_pb2 as common_dot_identifier__pb2
|
|
16
|
-
from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13\x63ommon/policy.proto\x12\x0f\x63loudidl.common\x1a\x1a\x63ommon/authorization.proto\x1a\x17\x63ommon/identifier.proto\x1a\x17validate/validate.proto\"\xa3\x01\n\x06Policy\x12;\n\x02id\x18\x01 \x01(\x0b\x32!.cloudidl.common.PolicyIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x02id\x12:\n\x08\x62indings\x18\x02 \x03(\x0b\x32\x1e.cloudidl.common.PolicyBindingR\x08\x62indings\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\"\x94\x01\n\rPolicyBinding\x12\x42\n\x07role_id\x18\x01 \x01(\x0b\x32\x1f.cloudidl.common.RoleIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x06roleId\x12?\n\x08resource\x18\x02 \x01(\x0b\x32\x19.cloudidl.common.ResourceB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x08resourceB\xac\x01\n\x13\x63om.cloudidl.commonB\x0bPolicyProtoH\x02P\x01Z)github.com/unionai/cloud/gen/pb-go/common\xa2\x02\x03\x43\x43X\xaa\x02\x0f\x43loudidl.Common\xca\x02\x0f\x43loudidl\\Common\xe2\x02\x1b\x43loudidl\\Common\\GPBMetadata\xea\x02\x10\x43loudidl::Commonb\x06proto3')
|
|
20
|
-
|
|
21
|
-
_globals = globals()
|
|
22
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common.policy_pb2', _globals)
|
|
24
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
-
DESCRIPTOR._options = None
|
|
26
|
-
DESCRIPTOR._serialized_options = b'\n\023com.cloudidl.commonB\013PolicyProtoH\002P\001Z)github.com/unionai/cloud/gen/pb-go/common\242\002\003CCX\252\002\017Cloudidl.Common\312\002\017Cloudidl\\Common\342\002\033Cloudidl\\Common\\GPBMetadata\352\002\020Cloudidl::Common'
|
|
27
|
-
_POLICY.fields_by_name['id']._options = None
|
|
28
|
-
_POLICY.fields_by_name['id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
29
|
-
_POLICYBINDING.fields_by_name['role_id']._options = None
|
|
30
|
-
_POLICYBINDING.fields_by_name['role_id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
31
|
-
_POLICYBINDING.fields_by_name['resource']._options = None
|
|
32
|
-
_POLICYBINDING.fields_by_name['resource']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
33
|
-
_globals['_POLICY']._serialized_start=119
|
|
34
|
-
_globals['_POLICY']._serialized_end=282
|
|
35
|
-
_globals['_POLICYBINDING']._serialized_start=285
|
|
36
|
-
_globals['_POLICYBINDING']._serialized_end=433
|
|
37
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
from flyte._protos.common import authorization_pb2 as _authorization_pb2
|
|
2
|
-
from flyte._protos.common import identifier_pb2 as _identifier_pb2
|
|
3
|
-
from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
|
|
4
|
-
from google.protobuf.internal import containers as _containers
|
|
5
|
-
from google.protobuf import descriptor as _descriptor
|
|
6
|
-
from google.protobuf import message as _message
|
|
7
|
-
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
8
|
-
|
|
9
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
10
|
-
|
|
11
|
-
class Policy(_message.Message):
|
|
12
|
-
__slots__ = ["id", "bindings", "description"]
|
|
13
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
-
BINDINGS_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
-
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
-
id: _identifier_pb2.PolicyIdentifier
|
|
17
|
-
bindings: _containers.RepeatedCompositeFieldContainer[PolicyBinding]
|
|
18
|
-
description: str
|
|
19
|
-
def __init__(self, id: _Optional[_Union[_identifier_pb2.PolicyIdentifier, _Mapping]] = ..., bindings: _Optional[_Iterable[_Union[PolicyBinding, _Mapping]]] = ..., description: _Optional[str] = ...) -> None: ...
|
|
20
|
-
|
|
21
|
-
class PolicyBinding(_message.Message):
|
|
22
|
-
__slots__ = ["role_id", "resource"]
|
|
23
|
-
ROLE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
-
RESOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
-
role_id: _identifier_pb2.RoleIdentifier
|
|
26
|
-
resource: _authorization_pb2.Resource
|
|
27
|
-
def __init__(self, role_id: _Optional[_Union[_identifier_pb2.RoleIdentifier, _Mapping]] = ..., resource: _Optional[_Union[_authorization_pb2.Resource, _Mapping]] = ...) -> None: ...
|
flyte/_protos/common/role_pb2.py
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: common/role.proto
|
|
4
|
-
"""Generated protocol buffer code."""
|
|
5
|
-
from google.protobuf import descriptor as _descriptor
|
|
6
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
-
from google.protobuf.internal import builder as _builder
|
|
9
|
-
# @@protoc_insertion_point(imports)
|
|
10
|
-
|
|
11
|
-
_sym_db = _symbol_database.Default()
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
from flyte._protos.common import authorization_pb2 as common_dot_authorization__pb2
|
|
15
|
-
from flyte._protos.common import identifier_pb2 as common_dot_identifier__pb2
|
|
16
|
-
from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x11\x63ommon/role.proto\x12\x0f\x63loudidl.common\x1a\x1a\x63ommon/authorization.proto\x1a\x17\x63ommon/identifier.proto\x1a\x17validate/validate.proto\"\xa7\x02\n\x04Role\x12\x39\n\x02id\x18\x01 \x01(\x0b\x32\x1f.cloudidl.common.RoleIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x02id\x12\x41\n\x0bpermissions\x18\x02 \x03(\x0b\x32\x1b.cloudidl.common.PermissionB\x02\x18\x01R\x0bpermissions\x12\x36\n\trole_spec\x18\x03 \x01(\x0b\x32\x19.cloudidl.common.RoleSpecR\x08roleSpec\x12\x36\n\trole_type\x18\x04 \x01(\x0e\x32\x19.cloudidl.common.RoleTypeR\x08roleType\x12\x31\n\x07\x61\x63tions\x18\x05 \x03(\x0e\x32\x17.cloudidl.common.ActionR\x07\x61\x63tions\",\n\x08RoleSpec\x12 \n\x0b\x64\x65scription\x18\x01 \x01(\tR\x0b\x64\x65scription*\x9a\x02\n\x08RoleType\x12\x12\n\x0eROLE_TYPE_NONE\x10\x00\x12\x13\n\x0fROLE_TYPE_ADMIN\x10\x01\x12\x19\n\x15ROLE_TYPE_CONTRIBUTOR\x10\x02\x12\x14\n\x10ROLE_TYPE_VIEWER\x10\x03\x12\x14\n\x10ROLE_TYPE_CUSTOM\x10\x04\x12\x1d\n\x19ROLE_TYPE_CLUSTER_MANAGER\x10\x05\x12!\n\x1dROLE_TYPE_FLYTE_PROJECT_ADMIN\x10\x06\x12\x1f\n\x1bROLE_TYPE_SERVERLESS_VIEWER\x10\x07\x12$\n ROLE_TYPE_SERVERLESS_CONTRIBUTOR\x10\x08\x12\x15\n\x11ROLE_TYPE_SUPPORT\x10\tB\xaa\x01\n\x13\x63om.cloudidl.commonB\tRoleProtoH\x02P\x01Z)github.com/unionai/cloud/gen/pb-go/common\xa2\x02\x03\x43\x43X\xaa\x02\x0f\x43loudidl.Common\xca\x02\x0f\x43loudidl\\Common\xe2\x02\x1b\x43loudidl\\Common\\GPBMetadata\xea\x02\x10\x43loudidl::Commonb\x06proto3')
|
|
20
|
-
|
|
21
|
-
_globals = globals()
|
|
22
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common.role_pb2', _globals)
|
|
24
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
-
DESCRIPTOR._options = None
|
|
26
|
-
DESCRIPTOR._serialized_options = b'\n\023com.cloudidl.commonB\tRoleProtoH\002P\001Z)github.com/unionai/cloud/gen/pb-go/common\242\002\003CCX\252\002\017Cloudidl.Common\312\002\017Cloudidl\\Common\342\002\033Cloudidl\\Common\\GPBMetadata\352\002\020Cloudidl::Common'
|
|
27
|
-
_ROLE.fields_by_name['id']._options = None
|
|
28
|
-
_ROLE.fields_by_name['id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
29
|
-
_ROLE.fields_by_name['permissions']._options = None
|
|
30
|
-
_ROLE.fields_by_name['permissions']._serialized_options = b'\030\001'
|
|
31
|
-
_globals['_ROLETYPE']._serialized_start=461
|
|
32
|
-
_globals['_ROLETYPE']._serialized_end=743
|
|
33
|
-
_globals['_ROLE']._serialized_start=117
|
|
34
|
-
_globals['_ROLE']._serialized_end=412
|
|
35
|
-
_globals['_ROLESPEC']._serialized_start=414
|
|
36
|
-
_globals['_ROLESPEC']._serialized_end=458
|
|
37
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
from flyte._protos.common import authorization_pb2 as _authorization_pb2
|
|
2
|
-
from flyte._protos.common import identifier_pb2 as _identifier_pb2
|
|
3
|
-
from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
|
|
4
|
-
from google.protobuf.internal import containers as _containers
|
|
5
|
-
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
6
|
-
from google.protobuf import descriptor as _descriptor
|
|
7
|
-
from google.protobuf import message as _message
|
|
8
|
-
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
9
|
-
|
|
10
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
|
-
|
|
12
|
-
class RoleType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
13
|
-
__slots__ = []
|
|
14
|
-
ROLE_TYPE_NONE: _ClassVar[RoleType]
|
|
15
|
-
ROLE_TYPE_ADMIN: _ClassVar[RoleType]
|
|
16
|
-
ROLE_TYPE_CONTRIBUTOR: _ClassVar[RoleType]
|
|
17
|
-
ROLE_TYPE_VIEWER: _ClassVar[RoleType]
|
|
18
|
-
ROLE_TYPE_CUSTOM: _ClassVar[RoleType]
|
|
19
|
-
ROLE_TYPE_CLUSTER_MANAGER: _ClassVar[RoleType]
|
|
20
|
-
ROLE_TYPE_FLYTE_PROJECT_ADMIN: _ClassVar[RoleType]
|
|
21
|
-
ROLE_TYPE_SERVERLESS_VIEWER: _ClassVar[RoleType]
|
|
22
|
-
ROLE_TYPE_SERVERLESS_CONTRIBUTOR: _ClassVar[RoleType]
|
|
23
|
-
ROLE_TYPE_SUPPORT: _ClassVar[RoleType]
|
|
24
|
-
ROLE_TYPE_NONE: RoleType
|
|
25
|
-
ROLE_TYPE_ADMIN: RoleType
|
|
26
|
-
ROLE_TYPE_CONTRIBUTOR: RoleType
|
|
27
|
-
ROLE_TYPE_VIEWER: RoleType
|
|
28
|
-
ROLE_TYPE_CUSTOM: RoleType
|
|
29
|
-
ROLE_TYPE_CLUSTER_MANAGER: RoleType
|
|
30
|
-
ROLE_TYPE_FLYTE_PROJECT_ADMIN: RoleType
|
|
31
|
-
ROLE_TYPE_SERVERLESS_VIEWER: RoleType
|
|
32
|
-
ROLE_TYPE_SERVERLESS_CONTRIBUTOR: RoleType
|
|
33
|
-
ROLE_TYPE_SUPPORT: RoleType
|
|
34
|
-
|
|
35
|
-
class Role(_message.Message):
|
|
36
|
-
__slots__ = ["id", "permissions", "role_spec", "role_type", "actions"]
|
|
37
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
-
PERMISSIONS_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
-
ROLE_SPEC_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
-
ROLE_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
-
ACTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
-
id: _identifier_pb2.RoleIdentifier
|
|
43
|
-
permissions: _containers.RepeatedCompositeFieldContainer[_authorization_pb2.Permission]
|
|
44
|
-
role_spec: RoleSpec
|
|
45
|
-
role_type: RoleType
|
|
46
|
-
actions: _containers.RepeatedScalarFieldContainer[_authorization_pb2.Action]
|
|
47
|
-
def __init__(self, id: _Optional[_Union[_identifier_pb2.RoleIdentifier, _Mapping]] = ..., permissions: _Optional[_Iterable[_Union[_authorization_pb2.Permission, _Mapping]]] = ..., role_spec: _Optional[_Union[RoleSpec, _Mapping]] = ..., role_type: _Optional[_Union[RoleType, str]] = ..., actions: _Optional[_Iterable[_Union[_authorization_pb2.Action, str]]] = ...) -> None: ...
|
|
48
|
-
|
|
49
|
-
class RoleSpec(_message.Message):
|
|
50
|
-
__slots__ = ["description"]
|
|
51
|
-
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
-
description: str
|
|
53
|
-
def __init__(self, description: _Optional[str] = ...) -> None: ...
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: common/runtime_version.proto
|
|
4
|
-
"""Generated protocol buffer code."""
|
|
5
|
-
from google.protobuf import descriptor as _descriptor
|
|
6
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
-
from google.protobuf.internal import builder as _builder
|
|
9
|
-
# @@protoc_insertion_point(imports)
|
|
10
|
-
|
|
11
|
-
_sym_db = _symbol_database.Default()
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x63ommon/runtime_version.proto\x12\x0f\x63loudidl.common\"\xbd\x01\n\x0fRuntimeMetadata\x12@\n\x04type\x18\x01 \x01(\x0e\x32,.cloudidl.common.RuntimeMetadata.RuntimeTypeR\x04type\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x16\n\x06\x66lavor\x18\x03 \x01(\tR\x06\x66lavor\"6\n\x0bRuntimeType\x12\t\n\x05OTHER\x10\x00\x12\r\n\tFLYTE_SDK\x10\x01\x12\r\n\tUNION_SDK\x10\x02\x42\xb4\x01\n\x13\x63om.cloudidl.commonB\x13RuntimeVersionProtoH\x02P\x01Z)github.com/unionai/cloud/gen/pb-go/common\xa2\x02\x03\x43\x43X\xaa\x02\x0f\x43loudidl.Common\xca\x02\x0f\x43loudidl\\Common\xe2\x02\x1b\x43loudidl\\Common\\GPBMetadata\xea\x02\x10\x43loudidl::Commonb\x06proto3')
|
|
17
|
-
|
|
18
|
-
_globals = globals()
|
|
19
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
20
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common.runtime_version_pb2', _globals)
|
|
21
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
-
DESCRIPTOR._options = None
|
|
23
|
-
DESCRIPTOR._serialized_options = b'\n\023com.cloudidl.commonB\023RuntimeVersionProtoH\002P\001Z)github.com/unionai/cloud/gen/pb-go/common\242\002\003CCX\252\002\017Cloudidl.Common\312\002\017Cloudidl\\Common\342\002\033Cloudidl\\Common\\GPBMetadata\352\002\020Cloudidl::Common'
|
|
24
|
-
_globals['_RUNTIMEMETADATA']._serialized_start=50
|
|
25
|
-
_globals['_RUNTIMEMETADATA']._serialized_end=239
|
|
26
|
-
_globals['_RUNTIMEMETADATA_RUNTIMETYPE']._serialized_start=185
|
|
27
|
-
_globals['_RUNTIMEMETADATA_RUNTIMETYPE']._serialized_end=239
|
|
28
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
2
|
-
from google.protobuf import descriptor as _descriptor
|
|
3
|
-
from google.protobuf import message as _message
|
|
4
|
-
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
5
|
-
|
|
6
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
-
|
|
8
|
-
class RuntimeMetadata(_message.Message):
|
|
9
|
-
__slots__ = ["type", "version", "flavor"]
|
|
10
|
-
class RuntimeType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
11
|
-
__slots__ = []
|
|
12
|
-
OTHER: _ClassVar[RuntimeMetadata.RuntimeType]
|
|
13
|
-
FLYTE_SDK: _ClassVar[RuntimeMetadata.RuntimeType]
|
|
14
|
-
UNION_SDK: _ClassVar[RuntimeMetadata.RuntimeType]
|
|
15
|
-
OTHER: RuntimeMetadata.RuntimeType
|
|
16
|
-
FLYTE_SDK: RuntimeMetadata.RuntimeType
|
|
17
|
-
UNION_SDK: RuntimeMetadata.RuntimeType
|
|
18
|
-
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
-
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
-
FLAVOR_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
-
type: RuntimeMetadata.RuntimeType
|
|
22
|
-
version: str
|
|
23
|
-
flavor: str
|
|
24
|
-
def __init__(self, type: _Optional[_Union[RuntimeMetadata.RuntimeType, str]] = ..., version: _Optional[str] = ..., flavor: _Optional[str] = ...) -> None: ...
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: imagebuilder/definition.proto
|
|
4
|
-
"""Generated protocol buffer code."""
|
|
5
|
-
from google.protobuf import descriptor as _descriptor
|
|
6
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
-
from google.protobuf.internal import builder as _builder
|
|
9
|
-
# @@protoc_insertion_point(imports)
|
|
10
|
-
|
|
11
|
-
_sym_db = _symbol_database.Default()
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dimagebuilder/definition.proto\x12\x15\x63loudidl.imagebuilder\x1a\x17validate/validate.proto\".\n\x0fImageIdentifier\x12\x1b\n\x04name\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x04name\"S\n\x05Image\x12\x36\n\x02id\x18\x01 \x01(\x0b\x32&.cloudidl.imagebuilder.ImageIdentifierR\x02id\x12\x12\n\x04\x66qin\x18\x02 \x01(\tR\x04\x66qin\")\n\x0b\x41ptPackages\x12\x1a\n\x08packages\x18\x01 \x03(\tR\x08packages\"\x84\x01\n\nPipOptions\x12\x1b\n\tindex_url\x18\x02 \x01(\tR\x08indexUrl\x12(\n\x10\x65xtra_index_urls\x18\x03 \x03(\tR\x0e\x65xtraIndexUrls\x12\x10\n\x03pre\x18\x04 \x01(\x08R\x03pre\x12\x1d\n\nextra_args\x18\x05 \x01(\tR\textraArgs\"f\n\x0bPipPackages\x12\x1a\n\x08packages\x18\x01 \x03(\tR\x08packages\x12;\n\x07options\x18\x02 \x01(\x0b\x32!.cloudidl.imagebuilder.PipOptionsR\x07options\"_\n\x0cRequirements\x12\x12\n\x04\x66ile\x18\x01 \x01(\tR\x04\x66ile\x12;\n\x07options\x18\x02 \x01(\x0b\x32!.cloudidl.imagebuilder.PipOptionsR\x07options\"]\n\x0cPythonWheels\x12\x10\n\x03\x64ir\x18\x01 \x01(\tR\x03\x64ir\x12;\n\x07options\x18\x02 \x01(\x0b\x32!.cloudidl.imagebuilder.PipOptionsR\x07options\"~\n\tUVProject\x12\x1c\n\tpyproject\x18\x01 \x01(\tR\tpyproject\x12\x16\n\x06uvlock\x18\x02 \x01(\tR\x06uvlock\x12;\n\x07options\x18\x03 \x01(\x0b\x32!.cloudidl.imagebuilder.PipOptionsR\x07options\"\x1c\n\x08\x43ommands\x12\x10\n\x03\x63md\x18\x02 \x03(\tR\x03\x63md\"#\n\x07WorkDir\x12\x18\n\x07workdir\x18\x01 \x01(\tR\x07workdir\"0\n\nCopyConfig\x12\x10\n\x03src\x18\x01 \x01(\tR\x03src\x12\x10\n\x03\x64st\x18\x02 \x01(\tR\x03\x64st\"\x99\x01\n\x03\x45nv\x12Q\n\renv_variables\x18\x01 \x03(\x0b\x32,.cloudidl.imagebuilder.Env.EnvVariablesEntryR\x0c\x65nvVariables\x1a?\n\x11\x45nvVariablesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xed\x04\n\x05Layer\x12G\n\x0c\x61pt_packages\x18\x01 \x01(\x0b\x32\".cloudidl.imagebuilder.AptPackagesH\x00R\x0b\x61ptPackages\x12G\n\x0cpip_packages\x18\x02 \x01(\x0b\x32\".cloudidl.imagebuilder.PipPackagesH\x00R\x0bpipPackages\x12=\n\x08\x63ommands\x18\x03 \x01(\x0b\x32\x1f.cloudidl.imagebuilder.CommandsH\x00R\x08\x63ommands\x12I\n\x0crequirements\x18\x04 \x01(\x0b\x32#.cloudidl.imagebuilder.RequirementsH\x00R\x0crequirements\x12J\n\rpython_wheels\x18\x05 \x01(\x0b\x32#.cloudidl.imagebuilder.PythonWheelsH\x00R\x0cpythonWheels\x12:\n\x07workdir\x18\x06 \x01(\x0b\x32\x1e.cloudidl.imagebuilder.WorkDirH\x00R\x07workdir\x12\x44\n\x0b\x63opy_config\x18\x07 \x01(\x0b\x32!.cloudidl.imagebuilder.CopyConfigH\x00R\ncopyConfig\x12\x41\n\nuv_project\x18\x08 \x01(\x0b\x32 .cloudidl.imagebuilder.UVProjectH\x00R\tuvProject\x12.\n\x03\x65nv\x18\t \x01(\x0b\x32\x1a.cloudidl.imagebuilder.EnvH\x00R\x03\x65nvB\x07\n\x05layer\"\xa3\x01\n\tImageSpec\x12\x1d\n\nbase_image\x18\x01 \x01(\tR\tbaseImage\x12%\n\x0epython_version\x18\x02 \x01(\tR\rpythonVersion\x12\x34\n\x06layers\x18\x03 \x03(\x0b\x32\x1c.cloudidl.imagebuilder.LayerR\x06layers\x12\x1a\n\x08platform\x18\x04 \x03(\tR\x08platformB\xd4\x01\n\x19\x63om.cloudidl.imagebuilderB\x0f\x44\x65\x66initionProtoH\x02P\x01Z/github.com/unionai/cloud/gen/pb-go/imagebuilder\xa2\x02\x03\x43IX\xaa\x02\x15\x43loudidl.Imagebuilder\xca\x02\x15\x43loudidl\\Imagebuilder\xe2\x02!Cloudidl\\Imagebuilder\\GPBMetadata\xea\x02\x16\x43loudidl::Imagebuilderb\x06proto3')
|
|
18
|
-
|
|
19
|
-
_globals = globals()
|
|
20
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'imagebuilder.definition_pb2', _globals)
|
|
22
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
-
DESCRIPTOR._options = None
|
|
24
|
-
DESCRIPTOR._serialized_options = b'\n\031com.cloudidl.imagebuilderB\017DefinitionProtoH\002P\001Z/github.com/unionai/cloud/gen/pb-go/imagebuilder\242\002\003CIX\252\002\025Cloudidl.Imagebuilder\312\002\025Cloudidl\\Imagebuilder\342\002!Cloudidl\\Imagebuilder\\GPBMetadata\352\002\026Cloudidl::Imagebuilder'
|
|
25
|
-
_IMAGEIDENTIFIER.fields_by_name['name']._options = None
|
|
26
|
-
_IMAGEIDENTIFIER.fields_by_name['name']._serialized_options = b'\372B\004r\002\020\001'
|
|
27
|
-
_ENV_ENVVARIABLESENTRY._options = None
|
|
28
|
-
_ENV_ENVVARIABLESENTRY._serialized_options = b'8\001'
|
|
29
|
-
_globals['_IMAGEIDENTIFIER']._serialized_start=81
|
|
30
|
-
_globals['_IMAGEIDENTIFIER']._serialized_end=127
|
|
31
|
-
_globals['_IMAGE']._serialized_start=129
|
|
32
|
-
_globals['_IMAGE']._serialized_end=212
|
|
33
|
-
_globals['_APTPACKAGES']._serialized_start=214
|
|
34
|
-
_globals['_APTPACKAGES']._serialized_end=255
|
|
35
|
-
_globals['_PIPOPTIONS']._serialized_start=258
|
|
36
|
-
_globals['_PIPOPTIONS']._serialized_end=390
|
|
37
|
-
_globals['_PIPPACKAGES']._serialized_start=392
|
|
38
|
-
_globals['_PIPPACKAGES']._serialized_end=494
|
|
39
|
-
_globals['_REQUIREMENTS']._serialized_start=496
|
|
40
|
-
_globals['_REQUIREMENTS']._serialized_end=591
|
|
41
|
-
_globals['_PYTHONWHEELS']._serialized_start=593
|
|
42
|
-
_globals['_PYTHONWHEELS']._serialized_end=686
|
|
43
|
-
_globals['_UVPROJECT']._serialized_start=688
|
|
44
|
-
_globals['_UVPROJECT']._serialized_end=814
|
|
45
|
-
_globals['_COMMANDS']._serialized_start=816
|
|
46
|
-
_globals['_COMMANDS']._serialized_end=844
|
|
47
|
-
_globals['_WORKDIR']._serialized_start=846
|
|
48
|
-
_globals['_WORKDIR']._serialized_end=881
|
|
49
|
-
_globals['_COPYCONFIG']._serialized_start=883
|
|
50
|
-
_globals['_COPYCONFIG']._serialized_end=931
|
|
51
|
-
_globals['_ENV']._serialized_start=934
|
|
52
|
-
_globals['_ENV']._serialized_end=1087
|
|
53
|
-
_globals['_ENV_ENVVARIABLESENTRY']._serialized_start=1024
|
|
54
|
-
_globals['_ENV_ENVVARIABLESENTRY']._serialized_end=1087
|
|
55
|
-
_globals['_LAYER']._serialized_start=1090
|
|
56
|
-
_globals['_LAYER']._serialized_end=1711
|
|
57
|
-
_globals['_IMAGESPEC']._serialized_start=1714
|
|
58
|
-
_globals['_IMAGESPEC']._serialized_end=1877
|
|
59
|
-
# @@protoc_insertion_point(module_scope)
|