%% -*- coding: utf-8 -*- %% Automatically generated, do not edit %% Generated by gpb_compile version 4.21.7 -ifndef(message_pb). -define(message_pb, true). -define(message_pb_gpb_version, "4.21.7"). -ifndef('REQUESTFRAME_PB_H'). -define('REQUESTFRAME_PB_H', true). -record('RequestFrame', {packet_id = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits body :: {auth_request, message_pb:'AuthRequest'()} | {container_request, message_pb:'ContainerRequest'()} | undefined % oneof }). -endif. -ifndef('REPLYFRAME_PB_H'). -define('REPLYFRAME_PB_H', true). -record('ReplyFrame', {packet_id = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits reply :: {result, message_pb:'ReplyResult'()} | {error, message_pb:'ReplyError'()} | undefined % oneof }). -endif. -ifndef('REPLYRESULT_PB_H'). -define('REPLYRESULT_PB_H', true). -record('ReplyResult', {data = <<>> :: iodata() | undefined % = 1, optional }). -endif. -ifndef('REPLYERROR_PB_H'). -define('REPLYERROR_PB_H', true). -record('ReplyError', {code = 0 :: integer() | undefined, % = 1, optional, 32 bits message = <<>> :: unicode:chardata() | undefined % = 2, optional }). -endif. -ifndef('CASTFRAME_PB_H'). -define('CASTFRAME_PB_H', true). -record('CastFrame', {body :: {pub, message_pb:'Pub'()} | {command, message_pb:'Command'()} | {data, message_pb:'Data'()} | {event_stream, message_pb:'TaskEventStream'()} | undefined % oneof }). -endif. -ifndef('CONTAINERREF_PB_H'). -define('CONTAINERREF_PB_H', true). -record('ContainerRef', {id = <<>> :: unicode:chardata() | undefined, % = 1, optional name = <<>> :: unicode:chardata() | undefined % = 2, optional }). -endif. -ifndef('CONTAINERREQUEST.LIST_PB_H'). -define('CONTAINERREQUEST.LIST_PB_H', true). -record('ContainerRequest.List', {all = false :: boolean() | 0 | 1 | undefined % = 1, optional }). -endif. -ifndef('CONTAINERREQUEST.DEPLOY_PB_H'). -define('CONTAINERREQUEST.DEPLOY_PB_H', true). -record('ContainerRequest.Deploy', {task_id = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits params = undefined :: message_pb:'ContainerDeployParams'() | undefined % = 2, optional }). -endif. -ifndef('CONTAINERREQUEST.START_PB_H'). -define('CONTAINERREQUEST.START_PB_H', true). -record('ContainerRequest.Start', {target = undefined :: message_pb:'ContainerRef'() | undefined % = 1, optional }). -endif. -ifndef('CONTAINERREQUEST.STOP_PB_H'). -define('CONTAINERREQUEST.STOP_PB_H', true). -record('ContainerRequest.Stop', {target = undefined :: message_pb:'ContainerRef'() | undefined, % = 1, optional timeout_seconds = 0 :: non_neg_integer() | undefined % = 2, optional, 32 bits }). -endif. -ifndef('CONTAINERREQUEST.KILL_PB_H'). -define('CONTAINERREQUEST.KILL_PB_H', true). -record('ContainerRequest.Kill', {target = undefined :: message_pb:'ContainerRef'() | undefined, % = 1, optional signal = <<>> :: unicode:chardata() | undefined % = 2, optional }). -endif. -ifndef('CONTAINERREQUEST.REMOVE_PB_H'). -define('CONTAINERREQUEST.REMOVE_PB_H', true). -record('ContainerRequest.Remove', {target = undefined :: message_pb:'ContainerRef'() | undefined, % = 1, optional force = false :: boolean() | 0 | 1 | undefined, % = 2, optional remove_volumes = false :: boolean() | 0 | 1 | undefined % = 3, optional }). -endif. -ifndef('CONTAINERREQUEST.CONFIG_PB_H'). -define('CONTAINERREQUEST.CONFIG_PB_H', true). -record('ContainerRequest.Config', {target = undefined :: message_pb:'ContainerRef'() | undefined, % = 1, optional config = <<>> :: iodata() | undefined % = 2, optional }). -endif. -ifndef('CONTAINERREQUEST_PB_H'). -define('CONTAINERREQUEST_PB_H', true). -record('ContainerRequest', {action :: {list, message_pb:'ContainerRequest.List'()} | {deploy, message_pb:'ContainerRequest.Deploy'()} | {start, message_pb:'ContainerRequest.Start'()} | {stop, message_pb:'ContainerRequest.Stop'()} | {kill, message_pb:'ContainerRequest.Kill'()} | {remove, message_pb:'ContainerRequest.Remove'()} | {config, message_pb:'ContainerRequest.Config'()} | undefined % oneof }). -endif. -ifndef('CONTAINERDEPLOYPARAMS_PB_H'). -define('CONTAINERDEPLOYPARAMS_PB_H', true). -record('ContainerDeployParams', {container_name = <<>> :: unicode:chardata() | undefined, % = 1, optional container_dir = <<>> :: unicode:chardata() | undefined, % = 2, optional spec = undefined :: message_pb:'ContainerSpec'() | undefined % = 3, optional }). -endif. -ifndef('CONTAINERSPEC_PB_H'). -define('CONTAINERSPEC_PB_H', true). -record('ContainerSpec', {image = <<>> :: unicode:chardata() | undefined, % = 1, optional command = [] :: [unicode:chardata()] | undefined, % = 2, repeated entrypoint = [] :: [unicode:chardata()] | undefined, % = 3, repeated env = [] :: [unicode:chardata()] | undefined, % = 4, repeated labels = [] :: [{unicode:chardata(), unicode:chardata()}] | undefined, % = 5 volumes = [] :: [message_pb:'VolumeBind'()] | undefined, % = 6, repeated user = <<>> :: unicode:chardata() | undefined, % = 7, optional working_dir = <<>> :: unicode:chardata() | undefined, % = 8, optional hostname = <<>> :: unicode:chardata() | undefined, % = 9, optional expose = [] :: [message_pb:'PortExpose'()] | undefined, % = 10, repeated networks = [] :: [unicode:chardata()] | undefined, % = 11, repeated network_mode = <<>> :: unicode:chardata() | undefined, % = 12, optional healthcheck = undefined :: message_pb:'Healthcheck'() | undefined, % = 13, optional restart = undefined :: message_pb:'RestartPolicy'() | undefined, % = 14, optional privileged = false :: boolean() | 0 | 1 | undefined, % = 15, optional cap_add = [] :: [unicode:chardata()] | undefined, % = 16, repeated cap_drop = [] :: [unicode:chardata()] | undefined, % = 17, repeated devices = [] :: [message_pb:'DeviceMapping'()] | undefined, % = 18, repeated resources = undefined :: message_pb:'ResourceLimits'() | undefined, % = 19, optional ulimits = [] :: [message_pb:'Ulimit'()] | undefined, % = 20, repeated tmpfs = [] :: [message_pb:'TmpfsMount'()] | undefined, % = 21, repeated sysctls = [] :: [{unicode:chardata(), unicode:chardata()}] | undefined, % = 22 extra_hosts = [] :: [unicode:chardata()] | undefined % = 23, repeated }). -endif. -ifndef('VOLUMEBIND_PB_H'). -define('VOLUMEBIND_PB_H', true). -record('VolumeBind', {host_path = <<>> :: unicode:chardata() | undefined, % = 1, optional container_path = <<>> :: unicode:chardata() | undefined, % = 2, optional read_only = false :: boolean() | 0 | 1 | undefined % = 3, optional }). -endif. -ifndef('PORTEXPOSE_PB_H'). -define('PORTEXPOSE_PB_H', true). -record('PortExpose', {container_port = 0 :: non_neg_integer() | undefined, % = 1, optional, 32 bits protocol = <<>> :: unicode:chardata() | undefined % = 2, optional }). -endif. -ifndef('HEALTHCHECK_PB_H'). -define('HEALTHCHECK_PB_H', true). -record('Healthcheck', {test = [] :: [unicode:chardata()] | undefined, % = 1, repeated interval_ns = 0 :: non_neg_integer() | undefined, % = 2, optional, 64 bits timeout_ns = 0 :: non_neg_integer() | undefined, % = 3, optional, 64 bits retries = 0 :: non_neg_integer() | undefined % = 4, optional, 32 bits }). -endif. -ifndef('RESTARTPOLICY_PB_H'). -define('RESTARTPOLICY_PB_H', true). -record('RestartPolicy', {name = <<>> :: unicode:chardata() | undefined, % = 1, optional maximum_retry_count = 0 :: non_neg_integer() | undefined % = 2, optional, 32 bits }). -endif. -ifndef('DEVICEMAPPING_PB_H'). -define('DEVICEMAPPING_PB_H', true). -record('DeviceMapping', {host_path = <<>> :: unicode:chardata() | undefined, % = 1, optional container_path = <<>> :: unicode:chardata() | undefined, % = 2, optional cgroup_permissions = <<>> :: unicode:chardata() | undefined % = 3, optional }). -endif. -ifndef('RESOURCELIMITS_PB_H'). -define('RESOURCELIMITS_PB_H', true). -record('ResourceLimits', {memory_bytes = 0 :: non_neg_integer() | undefined, % = 1, optional, 64 bits memory_reservation_bytes = 0 :: non_neg_integer() | undefined, % = 2, optional, 64 bits nano_cpus = 0 :: non_neg_integer() | undefined, % = 3, optional, 64 bits cpu_shares = 0 :: non_neg_integer() | undefined % = 4, optional, 64 bits }). -endif. -ifndef('ULIMIT_PB_H'). -define('ULIMIT_PB_H', true). -record('Ulimit', {name = <<>> :: unicode:chardata() | undefined, % = 1, optional soft = 0 :: non_neg_integer() | undefined, % = 2, optional, 64 bits hard = 0 :: non_neg_integer() | undefined % = 3, optional, 64 bits }). -endif. -ifndef('TMPFSMOUNT_PB_H'). -define('TMPFSMOUNT_PB_H', true). -record('TmpfsMount', {path = <<>> :: unicode:chardata() | undefined, % = 1, optional options = <<>> :: unicode:chardata() | undefined % = 2, optional }). -endif. -ifndef('AUTHREQUEST_PB_H'). -define('AUTHREQUEST_PB_H', true). -record('AuthRequest', {uuid = <<>> :: iodata() | undefined, % = 1, optional username = <<>> :: iodata() | undefined, % = 2, optional salt = <<>> :: iodata() | undefined, % = 3, optional token = <<>> :: iodata() | undefined, % = 4, optional timestamp = 0 :: integer() | undefined % = 5, optional, 32 bits }). -endif. -ifndef('PUB_PB_H'). -define('PUB_PB_H', true). -record('Pub', {topic = <<>> :: iodata() | undefined, % = 1, optional qos = 0 :: integer() | undefined, % = 2, optional, 32 bits content = <<>> :: iodata() | undefined % = 3, optional }). -endif. -ifndef('COMMAND_PB_H'). -define('COMMAND_PB_H', true). -record('Command', {command_type = 0 :: integer() | undefined, % = 1, optional, 32 bits command = <<>> :: iodata() | undefined % = 2, optional }). -endif. -ifndef('DATA_PB_H'). -define('DATA_PB_H', true). -record('Data', {route_key = <<>> :: iodata() | undefined, % = 1, optional metric = <<>> :: iodata() | undefined % = 2, optional }). -endif. -ifndef('TASKEVENTSTREAM_PB_H'). -define('TASKEVENTSTREAM_PB_H', true). -record('TaskEventStream', {task_id = 0 :: integer() | undefined, % = 1, optional, 32 bits type = <<>> :: iodata() | undefined, % = 2, optional stream = <<>> :: iodata() | undefined % = 3, optional }). -endif. -endif.