flyte 2.0.0b23__py3-none-any.whl → 2.0.0b25__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.
Potentially problematic release.
This version of flyte might be problematic. Click here for more details.
- flyte/__init__.py +11 -2
- flyte/_cache/local_cache.py +4 -3
- flyte/_code_bundle/_utils.py +3 -3
- flyte/_code_bundle/bundle.py +12 -5
- flyte/_context.py +4 -1
- flyte/_custom_context.py +73 -0
- flyte/_deploy.py +31 -7
- flyte/_image.py +48 -16
- flyte/_initialize.py +69 -26
- flyte/_internal/controllers/_local_controller.py +1 -0
- flyte/_internal/controllers/_trace.py +1 -1
- flyte/_internal/controllers/remote/_action.py +9 -10
- flyte/_internal/controllers/remote/_client.py +1 -1
- flyte/_internal/controllers/remote/_controller.py +4 -2
- flyte/_internal/controllers/remote/_core.py +10 -13
- flyte/_internal/controllers/remote/_informer.py +3 -3
- flyte/_internal/controllers/remote/_service_protocol.py +7 -7
- flyte/_internal/imagebuild/docker_builder.py +45 -59
- flyte/_internal/imagebuild/remote_builder.py +51 -11
- flyte/_internal/imagebuild/utils.py +51 -3
- flyte/_internal/runtime/convert.py +39 -18
- flyte/_internal/runtime/io.py +8 -7
- flyte/_internal/runtime/resources_serde.py +20 -6
- flyte/_internal/runtime/reuse.py +1 -1
- flyte/_internal/runtime/task_serde.py +7 -10
- flyte/_internal/runtime/taskrunner.py +10 -1
- flyte/_internal/runtime/trigger_serde.py +13 -13
- flyte/_internal/runtime/types_serde.py +1 -1
- flyte/_keyring/file.py +2 -2
- flyte/_map.py +65 -13
- flyte/_pod.py +2 -2
- flyte/_resources.py +175 -31
- flyte/_run.py +37 -21
- flyte/_task.py +27 -6
- flyte/_task_environment.py +37 -10
- flyte/_utils/module_loader.py +2 -2
- flyte/_version.py +3 -3
- flyte/cli/_common.py +47 -5
- flyte/cli/_create.py +4 -0
- flyte/cli/_deploy.py +8 -0
- flyte/cli/_get.py +4 -0
- flyte/cli/_params.py +4 -4
- flyte/cli/_run.py +50 -7
- flyte/cli/_update.py +4 -3
- flyte/config/_config.py +2 -0
- flyte/config/_internal.py +1 -0
- flyte/config/_reader.py +3 -3
- flyte/errors.py +1 -1
- flyte/extend.py +4 -0
- flyte/extras/_container.py +6 -1
- flyte/git/_config.py +11 -9
- flyte/io/_dataframe/basic_dfs.py +1 -1
- flyte/io/_dataframe/dataframe.py +12 -8
- flyte/io/_dir.py +48 -15
- flyte/io/_file.py +48 -11
- flyte/models.py +12 -8
- flyte/remote/_action.py +18 -16
- flyte/remote/_client/_protocols.py +4 -3
- flyte/remote/_client/auth/_channel.py +1 -1
- flyte/remote/_client/controlplane.py +4 -8
- flyte/remote/_data.py +4 -3
- flyte/remote/_logs.py +3 -3
- flyte/remote/_run.py +5 -5
- flyte/remote/_secret.py +20 -13
- flyte/remote/_task.py +7 -8
- flyte/remote/_trigger.py +25 -27
- flyte/storage/_parallel_reader.py +274 -0
- flyte/storage/_storage.py +66 -2
- flyte/types/_interface.py +2 -2
- flyte/types/_pickle.py +1 -1
- flyte/types/_string_literals.py +8 -9
- flyte/types/_type_engine.py +25 -17
- flyte/types/_utils.py +1 -1
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/METADATA +2 -1
- flyte-2.0.0b25.dist-info/RECORD +184 -0
- flyte/_protos/__init__.py +0 -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 -117
- flyte/_protos/common/identifier_pb2.pyi +0 -142
- 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 -60
- flyte/_protos/imagebuilder/definition_pb2.pyi +0 -153
- 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/validate/validate/validate_pb2.py +0 -76
- flyte/_protos/workflow/common_pb2.py +0 -38
- flyte/_protos/workflow/common_pb2.pyi +0 -63
- 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 -117
- flyte/_protos/workflow/queue_service_pb2.pyi +0 -182
- flyte/_protos/workflow/queue_service_pb2_grpc.py +0 -206
- flyte/_protos/workflow/run_definition_pb2.py +0 -123
- flyte/_protos/workflow/run_definition_pb2.pyi +0 -354
- 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 -147
- flyte/_protos/workflow/run_service_pb2.pyi +0 -203
- flyte/_protos/workflow/run_service_pb2_grpc.py +0 -480
- 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 -86
- flyte/_protos/workflow/task_definition_pb2.pyi +0 -105
- flyte/_protos/workflow/task_definition_pb2_grpc.py +0 -4
- flyte/_protos/workflow/task_service_pb2.py +0 -61
- flyte/_protos/workflow/task_service_pb2.pyi +0 -62
- flyte/_protos/workflow/task_service_pb2_grpc.py +0 -138
- flyte/_protos/workflow/trigger_definition_pb2.py +0 -66
- flyte/_protos/workflow/trigger_definition_pb2.pyi +0 -117
- flyte/_protos/workflow/trigger_definition_pb2_grpc.py +0 -4
- flyte/_protos/workflow/trigger_service_pb2.py +0 -96
- flyte/_protos/workflow/trigger_service_pb2.pyi +0 -110
- flyte/_protos/workflow/trigger_service_pb2_grpc.py +0 -281
- flyte-2.0.0b23.dist-info/RECORD +0 -262
- {flyte-2.0.0b23.data → flyte-2.0.0b25.data}/scripts/debug.py +0 -0
- {flyte-2.0.0b23.data → flyte-2.0.0b25.data}/scripts/runtime.py +0 -0
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/WHEEL +0 -0
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/entry_points.txt +0 -0
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/licenses/LICENSE +0 -0
- {flyte-2.0.0b23.dist-info → flyte-2.0.0b25.dist-info}/top_level.txt +0 -0
|
@@ -1,60 +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 flyteidl.core import security_pb2 as flyteidl_dot_core_dot_security__pb2
|
|
15
|
-
from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dimagebuilder/definition.proto\x12\x15\x63loudidl.imagebuilder\x1a\x1c\x66lyteidl/core/security.proto\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\"e\n\x0b\x41ptPackages\x12\x1a\n\x08packages\x18\x01 \x03(\tR\x08packages\x12:\n\rsecret_mounts\x18\x02 \x03(\x0b\x32\x15.flyteidl.core.SecretR\x0csecretMounts\"\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\"\xa2\x01\n\x0bPipPackages\x12\x1a\n\x08packages\x18\x01 \x03(\tR\x08packages\x12;\n\x07options\x18\x02 \x01(\x0b\x32!.cloudidl.imagebuilder.PipOptionsR\x07options\x12:\n\rsecret_mounts\x18\x03 \x03(\x0b\x32\x15.flyteidl.core.SecretR\x0csecretMounts\"\x9b\x01\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\x12:\n\rsecret_mounts\x18\x03 \x03(\x0b\x32\x15.flyteidl.core.SecretR\x0csecretMounts\"\x99\x01\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\x12:\n\rsecret_mounts\x18\x03 \x03(\x0b\x32\x15.flyteidl.core.SecretR\x0csecretMounts\"\xba\x01\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\x12:\n\rsecret_mounts\x18\x04 \x03(\x0b\x32\x15.flyteidl.core.SecretR\x0csecretMounts\"X\n\x08\x43ommands\x12\x10\n\x03\x63md\x18\x02 \x03(\tR\x03\x63md\x12:\n\rsecret_mounts\x18\x03 \x03(\x0b\x32\x15.flyteidl.core.SecretR\x0csecretMounts\"#\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')
|
|
19
|
-
|
|
20
|
-
_globals = globals()
|
|
21
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'imagebuilder.definition_pb2', _globals)
|
|
23
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
-
DESCRIPTOR._options = None
|
|
25
|
-
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'
|
|
26
|
-
_IMAGEIDENTIFIER.fields_by_name['name']._options = None
|
|
27
|
-
_IMAGEIDENTIFIER.fields_by_name['name']._serialized_options = b'\372B\004r\002\020\001'
|
|
28
|
-
_ENV_ENVVARIABLESENTRY._options = None
|
|
29
|
-
_ENV_ENVVARIABLESENTRY._serialized_options = b'8\001'
|
|
30
|
-
_globals['_IMAGEIDENTIFIER']._serialized_start=111
|
|
31
|
-
_globals['_IMAGEIDENTIFIER']._serialized_end=157
|
|
32
|
-
_globals['_IMAGE']._serialized_start=159
|
|
33
|
-
_globals['_IMAGE']._serialized_end=242
|
|
34
|
-
_globals['_APTPACKAGES']._serialized_start=244
|
|
35
|
-
_globals['_APTPACKAGES']._serialized_end=345
|
|
36
|
-
_globals['_PIPOPTIONS']._serialized_start=348
|
|
37
|
-
_globals['_PIPOPTIONS']._serialized_end=480
|
|
38
|
-
_globals['_PIPPACKAGES']._serialized_start=483
|
|
39
|
-
_globals['_PIPPACKAGES']._serialized_end=645
|
|
40
|
-
_globals['_REQUIREMENTS']._serialized_start=648
|
|
41
|
-
_globals['_REQUIREMENTS']._serialized_end=803
|
|
42
|
-
_globals['_PYTHONWHEELS']._serialized_start=806
|
|
43
|
-
_globals['_PYTHONWHEELS']._serialized_end=959
|
|
44
|
-
_globals['_UVPROJECT']._serialized_start=962
|
|
45
|
-
_globals['_UVPROJECT']._serialized_end=1148
|
|
46
|
-
_globals['_COMMANDS']._serialized_start=1150
|
|
47
|
-
_globals['_COMMANDS']._serialized_end=1238
|
|
48
|
-
_globals['_WORKDIR']._serialized_start=1240
|
|
49
|
-
_globals['_WORKDIR']._serialized_end=1275
|
|
50
|
-
_globals['_COPYCONFIG']._serialized_start=1277
|
|
51
|
-
_globals['_COPYCONFIG']._serialized_end=1325
|
|
52
|
-
_globals['_ENV']._serialized_start=1328
|
|
53
|
-
_globals['_ENV']._serialized_end=1481
|
|
54
|
-
_globals['_ENV_ENVVARIABLESENTRY']._serialized_start=1418
|
|
55
|
-
_globals['_ENV_ENVVARIABLESENTRY']._serialized_end=1481
|
|
56
|
-
_globals['_LAYER']._serialized_start=1484
|
|
57
|
-
_globals['_LAYER']._serialized_end=2105
|
|
58
|
-
_globals['_IMAGESPEC']._serialized_start=2108
|
|
59
|
-
_globals['_IMAGESPEC']._serialized_end=2271
|
|
60
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
from flyteidl.core import security_pb2 as _security_pb2
|
|
2
|
-
from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
|
|
3
|
-
from google.protobuf.internal import containers as _containers
|
|
4
|
-
from google.protobuf import descriptor as _descriptor
|
|
5
|
-
from google.protobuf import message as _message
|
|
6
|
-
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
7
|
-
|
|
8
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
-
|
|
10
|
-
class ImageIdentifier(_message.Message):
|
|
11
|
-
__slots__ = ["name"]
|
|
12
|
-
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
-
name: str
|
|
14
|
-
def __init__(self, name: _Optional[str] = ...) -> None: ...
|
|
15
|
-
|
|
16
|
-
class Image(_message.Message):
|
|
17
|
-
__slots__ = ["id", "fqin"]
|
|
18
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
-
FQIN_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
-
id: ImageIdentifier
|
|
21
|
-
fqin: str
|
|
22
|
-
def __init__(self, id: _Optional[_Union[ImageIdentifier, _Mapping]] = ..., fqin: _Optional[str] = ...) -> None: ...
|
|
23
|
-
|
|
24
|
-
class AptPackages(_message.Message):
|
|
25
|
-
__slots__ = ["packages", "secret_mounts"]
|
|
26
|
-
PACKAGES_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
-
SECRET_MOUNTS_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
-
packages: _containers.RepeatedScalarFieldContainer[str]
|
|
29
|
-
secret_mounts: _containers.RepeatedCompositeFieldContainer[_security_pb2.Secret]
|
|
30
|
-
def __init__(self, packages: _Optional[_Iterable[str]] = ..., secret_mounts: _Optional[_Iterable[_Union[_security_pb2.Secret, _Mapping]]] = ...) -> None: ...
|
|
31
|
-
|
|
32
|
-
class PipOptions(_message.Message):
|
|
33
|
-
__slots__ = ["index_url", "extra_index_urls", "pre", "extra_args"]
|
|
34
|
-
INDEX_URL_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
-
EXTRA_INDEX_URLS_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
-
PRE_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
-
EXTRA_ARGS_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
-
index_url: str
|
|
39
|
-
extra_index_urls: _containers.RepeatedScalarFieldContainer[str]
|
|
40
|
-
pre: bool
|
|
41
|
-
extra_args: str
|
|
42
|
-
def __init__(self, index_url: _Optional[str] = ..., extra_index_urls: _Optional[_Iterable[str]] = ..., pre: bool = ..., extra_args: _Optional[str] = ...) -> None: ...
|
|
43
|
-
|
|
44
|
-
class PipPackages(_message.Message):
|
|
45
|
-
__slots__ = ["packages", "options", "secret_mounts"]
|
|
46
|
-
PACKAGES_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
-
OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
-
SECRET_MOUNTS_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
-
packages: _containers.RepeatedScalarFieldContainer[str]
|
|
50
|
-
options: PipOptions
|
|
51
|
-
secret_mounts: _containers.RepeatedCompositeFieldContainer[_security_pb2.Secret]
|
|
52
|
-
def __init__(self, packages: _Optional[_Iterable[str]] = ..., options: _Optional[_Union[PipOptions, _Mapping]] = ..., secret_mounts: _Optional[_Iterable[_Union[_security_pb2.Secret, _Mapping]]] = ...) -> None: ...
|
|
53
|
-
|
|
54
|
-
class Requirements(_message.Message):
|
|
55
|
-
__slots__ = ["file", "options", "secret_mounts"]
|
|
56
|
-
FILE_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
-
OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
-
SECRET_MOUNTS_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
-
file: str
|
|
60
|
-
options: PipOptions
|
|
61
|
-
secret_mounts: _containers.RepeatedCompositeFieldContainer[_security_pb2.Secret]
|
|
62
|
-
def __init__(self, file: _Optional[str] = ..., options: _Optional[_Union[PipOptions, _Mapping]] = ..., secret_mounts: _Optional[_Iterable[_Union[_security_pb2.Secret, _Mapping]]] = ...) -> None: ...
|
|
63
|
-
|
|
64
|
-
class PythonWheels(_message.Message):
|
|
65
|
-
__slots__ = ["dir", "options", "secret_mounts"]
|
|
66
|
-
DIR_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
-
OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
-
SECRET_MOUNTS_FIELD_NUMBER: _ClassVar[int]
|
|
69
|
-
dir: str
|
|
70
|
-
options: PipOptions
|
|
71
|
-
secret_mounts: _containers.RepeatedCompositeFieldContainer[_security_pb2.Secret]
|
|
72
|
-
def __init__(self, dir: _Optional[str] = ..., options: _Optional[_Union[PipOptions, _Mapping]] = ..., secret_mounts: _Optional[_Iterable[_Union[_security_pb2.Secret, _Mapping]]] = ...) -> None: ...
|
|
73
|
-
|
|
74
|
-
class UVProject(_message.Message):
|
|
75
|
-
__slots__ = ["pyproject", "uvlock", "options", "secret_mounts"]
|
|
76
|
-
PYPROJECT_FIELD_NUMBER: _ClassVar[int]
|
|
77
|
-
UVLOCK_FIELD_NUMBER: _ClassVar[int]
|
|
78
|
-
OPTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
-
SECRET_MOUNTS_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
-
pyproject: str
|
|
81
|
-
uvlock: str
|
|
82
|
-
options: PipOptions
|
|
83
|
-
secret_mounts: _containers.RepeatedCompositeFieldContainer[_security_pb2.Secret]
|
|
84
|
-
def __init__(self, pyproject: _Optional[str] = ..., uvlock: _Optional[str] = ..., options: _Optional[_Union[PipOptions, _Mapping]] = ..., secret_mounts: _Optional[_Iterable[_Union[_security_pb2.Secret, _Mapping]]] = ...) -> None: ...
|
|
85
|
-
|
|
86
|
-
class Commands(_message.Message):
|
|
87
|
-
__slots__ = ["cmd", "secret_mounts"]
|
|
88
|
-
CMD_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
-
SECRET_MOUNTS_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
-
cmd: _containers.RepeatedScalarFieldContainer[str]
|
|
91
|
-
secret_mounts: _containers.RepeatedCompositeFieldContainer[_security_pb2.Secret]
|
|
92
|
-
def __init__(self, cmd: _Optional[_Iterable[str]] = ..., secret_mounts: _Optional[_Iterable[_Union[_security_pb2.Secret, _Mapping]]] = ...) -> None: ...
|
|
93
|
-
|
|
94
|
-
class WorkDir(_message.Message):
|
|
95
|
-
__slots__ = ["workdir"]
|
|
96
|
-
WORKDIR_FIELD_NUMBER: _ClassVar[int]
|
|
97
|
-
workdir: str
|
|
98
|
-
def __init__(self, workdir: _Optional[str] = ...) -> None: ...
|
|
99
|
-
|
|
100
|
-
class CopyConfig(_message.Message):
|
|
101
|
-
__slots__ = ["src", "dst"]
|
|
102
|
-
SRC_FIELD_NUMBER: _ClassVar[int]
|
|
103
|
-
DST_FIELD_NUMBER: _ClassVar[int]
|
|
104
|
-
src: str
|
|
105
|
-
dst: str
|
|
106
|
-
def __init__(self, src: _Optional[str] = ..., dst: _Optional[str] = ...) -> None: ...
|
|
107
|
-
|
|
108
|
-
class Env(_message.Message):
|
|
109
|
-
__slots__ = ["env_variables"]
|
|
110
|
-
class EnvVariablesEntry(_message.Message):
|
|
111
|
-
__slots__ = ["key", "value"]
|
|
112
|
-
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
113
|
-
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
-
key: str
|
|
115
|
-
value: str
|
|
116
|
-
def __init__(self, key: _Optional[str] = ..., value: _Optional[str] = ...) -> None: ...
|
|
117
|
-
ENV_VARIABLES_FIELD_NUMBER: _ClassVar[int]
|
|
118
|
-
env_variables: _containers.ScalarMap[str, str]
|
|
119
|
-
def __init__(self, env_variables: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
|
120
|
-
|
|
121
|
-
class Layer(_message.Message):
|
|
122
|
-
__slots__ = ["apt_packages", "pip_packages", "commands", "requirements", "python_wheels", "workdir", "copy_config", "uv_project", "env"]
|
|
123
|
-
APT_PACKAGES_FIELD_NUMBER: _ClassVar[int]
|
|
124
|
-
PIP_PACKAGES_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
-
COMMANDS_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
-
REQUIREMENTS_FIELD_NUMBER: _ClassVar[int]
|
|
127
|
-
PYTHON_WHEELS_FIELD_NUMBER: _ClassVar[int]
|
|
128
|
-
WORKDIR_FIELD_NUMBER: _ClassVar[int]
|
|
129
|
-
COPY_CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
130
|
-
UV_PROJECT_FIELD_NUMBER: _ClassVar[int]
|
|
131
|
-
ENV_FIELD_NUMBER: _ClassVar[int]
|
|
132
|
-
apt_packages: AptPackages
|
|
133
|
-
pip_packages: PipPackages
|
|
134
|
-
commands: Commands
|
|
135
|
-
requirements: Requirements
|
|
136
|
-
python_wheels: PythonWheels
|
|
137
|
-
workdir: WorkDir
|
|
138
|
-
copy_config: CopyConfig
|
|
139
|
-
uv_project: UVProject
|
|
140
|
-
env: Env
|
|
141
|
-
def __init__(self, apt_packages: _Optional[_Union[AptPackages, _Mapping]] = ..., pip_packages: _Optional[_Union[PipPackages, _Mapping]] = ..., commands: _Optional[_Union[Commands, _Mapping]] = ..., requirements: _Optional[_Union[Requirements, _Mapping]] = ..., python_wheels: _Optional[_Union[PythonWheels, _Mapping]] = ..., workdir: _Optional[_Union[WorkDir, _Mapping]] = ..., copy_config: _Optional[_Union[CopyConfig, _Mapping]] = ..., uv_project: _Optional[_Union[UVProject, _Mapping]] = ..., env: _Optional[_Union[Env, _Mapping]] = ...) -> None: ...
|
|
142
|
-
|
|
143
|
-
class ImageSpec(_message.Message):
|
|
144
|
-
__slots__ = ["base_image", "python_version", "layers", "platform"]
|
|
145
|
-
BASE_IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
146
|
-
PYTHON_VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
147
|
-
LAYERS_FIELD_NUMBER: _ClassVar[int]
|
|
148
|
-
PLATFORM_FIELD_NUMBER: _ClassVar[int]
|
|
149
|
-
base_image: str
|
|
150
|
-
python_version: str
|
|
151
|
-
layers: _containers.RepeatedCompositeFieldContainer[Layer]
|
|
152
|
-
platform: _containers.RepeatedScalarFieldContainer[str]
|
|
153
|
-
def __init__(self, base_image: _Optional[str] = ..., python_version: _Optional[str] = ..., layers: _Optional[_Iterable[_Union[Layer, _Mapping]]] = ..., platform: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: imagebuilder/payload.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.imagebuilder import definition_pb2 as imagebuilder_dot_definition__pb2
|
|
15
|
-
from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1aimagebuilder/payload.proto\x12\x15\x63loudidl.imagebuilder\x1a\x1dimagebuilder/definition.proto\x1a\x17validate/validate.proto\"w\n\x0fGetImageRequest\x12@\n\x02id\x18\x01 \x01(\x0b\x32&.cloudidl.imagebuilder.ImageIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x02id\x12\"\n\x0corganization\x18\x02 \x01(\tR\x0corganization\"F\n\x10GetImageResponse\x12\x32\n\x05image\x18\x01 \x01(\x0b\x32\x1c.cloudidl.imagebuilder.ImageR\x05imageB\xd1\x01\n\x19\x63om.cloudidl.imagebuilderB\x0cPayloadProtoH\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')
|
|
19
|
-
|
|
20
|
-
_globals = globals()
|
|
21
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'imagebuilder.payload_pb2', _globals)
|
|
23
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
-
DESCRIPTOR._options = None
|
|
25
|
-
DESCRIPTOR._serialized_options = b'\n\031com.cloudidl.imagebuilderB\014PayloadProtoH\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'
|
|
26
|
-
_GETIMAGEREQUEST.fields_by_name['id']._options = None
|
|
27
|
-
_GETIMAGEREQUEST.fields_by_name['id']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
28
|
-
_globals['_GETIMAGEREQUEST']._serialized_start=109
|
|
29
|
-
_globals['_GETIMAGEREQUEST']._serialized_end=228
|
|
30
|
-
_globals['_GETIMAGERESPONSE']._serialized_start=230
|
|
31
|
-
_globals['_GETIMAGERESPONSE']._serialized_end=300
|
|
32
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
from flyte._protos.imagebuilder import definition_pb2 as _definition_pb2
|
|
2
|
-
from flyte._protos.validate.validate import validate_pb2 as _validate_pb2
|
|
3
|
-
from google.protobuf import descriptor as _descriptor
|
|
4
|
-
from google.protobuf import message as _message
|
|
5
|
-
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
6
|
-
|
|
7
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
-
|
|
9
|
-
class GetImageRequest(_message.Message):
|
|
10
|
-
__slots__ = ["id", "organization"]
|
|
11
|
-
ID_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
-
ORGANIZATION_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
-
id: _definition_pb2.ImageIdentifier
|
|
14
|
-
organization: str
|
|
15
|
-
def __init__(self, id: _Optional[_Union[_definition_pb2.ImageIdentifier, _Mapping]] = ..., organization: _Optional[str] = ...) -> None: ...
|
|
16
|
-
|
|
17
|
-
class GetImageResponse(_message.Message):
|
|
18
|
-
__slots__ = ["image"]
|
|
19
|
-
IMAGE_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
-
image: _definition_pb2.Image
|
|
21
|
-
def __init__(self, image: _Optional[_Union[_definition_pb2.Image, _Mapping]] = ...) -> None: ...
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: imagebuilder/service.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.imagebuilder import payload_pb2 as imagebuilder_dot_payload__pb2
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1aimagebuilder/service.proto\x12\x15\x63loudidl.imagebuilder\x1a\x1aimagebuilder/payload.proto2p\n\x0cImageService\x12`\n\x08GetImage\x12&.cloudidl.imagebuilder.GetImageRequest\x1a\'.cloudidl.imagebuilder.GetImageResponse\"\x03\x90\x02\x01\x42\xd1\x01\n\x19\x63om.cloudidl.imagebuilderB\x0cServiceProtoH\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.service_pb2', _globals)
|
|
22
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
-
DESCRIPTOR._options = None
|
|
24
|
-
DESCRIPTOR._serialized_options = b'\n\031com.cloudidl.imagebuilderB\014ServiceProtoH\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
|
-
_IMAGESERVICE.methods_by_name['GetImage']._options = None
|
|
26
|
-
_IMAGESERVICE.methods_by_name['GetImage']._serialized_options = b'\220\002\001'
|
|
27
|
-
_globals['_IMAGESERVICE']._serialized_start=81
|
|
28
|
-
_globals['_IMAGESERVICE']._serialized_end=193
|
|
29
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
-
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
-
import grpc
|
|
4
|
-
|
|
5
|
-
from flyte._protos.imagebuilder import payload_pb2 as imagebuilder_dot_payload__pb2
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class ImageServiceStub(object):
|
|
9
|
-
"""Missing associated documentation comment in .proto file."""
|
|
10
|
-
|
|
11
|
-
def __init__(self, channel):
|
|
12
|
-
"""Constructor.
|
|
13
|
-
|
|
14
|
-
Args:
|
|
15
|
-
channel: A grpc.Channel.
|
|
16
|
-
"""
|
|
17
|
-
self.GetImage = channel.unary_unary(
|
|
18
|
-
'/cloudidl.imagebuilder.ImageService/GetImage',
|
|
19
|
-
request_serializer=imagebuilder_dot_payload__pb2.GetImageRequest.SerializeToString,
|
|
20
|
-
response_deserializer=imagebuilder_dot_payload__pb2.GetImageResponse.FromString,
|
|
21
|
-
)
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
class ImageServiceServicer(object):
|
|
25
|
-
"""Missing associated documentation comment in .proto file."""
|
|
26
|
-
|
|
27
|
-
def GetImage(self, request, context):
|
|
28
|
-
"""Missing associated documentation comment in .proto file."""
|
|
29
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
30
|
-
context.set_details('Method not implemented!')
|
|
31
|
-
raise NotImplementedError('Method not implemented!')
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
def add_ImageServiceServicer_to_server(servicer, server):
|
|
35
|
-
rpc_method_handlers = {
|
|
36
|
-
'GetImage': grpc.unary_unary_rpc_method_handler(
|
|
37
|
-
servicer.GetImage,
|
|
38
|
-
request_deserializer=imagebuilder_dot_payload__pb2.GetImageRequest.FromString,
|
|
39
|
-
response_serializer=imagebuilder_dot_payload__pb2.GetImageResponse.SerializeToString,
|
|
40
|
-
),
|
|
41
|
-
}
|
|
42
|
-
generic_handler = grpc.method_handlers_generic_handler(
|
|
43
|
-
'cloudidl.imagebuilder.ImageService', rpc_method_handlers)
|
|
44
|
-
server.add_generic_rpc_handlers((generic_handler,))
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
# This class is part of an EXPERIMENTAL API.
|
|
48
|
-
class ImageService(object):
|
|
49
|
-
"""Missing associated documentation comment in .proto file."""
|
|
50
|
-
|
|
51
|
-
@staticmethod
|
|
52
|
-
def GetImage(request,
|
|
53
|
-
target,
|
|
54
|
-
options=(),
|
|
55
|
-
channel_credentials=None,
|
|
56
|
-
call_credentials=None,
|
|
57
|
-
insecure=False,
|
|
58
|
-
compression=None,
|
|
59
|
-
wait_for_ready=None,
|
|
60
|
-
timeout=None,
|
|
61
|
-
metadata=None):
|
|
62
|
-
return grpc.experimental.unary_unary(request, target, '/cloudidl.imagebuilder.ImageService/GetImage',
|
|
63
|
-
imagebuilder_dot_payload__pb2.GetImageRequest.SerializeToString,
|
|
64
|
-
imagebuilder_dot_payload__pb2.GetImageResponse.FromString,
|
|
65
|
-
options, channel_credentials,
|
|
66
|
-
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# source: logs/dataplane/payload.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 google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
-
from flyte._protos.validate.validate import validate_pb2 as validate_dot_validate__pb2
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1clogs/dataplane/payload.proto\x12\x17\x63loudidl.logs.dataplane\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17validate/validate.proto\"o\n\x0bPodResource\x12%\n\tnamespace\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\tnamespace\x12\x1b\n\x04name\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x04name\x12\x1c\n\tcontainer\x18\x03 \x01(\tR\tcontainer\"\xda\x01\n\x1cTailTaskExecutionLogsRequest\x12Z\n\x0flogging_context\x18\x01 \x01(\x0b\x32\'.cloudidl.logs.dataplane.LoggingContextB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\x0eloggingContext\x12;\n\x06source\x18\x03 \x01(\x0e\x32#.cloudidl.logs.dataplane.LogsSourceR\x06source\x12\x1b\n\tno_follow\x18\x04 \x01(\x08R\x08noFollowJ\x04\x08\x02\x10\x03\"\xeb\x01\n\x1dTailTaskExecutionLogsResponse\x12Q\n\x04logs\x18\x01 \x01(\x0b\x32;.cloudidl.logs.dataplane.TailTaskExecutionLogsResponse.LogsH\x00R\x04logs\x1am\n\x04Logs\x12\x18\n\x05lines\x18\x01 \x03(\tB\x02\x18\x01R\x05lines\x12K\n\x10structured_lines\x18\x02 \x03(\x0b\x32 .cloudidl.logs.dataplane.LogLineR\x0fstructuredLinesB\x08\n\x06result\"\xf6\x04\n\x0eLoggingContext\x12*\n\x0c\x63luster_name\x18\x03 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x0b\x63lusterName\x12:\n\x14kubernetes_namespace\x18\x04 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x13kubernetesNamespace\x12\x37\n\x13kubernetes_pod_name\x18\x05 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x11kubernetesPodName\x12\x43\n\x19kubernetes_container_name\x18\x06 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x17kubernetesContainerName\x12[\n\x1c\x65xecution_attempt_start_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x19\x65xecutionAttemptStartTime\x12W\n\x1a\x65xecution_attempt_end_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x17\x65xecutionAttemptEndTime\x12t\n\x15kubernetes_pod_labels\x18\t \x03(\x0b\x32@.cloudidl.logs.dataplane.LoggingContext.KubernetesPodLabelsEntryR\x13kubernetesPodLabels\x1a\x46\n\x18KubernetesPodLabelsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\"\xf2\x01\n\x13\x43ontainerIdentifier\x12*\n\x0c\x63luster_name\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x0b\x63lusterName\x12:\n\x14kubernetes_namespace\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x13kubernetesNamespace\x12\x37\n\x13kubernetes_pod_name\x18\x03 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x11kubernetesPodName\x12:\n\x19kubernetes_container_name\x18\x04 \x01(\tR\x17kubernetesContainerName\"\xb7\x02\n\x11\x43ontainerSelector\x12*\n\x0c\x63luster_name\x18\x01 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x0b\x63lusterName\x12:\n\x14kubernetes_namespace\x18\x02 \x01(\tB\x07\xfa\x42\x04r\x02\x10\x01R\x13kubernetesNamespace\x12;\n\x1akubernetes_pod_name_prefix\x18\x03 \x01(\tR\x17kubernetesPodNamePrefix\x12:\n\x19kubernetes_container_name\x18\x04 \x01(\tR\x17kubernetesContainerName\x12\x41\n\x1dkubernetes_pod_label_selector\x18\x05 \x01(\tR\x1akubernetesPodLabelSelector\"^\n\x0fLiveLogsOptions\x12$\n\x0elog_pod_status\x18\x01 \x01(\x08R\x0clogPodStatus\x12%\n\x0elog_timestamps\x18\x02 \x01(\x08R\rlogTimestamps\"\xd5\x03\n\x0fTailLogsRequest\x12L\n\tcontainer\x18\x01 \x01(\x0b\x32,.cloudidl.logs.dataplane.ContainerIdentifierH\x00R\tcontainer\x12[\n\x12\x63ontainer_selector\x18\x02 \x01(\x0b\x32*.cloudidl.logs.dataplane.ContainerSelectorH\x00R\x11\x63ontainerSelector\x12\x43\n\nstart_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x08\xfa\x42\x05\xb2\x01\x02\x08\x01R\tstartTime\x12\x35\n\x08\x65nd_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65ndTime\x12;\n\x06source\x18\x05 \x01(\x0e\x32#.cloudidl.logs.dataplane.LogsSourceR\x06source\x12T\n\x11live_logs_options\x18\x06 \x01(\x0b\x32(.cloudidl.logs.dataplane.LiveLogsOptionsR\x0fliveLogsOptionsB\x08\n\x06target\"\xa9\x01\n\x07LogLine\x12\x38\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12\x18\n\x07message\x18\x02 \x01(\tR\x07message\x12J\n\noriginator\x18\x03 \x01(\x0e\x32*.cloudidl.logs.dataplane.LogLineOriginatorR\noriginator\"\xf0\x01\n\x08LogLines\x12\x18\n\x05lines\x18\x01 \x03(\tB\x02\x18\x01R\x05lines\x12\'\n\x0f\x63ontainer_index\x18\x02 \x01(\rR\x0e\x63ontainerIndex\x12T\n\tcontainer\x18\x03 \x01(\x0b\x32,.cloudidl.logs.dataplane.ContainerIdentifierB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01R\tcontainer\x12K\n\x10structured_lines\x18\x04 \x03(\x0b\x32 .cloudidl.logs.dataplane.LogLineR\x0fstructuredLines\"a\n\x11LogContainersList\x12L\n\ncontainers\x18\x01 \x03(\x0b\x32,.cloudidl.logs.dataplane.ContainerIdentifierR\ncontainers\"F\n\rLogLinesBatch\x12\x35\n\x04logs\x18\x01 \x03(\x0b\x32!.cloudidl.logs.dataplane.LogLinesR\x04logs\"\xd9\x01\n\x10TailLogsResponse\x12V\n\ncontainers\x18\x01 \x01(\x0b\x32*.cloudidl.logs.dataplane.LogContainersListB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\ncontainers\x12Z\n\x0flog_lines_batch\x18\x03 \x01(\x0b\x32&.cloudidl.logs.dataplane.LogLinesBatchB\x08\xfa\x42\x05\x8a\x01\x02\x10\x01H\x00R\rlogLinesBatchB\x0b\n\x04resp\x12\x03\xf8\x42\x01J\x04\x08\x02\x10\x03*6\n\x11LogLineOriginator\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x08\n\x04USER\x10\x01\x12\n\n\x06SYSTEM\x10\x02*F\n\nLogsSource\x12\x15\n\x11LIVE_OR_PERSISTED\x10\x00\x12\r\n\tLIVE_ONLY\x10\x01\x12\x12\n\x0ePERSISTED_ONLY\x10\x02\x42\xde\x01\n\x1b\x63om.cloudidl.logs.dataplaneB\x0cPayloadProtoH\x02P\x01Z1github.com/unionai/cloud/gen/pb-go/logs/dataplane\xa2\x02\x03\x43LD\xaa\x02\x17\x43loudidl.Logs.Dataplane\xca\x02\x17\x43loudidl\\Logs\\Dataplane\xe2\x02#Cloudidl\\Logs\\Dataplane\\GPBMetadata\xea\x02\x19\x43loudidl::Logs::Dataplaneb\x06proto3')
|
|
19
|
-
|
|
20
|
-
_globals = globals()
|
|
21
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'logs.dataplane.payload_pb2', _globals)
|
|
23
|
-
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
-
DESCRIPTOR._options = None
|
|
25
|
-
DESCRIPTOR._serialized_options = b'\n\033com.cloudidl.logs.dataplaneB\014PayloadProtoH\002P\001Z1github.com/unionai/cloud/gen/pb-go/logs/dataplane\242\002\003CLD\252\002\027Cloudidl.Logs.Dataplane\312\002\027Cloudidl\\Logs\\Dataplane\342\002#Cloudidl\\Logs\\Dataplane\\GPBMetadata\352\002\031Cloudidl::Logs::Dataplane'
|
|
26
|
-
_PODRESOURCE.fields_by_name['namespace']._options = None
|
|
27
|
-
_PODRESOURCE.fields_by_name['namespace']._serialized_options = b'\372B\004r\002\020\001'
|
|
28
|
-
_PODRESOURCE.fields_by_name['name']._options = None
|
|
29
|
-
_PODRESOURCE.fields_by_name['name']._serialized_options = b'\372B\004r\002\020\001'
|
|
30
|
-
_TAILTASKEXECUTIONLOGSREQUEST.fields_by_name['logging_context']._options = None
|
|
31
|
-
_TAILTASKEXECUTIONLOGSREQUEST.fields_by_name['logging_context']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
32
|
-
_TAILTASKEXECUTIONLOGSRESPONSE_LOGS.fields_by_name['lines']._options = None
|
|
33
|
-
_TAILTASKEXECUTIONLOGSRESPONSE_LOGS.fields_by_name['lines']._serialized_options = b'\030\001'
|
|
34
|
-
_LOGGINGCONTEXT_KUBERNETESPODLABELSENTRY._options = None
|
|
35
|
-
_LOGGINGCONTEXT_KUBERNETESPODLABELSENTRY._serialized_options = b'8\001'
|
|
36
|
-
_LOGGINGCONTEXT.fields_by_name['cluster_name']._options = None
|
|
37
|
-
_LOGGINGCONTEXT.fields_by_name['cluster_name']._serialized_options = b'\372B\004r\002\020\001'
|
|
38
|
-
_LOGGINGCONTEXT.fields_by_name['kubernetes_namespace']._options = None
|
|
39
|
-
_LOGGINGCONTEXT.fields_by_name['kubernetes_namespace']._serialized_options = b'\372B\004r\002\020\001'
|
|
40
|
-
_LOGGINGCONTEXT.fields_by_name['kubernetes_pod_name']._options = None
|
|
41
|
-
_LOGGINGCONTEXT.fields_by_name['kubernetes_pod_name']._serialized_options = b'\372B\004r\002\020\001'
|
|
42
|
-
_LOGGINGCONTEXT.fields_by_name['kubernetes_container_name']._options = None
|
|
43
|
-
_LOGGINGCONTEXT.fields_by_name['kubernetes_container_name']._serialized_options = b'\372B\004r\002\020\001'
|
|
44
|
-
_CONTAINERIDENTIFIER.fields_by_name['cluster_name']._options = None
|
|
45
|
-
_CONTAINERIDENTIFIER.fields_by_name['cluster_name']._serialized_options = b'\372B\004r\002\020\001'
|
|
46
|
-
_CONTAINERIDENTIFIER.fields_by_name['kubernetes_namespace']._options = None
|
|
47
|
-
_CONTAINERIDENTIFIER.fields_by_name['kubernetes_namespace']._serialized_options = b'\372B\004r\002\020\001'
|
|
48
|
-
_CONTAINERIDENTIFIER.fields_by_name['kubernetes_pod_name']._options = None
|
|
49
|
-
_CONTAINERIDENTIFIER.fields_by_name['kubernetes_pod_name']._serialized_options = b'\372B\004r\002\020\001'
|
|
50
|
-
_CONTAINERSELECTOR.fields_by_name['cluster_name']._options = None
|
|
51
|
-
_CONTAINERSELECTOR.fields_by_name['cluster_name']._serialized_options = b'\372B\004r\002\020\001'
|
|
52
|
-
_CONTAINERSELECTOR.fields_by_name['kubernetes_namespace']._options = None
|
|
53
|
-
_CONTAINERSELECTOR.fields_by_name['kubernetes_namespace']._serialized_options = b'\372B\004r\002\020\001'
|
|
54
|
-
_TAILLOGSREQUEST.fields_by_name['start_time']._options = None
|
|
55
|
-
_TAILLOGSREQUEST.fields_by_name['start_time']._serialized_options = b'\372B\005\262\001\002\010\001'
|
|
56
|
-
_LOGLINES.fields_by_name['lines']._options = None
|
|
57
|
-
_LOGLINES.fields_by_name['lines']._serialized_options = b'\030\001'
|
|
58
|
-
_LOGLINES.fields_by_name['container']._options = None
|
|
59
|
-
_LOGLINES.fields_by_name['container']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
60
|
-
_TAILLOGSRESPONSE.oneofs_by_name['resp']._options = None
|
|
61
|
-
_TAILLOGSRESPONSE.oneofs_by_name['resp']._serialized_options = b'\370B\001'
|
|
62
|
-
_TAILLOGSRESPONSE.fields_by_name['containers']._options = None
|
|
63
|
-
_TAILLOGSRESPONSE.fields_by_name['containers']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
64
|
-
_TAILLOGSRESPONSE.fields_by_name['log_lines_batch']._options = None
|
|
65
|
-
_TAILLOGSRESPONSE.fields_by_name['log_lines_batch']._serialized_options = b'\372B\005\212\001\002\020\001'
|
|
66
|
-
_globals['_LOGLINEORIGINATOR']._serialized_start=3253
|
|
67
|
-
_globals['_LOGLINEORIGINATOR']._serialized_end=3307
|
|
68
|
-
_globals['_LOGSSOURCE']._serialized_start=3309
|
|
69
|
-
_globals['_LOGSSOURCE']._serialized_end=3379
|
|
70
|
-
_globals['_PODRESOURCE']._serialized_start=115
|
|
71
|
-
_globals['_PODRESOURCE']._serialized_end=226
|
|
72
|
-
_globals['_TAILTASKEXECUTIONLOGSREQUEST']._serialized_start=229
|
|
73
|
-
_globals['_TAILTASKEXECUTIONLOGSREQUEST']._serialized_end=447
|
|
74
|
-
_globals['_TAILTASKEXECUTIONLOGSRESPONSE']._serialized_start=450
|
|
75
|
-
_globals['_TAILTASKEXECUTIONLOGSRESPONSE']._serialized_end=685
|
|
76
|
-
_globals['_TAILTASKEXECUTIONLOGSRESPONSE_LOGS']._serialized_start=566
|
|
77
|
-
_globals['_TAILTASKEXECUTIONLOGSRESPONSE_LOGS']._serialized_end=675
|
|
78
|
-
_globals['_LOGGINGCONTEXT']._serialized_start=688
|
|
79
|
-
_globals['_LOGGINGCONTEXT']._serialized_end=1318
|
|
80
|
-
_globals['_LOGGINGCONTEXT_KUBERNETESPODLABELSENTRY']._serialized_start=1236
|
|
81
|
-
_globals['_LOGGINGCONTEXT_KUBERNETESPODLABELSENTRY']._serialized_end=1306
|
|
82
|
-
_globals['_CONTAINERIDENTIFIER']._serialized_start=1321
|
|
83
|
-
_globals['_CONTAINERIDENTIFIER']._serialized_end=1563
|
|
84
|
-
_globals['_CONTAINERSELECTOR']._serialized_start=1566
|
|
85
|
-
_globals['_CONTAINERSELECTOR']._serialized_end=1877
|
|
86
|
-
_globals['_LIVELOGSOPTIONS']._serialized_start=1879
|
|
87
|
-
_globals['_LIVELOGSOPTIONS']._serialized_end=1973
|
|
88
|
-
_globals['_TAILLOGSREQUEST']._serialized_start=1976
|
|
89
|
-
_globals['_TAILLOGSREQUEST']._serialized_end=2445
|
|
90
|
-
_globals['_LOGLINE']._serialized_start=2448
|
|
91
|
-
_globals['_LOGLINE']._serialized_end=2617
|
|
92
|
-
_globals['_LOGLINES']._serialized_start=2620
|
|
93
|
-
_globals['_LOGLINES']._serialized_end=2860
|
|
94
|
-
_globals['_LOGCONTAINERSLIST']._serialized_start=2862
|
|
95
|
-
_globals['_LOGCONTAINERSLIST']._serialized_end=2959
|
|
96
|
-
_globals['_LOGLINESBATCH']._serialized_start=2961
|
|
97
|
-
_globals['_LOGLINESBATCH']._serialized_end=3031
|
|
98
|
-
_globals['_TAILLOGSRESPONSE']._serialized_start=3034
|
|
99
|
-
_globals['_TAILLOGSRESPONSE']._serialized_end=3251
|
|
100
|
-
# @@protoc_insertion_point(module_scope)
|