- Add edge connector module (edge.go, edge_registry.go, edge_server.go) - Add edge server tests (edge_server_test.go, edge_test.go) - Update control.proto with edge-related messages and RPCs - Generate proto files for Go, Dart - Update control-plane Dockerfile and configuration - Add client-side proto bindings - Update roadmap and milestones for control-plane-edge-wire-baseline - Add agent-task documentation for edge connector and local smoke tests - Update docker-compose.yml for edge support
210 lines
7.4 KiB
Dart
210 lines
7.4 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from proto/iop/control.proto.
|
|
|
|
// @dart = 3.3
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// ignore_for_file: constant_identifier_names
|
|
// ignore_for_file: curly_braces_in_flow_control_structures
|
|
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
|
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports
|
|
// ignore_for_file: unused_import
|
|
|
|
import 'dart:convert' as $convert;
|
|
import 'dart:core' as $core;
|
|
import 'dart:typed_data' as $typed_data;
|
|
|
|
@$core.Deprecated('Use policyRuleDescriptor instead')
|
|
const PolicyRule$json = {
|
|
'1': 'PolicyRule',
|
|
'2': [
|
|
{'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
|
|
{'1': 'expression', '3': 2, '4': 1, '5': 9, '10': 'expression'},
|
|
{
|
|
'1': 'params',
|
|
'3': 3,
|
|
'4': 3,
|
|
'5': 11,
|
|
'6': '.iop.PolicyRule.ParamsEntry',
|
|
'10': 'params'
|
|
},
|
|
],
|
|
'3': [PolicyRule_ParamsEntry$json],
|
|
};
|
|
|
|
@$core.Deprecated('Use policyRuleDescriptor instead')
|
|
const PolicyRule_ParamsEntry$json = {
|
|
'1': 'ParamsEntry',
|
|
'2': [
|
|
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
|
|
{'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'},
|
|
],
|
|
'7': {'7': true},
|
|
};
|
|
|
|
/// Descriptor for `PolicyRule`. Decode as a `google.protobuf.DescriptorProto`.
|
|
final $typed_data.Uint8List policyRuleDescriptor = $convert.base64Decode(
|
|
'CgpQb2xpY3lSdWxlEhIKBG5hbWUYASABKAlSBG5hbWUSHgoKZXhwcmVzc2lvbhgCIAEoCVIKZX'
|
|
'hwcmVzc2lvbhIzCgZwYXJhbXMYAyADKAsyGy5pb3AuUG9saWN5UnVsZS5QYXJhbXNFbnRyeVIG'
|
|
'cGFyYW1zGjkKC1BhcmFtc0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EhQKBXZhbHVlGAIgASgJUg'
|
|
'V2YWx1ZToCOAE=');
|
|
|
|
@$core.Deprecated('Use scheduleRequestDescriptor instead')
|
|
const ScheduleRequest$json = {
|
|
'1': 'ScheduleRequest',
|
|
'2': [
|
|
{'1': 'job_id', '3': 1, '4': 1, '5': 9, '10': 'jobId'},
|
|
{'1': 'target', '3': 2, '4': 1, '5': 9, '10': 'target'},
|
|
{
|
|
'1': 'policies',
|
|
'3': 3,
|
|
'4': 3,
|
|
'5': 11,
|
|
'6': '.iop.PolicyRule',
|
|
'10': 'policies'
|
|
},
|
|
{
|
|
'1': 'metadata',
|
|
'3': 4,
|
|
'4': 3,
|
|
'5': 11,
|
|
'6': '.iop.ScheduleRequest.MetadataEntry',
|
|
'10': 'metadata'
|
|
},
|
|
],
|
|
'3': [ScheduleRequest_MetadataEntry$json],
|
|
};
|
|
|
|
@$core.Deprecated('Use scheduleRequestDescriptor instead')
|
|
const ScheduleRequest_MetadataEntry$json = {
|
|
'1': 'MetadataEntry',
|
|
'2': [
|
|
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
|
|
{'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'},
|
|
],
|
|
'7': {'7': true},
|
|
};
|
|
|
|
/// Descriptor for `ScheduleRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
|
final $typed_data.Uint8List scheduleRequestDescriptor = $convert.base64Decode(
|
|
'Cg9TY2hlZHVsZVJlcXVlc3QSFQoGam9iX2lkGAEgASgJUgVqb2JJZBIWCgZ0YXJnZXQYAiABKA'
|
|
'lSBnRhcmdldBIrCghwb2xpY2llcxgDIAMoCzIPLmlvcC5Qb2xpY3lSdWxlUghwb2xpY2llcxI+'
|
|
'CghtZXRhZGF0YRgEIAMoCzIiLmlvcC5TY2hlZHVsZVJlcXVlc3QuTWV0YWRhdGFFbnRyeVIIbW'
|
|
'V0YWRhdGEaOwoNTWV0YWRhdGFFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEo'
|
|
'CVIFdmFsdWU6AjgB');
|
|
|
|
@$core.Deprecated('Use scheduleResponseDescriptor instead')
|
|
const ScheduleResponse$json = {
|
|
'1': 'ScheduleResponse',
|
|
'2': [
|
|
{'1': 'node_id', '3': 1, '4': 1, '5': 9, '10': 'nodeId'},
|
|
{'1': 'address', '3': 2, '4': 1, '5': 9, '10': 'address'},
|
|
{'1': 'token', '3': 3, '4': 1, '5': 9, '10': 'token'},
|
|
],
|
|
};
|
|
|
|
/// Descriptor for `ScheduleResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
|
final $typed_data.Uint8List scheduleResponseDescriptor = $convert.base64Decode(
|
|
'ChBTY2hlZHVsZVJlc3BvbnNlEhcKB25vZGVfaWQYASABKAlSBm5vZGVJZBIYCgdhZGRyZXNzGA'
|
|
'IgASgJUgdhZGRyZXNzEhQKBXRva2VuGAMgASgJUgV0b2tlbg==');
|
|
|
|
@$core.Deprecated('Use clientHelloRequestDescriptor instead')
|
|
const ClientHelloRequest$json = {
|
|
'1': 'ClientHelloRequest',
|
|
'2': [
|
|
{'1': 'client_id', '3': 1, '4': 1, '5': 9, '10': 'clientId'},
|
|
{'1': 'client_version', '3': 2, '4': 1, '5': 9, '10': 'clientVersion'},
|
|
],
|
|
};
|
|
|
|
/// Descriptor for `ClientHelloRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
|
final $typed_data.Uint8List clientHelloRequestDescriptor = $convert.base64Decode(
|
|
'ChJDbGllbnRIZWxsb1JlcXVlc3QSGwoJY2xpZW50X2lkGAEgASgJUghjbGllbnRJZBIlCg5jbG'
|
|
'llbnRfdmVyc2lvbhgCIAEoCVINY2xpZW50VmVyc2lvbg==');
|
|
|
|
@$core.Deprecated('Use clientHelloResponseDescriptor instead')
|
|
const ClientHelloResponse$json = {
|
|
'1': 'ClientHelloResponse',
|
|
'2': [
|
|
{'1': 'ready', '3': 1, '4': 1, '5': 8, '10': 'ready'},
|
|
{'1': 'protocol', '3': 2, '4': 1, '5': 9, '10': 'protocol'},
|
|
{
|
|
'1': 'server_time_unix_nano',
|
|
'3': 3,
|
|
'4': 1,
|
|
'5': 3,
|
|
'10': 'serverTimeUnixNano'
|
|
},
|
|
{'1': 'message', '3': 4, '4': 1, '5': 9, '10': 'message'},
|
|
],
|
|
};
|
|
|
|
/// Descriptor for `ClientHelloResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
|
final $typed_data.Uint8List clientHelloResponseDescriptor = $convert.base64Decode(
|
|
'ChNDbGllbnRIZWxsb1Jlc3BvbnNlEhQKBXJlYWR5GAEgASgIUgVyZWFkeRIaCghwcm90b2NvbB'
|
|
'gCIAEoCVIIcHJvdG9jb2wSMQoVc2VydmVyX3RpbWVfdW5peF9uYW5vGAMgASgDUhJzZXJ2ZXJU'
|
|
'aW1lVW5peE5hbm8SGAoHbWVzc2FnZRgEIAEoCVIHbWVzc2FnZQ==');
|
|
|
|
@$core.Deprecated('Use edgeHelloRequestDescriptor instead')
|
|
const EdgeHelloRequest$json = {
|
|
'1': 'EdgeHelloRequest',
|
|
'2': [
|
|
{'1': 'edge_id', '3': 1, '4': 1, '5': 9, '10': 'edgeId'},
|
|
{'1': 'edge_name', '3': 2, '4': 1, '5': 9, '10': 'edgeName'},
|
|
{'1': 'version', '3': 3, '4': 1, '5': 9, '10': 'version'},
|
|
{'1': 'capabilities', '3': 4, '4': 3, '5': 9, '10': 'capabilities'},
|
|
{
|
|
'1': 'metadata',
|
|
'3': 5,
|
|
'4': 3,
|
|
'5': 11,
|
|
'6': '.iop.EdgeHelloRequest.MetadataEntry',
|
|
'10': 'metadata'
|
|
},
|
|
],
|
|
'3': [EdgeHelloRequest_MetadataEntry$json],
|
|
};
|
|
|
|
@$core.Deprecated('Use edgeHelloRequestDescriptor instead')
|
|
const EdgeHelloRequest_MetadataEntry$json = {
|
|
'1': 'MetadataEntry',
|
|
'2': [
|
|
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
|
|
{'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'},
|
|
],
|
|
'7': {'7': true},
|
|
};
|
|
|
|
/// Descriptor for `EdgeHelloRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
|
final $typed_data.Uint8List edgeHelloRequestDescriptor = $convert.base64Decode(
|
|
'ChBFZGdlSGVsbG9SZXF1ZXN0EhcKB2VkZ2VfaWQYASABKAlSBmVkZ2VJZBIbCgllZGdlX25hbW'
|
|
'UYAiABKAlSCGVkZ2VOYW1lEhgKB3ZlcnNpb24YAyABKAlSB3ZlcnNpb24SIgoMY2FwYWJpbGl0'
|
|
'aWVzGAQgAygJUgxjYXBhYmlsaXRpZXMSPwoIbWV0YWRhdGEYBSADKAsyIy5pb3AuRWRnZUhlbG'
|
|
'xvUmVxdWVzdC5NZXRhZGF0YUVudHJ5UghtZXRhZGF0YRo7Cg1NZXRhZGF0YUVudHJ5EhAKA2tl'
|
|
'eRgBIAEoCVIDa2V5EhQKBXZhbHVlGAIgASgJUgV2YWx1ZToCOAE=');
|
|
|
|
@$core.Deprecated('Use edgeHelloResponseDescriptor instead')
|
|
const EdgeHelloResponse$json = {
|
|
'1': 'EdgeHelloResponse',
|
|
'2': [
|
|
{'1': 'accepted', '3': 1, '4': 1, '5': 8, '10': 'accepted'},
|
|
{'1': 'protocol', '3': 2, '4': 1, '5': 9, '10': 'protocol'},
|
|
{
|
|
'1': 'server_time_unix_nano',
|
|
'3': 3,
|
|
'4': 1,
|
|
'5': 3,
|
|
'10': 'serverTimeUnixNano'
|
|
},
|
|
{'1': 'message', '3': 4, '4': 1, '5': 9, '10': 'message'},
|
|
{'1': 'reason', '3': 5, '4': 1, '5': 9, '10': 'reason'},
|
|
],
|
|
};
|
|
|
|
/// Descriptor for `EdgeHelloResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
|
final $typed_data.Uint8List edgeHelloResponseDescriptor = $convert.base64Decode(
|
|
'ChFFZGdlSGVsbG9SZXNwb25zZRIaCghhY2NlcHRlZBgBIAEoCFIIYWNjZXB0ZWQSGgoIcHJvdG'
|
|
'9jb2wYAiABKAlSCHByb3RvY29sEjEKFXNlcnZlcl90aW1lX3VuaXhfbmFubxgDIAEoA1ISc2Vy'
|
|
'dmVyVGltZVVuaXhOYW5vEhgKB21lc3NhZ2UYBCABKAlSB21lc3NhZ2USFgoGcmVhc29uGAUgAS'
|
|
'gJUgZyZWFzb24=');
|