diff --git a/cli/command/system/testdata/docker-info-badsec.json.golden b/cli/command/system/testdata/docker-info-badsec.json.golden index 895827b0fb..7258329532 100644 --- a/cli/command/system/testdata/docker-info-badsec.json.golden +++ b/cli/command/system/testdata/docker-info-badsec.json.golden @@ -1 +1 @@ -{"ID":"EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"aufs","DriverStatus":[["Root Dir","/var/lib/docker/aufs"],["Backing Filesystem","extfs"],["Dirs","0"],["Dirperm1 Supported","true"]],"SystemStatus":null,"Plugins":{"Volume":["local"],"Network":["bridge","host","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","logentries","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"KernelMemory":true,"KernelMemoryTCP":false,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":false,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":true,"NFd":33,"OomKillDisable":true,"NGoroutines":135,"SystemTime":"2017-08-24T17:44:34.077811894Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-87-generic","OperatingSystem":"Ubuntu 16.04.3 LTS","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2097356800,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"system-sample","Labels":["provider=digitalocean"],"ExperimentalBuild":false,"ServerVersion":"17.06.1-ce","ClusterStore":"","ClusterAdvertise":"","Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"6e23458c129b551d5c9871e5174f6b1b7f6d1170","Expected":"6e23458c129b551d5c9871e5174f6b1b7f6d1170"},"RuncCommit":{"ID":"810190ceaa507aa2727d7ae6f4790c76ec150bd2","Expected":"810190ceaa507aa2727d7ae6f4790c76ec150bd2"},"InitCommit":{"ID":"949e6fa","Expected":"949e6fa"},"SecurityOptions":["foo="],"Warnings":null,"ServerErrors":["an error happened"],"ClientInfo":{"Debug":false,"Plugins":[],"Warnings":null}} +{"ID":"EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"aufs","DriverStatus":[["Root Dir","/var/lib/docker/aufs"],["Backing Filesystem","extfs"],["Dirs","0"],["Dirperm1 Supported","true"]],"Plugins":{"Volume":["local"],"Network":["bridge","host","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","logentries","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"KernelMemory":true,"KernelMemoryTCP":false,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":false,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":true,"NFd":33,"OomKillDisable":true,"NGoroutines":135,"SystemTime":"2017-08-24T17:44:34.077811894Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-87-generic","OperatingSystem":"Ubuntu 16.04.3 LTS","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2097356800,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"system-sample","Labels":["provider=digitalocean"],"ExperimentalBuild":false,"ServerVersion":"17.06.1-ce","ClusterStore":"","ClusterAdvertise":"","Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"6e23458c129b551d5c9871e5174f6b1b7f6d1170","Expected":"6e23458c129b551d5c9871e5174f6b1b7f6d1170"},"RuncCommit":{"ID":"810190ceaa507aa2727d7ae6f4790c76ec150bd2","Expected":"810190ceaa507aa2727d7ae6f4790c76ec150bd2"},"InitCommit":{"ID":"949e6fa","Expected":"949e6fa"},"SecurityOptions":["foo="],"Warnings":null,"ServerErrors":["an error happened"],"ClientInfo":{"Debug":false,"Plugins":[],"Warnings":null}} diff --git a/cli/command/system/testdata/docker-info-daemon-warnings.json.golden b/cli/command/system/testdata/docker-info-daemon-warnings.json.golden index 1e7bf53a3e..4bbb8eb0e3 100644 --- a/cli/command/system/testdata/docker-info-daemon-warnings.json.golden +++ b/cli/command/system/testdata/docker-info-daemon-warnings.json.golden @@ -1 +1 @@ -{"ID":"EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"aufs","DriverStatus":[["Root Dir","/var/lib/docker/aufs"],["Backing Filesystem","extfs"],["Dirs","0"],["Dirperm1 Supported","true"]],"SystemStatus":null,"Plugins":{"Volume":["local"],"Network":["bridge","host","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","logentries","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"KernelMemory":true,"KernelMemoryTCP":false,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":false,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":true,"NFd":33,"OomKillDisable":true,"NGoroutines":135,"SystemTime":"2017-08-24T17:44:34.077811894Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-87-generic","OperatingSystem":"Ubuntu 16.04.3 LTS","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2097356800,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"system-sample","Labels":["provider=digitalocean"],"ExperimentalBuild":false,"ServerVersion":"17.06.1-ce","ClusterStore":"","ClusterAdvertise":"","Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"6e23458c129b551d5c9871e5174f6b1b7f6d1170","Expected":"6e23458c129b551d5c9871e5174f6b1b7f6d1170"},"RuncCommit":{"ID":"810190ceaa507aa2727d7ae6f4790c76ec150bd2","Expected":"810190ceaa507aa2727d7ae6f4790c76ec150bd2"},"InitCommit":{"ID":"949e6fa","Expected":"949e6fa"},"SecurityOptions":["name=apparmor","name=seccomp,profile=default"],"Warnings":["WARNING: No memory limit support","WARNING: No swap limit support","WARNING: No kernel memory limit support","WARNING: No oom kill disable support","WARNING: No cpu cfs quota support","WARNING: No cpu cfs period support","WARNING: No cpu shares support","WARNING: No cpuset support","WARNING: IPv4 forwarding is disabled","WARNING: bridge-nf-call-iptables is disabled","WARNING: bridge-nf-call-ip6tables is disabled"],"ClientInfo":{"Debug":true,"Plugins":[],"Warnings":null}} +{"ID":"EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"aufs","DriverStatus":[["Root Dir","/var/lib/docker/aufs"],["Backing Filesystem","extfs"],["Dirs","0"],["Dirperm1 Supported","true"]],"Plugins":{"Volume":["local"],"Network":["bridge","host","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","logentries","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"KernelMemory":true,"KernelMemoryTCP":false,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":false,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":true,"NFd":33,"OomKillDisable":true,"NGoroutines":135,"SystemTime":"2017-08-24T17:44:34.077811894Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-87-generic","OperatingSystem":"Ubuntu 16.04.3 LTS","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2097356800,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"system-sample","Labels":["provider=digitalocean"],"ExperimentalBuild":false,"ServerVersion":"17.06.1-ce","ClusterStore":"","ClusterAdvertise":"","Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"6e23458c129b551d5c9871e5174f6b1b7f6d1170","Expected":"6e23458c129b551d5c9871e5174f6b1b7f6d1170"},"RuncCommit":{"ID":"810190ceaa507aa2727d7ae6f4790c76ec150bd2","Expected":"810190ceaa507aa2727d7ae6f4790c76ec150bd2"},"InitCommit":{"ID":"949e6fa","Expected":"949e6fa"},"SecurityOptions":["name=apparmor","name=seccomp,profile=default"],"Warnings":["WARNING: No memory limit support","WARNING: No swap limit support","WARNING: No kernel memory limit support","WARNING: No oom kill disable support","WARNING: No cpu cfs quota support","WARNING: No cpu cfs period support","WARNING: No cpu shares support","WARNING: No cpuset support","WARNING: IPv4 forwarding is disabled","WARNING: bridge-nf-call-iptables is disabled","WARNING: bridge-nf-call-ip6tables is disabled"],"ClientInfo":{"Debug":true,"Plugins":[],"Warnings":null}} diff --git a/cli/command/system/testdata/docker-info-legacy-warnings.json.golden b/cli/command/system/testdata/docker-info-legacy-warnings.json.golden index fd0bc53917..169d4ecb3a 100644 --- a/cli/command/system/testdata/docker-info-legacy-warnings.json.golden +++ b/cli/command/system/testdata/docker-info-legacy-warnings.json.golden @@ -1 +1 @@ -{"ID":"EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"aufs","DriverStatus":[["Root Dir","/var/lib/docker/aufs"],["Backing Filesystem","extfs"],["Dirs","0"],["Dirperm1 Supported","true"]],"SystemStatus":null,"Plugins":{"Volume":["local"],"Network":["bridge","host","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","logentries","splunk","syslog"]},"MemoryLimit":false,"SwapLimit":false,"KernelMemory":false,"KernelMemoryTCP":false,"CpuCfsPeriod":false,"CpuCfsQuota":false,"CPUShares":false,"CPUSet":false,"PidsLimit":false,"IPv4Forwarding":false,"BridgeNfIptables":false,"BridgeNfIp6tables":false,"Debug":true,"NFd":33,"OomKillDisable":false,"NGoroutines":135,"SystemTime":"2017-08-24T17:44:34.077811894Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-87-generic","OperatingSystem":"Ubuntu 16.04.3 LTS","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2097356800,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"system-sample","Labels":["provider=digitalocean"],"ExperimentalBuild":false,"ServerVersion":"17.06.1-ce","ClusterStore":"","ClusterAdvertise":"","Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"6e23458c129b551d5c9871e5174f6b1b7f6d1170","Expected":"6e23458c129b551d5c9871e5174f6b1b7f6d1170"},"RuncCommit":{"ID":"810190ceaa507aa2727d7ae6f4790c76ec150bd2","Expected":"810190ceaa507aa2727d7ae6f4790c76ec150bd2"},"InitCommit":{"ID":"949e6fa","Expected":"949e6fa"},"SecurityOptions":["name=apparmor","name=seccomp,profile=default"],"Warnings":null,"ClientInfo":{"Debug":true,"Plugins":[],"Warnings":null}} +{"ID":"EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"aufs","DriverStatus":[["Root Dir","/var/lib/docker/aufs"],["Backing Filesystem","extfs"],["Dirs","0"],["Dirperm1 Supported","true"]],"Plugins":{"Volume":["local"],"Network":["bridge","host","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","logentries","splunk","syslog"]},"MemoryLimit":false,"SwapLimit":false,"KernelMemory":false,"KernelMemoryTCP":false,"CpuCfsPeriod":false,"CpuCfsQuota":false,"CPUShares":false,"CPUSet":false,"PidsLimit":false,"IPv4Forwarding":false,"BridgeNfIptables":false,"BridgeNfIp6tables":false,"Debug":true,"NFd":33,"OomKillDisable":false,"NGoroutines":135,"SystemTime":"2017-08-24T17:44:34.077811894Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-87-generic","OperatingSystem":"Ubuntu 16.04.3 LTS","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2097356800,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"system-sample","Labels":["provider=digitalocean"],"ExperimentalBuild":false,"ServerVersion":"17.06.1-ce","ClusterStore":"","ClusterAdvertise":"","Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"6e23458c129b551d5c9871e5174f6b1b7f6d1170","Expected":"6e23458c129b551d5c9871e5174f6b1b7f6d1170"},"RuncCommit":{"ID":"810190ceaa507aa2727d7ae6f4790c76ec150bd2","Expected":"810190ceaa507aa2727d7ae6f4790c76ec150bd2"},"InitCommit":{"ID":"949e6fa","Expected":"949e6fa"},"SecurityOptions":["name=apparmor","name=seccomp,profile=default"],"Warnings":null,"ClientInfo":{"Debug":true,"Plugins":[],"Warnings":null}} diff --git a/cli/command/system/testdata/docker-info-no-swarm.json.golden b/cli/command/system/testdata/docker-info-no-swarm.json.golden index fe4e0c9c0e..86af2c711d 100644 --- a/cli/command/system/testdata/docker-info-no-swarm.json.golden +++ b/cli/command/system/testdata/docker-info-no-swarm.json.golden @@ -1 +1 @@ -{"ID":"EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"aufs","DriverStatus":[["Root Dir","/var/lib/docker/aufs"],["Backing Filesystem","extfs"],["Dirs","0"],["Dirperm1 Supported","true"]],"SystemStatus":null,"Plugins":{"Volume":["local"],"Network":["bridge","host","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","logentries","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"KernelMemory":true,"KernelMemoryTCP":false,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":false,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":true,"NFd":33,"OomKillDisable":true,"NGoroutines":135,"SystemTime":"2017-08-24T17:44:34.077811894Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-87-generic","OperatingSystem":"Ubuntu 16.04.3 LTS","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2097356800,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"system-sample","Labels":["provider=digitalocean"],"ExperimentalBuild":false,"ServerVersion":"17.06.1-ce","ClusterStore":"","ClusterAdvertise":"","Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"6e23458c129b551d5c9871e5174f6b1b7f6d1170","Expected":"6e23458c129b551d5c9871e5174f6b1b7f6d1170"},"RuncCommit":{"ID":"810190ceaa507aa2727d7ae6f4790c76ec150bd2","Expected":"810190ceaa507aa2727d7ae6f4790c76ec150bd2"},"InitCommit":{"ID":"949e6fa","Expected":"949e6fa"},"SecurityOptions":["name=apparmor","name=seccomp,profile=default"],"Warnings":null,"ClientInfo":{"Debug":true,"Plugins":[],"Warnings":null}} +{"ID":"EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"aufs","DriverStatus":[["Root Dir","/var/lib/docker/aufs"],["Backing Filesystem","extfs"],["Dirs","0"],["Dirperm1 Supported","true"]],"Plugins":{"Volume":["local"],"Network":["bridge","host","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","logentries","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"KernelMemory":true,"KernelMemoryTCP":false,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":false,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":true,"NFd":33,"OomKillDisable":true,"NGoroutines":135,"SystemTime":"2017-08-24T17:44:34.077811894Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-87-generic","OperatingSystem":"Ubuntu 16.04.3 LTS","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2097356800,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"system-sample","Labels":["provider=digitalocean"],"ExperimentalBuild":false,"ServerVersion":"17.06.1-ce","ClusterStore":"","ClusterAdvertise":"","Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"6e23458c129b551d5c9871e5174f6b1b7f6d1170","Expected":"6e23458c129b551d5c9871e5174f6b1b7f6d1170"},"RuncCommit":{"ID":"810190ceaa507aa2727d7ae6f4790c76ec150bd2","Expected":"810190ceaa507aa2727d7ae6f4790c76ec150bd2"},"InitCommit":{"ID":"949e6fa","Expected":"949e6fa"},"SecurityOptions":["name=apparmor","name=seccomp,profile=default"],"Warnings":null,"ClientInfo":{"Debug":true,"Plugins":[],"Warnings":null}} diff --git a/cli/command/system/testdata/docker-info-plugins.json.golden b/cli/command/system/testdata/docker-info-plugins.json.golden index 1c95c7adb9..ccf58dde64 100644 --- a/cli/command/system/testdata/docker-info-plugins.json.golden +++ b/cli/command/system/testdata/docker-info-plugins.json.golden @@ -1 +1 @@ -{"ID":"EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"aufs","DriverStatus":[["Root Dir","/var/lib/docker/aufs"],["Backing Filesystem","extfs"],["Dirs","0"],["Dirperm1 Supported","true"]],"SystemStatus":null,"Plugins":{"Volume":["local"],"Network":["bridge","host","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","logentries","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"KernelMemory":true,"KernelMemoryTCP":false,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":false,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":true,"NFd":33,"OomKillDisable":true,"NGoroutines":135,"SystemTime":"2017-08-24T17:44:34.077811894Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-87-generic","OperatingSystem":"Ubuntu 16.04.3 LTS","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2097356800,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"system-sample","Labels":["provider=digitalocean"],"ExperimentalBuild":false,"ServerVersion":"17.06.1-ce","ClusterStore":"","ClusterAdvertise":"","Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"6e23458c129b551d5c9871e5174f6b1b7f6d1170","Expected":"6e23458c129b551d5c9871e5174f6b1b7f6d1170"},"RuncCommit":{"ID":"810190ceaa507aa2727d7ae6f4790c76ec150bd2","Expected":"810190ceaa507aa2727d7ae6f4790c76ec150bd2"},"InitCommit":{"ID":"949e6fa","Expected":"949e6fa"},"SecurityOptions":["name=apparmor","name=seccomp,profile=default"],"Warnings":null,"ClientInfo":{"Debug":false,"Plugins":[{"SchemaVersion":"0.1.0","Vendor":"ACME Corp","Version":"0.1.0","ShortDescription":"unit test is good","Name":"goodplugin","Path":"/path/to/docker-goodplugin"},{"SchemaVersion":"0.1.0","Vendor":"ACME Corp","ShortDescription":"this plugin has no version","Name":"unversionedplugin","Path":"/path/to/docker-unversionedplugin"},{"Name":"badplugin","Path":"/path/to/docker-badplugin","Err":"something wrong"}],"Warnings":null}} +{"ID":"EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"aufs","DriverStatus":[["Root Dir","/var/lib/docker/aufs"],["Backing Filesystem","extfs"],["Dirs","0"],["Dirperm1 Supported","true"]],"Plugins":{"Volume":["local"],"Network":["bridge","host","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","logentries","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"KernelMemory":true,"KernelMemoryTCP":false,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":false,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":true,"NFd":33,"OomKillDisable":true,"NGoroutines":135,"SystemTime":"2017-08-24T17:44:34.077811894Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-87-generic","OperatingSystem":"Ubuntu 16.04.3 LTS","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2097356800,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"system-sample","Labels":["provider=digitalocean"],"ExperimentalBuild":false,"ServerVersion":"17.06.1-ce","ClusterStore":"","ClusterAdvertise":"","Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"6e23458c129b551d5c9871e5174f6b1b7f6d1170","Expected":"6e23458c129b551d5c9871e5174f6b1b7f6d1170"},"RuncCommit":{"ID":"810190ceaa507aa2727d7ae6f4790c76ec150bd2","Expected":"810190ceaa507aa2727d7ae6f4790c76ec150bd2"},"InitCommit":{"ID":"949e6fa","Expected":"949e6fa"},"SecurityOptions":["name=apparmor","name=seccomp,profile=default"],"Warnings":null,"ClientInfo":{"Debug":false,"Plugins":[{"SchemaVersion":"0.1.0","Vendor":"ACME Corp","Version":"0.1.0","ShortDescription":"unit test is good","Name":"goodplugin","Path":"/path/to/docker-goodplugin"},{"SchemaVersion":"0.1.0","Vendor":"ACME Corp","ShortDescription":"this plugin has no version","Name":"unversionedplugin","Path":"/path/to/docker-unversionedplugin"},{"Name":"badplugin","Path":"/path/to/docker-badplugin","Err":"something wrong"}],"Warnings":null}} diff --git a/cli/command/system/testdata/docker-info-with-swarm.json.golden b/cli/command/system/testdata/docker-info-with-swarm.json.golden index aa5d3784a9..9e1ed0c38d 100644 --- a/cli/command/system/testdata/docker-info-with-swarm.json.golden +++ b/cli/command/system/testdata/docker-info-with-swarm.json.golden @@ -1 +1 @@ -{"ID":"EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"aufs","DriverStatus":[["Root Dir","/var/lib/docker/aufs"],["Backing Filesystem","extfs"],["Dirs","0"],["Dirperm1 Supported","true"]],"SystemStatus":null,"Plugins":{"Volume":["local"],"Network":["bridge","host","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","logentries","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"KernelMemory":true,"KernelMemoryTCP":false,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":false,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":true,"NFd":33,"OomKillDisable":true,"NGoroutines":135,"SystemTime":"2017-08-24T17:44:34.077811894Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-87-generic","OperatingSystem":"Ubuntu 16.04.3 LTS","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2097356800,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"system-sample","Labels":["provider=digitalocean"],"ExperimentalBuild":false,"ServerVersion":"17.06.1-ce","ClusterStore":"","ClusterAdvertise":"","Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"qo2dfdig9mmxqkawulggepdih","NodeAddr":"165.227.107.89","LocalNodeState":"active","ControlAvailable":true,"Error":"","RemoteManagers":[{"NodeID":"qo2dfdig9mmxqkawulggepdih","Addr":"165.227.107.89:2377"}],"Nodes":1,"Managers":1,"Cluster":{"ID":"9vs5ygs0gguyyec4iqf2314c0","Version":{"Index":11},"CreatedAt":"2017-08-24T17:34:19.278062352Z","UpdatedAt":"2017-08-24T17:34:42.398815481Z","Spec":{"Name":"default","Labels":null,"Orchestration":{"TaskHistoryRetentionLimit":5},"Raft":{"SnapshotInterval":10000,"KeepOldSnapshots":0,"LogEntriesForSlowFollowers":500,"ElectionTick":3,"HeartbeatTick":1},"Dispatcher":{"HeartbeatPeriod":5000000000},"CAConfig":{"NodeCertExpiry":7776000000000000},"TaskDefaults":{},"EncryptionConfig":{"AutoLockManagers":true}},"TLSInfo":{"TrustRoot":"\n-----BEGIN CERTIFICATE-----\nMIIBajCCARCgAwIBAgIUaFCW5xsq8eyiJ+Pmcv3MCflMLnMwCgYIKoZIzj0EAwIw\nEzERMA8GA1UEAxMIc3dhcm0tY2EwHhcNMTcwODI0MTcyOTAwWhcNMzcwODE5MTcy\nOTAwWjATMREwDwYDVQQDEwhzd2FybS1jYTBZMBMGByqGSM49AgEGCCqGSM49AwEH\nA0IABDy7NebyUJyUjWJDBUdnZoV6GBxEGKO4TZPNDwnxDxJcUdLVaB7WGa4/DLrW\nUfsVgh1JGik2VTiLuTMA1tLlNPOjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMB\nAf8EBTADAQH/MB0GA1UdDgQWBBQl16XFtaaXiUAwEuJptJlDjfKskDAKBggqhkjO\nPQQDAgNIADBFAiEAo9fTQNM5DP9bHVcTJYfl2Cay1bFu1E+lnpmN+EYJfeACIGKH\n1pCUkZ+D0IB6CiEZGWSHyLuXPM1rlP+I5KuS7sB8\n-----END CERTIFICATE-----\n","CertIssuerSubject":"MBMxETAPBgNVBAMTCHN3YXJtLWNh","CertIssuerPublicKey":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPLs15vJQnJSNYkMFR2dmhXoYHEQYo7hNk80PCfEPElxR0tVoHtYZrj8MutZR+xWCHUkaKTZVOIu5MwDW0uU08w=="},"RootRotationInProgress":false,"DefaultAddrPool":null,"SubnetSize":0,"DataPathPort":0}},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"6e23458c129b551d5c9871e5174f6b1b7f6d1170","Expected":"6e23458c129b551d5c9871e5174f6b1b7f6d1170"},"RuncCommit":{"ID":"810190ceaa507aa2727d7ae6f4790c76ec150bd2","Expected":"810190ceaa507aa2727d7ae6f4790c76ec150bd2"},"InitCommit":{"ID":"949e6fa","Expected":"949e6fa"},"SecurityOptions":["name=apparmor","name=seccomp,profile=default"],"Warnings":null,"ClientInfo":{"Debug":false,"Plugins":[],"Warnings":null}} +{"ID":"EKHL:QDUU:QZ7U:MKGD:VDXK:S27Q:GIPU:24B7:R7VT:DGN6:QCSF:2UBX","Containers":0,"ContainersRunning":0,"ContainersPaused":0,"ContainersStopped":0,"Images":0,"Driver":"aufs","DriverStatus":[["Root Dir","/var/lib/docker/aufs"],["Backing Filesystem","extfs"],["Dirs","0"],["Dirperm1 Supported","true"]],"Plugins":{"Volume":["local"],"Network":["bridge","host","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","logentries","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"KernelMemory":true,"KernelMemoryTCP":false,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":false,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":true,"NFd":33,"OomKillDisable":true,"NGoroutines":135,"SystemTime":"2017-08-24T17:44:34.077811894Z","LoggingDriver":"json-file","CgroupDriver":"cgroupfs","NEventsListener":0,"KernelVersion":"4.4.0-87-generic","OperatingSystem":"Ubuntu 16.04.3 LTS","OSVersion":"","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":null,"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2097356800,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"system-sample","Labels":["provider=digitalocean"],"ExperimentalBuild":false,"ServerVersion":"17.06.1-ce","ClusterStore":"","ClusterAdvertise":"","Runtimes":{"runc":{"path":"docker-runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"qo2dfdig9mmxqkawulggepdih","NodeAddr":"165.227.107.89","LocalNodeState":"active","ControlAvailable":true,"Error":"","RemoteManagers":[{"NodeID":"qo2dfdig9mmxqkawulggepdih","Addr":"165.227.107.89:2377"}],"Nodes":1,"Managers":1,"Cluster":{"ID":"9vs5ygs0gguyyec4iqf2314c0","Version":{"Index":11},"CreatedAt":"2017-08-24T17:34:19.278062352Z","UpdatedAt":"2017-08-24T17:34:42.398815481Z","Spec":{"Name":"default","Labels":null,"Orchestration":{"TaskHistoryRetentionLimit":5},"Raft":{"SnapshotInterval":10000,"KeepOldSnapshots":0,"LogEntriesForSlowFollowers":500,"ElectionTick":3,"HeartbeatTick":1},"Dispatcher":{"HeartbeatPeriod":5000000000},"CAConfig":{"NodeCertExpiry":7776000000000000},"TaskDefaults":{},"EncryptionConfig":{"AutoLockManagers":true}},"TLSInfo":{"TrustRoot":"\n-----BEGIN CERTIFICATE-----\nMIIBajCCARCgAwIBAgIUaFCW5xsq8eyiJ+Pmcv3MCflMLnMwCgYIKoZIzj0EAwIw\nEzERMA8GA1UEAxMIc3dhcm0tY2EwHhcNMTcwODI0MTcyOTAwWhcNMzcwODE5MTcy\nOTAwWjATMREwDwYDVQQDEwhzd2FybS1jYTBZMBMGByqGSM49AgEGCCqGSM49AwEH\nA0IABDy7NebyUJyUjWJDBUdnZoV6GBxEGKO4TZPNDwnxDxJcUdLVaB7WGa4/DLrW\nUfsVgh1JGik2VTiLuTMA1tLlNPOjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMB\nAf8EBTADAQH/MB0GA1UdDgQWBBQl16XFtaaXiUAwEuJptJlDjfKskDAKBggqhkjO\nPQQDAgNIADBFAiEAo9fTQNM5DP9bHVcTJYfl2Cay1bFu1E+lnpmN+EYJfeACIGKH\n1pCUkZ+D0IB6CiEZGWSHyLuXPM1rlP+I5KuS7sB8\n-----END CERTIFICATE-----\n","CertIssuerSubject":"MBMxETAPBgNVBAMTCHN3YXJtLWNh","CertIssuerPublicKey":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEPLs15vJQnJSNYkMFR2dmhXoYHEQYo7hNk80PCfEPElxR0tVoHtYZrj8MutZR+xWCHUkaKTZVOIu5MwDW0uU08w=="},"RootRotationInProgress":false,"DefaultAddrPool":null,"SubnetSize":0,"DataPathPort":0}},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"6e23458c129b551d5c9871e5174f6b1b7f6d1170","Expected":"6e23458c129b551d5c9871e5174f6b1b7f6d1170"},"RuncCommit":{"ID":"810190ceaa507aa2727d7ae6f4790c76ec150bd2","Expected":"810190ceaa507aa2727d7ae6f4790c76ec150bd2"},"InitCommit":{"ID":"949e6fa","Expected":"949e6fa"},"SecurityOptions":["name=apparmor","name=seccomp,profile=default"],"Warnings":null,"ClientInfo":{"Debug":false,"Plugins":[],"Warnings":null}} diff --git a/vendor.conf b/vendor.conf index a7c0d87965..aa88b2780f 100755 --- a/vendor.conf +++ b/vendor.conf @@ -4,7 +4,7 @@ github.com/Azure/go-ansiterm d6e3b3328b783f23731bc4d05887 github.com/beorn7/perks e7f67b54abbeac9c40a31de0f81159e4cafebd6a github.com/containerd/console 0650fd9eeb50bab4fc99dceb9f2e14cf58f36e7f github.com/containerd/containerd acdcf13d5eaf0dfe0eaeabe7194a82535549bc2b -github.com/containerd/continuity f2a389ac0a02ce21c09edd7344677a601970f41c +github.com/containerd/continuity 26c1120b8d4107d2471b93ad78ef7ce1fc84c4c4 github.com/containerd/cgroups 5fbad35c2a7e855762d3c60f2e474ffcad0d470a github.com/containerd/ttrpc 92c8520ef9f86600c650dd540266a007bf03670f github.com/coreos/etcd d57e8b8d97adfc4a6c224fe116714bf1a1f3beb9 # v3.3.12 @@ -13,14 +13,14 @@ github.com/creack/pty 3a6a957789163cacdfe0e291617a github.com/davecgh/go-spew 8991bc29aa16c548c550c7ff78260e27b9ab7c73 # v1.1.1 github.com/docker/compose-on-kubernetes 78e6a00beda64ac8ccb9fec787e601fe2ce0d5bb # v0.5.0-alpha1 github.com/docker/distribution 0d3efadf0154c2b8a4e7b6621fff9809655cc580 -github.com/docker/docker a9507c6f76627fdc092edc542d5a7ef4a6df5eec +github.com/docker/docker 58c2615208962a458ed94f4b6262eb27e5e021cd github.com/docker/docker-credential-helpers 54f0238b6bf101fc3ad3b34114cb5520beb562f5 # v0.6.3 github.com/docker/go d30aec9fd63c35133f8f79c3412ad91a3b08be06 # Contains a customized version of canonical/json and is used by Notary. The package is periodically rebased on current Go versions. github.com/docker/go-connections 7395e3f8aa162843a74ed6d48e79627d9792ac55 # v0.4.0 github.com/docker/go-events 9461782956ad83b30282bf90e31fa6a70c255ba9 github.com/docker/go-metrics d466d4f6fd960e01820085bd7e1a24426ee7ef18 github.com/docker/go-units 519db1ee28dcc9fd2474ae59fca29a810482bfb1 # v0.4.0 -github.com/docker/swarmkit 7dded76ec532741c1ad9736cd2bb6d6661f0a386 +github.com/docker/swarmkit 49e35619b18200845c9365c1e953440c28868002 github.com/evanphx/json-patch 72bf35d0ff611848c1dc9df0f976c81192392fa5 # v4.1.0 github.com/gofrs/flock 392e7fae8f1b0bdbd67dad7237d23f618feb6dbb # v0.7.1 github.com/gogo/googleapis d31c731455cb061f42baff3bda55bad0118b126b # v1.2.0 @@ -29,7 +29,7 @@ github.com/golang/glog 23def4e6c14b4da8ac2ed8007337 github.com/golang/protobuf aa810b61a9c79d51363740d207bb46cf8e620ed5 # v1.2.0 github.com/google/go-cmp 3af367b6b30c263d47e8895973edcca9a49cf029 # v0.2.0 github.com/google/gofuzz 24818f796faf91cd76ec7bddd72458fbced7a6c1 -github.com/google/shlex c34317bd91bf98fab745d77b03933cf8769299fe +github.com/google/shlex e7afc7fbc51079733e9468cdfd1efcd7d196cd1d github.com/googleapis/gnostic 7c663266750e7d82587642f65e60bc4083f1f84e # v0.2.0 github.com/gorilla/mux 00bdffe0f3c77e27d2cf6f5c70232a2d3e4d9c15 # v1.7.3 github.com/grpc-ecosystem/grpc-gateway 1a03ca3bad1e1ebadaedd3abb76bc58d4ac8143b @@ -43,7 +43,7 @@ github.com/konsorten/go-windows-terminal-sequences f55edac94c9bbba5d6182a4be46d github.com/mattn/go-shellwords 36a9b3c57cb5caa559ff63fb7e9b585f1c00df75 # v1.0.6 github.com/matttproud/golang_protobuf_extensions c12348ce28de40eed0136aa2b644d0ee0650e56c # v1.0.1 github.com/Microsoft/go-winio 6c72808b55902eae4c5943626030429ff20f3b63 # v0.4.14 -github.com/Microsoft/hcsshim b3f49c06ffaeef24d09c6c08ec8ec8425a0303e2 +github.com/Microsoft/hcsshim b3f49c06ffaeef24d09c6c08ec8ec8425a0303e2 # v0.8.7 github.com/miekg/pkcs11 210dc1e16747c5ba98a03bcbcf728c38086ea357 # v1.0.3 github.com/mitchellh/mapstructure f15292f7a699fcc1a38a80977f80a046874ba8ac github.com/moby/buildkit 4f4e03067523b2fc5ca2f17514a5e75ad63e02fb @@ -52,7 +52,7 @@ github.com/modern-go/reflect2 4b7aa43c6742a2c18fdef89dd197 github.com/morikuni/aec 39771216ff4c63d11f5e604076f9c45e8be1067b github.com/opencontainers/go-digest 279bed98673dd5bef374d3b6e4b09e2af76183bf # v1.0.0-rc1 github.com/opencontainers/image-spec d60099175f88c47cd379c4738d158884749ed235 # v1.0.1 -github.com/opencontainers/runc d736ef14f0288d6993a1845745d6756cfc9ddd5a # v1.0.0-rc9 +github.com/opencontainers/runc dc9208a3303feef5b3839f4323d9beb36df0a9dd # v1.0.0-rc10 github.com/opencontainers/runtime-spec 29686dbc5559d93fb1ef402eeda3e35c38d75af4 # v1.0.1-59-g29686db github.com/opentracing/opentracing-go 1361b9cd60be79c4c3a7fa9841b3c132e40066a7 github.com/pkg/errors ba968bfe8b2f7e042a574c888954fccecfa385b4 # v0.8.1 @@ -67,7 +67,7 @@ github.com/spf13/cobra ef82de70bb3f60c65fb8eebacbb2 github.com/spf13/pflag 4cb166e4f25ac4e8016a3595bbf7ea2e9aa85a2c https://github.com/thaJeztah/pflag.git # temporary fork with https://github.com/spf13/pflag/pull/170 applied, which isn't merged yet upstream github.com/syndtr/gocapability d98352740cb2c55f81556b63d4a1ec64c5a319c2 github.com/theupdateframework/notary d6e1431feb32348e0650bf7551ac5cffd01d857b # v0.6.1 -github.com/tonistiigi/fsutil 7f9f9232dd24c4c9c68ab3c8030c4edcaeac1c32 +github.com/tonistiigi/fsutil 0f039a052ca1da01626278199624b62aed9b3729 github.com/tonistiigi/units 6950e57a87eaf136bbe44ef2ec8e75b9e3569de2 github.com/xeipuuv/gojsonpointer 02993c407bfbf5f6dae44c4f4b1cf6a39b5fc5bb github.com/xeipuuv/gojsonreference bd5ef7bd5415a7ac448318e64f11a24cd21e594b diff --git a/vendor/github.com/containerd/continuity/fs/copy.go b/vendor/github.com/containerd/continuity/fs/copy.go index ad61022ad5..818bba2cda 100644 --- a/vendor/github.com/containerd/continuity/fs/copy.go +++ b/vendor/github.com/containerd/continuity/fs/copy.go @@ -80,7 +80,7 @@ func copyDirectory(dst, src string, inodes map[uint64]string, o *copyDirOpts) er return errors.Wrapf(err, "failed to stat %s", src) } if !stat.IsDir() { - return errors.Errorf("source is not directory") + return errors.Errorf("source %s is not directory", src) } if st, err := os.Stat(dst); err != nil { @@ -104,6 +104,10 @@ func copyDirectory(dst, src string, inodes map[uint64]string, o *copyDirOpts) er return errors.Wrapf(err, "failed to copy file info for %s", dst) } + if err := copyXAttrs(dst, src, o.xeh); err != nil { + return errors.Wrap(err, "failed to copy xattrs") + } + for _, fi := range fis { source := filepath.Join(src, fi.Name()) target := filepath.Join(dst, fi.Name()) diff --git a/vendor/github.com/containerd/continuity/fs/copy_linux.go b/vendor/github.com/containerd/continuity/fs/copy_linux.go index 81c71522aa..72bae7d4e4 100644 --- a/vendor/github.com/containerd/continuity/fs/copy_linux.go +++ b/vendor/github.com/containerd/continuity/fs/copy_linux.go @@ -51,7 +51,10 @@ func copyFileInfo(fi os.FileInfo, name string) error { } } - timespec := []unix.Timespec{unix.Timespec(StatAtime(st)), unix.Timespec(StatMtime(st))} + timespec := []unix.Timespec{ + unix.NsecToTimespec(syscall.TimespecToNsec(StatAtime(st))), + unix.NsecToTimespec(syscall.TimespecToNsec(StatMtime(st))), + } if err := unix.UtimesNanoAt(unix.AT_FDCWD, name, timespec, unix.AT_SYMLINK_NOFOLLOW); err != nil { return errors.Wrapf(err, "failed to utime %s", name) } diff --git a/vendor/github.com/containerd/continuity/fs/copy_unix.go b/vendor/github.com/containerd/continuity/fs/copy_unix.go index 73c01a46dd..a5de89261f 100644 --- a/vendor/github.com/containerd/continuity/fs/copy_unix.go +++ b/vendor/github.com/containerd/continuity/fs/copy_unix.go @@ -1,4 +1,4 @@ -// +build solaris darwin freebsd +// +build darwin freebsd openbsd solaris /* Copyright The containerd Authors. diff --git a/vendor/github.com/containerd/continuity/fs/stat_bsd.go b/vendor/github.com/containerd/continuity/fs/stat_darwinfreebsd.go similarity index 100% rename from vendor/github.com/containerd/continuity/fs/stat_bsd.go rename to vendor/github.com/containerd/continuity/fs/stat_darwinfreebsd.go diff --git a/vendor/github.com/containerd/continuity/fs/stat_linux.go b/vendor/github.com/containerd/continuity/fs/stat_linuxopenbsd.go similarity index 97% rename from vendor/github.com/containerd/continuity/fs/stat_linux.go rename to vendor/github.com/containerd/continuity/fs/stat_linuxopenbsd.go index 4a678dd1fd..c68df6e586 100644 --- a/vendor/github.com/containerd/continuity/fs/stat_linux.go +++ b/vendor/github.com/containerd/continuity/fs/stat_linuxopenbsd.go @@ -1,3 +1,5 @@ +// +build linux openbsd + /* Copyright The containerd Authors. diff --git a/vendor/github.com/containerd/continuity/go.mod b/vendor/github.com/containerd/continuity/go.mod new file mode 100644 index 0000000000..86a7f148cb --- /dev/null +++ b/vendor/github.com/containerd/continuity/go.mod @@ -0,0 +1,23 @@ +module github.com/containerd/continuity + +go 1.11 + +require ( + bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898 + github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4 + github.com/golang/protobuf v1.2.0 + github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/onsi/ginkgo v1.10.1 // indirect + github.com/onsi/gomega v1.7.0 // indirect + github.com/opencontainers/go-digest v1.0.0-rc1 + github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7 + github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2 + github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee + github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95 // indirect + github.com/stretchr/testify v1.4.0 // indirect + golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3 // indirect + golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f + golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e + gopkg.in/airbrake/gobrake.v2 v2.0.9 // indirect + gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 // indirect +) diff --git a/vendor/github.com/containerd/continuity/sysx/nodata_unix.go b/vendor/github.com/containerd/continuity/sysx/nodata_unix.go index b26f5b3d03..de4b3d50ce 100644 --- a/vendor/github.com/containerd/continuity/sysx/nodata_unix.go +++ b/vendor/github.com/containerd/continuity/sysx/nodata_unix.go @@ -1,4 +1,4 @@ -// +build darwin freebsd +// +build darwin freebsd openbsd /* Copyright The containerd Authors. diff --git a/vendor/github.com/containerd/continuity/vendor.conf b/vendor/github.com/containerd/continuity/vendor.conf deleted file mode 100644 index 5bd88d5fd7..0000000000 --- a/vendor/github.com/containerd/continuity/vendor.conf +++ /dev/null @@ -1,13 +0,0 @@ -bazil.org/fuse 371fbbdaa8987b715bdd21d6adc4c9b20155f748 -github.com/dustin/go-humanize bb3d318650d48840a39aa21a027c6630e198e626 -github.com/golang/protobuf 1e59b77b52bf8e4b449a57e6f79f21226d571845 -github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75 -github.com/opencontainers/go-digest 279bed98673dd5bef374d3b6e4b09e2af76183bf -github.com/pkg/errors f15c970de5b76fac0b59abb32d62c17cc7bed265 -github.com/sirupsen/logrus 89742aefa4b206dcf400792f3bd35b542998eb3b -github.com/spf13/cobra 2da4a54c5ceefcee7ca5dd0eea1e18a3b6366489 -github.com/spf13/pflag 4c012f6dcd9546820e378d0bdda4d8fc772cdfea -golang.org/x/crypto 9f005a07e0d31d45e6656d241bb5c0f2efd4bc94 -golang.org/x/net a337091b0525af65de94df2eb7e98bd9962dcbe2 -golang.org/x/sync 450f422ab23cf9881c94e2db30cac0eb1b7cf80c -golang.org/x/sys 77b0e4315053a57ed2962443614bdb28db152054 diff --git a/vendor/github.com/docker/docker/api/types/client.go b/vendor/github.com/docker/docker/api/types/client.go index 54cb236efe..6616cbcd59 100644 --- a/vendor/github.com/docker/docker/api/types/client.go +++ b/vendor/github.com/docker/docker/api/types/client.go @@ -205,7 +205,7 @@ const ( // BuilderV1 is the first generation builder in docker daemon BuilderV1 BuilderVersion = "1" // BuilderBuildKit is builder based on moby/buildkit project - BuilderBuildKit = "2" + BuilderBuildKit BuilderVersion = "2" ) // ImageBuildResponse holds information diff --git a/vendor/github.com/docker/docker/api/types/swarm/service.go b/vendor/github.com/docker/docker/api/types/swarm/service.go index 6b59711ab2..6eb452d24d 100644 --- a/vendor/github.com/docker/docker/api/types/swarm/service.go +++ b/vendor/github.com/docker/docker/api/types/swarm/service.go @@ -17,6 +17,10 @@ type Service struct { // listing all tasks for a service, an operation that could be // computation and network expensive. ServiceStatus *ServiceStatus `json:",omitempty"` + + // JobStatus is the status of a Service which is in one of ReplicatedJob or + // GlobalJob modes. It is absent on Replicated and Global services. + JobStatus *JobStatus `json:",omitempty"` } // ServiceSpec represents the spec of a service. @@ -39,8 +43,10 @@ type ServiceSpec struct { // ServiceMode represents the mode of a service. type ServiceMode struct { - Replicated *ReplicatedService `json:",omitempty"` - Global *GlobalService `json:",omitempty"` + Replicated *ReplicatedService `json:",omitempty"` + Global *GlobalService `json:",omitempty"` + ReplicatedJob *ReplicatedJob `json:",omitempty"` + GlobalJob *GlobalJob `json:",omitempty"` } // UpdateState is the state of a service update. @@ -77,6 +83,32 @@ type ReplicatedService struct { // GlobalService is a kind of ServiceMode. type GlobalService struct{} +// ReplicatedJob is the a type of Service which executes a defined Tasks +// in parallel until the specified number of Tasks have succeeded. +type ReplicatedJob struct { + // MaxConcurrent indicates the maximum number of Tasks that should be + // executing simultaneously for this job at any given time. There may be + // fewer Tasks that MaxConcurrent executing simultaneously; for example, if + // there are fewer than MaxConcurrent tasks needed to reach + // TotalCompletions. + // + // If this field is empty, it will default to a max concurrency of 1. + MaxConcurrent *uint64 `json:",omitempty"` + + // TotalCompletions is the total number of Tasks desired to run to + // completion. + // + // If this field is empty, the value of MaxConcurrent will be used. + TotalCompletions *uint64 `json:",omitempty"` +} + +// GlobalJob is the type of a Service which executes a Task on every Node +// matching the Service's placement constraints. These tasks run to completion +// and then exit. +// +// This type is deliberately empty. +type GlobalJob struct{} + const ( // UpdateFailureActionPause PAUSE UpdateFailureActionPause = "pause" @@ -142,4 +174,29 @@ type ServiceStatus struct { // services, this is computed by taking the number of tasks with desired // state of not-Shutdown. DesiredTasks uint64 + + // CompletedTasks is the number of tasks in the state Completed, if this + // service is in ReplicatedJob or GlobalJob mode. This field must be + // cross-referenced with the service type, because the default value of 0 + // may mean that a service is not in a job mode, or it may mean that the + // job has yet to complete any tasks. + CompletedTasks uint64 +} + +// JobStatus is the status of a job-type service. +type JobStatus struct { + // JobIteration is a value increased each time a Job is executed, + // successfully or otherwise. "Executed", in this case, means the job as a + // whole has been started, not that an individual Task has been launched. A + // job is "Executed" when its ServiceSpec is updated. JobIteration can be + // used to disambiguate Tasks belonging to different executions of a job. + // + // Though JobIteration will increase with each subsequent execution, it may + // not necessarily increase by 1, and so JobIteration should not be used to + // keep track of the number of times a job has been executed. + JobIteration Version + + // LastExecution is the time that the job was last executed, as observed by + // Swarm manager. + LastExecution time.Time `json:",omitempty"` } diff --git a/vendor/github.com/docker/docker/api/types/swarm/task.go b/vendor/github.com/docker/docker/api/types/swarm/task.go index d5a57df5db..9f193df37c 100644 --- a/vendor/github.com/docker/docker/api/types/swarm/task.go +++ b/vendor/github.com/docker/docker/api/types/swarm/task.go @@ -56,6 +56,12 @@ type Task struct { DesiredState TaskState `json:",omitempty"` NetworksAttachments []NetworkAttachment `json:",omitempty"` GenericResources []GenericResource `json:",omitempty"` + + // JobIteration is the JobIteration of the Service that this Task was + // spawned from, if the Service is a ReplicatedJob or GlobalJob. This is + // used to determine which Tasks belong to which run of the job. This field + // is absent if the Service mode is Replicated or Global. + JobIteration *Version `json:",omitempty"` } // TaskSpec represents the spec of a task. diff --git a/vendor/github.com/docker/docker/api/types/types.go b/vendor/github.com/docker/docker/api/types/types.go index 4cf9a95ff2..7486eab4d8 100644 --- a/vendor/github.com/docker/docker/api/types/types.go +++ b/vendor/github.com/docker/docker/api/types/types.go @@ -154,7 +154,7 @@ type Info struct { Images int Driver string DriverStatus [][2]string - SystemStatus [][2]string + SystemStatus [][2]string `json:",omitempty"` // SystemStatus is only propagated by the Swarm standalone API Plugins PluginsInfo MemoryLimit bool SwapLimit bool @@ -318,7 +318,7 @@ type ContainerState struct { } // ContainerNode stores information about the node that a container -// is running on. It's only available in Docker Swarm +// is running on. It's only used by the Docker Swarm standalone API type ContainerNode struct { ID string IPAddress string `json:"IP"` @@ -342,7 +342,7 @@ type ContainerJSONBase struct { HostnamePath string HostsPath string LogPath string - Node *ContainerNode `json:",omitempty"` + Node *ContainerNode `json:",omitempty"` // Node is only propagated by Docker Swarm standalone API Name string RestartCount int Driver string diff --git a/vendor/github.com/docker/docker/client/ping.go b/vendor/github.com/docker/docker/client/ping.go index 1cfc48a25d..a9af001ef4 100644 --- a/vendor/github.com/docker/docker/client/ping.go +++ b/vendor/github.com/docker/docker/client/ping.go @@ -17,7 +17,7 @@ func (cli *Client) Ping(ctx context.Context) (types.Ping, error) { var ping types.Ping // Using cli.buildRequest() + cli.doRequest() instead of cli.sendRequest() - // because ping requests are used during API version negotiation, so we want + // because ping requests are used during API version negotiation, so we want // to hit the non-versioned /_ping endpoint, not /v1.xx/_ping req, err := cli.buildRequest(http.MethodHead, path.Join(cli.basePath, "/_ping"), nil, nil) if err != nil { diff --git a/vendor/github.com/docker/docker/registry/registry.go b/vendor/github.com/docker/docker/registry/registry.go index c661df4694..7c24e4a9b1 100644 --- a/vendor/github.com/docker/docker/registry/registry.go +++ b/vendor/github.com/docker/docker/registry/registry.go @@ -14,11 +14,10 @@ import ( "time" "github.com/docker/distribution/registry/client/transport" - "github.com/docker/go-connections/tlsconfig" - "github.com/sirupsen/logrus" - "github.com/docker/docker/pkg/homedir" "github.com/docker/docker/rootless" + "github.com/docker/go-connections/tlsconfig" + "github.com/sirupsen/logrus" ) var ( diff --git a/vendor/github.com/docker/docker/vendor.conf b/vendor/github.com/docker/docker/vendor.conf index 1d4f4060d3..fe5414ba1a 100644 --- a/vendor/github.com/docker/docker/vendor.conf +++ b/vendor/github.com/docker/docker/vendor.conf @@ -1,5 +1,5 @@ github.com/Azure/go-ansiterm d6e3b3328b783f23731bc4d058875b0371ff8109 -github.com/Microsoft/hcsshim b3f49c06ffaeef24d09c6c08ec8ec8425a0303e2 +github.com/Microsoft/hcsshim b3f49c06ffaeef24d09c6c08ec8ec8425a0303e2 # v0.8.7 github.com/Microsoft/go-winio 6c72808b55902eae4c5943626030429ff20f3b63 # v0.4.14 github.com/docker/libtrust 9cbd2a1374f46905c68a4eb3694a130610adc62a github.com/golang/gddo 72a348e765d293ed6d1ded7b699591f14d6cd921 @@ -17,7 +17,7 @@ golang.org/x/sys 6d18c012aee9febd81bbf9806760 github.com/docker/go-units 519db1ee28dcc9fd2474ae59fca29a810482bfb1 # v0.4.0 github.com/docker/go-connections 7395e3f8aa162843a74ed6d48e79627d9792ac55 # v0.4.0 golang.org/x/text f21a4dfb5e38f5895301dc265a8def02365cc3d0 # v0.3.0 -gotest.tools 1083505acf35a0bd8a696b26837e1fb3187a7a83 # v2.3.0 +gotest.tools/v3 ab4a870b92ce57a83881fbeb535a137a20d664b7 # v3.0.1 github.com/google/go-cmp 3af367b6b30c263d47e8895973edcca9a49cf029 # v0.2.0 github.com/syndtr/gocapability d98352740cb2c55f81556b63d4a1ec64c5a319c2 @@ -27,10 +27,10 @@ golang.org/x/sync e225da77a7e68af35c70ccbf71af # buildkit github.com/moby/buildkit 4f4e03067523b2fc5ca2f17514a5e75ad63e02fb -github.com/tonistiigi/fsutil 3bbb99cdbd76619ab717299830c60f6f2a533a6b +github.com/tonistiigi/fsutil 0f039a052ca1da01626278199624b62aed9b3729 github.com/grpc-ecosystem/grpc-opentracing 8e809c8a86450a29b90dcc9efbf062d0fe6d9746 github.com/opentracing/opentracing-go 1361b9cd60be79c4c3a7fa9841b3c132e40066a7 -github.com/google/shlex 6f45313302b9c56850fc17f99e40caebce98c716 +github.com/google/shlex e7afc7fbc51079733e9468cdfd1efcd7d196cd1d github.com/opentracing-contrib/go-stdlib b1a47cfbdd7543e70e9ef3e73d0802ad306cc1cc github.com/mitchellh/hashstructure 2bca23e0e452137f789efbc8610126fd8b94f73b github.com/gofrs/flock 392e7fae8f1b0bdbd67dad7237d23f618feb6dbb # v0.7.1 @@ -38,7 +38,7 @@ github.com/gofrs/flock 392e7fae8f1b0bdbd67dad7237d2 # libnetwork # When updating, also update LIBNETWORK_COMMIT in hack/dockerfile/install/proxy.installer accordingly -github.com/docker/libnetwork 90afbb01e1d8acacb505a092744ea42b9f167377 +github.com/docker/libnetwork feeff4f0a3fd2a2bb19cf67c826082c66ffaaed9 github.com/docker/go-events 9461782956ad83b30282bf90e31fa6a70c255ba9 github.com/armon/go-radix e39d623f12e8e41c7b5529e9a9dd67a1e2261f80 github.com/armon/go-metrics eb0af217e5e9747e41dd5303755356b62d28e3ec @@ -80,7 +80,7 @@ google.golang.org/grpc 39e8a7b072a67ca2a75f57fa2e0d # the containerd project first, and update both after that is merged. # This commit does not need to match RUNC_COMMIT as it is used for helper # packages but should be newer or equal. -github.com/opencontainers/runc d736ef14f0288d6993a1845745d6756cfc9ddd5a # v1.0.0-rc9 +github.com/opencontainers/runc dc9208a3303feef5b3839f4323d9beb36df0a9dd # v1.0.0-rc10 github.com/opencontainers/runtime-spec 29686dbc5559d93fb1ef402eeda3e35c38d75af4 # v1.0.1-59-g29686db github.com/opencontainers/image-spec d60099175f88c47cd379c4738d158884749ed235 # v1.0.1 github.com/seccomp/libseccomp-golang 689e3c1541a84461afc49c1c87352a6cedf72e9c # v0.9.1 @@ -101,9 +101,8 @@ github.com/tinylib/msgp af6442a0fcf6e2a1b824f70dd0c7 github.com/fsnotify/fsnotify 1485a34d5d5723fea214f5710708e19a831720e4 # v1.4.7-11-g1485a34 # awslogs deps -github.com/aws/aws-sdk-go 9ed0c8de252f04ac45a65358377103d5a1aa2d92 # v1.12.66 -github.com/go-ini/ini 300e940a926eb277d3901b20bdfcc54928ad3642 # v1.25.4 -github.com/jmespath/go-jmespath 0b12d6b521d83fc7f755e7cfc1b1fbdd35a01a74 +github.com/aws/aws-sdk-go 2590bc875c54c9fda225d8e4e56a9d28d90c6a47 # v1.28.11 +github.com/jmespath/go-jmespath c2b33e8439af944379acbdd9c3a5fe0bc44bd8a5 # see https://github.com/aws/aws-sdk-go/blob/2590bc875c54c9fda225d8e4e56a9d28d90c6a47/Gopkg.toml#L42 # logentries github.com/bsphere/le_go 7a984a84b5492ae539b79b62fb4a10afc63c7bcf @@ -119,7 +118,7 @@ google.golang.org/genproto 694d95ba50e67b2e363f3483057d # containerd github.com/containerd/containerd acdcf13d5eaf0dfe0eaeabe7194a82535549bc2b github.com/containerd/fifo bda0ff6ed73c67bfb5e62bc9c697f146b7fd7f13 -github.com/containerd/continuity f2a389ac0a02ce21c09edd7344677a601970f41c +github.com/containerd/continuity 26c1120b8d4107d2471b93ad78ef7ce1fc84c4c4 github.com/containerd/cgroups 5fbad35c2a7e855762d3c60f2e474ffcad0d470a github.com/containerd/console 0650fd9eeb50bab4fc99dceb9f2e14cf58f36e7f github.com/containerd/go-runc a2952bc25f5116103a8b78f3817f6df759aa7def @@ -128,13 +127,13 @@ github.com/containerd/ttrpc 92c8520ef9f86600c650dd540266 github.com/gogo/googleapis d31c731455cb061f42baff3bda55bad0118b126b # v1.2.0 # cluster -github.com/docker/swarmkit 7dded76ec532741c1ad9736cd2bb6d6661f0a386 +github.com/docker/swarmkit 49e35619b18200845c9365c1e953440c28868002 github.com/gogo/protobuf ba06b47c162d49f2af050fb4c75bcbc86a159d5c # v1.2.1 github.com/golang/protobuf aa810b61a9c79d51363740d207bb46cf8e620ed5 # v1.2.0 github.com/cloudflare/cfssl 5d63dbd981b5c408effbb58c442d54761ff94fbd # 1.3.2 github.com/fernet/fernet-go 9eac43b88a5efb8651d24de9b68e87567e029736 github.com/google/certificate-transparency-go 37a384cd035e722ea46e55029093e26687138edf # v1.0.20 -golang.org/x/crypto 88737f569e3a9c7ab309cdc09a07fe7fc87233c3 +golang.org/x/crypto 69ecbb4d6d5dab05e49161c6e77ea40a030884e1 golang.org/x/time fbb02b2291d28baffd63558aa44b4b56f178d650 github.com/hashicorp/go-memdb cb9a474f84cc5e41b273b20c6927680b2a8776ad github.com/hashicorp/go-immutable-radix 826af9ccf0feeee615d546d69b11f8e98da8c8f1 git://github.com/tonistiigi/go-immutable-radix.git @@ -143,14 +142,15 @@ github.com/coreos/pkg 3ac0863d7acf3bc44daf49afef89 code.cloudfoundry.org/clock 02e53af36e6c978af692887ed449b74026d76fec # prometheus -github.com/prometheus/client_golang c5b7fccd204277076155f10851dad72b76a49317 # v0.8.0 -github.com/beorn7/perks e7f67b54abbeac9c40a31de0f81159e4cafebd6a -github.com/prometheus/client_model 6f3806018612930941127f2a7c6c453ba2c527d2 -github.com/prometheus/common 7600349dcfe1abd18d72d3a1770870d9800a7801 -github.com/prometheus/procfs 7d6f385de8bea29190f15ba9931442a0eaef9af7 +github.com/prometheus/client_golang c42bebe5a5cddfc6b28cd639103369d8a75dfa89 # v1.3.0 +github.com/beorn7/perks 37c8de3658fcb183f997c4e13e8337516ab753e6 # v1.0.1 +github.com/prometheus/client_model d1d2010b5beead3fa1c5f271a5cf626e40b3ad6e # v0.1.0 +github.com/prometheus/common 287d3e634a1e550c9e463dd7e5a75a422c614505 # v0.7.0 +github.com/prometheus/procfs 6d489fc7f1d9cd890a250f3ea3431b1744b9623f # v0.0.8 github.com/matttproud/golang_protobuf_extensions c12348ce28de40eed0136aa2b644d0ee0650e56c # v1.0.1 github.com/pkg/errors ba968bfe8b2f7e042a574c888954fccecfa385b4 # v0.8.1 github.com/grpc-ecosystem/go-grpc-prometheus c225b8c3b01faf2899099b768856a9e916e5087b # v1.2.0 +github.com/cespare/xxhash/v2 d7df74196a9e781ede915320c11c378c1b2f3a1f # v2.1.1 # cli github.com/spf13/cobra ef82de70bb3f60c65fb8eebacbb2d122ef517385 # v0.0.3 @@ -159,8 +159,8 @@ github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce8 github.com/morikuni/aec 39771216ff4c63d11f5e604076f9c45e8be1067b # metrics -github.com/docker/go-metrics d466d4f6fd960e01820085bd7e1a24426ee7ef18 +github.com/docker/go-metrics b619b3592b65de4f087d9f16863a7e6ff905973c # v0.0.1 -github.com/opencontainers/selinux 3a1f366feb7aecbf7a0e71ac4cea88b31597de9e # v1.2.2 +github.com/opencontainers/selinux 5215b1806f52b1fcc2070a8826c542c9d33cd3cf # DO NOT EDIT BELOW THIS LINE -------- reserved for downstream projects -------- diff --git a/vendor/github.com/docker/swarmkit/api/ca.pb.go b/vendor/github.com/docker/swarmkit/api/ca.pb.go index 6f8e35c179..d5a7fd9f4d 100644 --- a/vendor/github.com/docker/swarmkit/api/ca.pb.go +++ b/vendor/github.com/docker/swarmkit/api/ca.pb.go @@ -1,267 +1,27 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: github.com/docker/swarmkit/api/ca.proto -/* - Package api is a generated protocol buffer package. - - It is generated from these files: - github.com/docker/swarmkit/api/ca.proto - github.com/docker/swarmkit/api/control.proto - github.com/docker/swarmkit/api/dispatcher.proto - github.com/docker/swarmkit/api/health.proto - github.com/docker/swarmkit/api/logbroker.proto - github.com/docker/swarmkit/api/objects.proto - github.com/docker/swarmkit/api/raft.proto - github.com/docker/swarmkit/api/resource.proto - github.com/docker/swarmkit/api/snapshot.proto - github.com/docker/swarmkit/api/specs.proto - github.com/docker/swarmkit/api/types.proto - github.com/docker/swarmkit/api/watch.proto - - It has these top-level messages: - NodeCertificateStatusRequest - NodeCertificateStatusResponse - IssueNodeCertificateRequest - IssueNodeCertificateResponse - GetRootCACertificateRequest - GetRootCACertificateResponse - GetUnlockKeyRequest - GetUnlockKeyResponse - GetNodeRequest - GetNodeResponse - ListNodesRequest - ListNodesResponse - UpdateNodeRequest - UpdateNodeResponse - RemoveNodeRequest - RemoveNodeResponse - GetTaskRequest - GetTaskResponse - RemoveTaskRequest - RemoveTaskResponse - ListTasksRequest - ListTasksResponse - CreateServiceRequest - CreateServiceResponse - GetServiceRequest - GetServiceResponse - UpdateServiceRequest - UpdateServiceResponse - RemoveServiceRequest - RemoveServiceResponse - ListServicesRequest - ListServicesResponse - ListServiceStatusesRequest - ListServiceStatusesResponse - CreateNetworkRequest - CreateNetworkResponse - GetNetworkRequest - GetNetworkResponse - RemoveNetworkRequest - RemoveNetworkResponse - ListNetworksRequest - ListNetworksResponse - GetClusterRequest - GetClusterResponse - ListClustersRequest - ListClustersResponse - KeyRotation - UpdateClusterRequest - UpdateClusterResponse - GetSecretRequest - GetSecretResponse - UpdateSecretRequest - UpdateSecretResponse - ListSecretsRequest - ListSecretsResponse - CreateSecretRequest - CreateSecretResponse - RemoveSecretRequest - RemoveSecretResponse - GetConfigRequest - GetConfigResponse - UpdateConfigRequest - UpdateConfigResponse - ListConfigsRequest - ListConfigsResponse - CreateConfigRequest - CreateConfigResponse - RemoveConfigRequest - RemoveConfigResponse - CreateExtensionRequest - CreateExtensionResponse - RemoveExtensionRequest - RemoveExtensionResponse - GetExtensionRequest - GetExtensionResponse - CreateResourceRequest - CreateResourceResponse - RemoveResourceRequest - RemoveResourceResponse - UpdateResourceRequest - UpdateResourceResponse - GetResourceRequest - GetResourceResponse - ListResourcesRequest - ListResourcesResponse - SessionRequest - SessionMessage - HeartbeatRequest - HeartbeatResponse - UpdateTaskStatusRequest - UpdateTaskStatusResponse - TasksRequest - TasksMessage - AssignmentsRequest - Assignment - AssignmentChange - AssignmentsMessage - HealthCheckRequest - HealthCheckResponse - LogSubscriptionOptions - LogSelector - LogContext - LogAttr - LogMessage - SubscribeLogsRequest - SubscribeLogsMessage - ListenSubscriptionsRequest - SubscriptionMessage - PublishLogsMessage - PublishLogsResponse - Meta - Node - Service - Endpoint - Task - NetworkAttachment - Network - Cluster - Secret - Config - Resource - Extension - RaftMember - JoinRequest - JoinResponse - LeaveRequest - LeaveResponse - ProcessRaftMessageRequest - ProcessRaftMessageResponse - StreamRaftMessageRequest - StreamRaftMessageResponse - ResolveAddressRequest - ResolveAddressResponse - InternalRaftRequest - StoreAction - AttachNetworkRequest - AttachNetworkResponse - DetachNetworkRequest - DetachNetworkResponse - StoreSnapshot - ClusterSnapshot - Snapshot - NodeSpec - ServiceSpec - ReplicatedService - GlobalService - TaskSpec - ResourceReference - GenericRuntimeSpec - NetworkAttachmentSpec - ContainerSpec - EndpointSpec - NetworkSpec - ClusterSpec - SecretSpec - ConfigSpec - Version - IndexEntry - Annotations - NamedGenericResource - DiscreteGenericResource - GenericResource - Resources - ResourceRequirements - Platform - PluginDescription - EngineDescription - NodeDescription - NodeTLSInfo - RaftMemberStatus - NodeStatus - Image - Mount - RestartPolicy - UpdateConfig - UpdateStatus - ContainerStatus - PortStatus - TaskStatus - NetworkAttachmentConfig - IPAMConfig - PortConfig - Driver - IPAMOptions - Peer - WeightedPeer - IssuanceStatus - AcceptancePolicy - ExternalCA - CAConfig - OrchestrationConfig - TaskDefaults - DispatcherConfig - RaftConfig - EncryptionConfig - SpreadOver - PlacementPreference - Placement - JoinTokens - RootCA - Certificate - EncryptionKey - ManagerStatus - FileTarget - RuntimeTarget - SecretReference - ConfigReference - BlacklistedCertificate - HealthConfig - MaybeEncryptedRecord - RootRotation - Privileges - Object - SelectBySlot - SelectByCustom - SelectBy - WatchRequest - WatchMessage -*/ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -278,22 +38,78 @@ type NodeCertificateStatusRequest struct { NodeID string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` } -func (m *NodeCertificateStatusRequest) Reset() { *m = NodeCertificateStatusRequest{} } -func (*NodeCertificateStatusRequest) ProtoMessage() {} -func (*NodeCertificateStatusRequest) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{0} } - -type NodeCertificateStatusResponse struct { - Status *IssuanceStatus `protobuf:"bytes,1,opt,name=status" json:"status,omitempty"` - Certificate *Certificate `protobuf:"bytes,2,opt,name=certificate" json:"certificate,omitempty"` +func (m *NodeCertificateStatusRequest) Reset() { *m = NodeCertificateStatusRequest{} } +func (*NodeCertificateStatusRequest) ProtoMessage() {} +func (*NodeCertificateStatusRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{0} +} +func (m *NodeCertificateStatusRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NodeCertificateStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NodeCertificateStatusRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NodeCertificateStatusRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeCertificateStatusRequest.Merge(m, src) +} +func (m *NodeCertificateStatusRequest) XXX_Size() int { + return m.Size() +} +func (m *NodeCertificateStatusRequest) XXX_DiscardUnknown() { + xxx_messageInfo_NodeCertificateStatusRequest.DiscardUnknown(m) } -func (m *NodeCertificateStatusResponse) Reset() { *m = NodeCertificateStatusResponse{} } -func (*NodeCertificateStatusResponse) ProtoMessage() {} -func (*NodeCertificateStatusResponse) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{1} } +var xxx_messageInfo_NodeCertificateStatusRequest proto.InternalMessageInfo + +type NodeCertificateStatusResponse struct { + Status *IssuanceStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + Certificate *Certificate `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` +} + +func (m *NodeCertificateStatusResponse) Reset() { *m = NodeCertificateStatusResponse{} } +func (*NodeCertificateStatusResponse) ProtoMessage() {} +func (*NodeCertificateStatusResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{1} +} +func (m *NodeCertificateStatusResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NodeCertificateStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NodeCertificateStatusResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NodeCertificateStatusResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeCertificateStatusResponse.Merge(m, src) +} +func (m *NodeCertificateStatusResponse) XXX_Size() int { + return m.Size() +} +func (m *NodeCertificateStatusResponse) XXX_DiscardUnknown() { + xxx_messageInfo_NodeCertificateStatusResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_NodeCertificateStatusResponse proto.InternalMessageInfo type IssueNodeCertificateRequest struct { // DEPRECATED: Role is now selected based on which secret is matched. - Role NodeRole `protobuf:"varint,1,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole" json:"role,omitempty"` + Role NodeRole `protobuf:"varint,1,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole" json:"role,omitempty"` // Deprecated: Do not use. // CSR is the certificate signing request. CSR []byte `protobuf:"bytes,2,opt,name=csr,proto3" json:"csr,omitempty"` // Token represents a user-provided string that is necessary for new @@ -303,49 +119,217 @@ type IssueNodeCertificateRequest struct { Availability NodeSpec_Availability `protobuf:"varint,4,opt,name=availability,proto3,enum=docker.swarmkit.v1.NodeSpec_Availability" json:"availability,omitempty"` } -func (m *IssueNodeCertificateRequest) Reset() { *m = IssueNodeCertificateRequest{} } -func (*IssueNodeCertificateRequest) ProtoMessage() {} -func (*IssueNodeCertificateRequest) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{2} } +func (m *IssueNodeCertificateRequest) Reset() { *m = IssueNodeCertificateRequest{} } +func (*IssueNodeCertificateRequest) ProtoMessage() {} +func (*IssueNodeCertificateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{2} +} +func (m *IssueNodeCertificateRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IssueNodeCertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IssueNodeCertificateRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IssueNodeCertificateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_IssueNodeCertificateRequest.Merge(m, src) +} +func (m *IssueNodeCertificateRequest) XXX_Size() int { + return m.Size() +} +func (m *IssueNodeCertificateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_IssueNodeCertificateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_IssueNodeCertificateRequest proto.InternalMessageInfo type IssueNodeCertificateResponse struct { NodeID string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` NodeMembership NodeSpec_Membership `protobuf:"varint,2,opt,name=node_membership,json=nodeMembership,proto3,enum=docker.swarmkit.v1.NodeSpec_Membership" json:"node_membership,omitempty"` } -func (m *IssueNodeCertificateResponse) Reset() { *m = IssueNodeCertificateResponse{} } -func (*IssueNodeCertificateResponse) ProtoMessage() {} -func (*IssueNodeCertificateResponse) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{3} } +func (m *IssueNodeCertificateResponse) Reset() { *m = IssueNodeCertificateResponse{} } +func (*IssueNodeCertificateResponse) ProtoMessage() {} +func (*IssueNodeCertificateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{3} +} +func (m *IssueNodeCertificateResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IssueNodeCertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IssueNodeCertificateResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IssueNodeCertificateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_IssueNodeCertificateResponse.Merge(m, src) +} +func (m *IssueNodeCertificateResponse) XXX_Size() int { + return m.Size() +} +func (m *IssueNodeCertificateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_IssueNodeCertificateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_IssueNodeCertificateResponse proto.InternalMessageInfo type GetRootCACertificateRequest struct { } -func (m *GetRootCACertificateRequest) Reset() { *m = GetRootCACertificateRequest{} } -func (*GetRootCACertificateRequest) ProtoMessage() {} -func (*GetRootCACertificateRequest) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{4} } +func (m *GetRootCACertificateRequest) Reset() { *m = GetRootCACertificateRequest{} } +func (*GetRootCACertificateRequest) ProtoMessage() {} +func (*GetRootCACertificateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{4} +} +func (m *GetRootCACertificateRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetRootCACertificateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetRootCACertificateRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetRootCACertificateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRootCACertificateRequest.Merge(m, src) +} +func (m *GetRootCACertificateRequest) XXX_Size() int { + return m.Size() +} +func (m *GetRootCACertificateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetRootCACertificateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetRootCACertificateRequest proto.InternalMessageInfo type GetRootCACertificateResponse struct { Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` } -func (m *GetRootCACertificateResponse) Reset() { *m = GetRootCACertificateResponse{} } -func (*GetRootCACertificateResponse) ProtoMessage() {} -func (*GetRootCACertificateResponse) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{5} } +func (m *GetRootCACertificateResponse) Reset() { *m = GetRootCACertificateResponse{} } +func (*GetRootCACertificateResponse) ProtoMessage() {} +func (*GetRootCACertificateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{5} +} +func (m *GetRootCACertificateResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetRootCACertificateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetRootCACertificateResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetRootCACertificateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetRootCACertificateResponse.Merge(m, src) +} +func (m *GetRootCACertificateResponse) XXX_Size() int { + return m.Size() +} +func (m *GetRootCACertificateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetRootCACertificateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetRootCACertificateResponse proto.InternalMessageInfo type GetUnlockKeyRequest struct { } -func (m *GetUnlockKeyRequest) Reset() { *m = GetUnlockKeyRequest{} } -func (*GetUnlockKeyRequest) ProtoMessage() {} -func (*GetUnlockKeyRequest) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{6} } +func (m *GetUnlockKeyRequest) Reset() { *m = GetUnlockKeyRequest{} } +func (*GetUnlockKeyRequest) ProtoMessage() {} +func (*GetUnlockKeyRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{6} +} +func (m *GetUnlockKeyRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetUnlockKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetUnlockKeyRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetUnlockKeyRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUnlockKeyRequest.Merge(m, src) +} +func (m *GetUnlockKeyRequest) XXX_Size() int { + return m.Size() +} +func (m *GetUnlockKeyRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetUnlockKeyRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetUnlockKeyRequest proto.InternalMessageInfo type GetUnlockKeyResponse struct { UnlockKey []byte `protobuf:"bytes,1,opt,name=unlock_key,json=unlockKey,proto3" json:"unlock_key,omitempty"` - Version Version `protobuf:"bytes,2,opt,name=version" json:"version"` + Version Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version"` } -func (m *GetUnlockKeyResponse) Reset() { *m = GetUnlockKeyResponse{} } -func (*GetUnlockKeyResponse) ProtoMessage() {} -func (*GetUnlockKeyResponse) Descriptor() ([]byte, []int) { return fileDescriptorCa, []int{7} } +func (m *GetUnlockKeyResponse) Reset() { *m = GetUnlockKeyResponse{} } +func (*GetUnlockKeyResponse) ProtoMessage() {} +func (*GetUnlockKeyResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_64a8db18191af608, []int{7} +} +func (m *GetUnlockKeyResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetUnlockKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetUnlockKeyResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetUnlockKeyResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetUnlockKeyResponse.Merge(m, src) +} +func (m *GetUnlockKeyResponse) XXX_Size() int { + return m.Size() +} +func (m *GetUnlockKeyResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetUnlockKeyResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetUnlockKeyResponse proto.InternalMessageInfo func init() { proto.RegisterType((*NodeCertificateStatusRequest)(nil), "docker.swarmkit.v1.NodeCertificateStatusRequest") @@ -358,6 +342,55 @@ func init() { proto.RegisterType((*GetUnlockKeyResponse)(nil), "docker.swarmkit.v1.GetUnlockKeyResponse") } +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/ca.proto", fileDescriptor_64a8db18191af608) +} + +var fileDescriptor_64a8db18191af608 = []byte{ + // 651 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xc1, 0x4f, 0x13, 0x4f, + 0x14, 0xee, 0x2c, 0xfc, 0xca, 0x8f, 0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de, 0xa2, 0x3b, 0xac, + 0x55, 0x44, 0xcb, 0x68, 0x75, 0xba, 0x0e, 0xe1, 0x71, 0x25, 0x1f, 0x51, 0x36, 0x9f, 0x92, 0x7c, + 0x94, 0xda, 0x6c, 0x19, 0xdf, 0x10, 0x2c, 0x8d, 0x50, 0x11, 0x1e, 0x77, 0x05, 0xc5, 0x8f, 0x20, + 0x2f, 0x54, 0x44, 0xa9, 0xcc, 0x54, 0x0d, 0xf3, 0xa2, 0x65, 0xe6, 0xa6, 0x10, 0x81, 0xed, 0x3a, + 0x29, 0x37, 0x61, 0xe0, 0x1a, 0xcc, 0x38, 0x67, 0xc2, 0x45, 0x4d, 0x09, 0x54, 0xb2, 0x04, 0x06, + 0xea, 0x93, 0x41, 0x8e, 0xf1, 0x13, 0xc1, 0x62, 0xa4, 0x4e, 0xcf, 0x75, 0x99, 0x4e, 0xf9, 0x00, + 0x26, 0x7d, 0xde, 0xa5, 0xaa, 0xb9, 0xd9, 0x6a, 0x39, 0x4b, 0x3b, 0x62, 0x12, 0xde, 0xa5, 0x75, + 0xad, 0x88, 0x88, 0x42, 0xe3, 0x9b, 0x30, 0xe1, 0x08, 0x5f, 0x35, 0x54, 0xa8, 0x4f, 0x85, 0xc7, + 0x95, 0x89, 0xc6, 0x36, 0x21, 0x51, 0x0c, 0xcf, 0xc3, 0x7f, 0x92, 0x77, 0xa8, 0x5b, 0x9c, 0x88, + 0x4c, 0x23, 0xf1, 0x01, 0x6f, 0x41, 0xc1, 0xde, 0xb7, 0x59, 0xd7, 0x6e, 0xb2, 0x2e, 0x93, 0xfd, + 0xe2, 0xa4, 0x2a, 0x77, 0x67, 0x54, 0xb9, 0x6d, 0x8f, 0x3a, 0x66, 0x6d, 0x80, 0x40, 0x86, 0xe8, + 0xc6, 0x67, 0x04, 0xe5, 0xec, 0xa9, 0x12, 0xd7, 0xaf, 0x72, 0x79, 0xf8, 0x05, 0xcc, 0x29, 0x50, + 0x8f, 0xf6, 0x9a, 0xd4, 0x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0x98, 0x7f, 0x65, 0xb6, 0x15, 0xe3, 0x16, + 0x7e, 0xc0, 0x8a, 0x8f, 0x08, 0x16, 0x32, 0x9f, 0x24, 0xbc, 0x36, 0x6a, 0xad, 0x47, 0xbd, 0x81, + 0xa5, 0xf5, 0x7f, 0x60, 0x9c, 0x6f, 0xa4, 0x7e, 0xfb, 0xe0, 0x44, 0xcf, 0x1d, 0x9d, 0xe8, 0xb9, + 0x77, 0xa1, 0x8e, 0x0e, 0x42, 0x1d, 0x1d, 0x86, 0x3a, 0xfa, 0x15, 0xea, 0xe8, 0xd3, 0xa9, 0x9e, + 0x3b, 0x3c, 0xd5, 0x73, 0x47, 0xa7, 0x7a, 0xae, 0x99, 0x57, 0xaf, 0xf1, 0xfd, 0x3f, 0x01, 0x00, + 0x00, 0xff, 0xff, 0xd2, 0x82, 0x20, 0x1b, 0x73, 0x06, 0x00, 0x00, +} + type authenticatedWrapperCAServer struct { local CAServer authorize func(context.Context, []string) error @@ -435,11 +468,11 @@ func (m *NodeCertificateStatusResponse) CopyFrom(src interface{}) { *m = *o if o.Status != nil { m.Status = &IssuanceStatus{} - deepcopy.Copy(m.Status, o.Status) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Status, o.Status) } if o.Certificate != nil { m.Certificate = &Certificate{} - deepcopy.Copy(m.Certificate, o.Certificate) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Certificate, o.Certificate) } } @@ -533,7 +566,7 @@ func (m *GetUnlockKeyResponse) CopyFrom(src interface{}) { m.UnlockKey = make([]byte, len(o.UnlockKey)) copy(m.UnlockKey, o.UnlockKey) } - deepcopy.Copy(&m.Version, &o.Version) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Version, &o.Version) } // Reference imports to suppress errors if they are not otherwise used. @@ -544,8 +577,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for CA service - +// CAClient is the client API for CA service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type CAClient interface { GetRootCACertificate(ctx context.Context, in *GetRootCACertificateRequest, opts ...grpc.CallOption) (*GetRootCACertificateResponse, error) // GetUnlockKey returns the current unlock key for the cluster for the role of the client @@ -563,7 +597,7 @@ func NewCAClient(cc *grpc.ClientConn) CAClient { func (c *cAClient) GetRootCACertificate(ctx context.Context, in *GetRootCACertificateRequest, opts ...grpc.CallOption) (*GetRootCACertificateResponse, error) { out := new(GetRootCACertificateResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.CA/GetRootCACertificate", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.CA/GetRootCACertificate", in, out, opts...) if err != nil { return nil, err } @@ -572,15 +606,14 @@ func (c *cAClient) GetRootCACertificate(ctx context.Context, in *GetRootCACertif func (c *cAClient) GetUnlockKey(ctx context.Context, in *GetUnlockKeyRequest, opts ...grpc.CallOption) (*GetUnlockKeyResponse, error) { out := new(GetUnlockKeyResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.CA/GetUnlockKey", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.CA/GetUnlockKey", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for CA service - +// CAServer is the server API for CA service. type CAServer interface { GetRootCACertificate(context.Context, *GetRootCACertificateRequest) (*GetRootCACertificateResponse, error) // GetUnlockKey returns the current unlock key for the cluster for the role of the client @@ -645,8 +678,9 @@ var _CA_serviceDesc = grpc.ServiceDesc{ Metadata: "github.com/docker/swarmkit/api/ca.proto", } -// Client API for NodeCA service - +// NodeCAClient is the client API for NodeCA service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type NodeCAClient interface { IssueNodeCertificate(ctx context.Context, in *IssueNodeCertificateRequest, opts ...grpc.CallOption) (*IssueNodeCertificateResponse, error) NodeCertificateStatus(ctx context.Context, in *NodeCertificateStatusRequest, opts ...grpc.CallOption) (*NodeCertificateStatusResponse, error) @@ -662,7 +696,7 @@ func NewNodeCAClient(cc *grpc.ClientConn) NodeCAClient { func (c *nodeCAClient) IssueNodeCertificate(ctx context.Context, in *IssueNodeCertificateRequest, opts ...grpc.CallOption) (*IssueNodeCertificateResponse, error) { out := new(IssueNodeCertificateResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.NodeCA/IssueNodeCertificate", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.NodeCA/IssueNodeCertificate", in, out, opts...) if err != nil { return nil, err } @@ -671,15 +705,14 @@ func (c *nodeCAClient) IssueNodeCertificate(ctx context.Context, in *IssueNodeCe func (c *nodeCAClient) NodeCertificateStatus(ctx context.Context, in *NodeCertificateStatusRequest, opts ...grpc.CallOption) (*NodeCertificateStatusResponse, error) { out := new(NodeCertificateStatusResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.NodeCA/NodeCertificateStatus", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.NodeCA/NodeCertificateStatus", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for NodeCA service - +// NodeCAServer is the server API for NodeCA service. type NodeCAServer interface { IssueNodeCertificate(context.Context, *IssueNodeCertificateRequest) (*IssueNodeCertificateResponse, error) NodeCertificateStatus(context.Context, *NodeCertificateStatusRequest) (*NodeCertificateStatusResponse, error) @@ -1260,6 +1293,9 @@ func (p *raftProxyNodeCAServer) NodeCertificateStatus(ctx context.Context, r *No } func (m *NodeCertificateStatusRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -1270,6 +1306,9 @@ func (m *NodeCertificateStatusRequest) Size() (n int) { } func (m *NodeCertificateStatusResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Status != nil { @@ -1284,6 +1323,9 @@ func (m *NodeCertificateStatusResponse) Size() (n int) { } func (m *IssueNodeCertificateRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Role != 0 { @@ -1304,6 +1346,9 @@ func (m *IssueNodeCertificateRequest) Size() (n int) { } func (m *IssueNodeCertificateResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -1317,12 +1362,18 @@ func (m *IssueNodeCertificateResponse) Size() (n int) { } func (m *GetRootCACertificateRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *GetRootCACertificateResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Certificate) @@ -1333,12 +1384,18 @@ func (m *GetRootCACertificateResponse) Size() (n int) { } func (m *GetUnlockKeyRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *GetUnlockKeyResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.UnlockKey) @@ -1470,7 +1527,7 @@ func (m *NodeCertificateStatusRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1498,7 +1555,7 @@ func (m *NodeCertificateStatusRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1508,6 +1565,9 @@ func (m *NodeCertificateStatusRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1522,6 +1582,9 @@ func (m *NodeCertificateStatusRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1549,7 +1612,7 @@ func (m *NodeCertificateStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1577,7 +1640,7 @@ func (m *NodeCertificateStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1586,6 +1649,9 @@ func (m *NodeCertificateStatusResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1610,7 +1676,7 @@ func (m *NodeCertificateStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1619,6 +1685,9 @@ func (m *NodeCertificateStatusResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1638,6 +1707,9 @@ func (m *NodeCertificateStatusResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1665,7 +1737,7 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1693,7 +1765,7 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Role |= (NodeRole(b) & 0x7F) << shift + m.Role |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -1712,7 +1784,7 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1721,6 +1793,9 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1743,7 +1818,7 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1753,6 +1828,9 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1772,7 +1850,7 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Availability |= (NodeSpec_Availability(b) & 0x7F) << shift + m.Availability |= NodeSpec_Availability(b&0x7F) << shift if b < 0x80 { break } @@ -1786,6 +1864,9 @@ func (m *IssueNodeCertificateRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1813,7 +1894,7 @@ func (m *IssueNodeCertificateResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1841,7 +1922,7 @@ func (m *IssueNodeCertificateResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1851,6 +1932,9 @@ func (m *IssueNodeCertificateResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1870,7 +1954,7 @@ func (m *IssueNodeCertificateResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.NodeMembership |= (NodeSpec_Membership(b) & 0x7F) << shift + m.NodeMembership |= NodeSpec_Membership(b&0x7F) << shift if b < 0x80 { break } @@ -1884,6 +1968,9 @@ func (m *IssueNodeCertificateResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1911,7 +1998,7 @@ func (m *GetRootCACertificateRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1934,6 +2021,9 @@ func (m *GetRootCACertificateRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1961,7 +2051,7 @@ func (m *GetRootCACertificateResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1989,7 +2079,7 @@ func (m *GetRootCACertificateResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1998,6 +2088,9 @@ func (m *GetRootCACertificateResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2015,6 +2108,9 @@ func (m *GetRootCACertificateResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2042,7 +2138,7 @@ func (m *GetUnlockKeyRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2065,6 +2161,9 @@ func (m *GetUnlockKeyRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2092,7 +2191,7 @@ func (m *GetUnlockKeyResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2120,7 +2219,7 @@ func (m *GetUnlockKeyResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2129,6 +2228,9 @@ func (m *GetUnlockKeyResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2151,7 +2253,7 @@ func (m *GetUnlockKeyResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2160,6 +2262,9 @@ func (m *GetUnlockKeyResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthCa } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthCa + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2176,6 +2281,9 @@ func (m *GetUnlockKeyResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthCa } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthCa + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2242,10 +2350,13 @@ func skipCa(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthCa } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthCa + } return iNdEx, nil case 3: for { @@ -2274,6 +2385,9 @@ func skipCa(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthCa + } } return iNdEx, nil case 4: @@ -2292,49 +2406,3 @@ var ( ErrInvalidLengthCa = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCa = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/ca.proto", fileDescriptorCa) } - -var fileDescriptorCa = []byte{ - // 638 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0xc1, 0x6e, 0xd3, 0x4c, - 0x10, 0xee, 0xba, 0xfd, 0xd3, 0xbf, 0xd3, 0xd0, 0xa2, 0xa5, 0x95, 0x4c, 0x9a, 0x3a, 0x95, 0x39, - 0xb4, 0x20, 0x61, 0xb7, 0x01, 0x09, 0x09, 0x2e, 0x24, 0x41, 0xaa, 0x2a, 0x54, 0x84, 0xb6, 0x82, - 0x6b, 0xe5, 0x38, 0xdb, 0x74, 0x15, 0xc7, 0x6b, 0xbc, 0xeb, 0x42, 0x6e, 0x48, 0x20, 0xde, 0x00, - 0xc1, 0x89, 0x47, 0xe0, 0x39, 0x2a, 0x4e, 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 0xb1, 0x81, 0xda, 0x25, 0xf5, 0x02, 0xdf, - 0xfb, 0x13, 0x00, 0x00, 0xff, 0xff, 0xe1, 0xda, 0xca, 0xba, 0x67, 0x06, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/control.pb.go b/vendor/github.com/docker/swarmkit/api/control.pb.go index 64facf1927..8c106ff16b 100644 --- a/vendor/github.com/docker/swarmkit/api/control.pb.go +++ b/vendor/github.com/docker/swarmkit/api/control.pb.go @@ -3,36 +3,39 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import google_protobuf4 "github.com/gogo/protobuf/types" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" -import sortkeys "github.com/gogo/protobuf/sortkeys" - -import io "io" +import ( + context "context" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" + types "github.com/gogo/protobuf/types" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type UpdateServiceRequest_Rollback int32 const ( @@ -48,6 +51,7 @@ var UpdateServiceRequest_Rollback_name = map[int32]string{ 0: "NONE", 1: "PREVIOUS", } + var UpdateServiceRequest_Rollback_value = map[string]int32{ "NONE": 0, "PREVIOUS": 1, @@ -56,82 +60,277 @@ var UpdateServiceRequest_Rollback_value = map[string]int32{ func (x UpdateServiceRequest_Rollback) String() string { return proto.EnumName(UpdateServiceRequest_Rollback_name, int32(x)) } + func (UpdateServiceRequest_Rollback) EnumDescriptor() ([]byte, []int) { - return fileDescriptorControl, []int{18, 0} + return fileDescriptor_b37401dd08bf8930, []int{18, 0} } type GetNodeRequest struct { NodeID string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` } -func (m *GetNodeRequest) Reset() { *m = GetNodeRequest{} } -func (*GetNodeRequest) ProtoMessage() {} -func (*GetNodeRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{0} } +func (m *GetNodeRequest) Reset() { *m = GetNodeRequest{} } +func (*GetNodeRequest) ProtoMessage() {} +func (*GetNodeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{0} +} +func (m *GetNodeRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetNodeRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetNodeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNodeRequest.Merge(m, src) +} +func (m *GetNodeRequest) XXX_Size() int { + return m.Size() +} +func (m *GetNodeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetNodeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetNodeRequest proto.InternalMessageInfo type GetNodeResponse struct { - Node *Node `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"` + Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` } -func (m *GetNodeResponse) Reset() { *m = GetNodeResponse{} } -func (*GetNodeResponse) ProtoMessage() {} -func (*GetNodeResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{1} } +func (m *GetNodeResponse) Reset() { *m = GetNodeResponse{} } +func (*GetNodeResponse) ProtoMessage() {} +func (*GetNodeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{1} +} +func (m *GetNodeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetNodeResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetNodeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNodeResponse.Merge(m, src) +} +func (m *GetNodeResponse) XXX_Size() int { + return m.Size() +} +func (m *GetNodeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetNodeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetNodeResponse proto.InternalMessageInfo type ListNodesRequest struct { - Filters *ListNodesRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` + Filters *ListNodesRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` } -func (m *ListNodesRequest) Reset() { *m = ListNodesRequest{} } -func (*ListNodesRequest) ProtoMessage() {} -func (*ListNodesRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{2} } +func (m *ListNodesRequest) Reset() { *m = ListNodesRequest{} } +func (*ListNodesRequest) ProtoMessage() {} +func (*ListNodesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{2} +} +func (m *ListNodesRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListNodesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListNodesRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListNodesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNodesRequest.Merge(m, src) +} +func (m *ListNodesRequest) XXX_Size() int { + return m.Size() +} +func (m *ListNodesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListNodesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNodesRequest proto.InternalMessageInfo type ListNodesRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"` // Labels refers to engine labels, which are labels set by the user on the // node and reported back to the managers - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // NodeLabels are labels set on the node object on the managers. - NodeLabels map[string]string `protobuf:"bytes,7,rep,name=node_labels,json=nodeLabels" json:"node_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Memberships []NodeSpec_Membership `protobuf:"varint,4,rep,name=memberships,enum=docker.swarmkit.v1.NodeSpec_Membership" json:"memberships,omitempty"` - Roles []NodeRole `protobuf:"varint,5,rep,name=roles,enum=docker.swarmkit.v1.NodeRole" json:"roles,omitempty"` + NodeLabels map[string]string `protobuf:"bytes,7,rep,name=node_labels,json=nodeLabels,proto3" json:"node_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Memberships []NodeSpec_Membership `protobuf:"varint,4,rep,name=memberships,proto3,enum=docker.swarmkit.v1.NodeSpec_Membership" json:"memberships,omitempty"` + Roles []NodeRole `protobuf:"varint,5,rep,name=roles,proto3,enum=docker.swarmkit.v1.NodeRole" json:"roles,omitempty"` // NamePrefixes matches all objects with the given prefixes - NamePrefixes []string `protobuf:"bytes,6,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` + NamePrefixes []string `protobuf:"bytes,6,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"` } func (m *ListNodesRequest_Filters) Reset() { *m = ListNodesRequest_Filters{} } func (*ListNodesRequest_Filters) ProtoMessage() {} func (*ListNodesRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{2, 0} + return fileDescriptor_b37401dd08bf8930, []int{2, 0} } +func (m *ListNodesRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListNodesRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListNodesRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListNodesRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNodesRequest_Filters.Merge(m, src) +} +func (m *ListNodesRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListNodesRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListNodesRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNodesRequest_Filters proto.InternalMessageInfo type ListNodesResponse struct { - Nodes []*Node `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"` + Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` } -func (m *ListNodesResponse) Reset() { *m = ListNodesResponse{} } -func (*ListNodesResponse) ProtoMessage() {} -func (*ListNodesResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{3} } +func (m *ListNodesResponse) Reset() { *m = ListNodesResponse{} } +func (*ListNodesResponse) ProtoMessage() {} +func (*ListNodesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{3} +} +func (m *ListNodesResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListNodesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListNodesResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListNodesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNodesResponse.Merge(m, src) +} +func (m *ListNodesResponse) XXX_Size() int { + return m.Size() +} +func (m *ListNodesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListNodesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNodesResponse proto.InternalMessageInfo // UpdateNodeRequest requests an update to the specified node. This may be used // to request a new availability for a node, such as PAUSE. Invalid updates // will be denied and cause an error. type UpdateNodeRequest struct { NodeID string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"` - NodeVersion *Version `protobuf:"bytes,2,opt,name=node_version,json=nodeVersion" json:"node_version,omitempty"` - Spec *NodeSpec `protobuf:"bytes,3,opt,name=spec" json:"spec,omitempty"` + NodeVersion *Version `protobuf:"bytes,2,opt,name=node_version,json=nodeVersion,proto3" json:"node_version,omitempty"` + Spec *NodeSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *UpdateNodeRequest) Reset() { *m = UpdateNodeRequest{} } -func (*UpdateNodeRequest) ProtoMessage() {} -func (*UpdateNodeRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{4} } +func (m *UpdateNodeRequest) Reset() { *m = UpdateNodeRequest{} } +func (*UpdateNodeRequest) ProtoMessage() {} +func (*UpdateNodeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{4} +} +func (m *UpdateNodeRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateNodeRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateNodeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateNodeRequest.Merge(m, src) +} +func (m *UpdateNodeRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateNodeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateNodeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateNodeRequest proto.InternalMessageInfo type UpdateNodeResponse struct { - Node *Node `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"` + Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` } -func (m *UpdateNodeResponse) Reset() { *m = UpdateNodeResponse{} } -func (*UpdateNodeResponse) ProtoMessage() {} -func (*UpdateNodeResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{5} } +func (m *UpdateNodeResponse) Reset() { *m = UpdateNodeResponse{} } +func (*UpdateNodeResponse) ProtoMessage() {} +func (*UpdateNodeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{5} +} +func (m *UpdateNodeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateNodeResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateNodeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateNodeResponse.Merge(m, src) +} +func (m *UpdateNodeResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateNodeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateNodeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateNodeResponse proto.InternalMessageInfo // RemoveNodeRequest requests to delete the specified node from store. type RemoveNodeRequest struct { @@ -139,66 +338,262 @@ type RemoveNodeRequest struct { Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"` } -func (m *RemoveNodeRequest) Reset() { *m = RemoveNodeRequest{} } -func (*RemoveNodeRequest) ProtoMessage() {} -func (*RemoveNodeRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{6} } +func (m *RemoveNodeRequest) Reset() { *m = RemoveNodeRequest{} } +func (*RemoveNodeRequest) ProtoMessage() {} +func (*RemoveNodeRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{6} +} +func (m *RemoveNodeRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveNodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveNodeRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveNodeRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNodeRequest.Merge(m, src) +} +func (m *RemoveNodeRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveNodeRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveNodeRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveNodeRequest proto.InternalMessageInfo type RemoveNodeResponse struct { } -func (m *RemoveNodeResponse) Reset() { *m = RemoveNodeResponse{} } -func (*RemoveNodeResponse) ProtoMessage() {} -func (*RemoveNodeResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{7} } +func (m *RemoveNodeResponse) Reset() { *m = RemoveNodeResponse{} } +func (*RemoveNodeResponse) ProtoMessage() {} +func (*RemoveNodeResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{7} +} +func (m *RemoveNodeResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveNodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveNodeResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveNodeResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNodeResponse.Merge(m, src) +} +func (m *RemoveNodeResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveNodeResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveNodeResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveNodeResponse proto.InternalMessageInfo type GetTaskRequest struct { TaskID string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` } -func (m *GetTaskRequest) Reset() { *m = GetTaskRequest{} } -func (*GetTaskRequest) ProtoMessage() {} -func (*GetTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{8} } - -type GetTaskResponse struct { - Task *Task `protobuf:"bytes,1,opt,name=task" json:"task,omitempty"` +func (m *GetTaskRequest) Reset() { *m = GetTaskRequest{} } +func (*GetTaskRequest) ProtoMessage() {} +func (*GetTaskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{8} +} +func (m *GetTaskRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetTaskRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTaskRequest.Merge(m, src) +} +func (m *GetTaskRequest) XXX_Size() int { + return m.Size() +} +func (m *GetTaskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetTaskRequest.DiscardUnknown(m) } -func (m *GetTaskResponse) Reset() { *m = GetTaskResponse{} } -func (*GetTaskResponse) ProtoMessage() {} -func (*GetTaskResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{9} } +var xxx_messageInfo_GetTaskRequest proto.InternalMessageInfo + +type GetTaskResponse struct { + Task *Task `protobuf:"bytes,1,opt,name=task,proto3" json:"task,omitempty"` +} + +func (m *GetTaskResponse) Reset() { *m = GetTaskResponse{} } +func (*GetTaskResponse) ProtoMessage() {} +func (*GetTaskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{9} +} +func (m *GetTaskResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetTaskResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetTaskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetTaskResponse.Merge(m, src) +} +func (m *GetTaskResponse) XXX_Size() int { + return m.Size() +} +func (m *GetTaskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetTaskResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetTaskResponse proto.InternalMessageInfo type RemoveTaskRequest struct { TaskID string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` } -func (m *RemoveTaskRequest) Reset() { *m = RemoveTaskRequest{} } -func (*RemoveTaskRequest) ProtoMessage() {} -func (*RemoveTaskRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{10} } +func (m *RemoveTaskRequest) Reset() { *m = RemoveTaskRequest{} } +func (*RemoveTaskRequest) ProtoMessage() {} +func (*RemoveTaskRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{10} +} +func (m *RemoveTaskRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveTaskRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveTaskRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTaskRequest.Merge(m, src) +} +func (m *RemoveTaskRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveTaskRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveTaskRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveTaskRequest proto.InternalMessageInfo type RemoveTaskResponse struct { } -func (m *RemoveTaskResponse) Reset() { *m = RemoveTaskResponse{} } -func (*RemoveTaskResponse) ProtoMessage() {} -func (*RemoveTaskResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{11} } - -type ListTasksRequest struct { - Filters *ListTasksRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` +func (m *RemoveTaskResponse) Reset() { *m = RemoveTaskResponse{} } +func (*RemoveTaskResponse) ProtoMessage() {} +func (*RemoveTaskResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{11} +} +func (m *RemoveTaskResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveTaskResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveTaskResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveTaskResponse.Merge(m, src) +} +func (m *RemoveTaskResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveTaskResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveTaskResponse.DiscardUnknown(m) } -func (m *ListTasksRequest) Reset() { *m = ListTasksRequest{} } -func (*ListTasksRequest) ProtoMessage() {} -func (*ListTasksRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{12} } +var xxx_messageInfo_RemoveTaskResponse proto.InternalMessageInfo + +type ListTasksRequest struct { + Filters *ListTasksRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` +} + +func (m *ListTasksRequest) Reset() { *m = ListTasksRequest{} } +func (*ListTasksRequest) ProtoMessage() {} +func (*ListTasksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{12} +} +func (m *ListTasksRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListTasksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListTasksRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListTasksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTasksRequest.Merge(m, src) +} +func (m *ListTasksRequest) XXX_Size() int { + return m.Size() +} +func (m *ListTasksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListTasksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListTasksRequest proto.InternalMessageInfo type ListTasksRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - ServiceIDs []string `protobuf:"bytes,4,rep,name=service_ids,json=serviceIds" json:"service_ids,omitempty"` - NodeIDs []string `protobuf:"bytes,5,rep,name=node_ids,json=nodeIds" json:"node_ids,omitempty"` - DesiredStates []TaskState `protobuf:"varint,6,rep,name=desired_states,json=desiredStates,enum=docker.swarmkit.v1.TaskState" json:"desired_states,omitempty"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"` + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + ServiceIDs []string `protobuf:"bytes,4,rep,name=service_ids,json=serviceIds,proto3" json:"service_ids,omitempty"` + NodeIDs []string `protobuf:"bytes,5,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"` + DesiredStates []TaskState `protobuf:"varint,6,rep,name=desired_states,json=desiredStates,proto3,enum=docker.swarmkit.v1.TaskState" json:"desired_states,omitempty"` // NamePrefixes matches all objects with the given prefixes - NamePrefixes []string `protobuf:"bytes,7,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` - Runtimes []string `protobuf:"bytes,9,rep,name=runtimes" json:"runtimes,omitempty"` + NamePrefixes []string `protobuf:"bytes,7,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"` + Runtimes []string `protobuf:"bytes,9,rep,name=runtimes,proto3" json:"runtimes,omitempty"` // UpToDate matches tasks that are consistent with the current // service definition. // Note: this is intended for internal status reporting rather @@ -209,145 +604,557 @@ type ListTasksRequest_Filters struct { func (m *ListTasksRequest_Filters) Reset() { *m = ListTasksRequest_Filters{} } func (*ListTasksRequest_Filters) ProtoMessage() {} func (*ListTasksRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{12, 0} + return fileDescriptor_b37401dd08bf8930, []int{12, 0} } +func (m *ListTasksRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListTasksRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListTasksRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListTasksRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTasksRequest_Filters.Merge(m, src) +} +func (m *ListTasksRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListTasksRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListTasksRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListTasksRequest_Filters proto.InternalMessageInfo type ListTasksResponse struct { - Tasks []*Task `protobuf:"bytes,1,rep,name=tasks" json:"tasks,omitempty"` + Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` } -func (m *ListTasksResponse) Reset() { *m = ListTasksResponse{} } -func (*ListTasksResponse) ProtoMessage() {} -func (*ListTasksResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{13} } +func (m *ListTasksResponse) Reset() { *m = ListTasksResponse{} } +func (*ListTasksResponse) ProtoMessage() {} +func (*ListTasksResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{13} +} +func (m *ListTasksResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListTasksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListTasksResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListTasksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListTasksResponse.Merge(m, src) +} +func (m *ListTasksResponse) XXX_Size() int { + return m.Size() +} +func (m *ListTasksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListTasksResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListTasksResponse proto.InternalMessageInfo type CreateServiceRequest struct { - Spec *ServiceSpec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"` + Spec *ServiceSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *CreateServiceRequest) Reset() { *m = CreateServiceRequest{} } -func (*CreateServiceRequest) ProtoMessage() {} -func (*CreateServiceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{14} } +func (m *CreateServiceRequest) Reset() { *m = CreateServiceRequest{} } +func (*CreateServiceRequest) ProtoMessage() {} +func (*CreateServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{14} +} +func (m *CreateServiceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateServiceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateServiceRequest.Merge(m, src) +} +func (m *CreateServiceRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateServiceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateServiceRequest proto.InternalMessageInfo type CreateServiceResponse struct { - Service *Service `protobuf:"bytes,1,opt,name=service" json:"service,omitempty"` + Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` } -func (m *CreateServiceResponse) Reset() { *m = CreateServiceResponse{} } -func (*CreateServiceResponse) ProtoMessage() {} -func (*CreateServiceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{15} } +func (m *CreateServiceResponse) Reset() { *m = CreateServiceResponse{} } +func (*CreateServiceResponse) ProtoMessage() {} +func (*CreateServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{15} +} +func (m *CreateServiceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateServiceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateServiceResponse.Merge(m, src) +} +func (m *CreateServiceResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateServiceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateServiceResponse proto.InternalMessageInfo type GetServiceRequest struct { ServiceID string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` InsertDefaults bool `protobuf:"varint,2,opt,name=insert_defaults,json=insertDefaults,proto3" json:"insert_defaults,omitempty"` } -func (m *GetServiceRequest) Reset() { *m = GetServiceRequest{} } -func (*GetServiceRequest) ProtoMessage() {} -func (*GetServiceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{16} } - -type GetServiceResponse struct { - Service *Service `protobuf:"bytes,1,opt,name=service" json:"service,omitempty"` +func (m *GetServiceRequest) Reset() { *m = GetServiceRequest{} } +func (*GetServiceRequest) ProtoMessage() {} +func (*GetServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{16} +} +func (m *GetServiceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetServiceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetServiceRequest.Merge(m, src) +} +func (m *GetServiceRequest) XXX_Size() int { + return m.Size() +} +func (m *GetServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetServiceRequest.DiscardUnknown(m) } -func (m *GetServiceResponse) Reset() { *m = GetServiceResponse{} } -func (*GetServiceResponse) ProtoMessage() {} -func (*GetServiceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{17} } +var xxx_messageInfo_GetServiceRequest proto.InternalMessageInfo + +type GetServiceResponse struct { + Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` +} + +func (m *GetServiceResponse) Reset() { *m = GetServiceResponse{} } +func (*GetServiceResponse) ProtoMessage() {} +func (*GetServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{17} +} +func (m *GetServiceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetServiceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetServiceResponse.Merge(m, src) +} +func (m *GetServiceResponse) XXX_Size() int { + return m.Size() +} +func (m *GetServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetServiceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetServiceResponse proto.InternalMessageInfo type UpdateServiceRequest struct { ServiceID string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` - ServiceVersion *Version `protobuf:"bytes,2,opt,name=service_version,json=serviceVersion" json:"service_version,omitempty"` - Spec *ServiceSpec `protobuf:"bytes,3,opt,name=spec" json:"spec,omitempty"` + ServiceVersion *Version `protobuf:"bytes,2,opt,name=service_version,json=serviceVersion,proto3" json:"service_version,omitempty"` + Spec *ServiceSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` // Rollback may be set to PREVIOUS to request a rollback (the service's // spec will be set to the value of its previous_spec field). In this // case, the spec field of this request is ignored. Rollback UpdateServiceRequest_Rollback `protobuf:"varint,4,opt,name=rollback,proto3,enum=docker.swarmkit.v1.UpdateServiceRequest_Rollback" json:"rollback,omitempty"` } -func (m *UpdateServiceRequest) Reset() { *m = UpdateServiceRequest{} } -func (*UpdateServiceRequest) ProtoMessage() {} -func (*UpdateServiceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{18} } - -type UpdateServiceResponse struct { - Service *Service `protobuf:"bytes,1,opt,name=service" json:"service,omitempty"` +func (m *UpdateServiceRequest) Reset() { *m = UpdateServiceRequest{} } +func (*UpdateServiceRequest) ProtoMessage() {} +func (*UpdateServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{18} +} +func (m *UpdateServiceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateServiceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateServiceRequest.Merge(m, src) +} +func (m *UpdateServiceRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateServiceRequest.DiscardUnknown(m) } -func (m *UpdateServiceResponse) Reset() { *m = UpdateServiceResponse{} } -func (*UpdateServiceResponse) ProtoMessage() {} -func (*UpdateServiceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{19} } +var xxx_messageInfo_UpdateServiceRequest proto.InternalMessageInfo + +type UpdateServiceResponse struct { + Service *Service `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` +} + +func (m *UpdateServiceResponse) Reset() { *m = UpdateServiceResponse{} } +func (*UpdateServiceResponse) ProtoMessage() {} +func (*UpdateServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{19} +} +func (m *UpdateServiceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateServiceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateServiceResponse.Merge(m, src) +} +func (m *UpdateServiceResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateServiceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateServiceResponse proto.InternalMessageInfo type RemoveServiceRequest struct { ServiceID string `protobuf:"bytes,1,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` } -func (m *RemoveServiceRequest) Reset() { *m = RemoveServiceRequest{} } -func (*RemoveServiceRequest) ProtoMessage() {} -func (*RemoveServiceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{20} } +func (m *RemoveServiceRequest) Reset() { *m = RemoveServiceRequest{} } +func (*RemoveServiceRequest) ProtoMessage() {} +func (*RemoveServiceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{20} +} +func (m *RemoveServiceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveServiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveServiceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveServiceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveServiceRequest.Merge(m, src) +} +func (m *RemoveServiceRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveServiceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveServiceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveServiceRequest proto.InternalMessageInfo type RemoveServiceResponse struct { } -func (m *RemoveServiceResponse) Reset() { *m = RemoveServiceResponse{} } -func (*RemoveServiceResponse) ProtoMessage() {} -func (*RemoveServiceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{21} } - -type ListServicesRequest struct { - Filters *ListServicesRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` +func (m *RemoveServiceResponse) Reset() { *m = RemoveServiceResponse{} } +func (*RemoveServiceResponse) ProtoMessage() {} +func (*RemoveServiceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{21} +} +func (m *RemoveServiceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveServiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveServiceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveServiceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveServiceResponse.Merge(m, src) +} +func (m *RemoveServiceResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveServiceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveServiceResponse.DiscardUnknown(m) } -func (m *ListServicesRequest) Reset() { *m = ListServicesRequest{} } -func (*ListServicesRequest) ProtoMessage() {} -func (*ListServicesRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{22} } +var xxx_messageInfo_RemoveServiceResponse proto.InternalMessageInfo + +type ListServicesRequest struct { + Filters *ListServicesRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` +} + +func (m *ListServicesRequest) Reset() { *m = ListServicesRequest{} } +func (*ListServicesRequest) ProtoMessage() {} +func (*ListServicesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{22} +} +func (m *ListServicesRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListServicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListServicesRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListServicesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServicesRequest.Merge(m, src) +} +func (m *ListServicesRequest) XXX_Size() int { + return m.Size() +} +func (m *ListServicesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListServicesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListServicesRequest proto.InternalMessageInfo type ListServicesRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"` + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // NamePrefixes matches all objects with the given prefixes - NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` - Runtimes []string `protobuf:"bytes,5,rep,name=runtimes" json:"runtimes,omitempty"` + NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"` + Runtimes []string `protobuf:"bytes,5,rep,name=runtimes,proto3" json:"runtimes,omitempty"` } func (m *ListServicesRequest_Filters) Reset() { *m = ListServicesRequest_Filters{} } func (*ListServicesRequest_Filters) ProtoMessage() {} func (*ListServicesRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{22, 0} + return fileDescriptor_b37401dd08bf8930, []int{22, 0} } +func (m *ListServicesRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListServicesRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListServicesRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListServicesRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServicesRequest_Filters.Merge(m, src) +} +func (m *ListServicesRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListServicesRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListServicesRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListServicesRequest_Filters proto.InternalMessageInfo type ListServicesResponse struct { - Services []*Service `protobuf:"bytes,1,rep,name=services" json:"services,omitempty"` + Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` } -func (m *ListServicesResponse) Reset() { *m = ListServicesResponse{} } -func (*ListServicesResponse) ProtoMessage() {} -func (*ListServicesResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{23} } +func (m *ListServicesResponse) Reset() { *m = ListServicesResponse{} } +func (*ListServicesResponse) ProtoMessage() {} +func (*ListServicesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{23} +} +func (m *ListServicesResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListServicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListServicesResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListServicesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServicesResponse.Merge(m, src) +} +func (m *ListServicesResponse) XXX_Size() int { + return m.Size() +} +func (m *ListServicesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListServicesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListServicesResponse proto.InternalMessageInfo // ListServiceStatusesRequest is a request to get the aggregate status of a // service by computing the number of running vs desired tasks. It includes // only a service ID. type ListServiceStatusesRequest struct { // Services is a list of service IDs to get statuses for. - Services []string `protobuf:"bytes,1,rep,name=services" json:"services,omitempty"` + Services []string `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` } func (m *ListServiceStatusesRequest) Reset() { *m = ListServiceStatusesRequest{} } func (*ListServiceStatusesRequest) ProtoMessage() {} func (*ListServiceStatusesRequest) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{24} + return fileDescriptor_b37401dd08bf8930, []int{24} } +func (m *ListServiceStatusesRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListServiceStatusesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListServiceStatusesRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListServiceStatusesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServiceStatusesRequest.Merge(m, src) +} +func (m *ListServiceStatusesRequest) XXX_Size() int { + return m.Size() +} +func (m *ListServiceStatusesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListServiceStatusesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListServiceStatusesRequest proto.InternalMessageInfo // ListServiceStatusesResponse is a response containing the aggregate status of // a service, formed by computing the number of running vs desired tasks. The // values returned are only valid for the point in time at which the request is // made. type ListServiceStatusesResponse struct { - Statuses []*ListServiceStatusesResponse_ServiceStatus `protobuf:"bytes,1,rep,name=statuses" json:"statuses,omitempty"` + Statuses []*ListServiceStatusesResponse_ServiceStatus `protobuf:"bytes,1,rep,name=statuses,proto3" json:"statuses,omitempty"` } func (m *ListServiceStatusesResponse) Reset() { *m = ListServiceStatusesResponse{} } func (*ListServiceStatusesResponse) ProtoMessage() {} func (*ListServiceStatusesResponse) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{25} + return fileDescriptor_b37401dd08bf8930, []int{25} } +func (m *ListServiceStatusesResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListServiceStatusesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListServiceStatusesResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListServiceStatusesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServiceStatusesResponse.Merge(m, src) +} +func (m *ListServiceStatusesResponse) XXX_Size() int { + return m.Size() +} +func (m *ListServiceStatusesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListServiceStatusesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListServiceStatusesResponse proto.InternalMessageInfo type ListServiceStatusesResponse_ServiceStatus struct { // ServiceID is the ID of the service this status describes @@ -360,6 +1167,12 @@ type ListServiceStatusesResponse_ServiceStatus struct { // request time. This may be larger than desired tasks if, for example, a // service has been scaled down. RunningTasks uint64 `protobuf:"varint,3,opt,name=running_tasks,json=runningTasks,proto3" json:"running_tasks,omitempty"` + // CompletedTasks is the number of tasks in state Completed, if this + // service is in mode ReplicatedJob or GlobalJob. This must be + // cross-referenced with the service type, because the default value of 0 + // may mean that a service is not in a Job mode, or it may mean the Job has + // yet to complete any Tasks. + CompletedTasks uint64 `protobuf:"varint,4,opt,name=completed_tasks,json=completedTasks,proto3" json:"completed_tasks,omitempty"` } func (m *ListServiceStatusesResponse_ServiceStatus) Reset() { @@ -367,133 +1180,547 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Reset() { } func (*ListServiceStatusesResponse_ServiceStatus) ProtoMessage() {} func (*ListServiceStatusesResponse_ServiceStatus) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{25, 0} + return fileDescriptor_b37401dd08bf8930, []int{25, 0} } +func (m *ListServiceStatusesResponse_ServiceStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListServiceStatusesResponse_ServiceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListServiceStatusesResponse_ServiceStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListServiceStatusesResponse_ServiceStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListServiceStatusesResponse_ServiceStatus.Merge(m, src) +} +func (m *ListServiceStatusesResponse_ServiceStatus) XXX_Size() int { + return m.Size() +} +func (m *ListServiceStatusesResponse_ServiceStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ListServiceStatusesResponse_ServiceStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ListServiceStatusesResponse_ServiceStatus proto.InternalMessageInfo type CreateNetworkRequest struct { - Spec *NetworkSpec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"` + Spec *NetworkSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *CreateNetworkRequest) Reset() { *m = CreateNetworkRequest{} } -func (*CreateNetworkRequest) ProtoMessage() {} -func (*CreateNetworkRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{26} } +func (m *CreateNetworkRequest) Reset() { *m = CreateNetworkRequest{} } +func (*CreateNetworkRequest) ProtoMessage() {} +func (*CreateNetworkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{26} +} +func (m *CreateNetworkRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateNetworkRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNetworkRequest.Merge(m, src) +} +func (m *CreateNetworkRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateNetworkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateNetworkRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateNetworkRequest proto.InternalMessageInfo type CreateNetworkResponse struct { - Network *Network `protobuf:"bytes,1,opt,name=network" json:"network,omitempty"` + Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` } -func (m *CreateNetworkResponse) Reset() { *m = CreateNetworkResponse{} } -func (*CreateNetworkResponse) ProtoMessage() {} -func (*CreateNetworkResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{27} } +func (m *CreateNetworkResponse) Reset() { *m = CreateNetworkResponse{} } +func (*CreateNetworkResponse) ProtoMessage() {} +func (*CreateNetworkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{27} +} +func (m *CreateNetworkResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateNetworkResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateNetworkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateNetworkResponse.Merge(m, src) +} +func (m *CreateNetworkResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateNetworkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateNetworkResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateNetworkResponse proto.InternalMessageInfo type GetNetworkRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` NetworkID string `protobuf:"bytes,2,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` } -func (m *GetNetworkRequest) Reset() { *m = GetNetworkRequest{} } -func (*GetNetworkRequest) ProtoMessage() {} -func (*GetNetworkRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{28} } - -type GetNetworkResponse struct { - Network *Network `protobuf:"bytes,1,opt,name=network" json:"network,omitempty"` +func (m *GetNetworkRequest) Reset() { *m = GetNetworkRequest{} } +func (*GetNetworkRequest) ProtoMessage() {} +func (*GetNetworkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{28} +} +func (m *GetNetworkRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetNetworkRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNetworkRequest.Merge(m, src) +} +func (m *GetNetworkRequest) XXX_Size() int { + return m.Size() +} +func (m *GetNetworkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetNetworkRequest.DiscardUnknown(m) } -func (m *GetNetworkResponse) Reset() { *m = GetNetworkResponse{} } -func (*GetNetworkResponse) ProtoMessage() {} -func (*GetNetworkResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{29} } +var xxx_messageInfo_GetNetworkRequest proto.InternalMessageInfo + +type GetNetworkResponse struct { + Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` +} + +func (m *GetNetworkResponse) Reset() { *m = GetNetworkResponse{} } +func (*GetNetworkResponse) ProtoMessage() {} +func (*GetNetworkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{29} +} +func (m *GetNetworkResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetNetworkResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetNetworkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetNetworkResponse.Merge(m, src) +} +func (m *GetNetworkResponse) XXX_Size() int { + return m.Size() +} +func (m *GetNetworkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetNetworkResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetNetworkResponse proto.InternalMessageInfo type RemoveNetworkRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` NetworkID string `protobuf:"bytes,2,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` } -func (m *RemoveNetworkRequest) Reset() { *m = RemoveNetworkRequest{} } -func (*RemoveNetworkRequest) ProtoMessage() {} -func (*RemoveNetworkRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{30} } +func (m *RemoveNetworkRequest) Reset() { *m = RemoveNetworkRequest{} } +func (*RemoveNetworkRequest) ProtoMessage() {} +func (*RemoveNetworkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{30} +} +func (m *RemoveNetworkRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveNetworkRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNetworkRequest.Merge(m, src) +} +func (m *RemoveNetworkRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveNetworkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveNetworkRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveNetworkRequest proto.InternalMessageInfo type RemoveNetworkResponse struct { } -func (m *RemoveNetworkResponse) Reset() { *m = RemoveNetworkResponse{} } -func (*RemoveNetworkResponse) ProtoMessage() {} -func (*RemoveNetworkResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{31} } - -type ListNetworksRequest struct { - Filters *ListNetworksRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` +func (m *RemoveNetworkResponse) Reset() { *m = RemoveNetworkResponse{} } +func (*RemoveNetworkResponse) ProtoMessage() {} +func (*RemoveNetworkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{31} +} +func (m *RemoveNetworkResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveNetworkResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveNetworkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveNetworkResponse.Merge(m, src) +} +func (m *RemoveNetworkResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveNetworkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveNetworkResponse.DiscardUnknown(m) } -func (m *ListNetworksRequest) Reset() { *m = ListNetworksRequest{} } -func (*ListNetworksRequest) ProtoMessage() {} -func (*ListNetworksRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{32} } +var xxx_messageInfo_RemoveNetworkResponse proto.InternalMessageInfo + +type ListNetworksRequest struct { + Filters *ListNetworksRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` +} + +func (m *ListNetworksRequest) Reset() { *m = ListNetworksRequest{} } +func (*ListNetworksRequest) ProtoMessage() {} +func (*ListNetworksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{32} +} +func (m *ListNetworksRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListNetworksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListNetworksRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListNetworksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworksRequest.Merge(m, src) +} +func (m *ListNetworksRequest) XXX_Size() int { + return m.Size() +} +func (m *ListNetworksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListNetworksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNetworksRequest proto.InternalMessageInfo type ListNetworksRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"` + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // NamePrefixes matches all objects with the given prefixes - NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` + NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"` } func (m *ListNetworksRequest_Filters) Reset() { *m = ListNetworksRequest_Filters{} } func (*ListNetworksRequest_Filters) ProtoMessage() {} func (*ListNetworksRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{32, 0} + return fileDescriptor_b37401dd08bf8930, []int{32, 0} } +func (m *ListNetworksRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListNetworksRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListNetworksRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListNetworksRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworksRequest_Filters.Merge(m, src) +} +func (m *ListNetworksRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListNetworksRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListNetworksRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNetworksRequest_Filters proto.InternalMessageInfo type ListNetworksResponse struct { - Networks []*Network `protobuf:"bytes,1,rep,name=networks" json:"networks,omitempty"` + Networks []*Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"` } -func (m *ListNetworksResponse) Reset() { *m = ListNetworksResponse{} } -func (*ListNetworksResponse) ProtoMessage() {} -func (*ListNetworksResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{33} } +func (m *ListNetworksResponse) Reset() { *m = ListNetworksResponse{} } +func (*ListNetworksResponse) ProtoMessage() {} +func (*ListNetworksResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{33} +} +func (m *ListNetworksResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListNetworksResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListNetworksResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListNetworksResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListNetworksResponse.Merge(m, src) +} +func (m *ListNetworksResponse) XXX_Size() int { + return m.Size() +} +func (m *ListNetworksResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListNetworksResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListNetworksResponse proto.InternalMessageInfo type GetClusterRequest struct { ClusterID string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` } -func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } -func (*GetClusterRequest) ProtoMessage() {} -func (*GetClusterRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{34} } +func (m *GetClusterRequest) Reset() { *m = GetClusterRequest{} } +func (*GetClusterRequest) ProtoMessage() {} +func (*GetClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{34} +} +func (m *GetClusterRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetClusterRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterRequest.Merge(m, src) +} +func (m *GetClusterRequest) XXX_Size() int { + return m.Size() +} +func (m *GetClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetClusterRequest proto.InternalMessageInfo type GetClusterResponse struct { - Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster" json:"cluster,omitempty"` + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` } -func (m *GetClusterResponse) Reset() { *m = GetClusterResponse{} } -func (*GetClusterResponse) ProtoMessage() {} -func (*GetClusterResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{35} } +func (m *GetClusterResponse) Reset() { *m = GetClusterResponse{} } +func (*GetClusterResponse) ProtoMessage() {} +func (*GetClusterResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{35} +} +func (m *GetClusterResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetClusterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetClusterResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetClusterResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetClusterResponse.Merge(m, src) +} +func (m *GetClusterResponse) XXX_Size() int { + return m.Size() +} +func (m *GetClusterResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetClusterResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetClusterResponse proto.InternalMessageInfo type ListClustersRequest struct { - Filters *ListClustersRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` + Filters *ListClustersRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` } -func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } -func (*ListClustersRequest) ProtoMessage() {} -func (*ListClustersRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{36} } +func (m *ListClustersRequest) Reset() { *m = ListClustersRequest{} } +func (*ListClustersRequest) ProtoMessage() {} +func (*ListClustersRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{36} +} +func (m *ListClustersRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListClustersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListClustersRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListClustersRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersRequest.Merge(m, src) +} +func (m *ListClustersRequest) XXX_Size() int { + return m.Size() +} +func (m *ListClustersRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListClustersRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClustersRequest proto.InternalMessageInfo type ListClustersRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"` + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // NamePrefixes matches all objects with the given prefixes - NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` + NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"` } func (m *ListClustersRequest_Filters) Reset() { *m = ListClustersRequest_Filters{} } func (*ListClustersRequest_Filters) ProtoMessage() {} func (*ListClustersRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{36, 0} + return fileDescriptor_b37401dd08bf8930, []int{36, 0} } +func (m *ListClustersRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListClustersRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListClustersRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListClustersRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersRequest_Filters.Merge(m, src) +} +func (m *ListClustersRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListClustersRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListClustersRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClustersRequest_Filters proto.InternalMessageInfo type ListClustersResponse struct { - Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters" json:"clusters,omitempty"` + Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` } -func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } -func (*ListClustersResponse) ProtoMessage() {} -func (*ListClustersResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{37} } +func (m *ListClustersResponse) Reset() { *m = ListClustersResponse{} } +func (*ListClustersResponse) ProtoMessage() {} +func (*ListClustersResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{37} +} +func (m *ListClustersResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListClustersResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListClustersResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListClustersResponse.Merge(m, src) +} +func (m *ListClustersResponse) XXX_Size() int { + return m.Size() +} +func (m *ListClustersResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListClustersResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListClustersResponse proto.InternalMessageInfo // KeyRotation tells UpdateCluster what items to rotate type KeyRotation struct { @@ -505,130 +1732,464 @@ type KeyRotation struct { ManagerUnlockKey bool `protobuf:"varint,3,opt,name=manager_unlock_key,json=managerUnlockKey,proto3" json:"manager_unlock_key,omitempty"` } -func (m *KeyRotation) Reset() { *m = KeyRotation{} } -func (*KeyRotation) ProtoMessage() {} -func (*KeyRotation) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{38} } +func (m *KeyRotation) Reset() { *m = KeyRotation{} } +func (*KeyRotation) ProtoMessage() {} +func (*KeyRotation) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{38} +} +func (m *KeyRotation) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *KeyRotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_KeyRotation.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *KeyRotation) XXX_Merge(src proto.Message) { + xxx_messageInfo_KeyRotation.Merge(m, src) +} +func (m *KeyRotation) XXX_Size() int { + return m.Size() +} +func (m *KeyRotation) XXX_DiscardUnknown() { + xxx_messageInfo_KeyRotation.DiscardUnknown(m) +} + +var xxx_messageInfo_KeyRotation proto.InternalMessageInfo type UpdateClusterRequest struct { // ClusterID is the cluster ID to update. ClusterID string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // ClusterVersion is the version of the cluster being updated. - ClusterVersion *Version `protobuf:"bytes,2,opt,name=cluster_version,json=clusterVersion" json:"cluster_version,omitempty"` + ClusterVersion *Version `protobuf:"bytes,2,opt,name=cluster_version,json=clusterVersion,proto3" json:"cluster_version,omitempty"` // Spec is the new spec to apply to the cluster. - Spec *ClusterSpec `protobuf:"bytes,3,opt,name=spec" json:"spec,omitempty"` + Spec *ClusterSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` // Rotation contains flags for join token and unlock key rotation - Rotation KeyRotation `protobuf:"bytes,4,opt,name=rotation" json:"rotation"` + Rotation KeyRotation `protobuf:"bytes,4,opt,name=rotation,proto3" json:"rotation"` } -func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } -func (*UpdateClusterRequest) ProtoMessage() {} -func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{39} } +func (m *UpdateClusterRequest) Reset() { *m = UpdateClusterRequest{} } +func (*UpdateClusterRequest) ProtoMessage() {} +func (*UpdateClusterRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{39} +} +func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateClusterRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateClusterRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterRequest.Merge(m, src) +} +func (m *UpdateClusterRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateClusterRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateClusterRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateClusterRequest proto.InternalMessageInfo type UpdateClusterResponse struct { - Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster" json:"cluster,omitempty"` + Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` } -func (m *UpdateClusterResponse) Reset() { *m = UpdateClusterResponse{} } -func (*UpdateClusterResponse) ProtoMessage() {} -func (*UpdateClusterResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{40} } +func (m *UpdateClusterResponse) Reset() { *m = UpdateClusterResponse{} } +func (*UpdateClusterResponse) ProtoMessage() {} +func (*UpdateClusterResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{40} +} +func (m *UpdateClusterResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateClusterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateClusterResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateClusterResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateClusterResponse.Merge(m, src) +} +func (m *UpdateClusterResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateClusterResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateClusterResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateClusterResponse proto.InternalMessageInfo // GetSecretRequest is the request to get a `Secret` object given a secret id. type GetSecretRequest struct { SecretID string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` } -func (m *GetSecretRequest) Reset() { *m = GetSecretRequest{} } -func (*GetSecretRequest) ProtoMessage() {} -func (*GetSecretRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{41} } +func (m *GetSecretRequest) Reset() { *m = GetSecretRequest{} } +func (*GetSecretRequest) ProtoMessage() {} +func (*GetSecretRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{41} +} +func (m *GetSecretRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetSecretRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetSecretRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSecretRequest.Merge(m, src) +} +func (m *GetSecretRequest) XXX_Size() int { + return m.Size() +} +func (m *GetSecretRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetSecretRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSecretRequest proto.InternalMessageInfo // GetSecretResponse contains the Secret corresponding to the id in // `GetSecretRequest`, but the `Secret.Spec.Data` field in each `Secret` // object should be nil instead of actually containing the secret bytes. type GetSecretResponse struct { - Secret *Secret `protobuf:"bytes,1,opt,name=secret" json:"secret,omitempty"` + Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` } -func (m *GetSecretResponse) Reset() { *m = GetSecretResponse{} } -func (*GetSecretResponse) ProtoMessage() {} -func (*GetSecretResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{42} } +func (m *GetSecretResponse) Reset() { *m = GetSecretResponse{} } +func (*GetSecretResponse) ProtoMessage() {} +func (*GetSecretResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{42} +} +func (m *GetSecretResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetSecretResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetSecretResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetSecretResponse.Merge(m, src) +} +func (m *GetSecretResponse) XXX_Size() int { + return m.Size() +} +func (m *GetSecretResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetSecretResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetSecretResponse proto.InternalMessageInfo type UpdateSecretRequest struct { // SecretID is the secret ID to update. SecretID string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // SecretVersion is the version of the secret being updated. - SecretVersion *Version `protobuf:"bytes,2,opt,name=secret_version,json=secretVersion" json:"secret_version,omitempty"` + SecretVersion *Version `protobuf:"bytes,2,opt,name=secret_version,json=secretVersion,proto3" json:"secret_version,omitempty"` // Spec is the new spec to apply to the Secret // Only some fields are allowed to be updated. - Spec *SecretSpec `protobuf:"bytes,3,opt,name=spec" json:"spec,omitempty"` + Spec *SecretSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *UpdateSecretRequest) Reset() { *m = UpdateSecretRequest{} } -func (*UpdateSecretRequest) ProtoMessage() {} -func (*UpdateSecretRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{43} } +func (m *UpdateSecretRequest) Reset() { *m = UpdateSecretRequest{} } +func (*UpdateSecretRequest) ProtoMessage() {} +func (*UpdateSecretRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{43} +} +func (m *UpdateSecretRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateSecretRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateSecretRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSecretRequest.Merge(m, src) +} +func (m *UpdateSecretRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateSecretRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateSecretRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateSecretRequest proto.InternalMessageInfo type UpdateSecretResponse struct { - Secret *Secret `protobuf:"bytes,1,opt,name=secret" json:"secret,omitempty"` + Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` } -func (m *UpdateSecretResponse) Reset() { *m = UpdateSecretResponse{} } -func (*UpdateSecretResponse) ProtoMessage() {} -func (*UpdateSecretResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{44} } +func (m *UpdateSecretResponse) Reset() { *m = UpdateSecretResponse{} } +func (*UpdateSecretResponse) ProtoMessage() {} +func (*UpdateSecretResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{44} +} +func (m *UpdateSecretResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateSecretResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateSecretResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateSecretResponse.Merge(m, src) +} +func (m *UpdateSecretResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateSecretResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateSecretResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateSecretResponse proto.InternalMessageInfo // ListSecretRequest is the request to list all non-internal secrets in the secret store, // or all secrets filtered by (name or name prefix or id prefix) and labels. type ListSecretsRequest struct { - Filters *ListSecretsRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` + Filters *ListSecretsRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` } -func (m *ListSecretsRequest) Reset() { *m = ListSecretsRequest{} } -func (*ListSecretsRequest) ProtoMessage() {} -func (*ListSecretsRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{45} } +func (m *ListSecretsRequest) Reset() { *m = ListSecretsRequest{} } +func (*ListSecretsRequest) ProtoMessage() {} +func (*ListSecretsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{45} +} +func (m *ListSecretsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListSecretsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListSecretsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListSecretsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSecretsRequest.Merge(m, src) +} +func (m *ListSecretsRequest) XXX_Size() int { + return m.Size() +} +func (m *ListSecretsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListSecretsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListSecretsRequest proto.InternalMessageInfo type ListSecretsRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"` + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"` } func (m *ListSecretsRequest_Filters) Reset() { *m = ListSecretsRequest_Filters{} } func (*ListSecretsRequest_Filters) ProtoMessage() {} func (*ListSecretsRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{45, 0} + return fileDescriptor_b37401dd08bf8930, []int{45, 0} } +func (m *ListSecretsRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListSecretsRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListSecretsRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListSecretsRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSecretsRequest_Filters.Merge(m, src) +} +func (m *ListSecretsRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListSecretsRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListSecretsRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListSecretsRequest_Filters proto.InternalMessageInfo // ListSecretResponse contains a list of all the secrets that match the name or // name prefix filters provided in `ListSecretRequest`. The `Secret.Spec.Data` // field in each `Secret` object should be nil instead of actually containing // the secret bytes. type ListSecretsResponse struct { - Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets" json:"secrets,omitempty"` + Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"` } -func (m *ListSecretsResponse) Reset() { *m = ListSecretsResponse{} } -func (*ListSecretsResponse) ProtoMessage() {} -func (*ListSecretsResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{46} } +func (m *ListSecretsResponse) Reset() { *m = ListSecretsResponse{} } +func (*ListSecretsResponse) ProtoMessage() {} +func (*ListSecretsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{46} +} +func (m *ListSecretsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListSecretsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListSecretsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListSecretsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListSecretsResponse.Merge(m, src) +} +func (m *ListSecretsResponse) XXX_Size() int { + return m.Size() +} +func (m *ListSecretsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListSecretsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListSecretsResponse proto.InternalMessageInfo // CreateSecretRequest specifies a new secret (it will not update an existing // secret) to create. type CreateSecretRequest struct { - Spec *SecretSpec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"` + Spec *SecretSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *CreateSecretRequest) Reset() { *m = CreateSecretRequest{} } -func (*CreateSecretRequest) ProtoMessage() {} -func (*CreateSecretRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{47} } +func (m *CreateSecretRequest) Reset() { *m = CreateSecretRequest{} } +func (*CreateSecretRequest) ProtoMessage() {} +func (*CreateSecretRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{47} +} +func (m *CreateSecretRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateSecretRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateSecretRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateSecretRequest.Merge(m, src) +} +func (m *CreateSecretRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateSecretRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateSecretRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateSecretRequest proto.InternalMessageInfo // CreateSecretResponse contains the newly created `Secret` corresponding to the // name in `CreateSecretRequest`. The `Secret.Spec.Data` field should be nil instead // of actually containing the secret bytes. type CreateSecretResponse struct { - Secret *Secret `protobuf:"bytes,1,opt,name=secret" json:"secret,omitempty"` + Secret *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` } -func (m *CreateSecretResponse) Reset() { *m = CreateSecretResponse{} } -func (*CreateSecretResponse) ProtoMessage() {} -func (*CreateSecretResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{48} } +func (m *CreateSecretResponse) Reset() { *m = CreateSecretResponse{} } +func (*CreateSecretResponse) ProtoMessage() {} +func (*CreateSecretResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{48} +} +func (m *CreateSecretResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateSecretResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateSecretResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateSecretResponse.Merge(m, src) +} +func (m *CreateSecretResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateSecretResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateSecretResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateSecretResponse proto.InternalMessageInfo // RemoveSecretRequest contains the ID of the secret that should be removed. This // removes all versions of the secret. @@ -636,112 +2197,418 @@ type RemoveSecretRequest struct { SecretID string `protobuf:"bytes,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` } -func (m *RemoveSecretRequest) Reset() { *m = RemoveSecretRequest{} } -func (*RemoveSecretRequest) ProtoMessage() {} -func (*RemoveSecretRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{49} } +func (m *RemoveSecretRequest) Reset() { *m = RemoveSecretRequest{} } +func (*RemoveSecretRequest) ProtoMessage() {} +func (*RemoveSecretRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{49} +} +func (m *RemoveSecretRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveSecretRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveSecretRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveSecretRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveSecretRequest.Merge(m, src) +} +func (m *RemoveSecretRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveSecretRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveSecretRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveSecretRequest proto.InternalMessageInfo // RemoveSecretResponse is an empty object indicating the successful removal of // a secret. type RemoveSecretResponse struct { } -func (m *RemoveSecretResponse) Reset() { *m = RemoveSecretResponse{} } -func (*RemoveSecretResponse) ProtoMessage() {} -func (*RemoveSecretResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{50} } +func (m *RemoveSecretResponse) Reset() { *m = RemoveSecretResponse{} } +func (*RemoveSecretResponse) ProtoMessage() {} +func (*RemoveSecretResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{50} +} +func (m *RemoveSecretResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveSecretResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveSecretResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveSecretResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveSecretResponse.Merge(m, src) +} +func (m *RemoveSecretResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveSecretResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveSecretResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveSecretResponse proto.InternalMessageInfo // GetConfigRequest is the request to get a `Config` object given a config id. type GetConfigRequest struct { ConfigID string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` } -func (m *GetConfigRequest) Reset() { *m = GetConfigRequest{} } -func (*GetConfigRequest) ProtoMessage() {} -func (*GetConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{51} } +func (m *GetConfigRequest) Reset() { *m = GetConfigRequest{} } +func (*GetConfigRequest) ProtoMessage() {} +func (*GetConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{51} +} +func (m *GetConfigRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetConfigRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetConfigRequest.Merge(m, src) +} +func (m *GetConfigRequest) XXX_Size() int { + return m.Size() +} +func (m *GetConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetConfigRequest proto.InternalMessageInfo // GetConfigResponse contains the Config corresponding to the id in // `GetConfigRequest`. type GetConfigResponse struct { - Config *Config `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` + Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` } -func (m *GetConfigResponse) Reset() { *m = GetConfigResponse{} } -func (*GetConfigResponse) ProtoMessage() {} -func (*GetConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{52} } +func (m *GetConfigResponse) Reset() { *m = GetConfigResponse{} } +func (*GetConfigResponse) ProtoMessage() {} +func (*GetConfigResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{52} +} +func (m *GetConfigResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetConfigResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetConfigResponse.Merge(m, src) +} +func (m *GetConfigResponse) XXX_Size() int { + return m.Size() +} +func (m *GetConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetConfigResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetConfigResponse proto.InternalMessageInfo type UpdateConfigRequest struct { // ConfigID is the config ID to update. ConfigID string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` // ConfigVersion is the version of the config being updated. - ConfigVersion *Version `protobuf:"bytes,2,opt,name=config_version,json=configVersion" json:"config_version,omitempty"` + ConfigVersion *Version `protobuf:"bytes,2,opt,name=config_version,json=configVersion,proto3" json:"config_version,omitempty"` // Spec is the new spec to apply to the Config // Only some fields are allowed to be updated. - Spec *ConfigSpec `protobuf:"bytes,3,opt,name=spec" json:"spec,omitempty"` + Spec *ConfigSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *UpdateConfigRequest) Reset() { *m = UpdateConfigRequest{} } -func (*UpdateConfigRequest) ProtoMessage() {} -func (*UpdateConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{53} } +func (m *UpdateConfigRequest) Reset() { *m = UpdateConfigRequest{} } +func (*UpdateConfigRequest) ProtoMessage() {} +func (*UpdateConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{53} +} +func (m *UpdateConfigRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateConfigRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateConfigRequest.Merge(m, src) +} +func (m *UpdateConfigRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateConfigRequest proto.InternalMessageInfo type UpdateConfigResponse struct { - Config *Config `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` + Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` } -func (m *UpdateConfigResponse) Reset() { *m = UpdateConfigResponse{} } -func (*UpdateConfigResponse) ProtoMessage() {} -func (*UpdateConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{54} } +func (m *UpdateConfigResponse) Reset() { *m = UpdateConfigResponse{} } +func (*UpdateConfigResponse) ProtoMessage() {} +func (*UpdateConfigResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{54} +} +func (m *UpdateConfigResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateConfigResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateConfigResponse.Merge(m, src) +} +func (m *UpdateConfigResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateConfigResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateConfigResponse proto.InternalMessageInfo // ListConfigRequest is the request to list all configs in the config store, // or all configs filtered by (name or name prefix or id prefix) and labels. type ListConfigsRequest struct { - Filters *ListConfigsRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` + Filters *ListConfigsRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` } -func (m *ListConfigsRequest) Reset() { *m = ListConfigsRequest{} } -func (*ListConfigsRequest) ProtoMessage() {} -func (*ListConfigsRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{55} } +func (m *ListConfigsRequest) Reset() { *m = ListConfigsRequest{} } +func (*ListConfigsRequest) ProtoMessage() {} +func (*ListConfigsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{55} +} +func (m *ListConfigsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListConfigsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListConfigsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListConfigsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListConfigsRequest.Merge(m, src) +} +func (m *ListConfigsRequest) XXX_Size() int { + return m.Size() +} +func (m *ListConfigsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListConfigsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListConfigsRequest proto.InternalMessageInfo type ListConfigsRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"` + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"` } func (m *ListConfigsRequest_Filters) Reset() { *m = ListConfigsRequest_Filters{} } func (*ListConfigsRequest_Filters) ProtoMessage() {} func (*ListConfigsRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{55, 0} + return fileDescriptor_b37401dd08bf8930, []int{55, 0} } +func (m *ListConfigsRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListConfigsRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListConfigsRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListConfigsRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListConfigsRequest_Filters.Merge(m, src) +} +func (m *ListConfigsRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListConfigsRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListConfigsRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListConfigsRequest_Filters proto.InternalMessageInfo // ListConfigResponse contains a list of all the configs that match the name or // name prefix filters provided in `ListConfigRequest`. type ListConfigsResponse struct { - Configs []*Config `protobuf:"bytes,1,rep,name=configs" json:"configs,omitempty"` + Configs []*Config `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"` } -func (m *ListConfigsResponse) Reset() { *m = ListConfigsResponse{} } -func (*ListConfigsResponse) ProtoMessage() {} -func (*ListConfigsResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{56} } +func (m *ListConfigsResponse) Reset() { *m = ListConfigsResponse{} } +func (*ListConfigsResponse) ProtoMessage() {} +func (*ListConfigsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{56} +} +func (m *ListConfigsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListConfigsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListConfigsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListConfigsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListConfigsResponse.Merge(m, src) +} +func (m *ListConfigsResponse) XXX_Size() int { + return m.Size() +} +func (m *ListConfigsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListConfigsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListConfigsResponse proto.InternalMessageInfo // CreateConfigRequest specifies a new config (it will not update an existing // config) to create. type CreateConfigRequest struct { - Spec *ConfigSpec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"` + Spec *ConfigSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` } -func (m *CreateConfigRequest) Reset() { *m = CreateConfigRequest{} } -func (*CreateConfigRequest) ProtoMessage() {} -func (*CreateConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{57} } +func (m *CreateConfigRequest) Reset() { *m = CreateConfigRequest{} } +func (*CreateConfigRequest) ProtoMessage() {} +func (*CreateConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{57} +} +func (m *CreateConfigRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateConfigRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateConfigRequest.Merge(m, src) +} +func (m *CreateConfigRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateConfigRequest proto.InternalMessageInfo // CreateConfigResponse contains the newly created `Config` corresponding to the // name in `CreateConfigRequest`. type CreateConfigResponse struct { - Config *Config `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` + Config *Config `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` } -func (m *CreateConfigResponse) Reset() { *m = CreateConfigResponse{} } -func (*CreateConfigResponse) ProtoMessage() {} -func (*CreateConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{58} } +func (m *CreateConfigResponse) Reset() { *m = CreateConfigResponse{} } +func (*CreateConfigResponse) ProtoMessage() {} +func (*CreateConfigResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{58} +} +func (m *CreateConfigResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateConfigResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateConfigResponse.Merge(m, src) +} +func (m *CreateConfigResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateConfigResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateConfigResponse proto.InternalMessageInfo // RemoveConfigRequest contains the ID of the config that should be removed. This // removes all versions of the config. @@ -749,39 +2616,151 @@ type RemoveConfigRequest struct { ConfigID string `protobuf:"bytes,1,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` } -func (m *RemoveConfigRequest) Reset() { *m = RemoveConfigRequest{} } -func (*RemoveConfigRequest) ProtoMessage() {} -func (*RemoveConfigRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{59} } +func (m *RemoveConfigRequest) Reset() { *m = RemoveConfigRequest{} } +func (*RemoveConfigRequest) ProtoMessage() {} +func (*RemoveConfigRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{59} +} +func (m *RemoveConfigRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveConfigRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveConfigRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveConfigRequest.Merge(m, src) +} +func (m *RemoveConfigRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveConfigRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveConfigRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveConfigRequest proto.InternalMessageInfo // RemoveConfigResponse is an empty object indicating the successful removal of // a config. type RemoveConfigResponse struct { } -func (m *RemoveConfigResponse) Reset() { *m = RemoveConfigResponse{} } -func (*RemoveConfigResponse) ProtoMessage() {} -func (*RemoveConfigResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{60} } +func (m *RemoveConfigResponse) Reset() { *m = RemoveConfigResponse{} } +func (*RemoveConfigResponse) ProtoMessage() {} +func (*RemoveConfigResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{60} +} +func (m *RemoveConfigResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveConfigResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveConfigResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveConfigResponse.Merge(m, src) +} +func (m *RemoveConfigResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveConfigResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveConfigResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveConfigResponse proto.InternalMessageInfo // CreateExtensionRequest creates a new extension as specified by the provided // parameters type CreateExtensionRequest struct { - Annotations *Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations,omitempty"` + Annotations *Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` } -func (m *CreateExtensionRequest) Reset() { *m = CreateExtensionRequest{} } -func (*CreateExtensionRequest) ProtoMessage() {} -func (*CreateExtensionRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{61} } +func (m *CreateExtensionRequest) Reset() { *m = CreateExtensionRequest{} } +func (*CreateExtensionRequest) ProtoMessage() {} +func (*CreateExtensionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{61} +} +func (m *CreateExtensionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateExtensionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateExtensionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateExtensionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateExtensionRequest.Merge(m, src) +} +func (m *CreateExtensionRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateExtensionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateExtensionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateExtensionRequest proto.InternalMessageInfo // CreateExtensionResponse contains the newly created `Extension` corresponding // to the parameters in the CreateExtensionRequest. type CreateExtensionResponse struct { - Extension *Extension `protobuf:"bytes,1,opt,name=extension" json:"extension,omitempty"` + Extension *Extension `protobuf:"bytes,1,opt,name=extension,proto3" json:"extension,omitempty"` } -func (m *CreateExtensionResponse) Reset() { *m = CreateExtensionResponse{} } -func (*CreateExtensionResponse) ProtoMessage() {} -func (*CreateExtensionResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{62} } +func (m *CreateExtensionResponse) Reset() { *m = CreateExtensionResponse{} } +func (*CreateExtensionResponse) ProtoMessage() {} +func (*CreateExtensionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{62} +} +func (m *CreateExtensionResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateExtensionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateExtensionResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateExtensionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateExtensionResponse.Merge(m, src) +} +func (m *CreateExtensionResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateExtensionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateExtensionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateExtensionResponse proto.InternalMessageInfo // RemoveExtensionRequest contains the ID of the extension that should be removed. This // removes all versions of the extension. @@ -789,59 +2768,227 @@ type RemoveExtensionRequest struct { ExtensionID string `protobuf:"bytes,1,opt,name=extension_id,json=extensionId,proto3" json:"extension_id,omitempty"` } -func (m *RemoveExtensionRequest) Reset() { *m = RemoveExtensionRequest{} } -func (*RemoveExtensionRequest) ProtoMessage() {} -func (*RemoveExtensionRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{63} } +func (m *RemoveExtensionRequest) Reset() { *m = RemoveExtensionRequest{} } +func (*RemoveExtensionRequest) ProtoMessage() {} +func (*RemoveExtensionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{63} +} +func (m *RemoveExtensionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveExtensionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveExtensionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveExtensionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveExtensionRequest.Merge(m, src) +} +func (m *RemoveExtensionRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveExtensionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveExtensionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveExtensionRequest proto.InternalMessageInfo // RemoveExtensionResponse is an empty object indicating the successful removal // of an extension. type RemoveExtensionResponse struct { } -func (m *RemoveExtensionResponse) Reset() { *m = RemoveExtensionResponse{} } -func (*RemoveExtensionResponse) ProtoMessage() {} -func (*RemoveExtensionResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{64} } +func (m *RemoveExtensionResponse) Reset() { *m = RemoveExtensionResponse{} } +func (*RemoveExtensionResponse) ProtoMessage() {} +func (*RemoveExtensionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{64} +} +func (m *RemoveExtensionResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveExtensionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveExtensionResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveExtensionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveExtensionResponse.Merge(m, src) +} +func (m *RemoveExtensionResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveExtensionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveExtensionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveExtensionResponse proto.InternalMessageInfo // GetResourceRequest is the request to get a Extension object given a extension id. type GetExtensionRequest struct { ExtensionID string `protobuf:"bytes,1,opt,name=extension_id,json=extensionId,proto3" json:"extension_id,omitempty"` } -func (m *GetExtensionRequest) Reset() { *m = GetExtensionRequest{} } -func (*GetExtensionRequest) ProtoMessage() {} -func (*GetExtensionRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{65} } +func (m *GetExtensionRequest) Reset() { *m = GetExtensionRequest{} } +func (*GetExtensionRequest) ProtoMessage() {} +func (*GetExtensionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{65} +} +func (m *GetExtensionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetExtensionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetExtensionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetExtensionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetExtensionRequest.Merge(m, src) +} +func (m *GetExtensionRequest) XXX_Size() int { + return m.Size() +} +func (m *GetExtensionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetExtensionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetExtensionRequest proto.InternalMessageInfo // GetExtensionResponse contains the Extension corresponding to the id in // `GetExtensionRequest`. type GetExtensionResponse struct { - Extension *Extension `protobuf:"bytes,1,opt,name=extension" json:"extension,omitempty"` + Extension *Extension `protobuf:"bytes,1,opt,name=extension,proto3" json:"extension,omitempty"` } -func (m *GetExtensionResponse) Reset() { *m = GetExtensionResponse{} } -func (*GetExtensionResponse) ProtoMessage() {} -func (*GetExtensionResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{66} } +func (m *GetExtensionResponse) Reset() { *m = GetExtensionResponse{} } +func (*GetExtensionResponse) ProtoMessage() {} +func (*GetExtensionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{66} +} +func (m *GetExtensionResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetExtensionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetExtensionResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetExtensionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetExtensionResponse.Merge(m, src) +} +func (m *GetExtensionResponse) XXX_Size() int { + return m.Size() +} +func (m *GetExtensionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetExtensionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetExtensionResponse proto.InternalMessageInfo // CreateResourceRequest creates a new resource specified by the included // resource object. An existing resource will not be updated. type CreateResourceRequest struct { - Annotations *Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations,omitempty"` - Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` - Payload *google_protobuf4.Any `protobuf:"bytes,3,opt,name=payload" json:"payload,omitempty"` + Annotations *Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations,omitempty"` + Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` + Payload *types.Any `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` } -func (m *CreateResourceRequest) Reset() { *m = CreateResourceRequest{} } -func (*CreateResourceRequest) ProtoMessage() {} -func (*CreateResourceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{67} } +func (m *CreateResourceRequest) Reset() { *m = CreateResourceRequest{} } +func (*CreateResourceRequest) ProtoMessage() {} +func (*CreateResourceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{67} +} +func (m *CreateResourceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateResourceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateResourceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateResourceRequest.Merge(m, src) +} +func (m *CreateResourceRequest) XXX_Size() int { + return m.Size() +} +func (m *CreateResourceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_CreateResourceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateResourceRequest proto.InternalMessageInfo // CreateResourceResponse contains the newly created `Resource` corresponding // to the resource in the CreateResourceRequest. type CreateResourceResponse struct { - Resource *Resource `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"` + Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` } -func (m *CreateResourceResponse) Reset() { *m = CreateResourceResponse{} } -func (*CreateResourceResponse) ProtoMessage() {} -func (*CreateResourceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{68} } +func (m *CreateResourceResponse) Reset() { *m = CreateResourceResponse{} } +func (*CreateResourceResponse) ProtoMessage() {} +func (*CreateResourceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{68} +} +func (m *CreateResourceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CreateResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CreateResourceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CreateResourceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_CreateResourceResponse.Merge(m, src) +} +func (m *CreateResourceResponse) XXX_Size() int { + return m.Size() +} +func (m *CreateResourceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_CreateResourceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_CreateResourceResponse proto.InternalMessageInfo // RemoveResourceRequest contains the ID of the resource that should be removed. This // removes all versions of the resource. @@ -849,102 +2996,355 @@ type RemoveResourceRequest struct { ResourceID string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` } -func (m *RemoveResourceRequest) Reset() { *m = RemoveResourceRequest{} } -func (*RemoveResourceRequest) ProtoMessage() {} -func (*RemoveResourceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{69} } +func (m *RemoveResourceRequest) Reset() { *m = RemoveResourceRequest{} } +func (*RemoveResourceRequest) ProtoMessage() {} +func (*RemoveResourceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{69} +} +func (m *RemoveResourceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveResourceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveResourceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveResourceRequest.Merge(m, src) +} +func (m *RemoveResourceRequest) XXX_Size() int { + return m.Size() +} +func (m *RemoveResourceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveResourceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveResourceRequest proto.InternalMessageInfo // RemoveResourceResponse is an empty object indicating the successful removal // of a resource. type RemoveResourceResponse struct { } -func (m *RemoveResourceResponse) Reset() { *m = RemoveResourceResponse{} } -func (*RemoveResourceResponse) ProtoMessage() {} -func (*RemoveResourceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{70} } +func (m *RemoveResourceResponse) Reset() { *m = RemoveResourceResponse{} } +func (*RemoveResourceResponse) ProtoMessage() {} +func (*RemoveResourceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{70} +} +func (m *RemoveResourceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RemoveResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RemoveResourceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RemoveResourceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_RemoveResourceResponse.Merge(m, src) +} +func (m *RemoveResourceResponse) XXX_Size() int { + return m.Size() +} +func (m *RemoveResourceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_RemoveResourceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_RemoveResourceResponse proto.InternalMessageInfo // UpdateResourceRequest updates the resource specified by the given resource object. type UpdateResourceRequest struct { ResourceID string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` - ResourceVersion *Version `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion" json:"resource_version,omitempty"` + ResourceVersion *Version `protobuf:"bytes,2,opt,name=resource_version,json=resourceVersion,proto3" json:"resource_version,omitempty"` // Annotations describes the annotations to update. If the Annotations should // be unchanged, then this field should be left empty. Note that the name of // a Resource cannot be changed, only its labels. - Annotations *Annotations `protobuf:"bytes,3,opt,name=annotations" json:"annotations,omitempty"` + Annotations *Annotations `protobuf:"bytes,3,opt,name=annotations,proto3" json:"annotations,omitempty"` // Payload describes the new payload of the resource. If the Payload should // be unchanged, then this field should be left empty. - Payload *google_protobuf4.Any `protobuf:"bytes,4,opt,name=payload" json:"payload,omitempty"` + Payload *types.Any `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"` } -func (m *UpdateResourceRequest) Reset() { *m = UpdateResourceRequest{} } -func (*UpdateResourceRequest) ProtoMessage() {} -func (*UpdateResourceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{71} } +func (m *UpdateResourceRequest) Reset() { *m = UpdateResourceRequest{} } +func (*UpdateResourceRequest) ProtoMessage() {} +func (*UpdateResourceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{71} +} +func (m *UpdateResourceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateResourceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateResourceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateResourceRequest.Merge(m, src) +} +func (m *UpdateResourceRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateResourceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateResourceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateResourceRequest proto.InternalMessageInfo type UpdateResourceResponse struct { - Resource *Resource `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"` + Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` } -func (m *UpdateResourceResponse) Reset() { *m = UpdateResourceResponse{} } -func (*UpdateResourceResponse) ProtoMessage() {} -func (*UpdateResourceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{72} } +func (m *UpdateResourceResponse) Reset() { *m = UpdateResourceResponse{} } +func (*UpdateResourceResponse) ProtoMessage() {} +func (*UpdateResourceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{72} +} +func (m *UpdateResourceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateResourceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateResourceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateResourceResponse.Merge(m, src) +} +func (m *UpdateResourceResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateResourceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateResourceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateResourceResponse proto.InternalMessageInfo // GetResourceRequest is the request to get a Resource object given a resource id. type GetResourceRequest struct { ResourceID string `protobuf:"bytes,1,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` } -func (m *GetResourceRequest) Reset() { *m = GetResourceRequest{} } -func (*GetResourceRequest) ProtoMessage() {} -func (*GetResourceRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{73} } +func (m *GetResourceRequest) Reset() { *m = GetResourceRequest{} } +func (*GetResourceRequest) ProtoMessage() {} +func (*GetResourceRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{73} +} +func (m *GetResourceRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetResourceRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetResourceRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetResourceRequest.Merge(m, src) +} +func (m *GetResourceRequest) XXX_Size() int { + return m.Size() +} +func (m *GetResourceRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetResourceRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetResourceRequest proto.InternalMessageInfo // GetResourceResponse contains the Resource corresponding to the id in // `GetResourceRequest`. type GetResourceResponse struct { - Resource *Resource `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"` + Resource *Resource `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` } -func (m *GetResourceResponse) Reset() { *m = GetResourceResponse{} } -func (*GetResourceResponse) ProtoMessage() {} -func (*GetResourceResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{74} } +func (m *GetResourceResponse) Reset() { *m = GetResourceResponse{} } +func (*GetResourceResponse) ProtoMessage() {} +func (*GetResourceResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{74} +} +func (m *GetResourceResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GetResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GetResourceResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GetResourceResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetResourceResponse.Merge(m, src) +} +func (m *GetResourceResponse) XXX_Size() int { + return m.Size() +} +func (m *GetResourceResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetResourceResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetResourceResponse proto.InternalMessageInfo // ListResourcesRequest is the request to list all resources in the raft store, // or all resources filtered by (name or name prefix or id prefix), labels and extension. type ListResourcesRequest struct { - Filters *ListResourcesRequest_Filters `protobuf:"bytes,1,opt,name=filters" json:"filters,omitempty"` + Filters *ListResourcesRequest_Filters `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` } -func (m *ListResourcesRequest) Reset() { *m = ListResourcesRequest{} } -func (*ListResourcesRequest) ProtoMessage() {} -func (*ListResourcesRequest) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{75} } +func (m *ListResourcesRequest) Reset() { *m = ListResourcesRequest{} } +func (*ListResourcesRequest) ProtoMessage() {} +func (*ListResourcesRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{75} +} +func (m *ListResourcesRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListResourcesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListResourcesRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListResourcesRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcesRequest.Merge(m, src) +} +func (m *ListResourcesRequest) XXX_Size() int { + return m.Size() +} +func (m *ListResourcesRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListResourcesRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListResourcesRequest proto.InternalMessageInfo type ListResourcesRequest_Filters struct { - Names []string `protobuf:"bytes,1,rep,name=names" json:"names,omitempty"` - IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes" json:"id_prefixes,omitempty"` - Labels map[string]string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes" json:"name_prefixes,omitempty"` + Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` + IDPrefixes []string `protobuf:"bytes,2,rep,name=id_prefixes,json=idPrefixes,proto3" json:"id_prefixes,omitempty"` + Labels map[string]string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + NamePrefixes []string `protobuf:"bytes,4,rep,name=name_prefixes,json=namePrefixes,proto3" json:"name_prefixes,omitempty"` Kind string `protobuf:"bytes,5,opt,name=kind,proto3" json:"kind,omitempty"` } func (m *ListResourcesRequest_Filters) Reset() { *m = ListResourcesRequest_Filters{} } func (*ListResourcesRequest_Filters) ProtoMessage() {} func (*ListResourcesRequest_Filters) Descriptor() ([]byte, []int) { - return fileDescriptorControl, []int{75, 0} + return fileDescriptor_b37401dd08bf8930, []int{75, 0} } +func (m *ListResourcesRequest_Filters) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListResourcesRequest_Filters) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListResourcesRequest_Filters.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListResourcesRequest_Filters) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcesRequest_Filters.Merge(m, src) +} +func (m *ListResourcesRequest_Filters) XXX_Size() int { + return m.Size() +} +func (m *ListResourcesRequest_Filters) XXX_DiscardUnknown() { + xxx_messageInfo_ListResourcesRequest_Filters.DiscardUnknown(m) +} + +var xxx_messageInfo_ListResourcesRequest_Filters proto.InternalMessageInfo // ListResourcesResponse contains a list of all the resources that match the name or // name prefix filters provided in `ListResourcesRequest`. type ListResourcesResponse struct { - Resources []*Resource `protobuf:"bytes,1,rep,name=resources" json:"resources,omitempty"` + Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"` } -func (m *ListResourcesResponse) Reset() { *m = ListResourcesResponse{} } -func (*ListResourcesResponse) ProtoMessage() {} -func (*ListResourcesResponse) Descriptor() ([]byte, []int) { return fileDescriptorControl, []int{76} } +func (m *ListResourcesResponse) Reset() { *m = ListResourcesResponse{} } +func (*ListResourcesResponse) ProtoMessage() {} +func (*ListResourcesResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_b37401dd08bf8930, []int{76} +} +func (m *ListResourcesResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListResourcesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListResourcesResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListResourcesResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListResourcesResponse.Merge(m, src) +} +func (m *ListResourcesResponse) XXX_Size() int { + return m.Size() +} +func (m *ListResourcesResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ListResourcesResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ListResourcesResponse proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.UpdateServiceRequest_Rollback", UpdateServiceRequest_Rollback_name, UpdateServiceRequest_Rollback_value) proto.RegisterType((*GetNodeRequest)(nil), "docker.swarmkit.v1.GetNodeRequest") proto.RegisterType((*GetNodeResponse)(nil), "docker.swarmkit.v1.GetNodeResponse") proto.RegisterType((*ListNodesRequest)(nil), "docker.swarmkit.v1.ListNodesRequest") proto.RegisterType((*ListNodesRequest_Filters)(nil), "docker.swarmkit.v1.ListNodesRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListNodesRequest.Filters.LabelsEntry") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListNodesRequest.Filters.NodeLabelsEntry") proto.RegisterType((*ListNodesResponse)(nil), "docker.swarmkit.v1.ListNodesResponse") proto.RegisterType((*UpdateNodeRequest)(nil), "docker.swarmkit.v1.UpdateNodeRequest") proto.RegisterType((*UpdateNodeResponse)(nil), "docker.swarmkit.v1.UpdateNodeResponse") @@ -956,6 +3356,7 @@ func init() { proto.RegisterType((*RemoveTaskResponse)(nil), "docker.swarmkit.v1.RemoveTaskResponse") proto.RegisterType((*ListTasksRequest)(nil), "docker.swarmkit.v1.ListTasksRequest") proto.RegisterType((*ListTasksRequest_Filters)(nil), "docker.swarmkit.v1.ListTasksRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListTasksRequest.Filters.LabelsEntry") proto.RegisterType((*ListTasksResponse)(nil), "docker.swarmkit.v1.ListTasksResponse") proto.RegisterType((*CreateServiceRequest)(nil), "docker.swarmkit.v1.CreateServiceRequest") proto.RegisterType((*CreateServiceResponse)(nil), "docker.swarmkit.v1.CreateServiceResponse") @@ -967,6 +3368,7 @@ func init() { proto.RegisterType((*RemoveServiceResponse)(nil), "docker.swarmkit.v1.RemoveServiceResponse") proto.RegisterType((*ListServicesRequest)(nil), "docker.swarmkit.v1.ListServicesRequest") proto.RegisterType((*ListServicesRequest_Filters)(nil), "docker.swarmkit.v1.ListServicesRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListServicesRequest.Filters.LabelsEntry") proto.RegisterType((*ListServicesResponse)(nil), "docker.swarmkit.v1.ListServicesResponse") proto.RegisterType((*ListServiceStatusesRequest)(nil), "docker.swarmkit.v1.ListServiceStatusesRequest") proto.RegisterType((*ListServiceStatusesResponse)(nil), "docker.swarmkit.v1.ListServiceStatusesResponse") @@ -979,11 +3381,13 @@ func init() { proto.RegisterType((*RemoveNetworkResponse)(nil), "docker.swarmkit.v1.RemoveNetworkResponse") proto.RegisterType((*ListNetworksRequest)(nil), "docker.swarmkit.v1.ListNetworksRequest") proto.RegisterType((*ListNetworksRequest_Filters)(nil), "docker.swarmkit.v1.ListNetworksRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListNetworksRequest.Filters.LabelsEntry") proto.RegisterType((*ListNetworksResponse)(nil), "docker.swarmkit.v1.ListNetworksResponse") proto.RegisterType((*GetClusterRequest)(nil), "docker.swarmkit.v1.GetClusterRequest") proto.RegisterType((*GetClusterResponse)(nil), "docker.swarmkit.v1.GetClusterResponse") proto.RegisterType((*ListClustersRequest)(nil), "docker.swarmkit.v1.ListClustersRequest") proto.RegisterType((*ListClustersRequest_Filters)(nil), "docker.swarmkit.v1.ListClustersRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListClustersRequest.Filters.LabelsEntry") proto.RegisterType((*ListClustersResponse)(nil), "docker.swarmkit.v1.ListClustersResponse") proto.RegisterType((*KeyRotation)(nil), "docker.swarmkit.v1.KeyRotation") proto.RegisterType((*UpdateClusterRequest)(nil), "docker.swarmkit.v1.UpdateClusterRequest") @@ -994,6 +3398,7 @@ func init() { proto.RegisterType((*UpdateSecretResponse)(nil), "docker.swarmkit.v1.UpdateSecretResponse") proto.RegisterType((*ListSecretsRequest)(nil), "docker.swarmkit.v1.ListSecretsRequest") proto.RegisterType((*ListSecretsRequest_Filters)(nil), "docker.swarmkit.v1.ListSecretsRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListSecretsRequest.Filters.LabelsEntry") proto.RegisterType((*ListSecretsResponse)(nil), "docker.swarmkit.v1.ListSecretsResponse") proto.RegisterType((*CreateSecretRequest)(nil), "docker.swarmkit.v1.CreateSecretRequest") proto.RegisterType((*CreateSecretResponse)(nil), "docker.swarmkit.v1.CreateSecretResponse") @@ -1005,6 +3410,7 @@ func init() { proto.RegisterType((*UpdateConfigResponse)(nil), "docker.swarmkit.v1.UpdateConfigResponse") proto.RegisterType((*ListConfigsRequest)(nil), "docker.swarmkit.v1.ListConfigsRequest") proto.RegisterType((*ListConfigsRequest_Filters)(nil), "docker.swarmkit.v1.ListConfigsRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListConfigsRequest.Filters.LabelsEntry") proto.RegisterType((*ListConfigsResponse)(nil), "docker.swarmkit.v1.ListConfigsResponse") proto.RegisterType((*CreateConfigRequest)(nil), "docker.swarmkit.v1.CreateConfigRequest") proto.RegisterType((*CreateConfigResponse)(nil), "docker.swarmkit.v1.CreateConfigResponse") @@ -1026,8 +3432,190 @@ func init() { proto.RegisterType((*GetResourceResponse)(nil), "docker.swarmkit.v1.GetResourceResponse") proto.RegisterType((*ListResourcesRequest)(nil), "docker.swarmkit.v1.ListResourcesRequest") proto.RegisterType((*ListResourcesRequest_Filters)(nil), "docker.swarmkit.v1.ListResourcesRequest.Filters") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ListResourcesRequest.Filters.LabelsEntry") proto.RegisterType((*ListResourcesResponse)(nil), "docker.swarmkit.v1.ListResourcesResponse") - proto.RegisterEnum("docker.swarmkit.v1.UpdateServiceRequest_Rollback", UpdateServiceRequest_Rollback_name, UpdateServiceRequest_Rollback_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/control.proto", fileDescriptor_b37401dd08bf8930) +} + +var fileDescriptor_b37401dd08bf8930 = []byte{ + // 2778 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0xdb, 0x6f, 0x1b, 0x59, + 0x19, 0x8f, 0x1d, 0x27, 0xb6, 0x3f, 0x27, 0x4e, 0x7a, 0x9a, 0xb6, 0x5e, 0xb7, 0x24, 0xd5, 0xf4, + 0x12, 0xb7, 0x14, 0x7b, 0xd7, 0x65, 0xd9, 0xd2, 0xdd, 0x02, 0x4d, 0xd3, 0x8b, 0x7b, 0x49, 0xab, + 0x49, 0x5a, 0xc1, 0x03, 0x8a, 0x1c, 0xfb, 0x24, 0x3b, 0xb5, 0x33, 0x63, 0x66, 0xc6, 0xdd, 0x46, + 0x08, 0xc4, 0xa5, 0x88, 0x27, 0x24, 0x5e, 0x90, 0x10, 0x0f, 0x48, 0x3c, 0x21, 0x81, 0x84, 0x10, + 0x4f, 0x3c, 0xf0, 0x07, 0x54, 0x3c, 0xed, 0xe3, 0x3e, 0x05, 0x36, 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 0xd6, + 0x40, 0x0d, 0x2f, 0x76, 0x4f, 0xf7, 0x06, 0x85, 0x2d, 0xb9, 0x81, 0x2e, 0x51, 0x79, 0x35, 0x16, + 0x17, 0x6d, 0xf6, 0xc7, 0x50, 0xf4, 0xf7, 0xb3, 0x50, 0xc4, 0xc2, 0x17, 0x34, 0x7e, 0x39, 0x09, + 0x34, 0x76, 0x85, 0xf6, 0x75, 0x38, 0x50, 0x25, 0x69, 0xb3, 0x46, 0xbe, 0x42, 0x4b, 0xdb, 0x25, + 0x11, 0x93, 0xf7, 0xb7, 0x62, 0x51, 0xc4, 0xee, 0x2e, 0xd1, 0xe4, 0xe5, 0x9d, 0xdd, 0x08, 0xfb, + 0xfe, 0x66, 0x2b, 0x8a, 0xd8, 0xe0, 0x25, 0xb2, 0x1f, 0xd2, 0xbb, 0x95, 0xdb, 0x5f, 0x3b, 0xff, + 0xfa, 0xf3, 0xe5, 0xa9, 0xcf, 0x3e, 0x5f, 0x9e, 0xfa, 0xc9, 0xd1, 0x72, 0xea, 0xf5, 0xd1, 0x72, + 0xea, 0xd3, 0xa3, 0xe5, 0xd4, 0xbf, 0x8f, 0x96, 0x53, 0xbf, 0x7e, 0xb3, 0x3c, 0xf5, 0xe9, 0x9b, + 0xe5, 0xa9, 0xcf, 0xde, 0x2c, 0x4f, 0xed, 0xcc, 0xd2, 0x4e, 0xe8, 0xd5, 0x2f, 0x02, 0x00, 0x00, + 0xff, 0xff, 0xf1, 0x75, 0x17, 0x2e, 0xe0, 0x38, 0x00, 0x00, } type authenticatedWrapperControlServer struct { @@ -1376,7 +3964,7 @@ func (m *GetNodeResponse) CopyFrom(src interface{}) { *m = *o if o.Node != nil { m.Node = &Node{} - deepcopy.Copy(m.Node, o.Node) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Node, o.Node) } } @@ -1395,7 +3983,7 @@ func (m *ListNodesRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListNodesRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -1470,7 +4058,7 @@ func (m *ListNodesResponse) CopyFrom(src interface{}) { m.Nodes = make([]*Node, len(o.Nodes)) for i := range m.Nodes { m.Nodes[i] = &Node{} - deepcopy.Copy(m.Nodes[i], o.Nodes[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Nodes[i], o.Nodes[i]) } } @@ -1491,11 +4079,11 @@ func (m *UpdateNodeRequest) CopyFrom(src interface{}) { *m = *o if o.NodeVersion != nil { m.NodeVersion = &Version{} - deepcopy.Copy(m.NodeVersion, o.NodeVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.NodeVersion, o.NodeVersion) } if o.Spec != nil { m.Spec = &NodeSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -1514,7 +4102,7 @@ func (m *UpdateNodeResponse) CopyFrom(src interface{}) { *m = *o if o.Node != nil { m.Node = &Node{} - deepcopy.Copy(m.Node, o.Node) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Node, o.Node) } } @@ -1573,7 +4161,7 @@ func (m *GetTaskResponse) CopyFrom(src interface{}) { *m = *o if o.Task != nil { m.Task = &Task{} - deepcopy.Copy(m.Task, o.Task) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Task, o.Task) } } @@ -1617,7 +4205,7 @@ func (m *ListTasksRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListTasksRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -1695,7 +4283,7 @@ func (m *ListTasksResponse) CopyFrom(src interface{}) { m.Tasks = make([]*Task, len(o.Tasks)) for i := range m.Tasks { m.Tasks[i] = &Task{} - deepcopy.Copy(m.Tasks[i], o.Tasks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Tasks[i], o.Tasks[i]) } } @@ -1716,7 +4304,7 @@ func (m *CreateServiceRequest) CopyFrom(src interface{}) { *m = *o if o.Spec != nil { m.Spec = &ServiceSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -1735,7 +4323,7 @@ func (m *CreateServiceResponse) CopyFrom(src interface{}) { *m = *o if o.Service != nil { m.Service = &Service{} - deepcopy.Copy(m.Service, o.Service) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Service, o.Service) } } @@ -1769,7 +4357,7 @@ func (m *GetServiceResponse) CopyFrom(src interface{}) { *m = *o if o.Service != nil { m.Service = &Service{} - deepcopy.Copy(m.Service, o.Service) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Service, o.Service) } } @@ -1788,11 +4376,11 @@ func (m *UpdateServiceRequest) CopyFrom(src interface{}) { *m = *o if o.ServiceVersion != nil { m.ServiceVersion = &Version{} - deepcopy.Copy(m.ServiceVersion, o.ServiceVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ServiceVersion, o.ServiceVersion) } if o.Spec != nil { m.Spec = &ServiceSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -1811,7 +4399,7 @@ func (m *UpdateServiceResponse) CopyFrom(src interface{}) { *m = *o if o.Service != nil { m.Service = &Service{} - deepcopy.Copy(m.Service, o.Service) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Service, o.Service) } } @@ -1855,7 +4443,7 @@ func (m *ListServicesRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListServicesRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -1918,7 +4506,7 @@ func (m *ListServicesResponse) CopyFrom(src interface{}) { m.Services = make([]*Service, len(o.Services)) for i := range m.Services { m.Services[i] = &Service{} - deepcopy.Copy(m.Services[i], o.Services[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Services[i], o.Services[i]) } } @@ -1961,7 +4549,7 @@ func (m *ListServiceStatusesResponse) CopyFrom(src interface{}) { m.Statuses = make([]*ListServiceStatusesResponse_ServiceStatus, len(o.Statuses)) for i := range m.Statuses { m.Statuses[i] = &ListServiceStatusesResponse_ServiceStatus{} - deepcopy.Copy(m.Statuses[i], o.Statuses[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Statuses[i], o.Statuses[i]) } } @@ -1997,7 +4585,7 @@ func (m *CreateNetworkRequest) CopyFrom(src interface{}) { *m = *o if o.Spec != nil { m.Spec = &NetworkSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -2016,7 +4604,7 @@ func (m *CreateNetworkResponse) CopyFrom(src interface{}) { *m = *o if o.Network != nil { m.Network = &Network{} - deepcopy.Copy(m.Network, o.Network) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Network, o.Network) } } @@ -2050,7 +4638,7 @@ func (m *GetNetworkResponse) CopyFrom(src interface{}) { *m = *o if o.Network != nil { m.Network = &Network{} - deepcopy.Copy(m.Network, o.Network) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Network, o.Network) } } @@ -2094,7 +4682,7 @@ func (m *ListNetworksRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListNetworksRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -2152,7 +4740,7 @@ func (m *ListNetworksResponse) CopyFrom(src interface{}) { m.Networks = make([]*Network, len(o.Networks)) for i := range m.Networks { m.Networks[i] = &Network{} - deepcopy.Copy(m.Networks[i], o.Networks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Networks[i], o.Networks[i]) } } @@ -2188,7 +4776,7 @@ func (m *GetClusterResponse) CopyFrom(src interface{}) { *m = *o if o.Cluster != nil { m.Cluster = &Cluster{} - deepcopy.Copy(m.Cluster, o.Cluster) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Cluster, o.Cluster) } } @@ -2207,7 +4795,7 @@ func (m *ListClustersRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListClustersRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -2265,7 +4853,7 @@ func (m *ListClustersResponse) CopyFrom(src interface{}) { m.Clusters = make([]*Cluster, len(o.Clusters)) for i := range m.Clusters { m.Clusters[i] = &Cluster{} - deepcopy.Copy(m.Clusters[i], o.Clusters[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Clusters[i], o.Clusters[i]) } } @@ -2301,13 +4889,13 @@ func (m *UpdateClusterRequest) CopyFrom(src interface{}) { *m = *o if o.ClusterVersion != nil { m.ClusterVersion = &Version{} - deepcopy.Copy(m.ClusterVersion, o.ClusterVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ClusterVersion, o.ClusterVersion) } if o.Spec != nil { m.Spec = &ClusterSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } - deepcopy.Copy(&m.Rotation, &o.Rotation) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Rotation, &o.Rotation) } func (m *UpdateClusterResponse) Copy() *UpdateClusterResponse { @@ -2325,7 +4913,7 @@ func (m *UpdateClusterResponse) CopyFrom(src interface{}) { *m = *o if o.Cluster != nil { m.Cluster = &Cluster{} - deepcopy.Copy(m.Cluster, o.Cluster) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Cluster, o.Cluster) } } @@ -2359,7 +4947,7 @@ func (m *GetSecretResponse) CopyFrom(src interface{}) { *m = *o if o.Secret != nil { m.Secret = &Secret{} - deepcopy.Copy(m.Secret, o.Secret) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secret, o.Secret) } } @@ -2378,11 +4966,11 @@ func (m *UpdateSecretRequest) CopyFrom(src interface{}) { *m = *o if o.SecretVersion != nil { m.SecretVersion = &Version{} - deepcopy.Copy(m.SecretVersion, o.SecretVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.SecretVersion, o.SecretVersion) } if o.Spec != nil { m.Spec = &SecretSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -2401,7 +4989,7 @@ func (m *UpdateSecretResponse) CopyFrom(src interface{}) { *m = *o if o.Secret != nil { m.Secret = &Secret{} - deepcopy.Copy(m.Secret, o.Secret) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secret, o.Secret) } } @@ -2420,7 +5008,7 @@ func (m *ListSecretsRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListSecretsRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -2478,7 +5066,7 @@ func (m *ListSecretsResponse) CopyFrom(src interface{}) { m.Secrets = make([]*Secret, len(o.Secrets)) for i := range m.Secrets { m.Secrets[i] = &Secret{} - deepcopy.Copy(m.Secrets[i], o.Secrets[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secrets[i], o.Secrets[i]) } } @@ -2499,7 +5087,7 @@ func (m *CreateSecretRequest) CopyFrom(src interface{}) { *m = *o if o.Spec != nil { m.Spec = &SecretSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -2518,7 +5106,7 @@ func (m *CreateSecretResponse) CopyFrom(src interface{}) { *m = *o if o.Secret != nil { m.Secret = &Secret{} - deepcopy.Copy(m.Secret, o.Secret) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secret, o.Secret) } } @@ -2577,7 +5165,7 @@ func (m *GetConfigResponse) CopyFrom(src interface{}) { *m = *o if o.Config != nil { m.Config = &Config{} - deepcopy.Copy(m.Config, o.Config) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Config, o.Config) } } @@ -2596,11 +5184,11 @@ func (m *UpdateConfigRequest) CopyFrom(src interface{}) { *m = *o if o.ConfigVersion != nil { m.ConfigVersion = &Version{} - deepcopy.Copy(m.ConfigVersion, o.ConfigVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ConfigVersion, o.ConfigVersion) } if o.Spec != nil { m.Spec = &ConfigSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -2619,7 +5207,7 @@ func (m *UpdateConfigResponse) CopyFrom(src interface{}) { *m = *o if o.Config != nil { m.Config = &Config{} - deepcopy.Copy(m.Config, o.Config) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Config, o.Config) } } @@ -2638,7 +5226,7 @@ func (m *ListConfigsRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListConfigsRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -2696,7 +5284,7 @@ func (m *ListConfigsResponse) CopyFrom(src interface{}) { m.Configs = make([]*Config, len(o.Configs)) for i := range m.Configs { m.Configs[i] = &Config{} - deepcopy.Copy(m.Configs[i], o.Configs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Configs[i], o.Configs[i]) } } @@ -2717,7 +5305,7 @@ func (m *CreateConfigRequest) CopyFrom(src interface{}) { *m = *o if o.Spec != nil { m.Spec = &ConfigSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } } @@ -2736,7 +5324,7 @@ func (m *CreateConfigResponse) CopyFrom(src interface{}) { *m = *o if o.Config != nil { m.Config = &Config{} - deepcopy.Copy(m.Config, o.Config) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Config, o.Config) } } @@ -2780,7 +5368,7 @@ func (m *CreateExtensionRequest) CopyFrom(src interface{}) { *m = *o if o.Annotations != nil { m.Annotations = &Annotations{} - deepcopy.Copy(m.Annotations, o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Annotations, o.Annotations) } } @@ -2799,7 +5387,7 @@ func (m *CreateExtensionResponse) CopyFrom(src interface{}) { *m = *o if o.Extension != nil { m.Extension = &Extension{} - deepcopy.Copy(m.Extension, o.Extension) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Extension, o.Extension) } } @@ -2858,7 +5446,7 @@ func (m *GetExtensionResponse) CopyFrom(src interface{}) { *m = *o if o.Extension != nil { m.Extension = &Extension{} - deepcopy.Copy(m.Extension, o.Extension) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Extension, o.Extension) } } @@ -2877,11 +5465,11 @@ func (m *CreateResourceRequest) CopyFrom(src interface{}) { *m = *o if o.Annotations != nil { m.Annotations = &Annotations{} - deepcopy.Copy(m.Annotations, o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Annotations, o.Annotations) } if o.Payload != nil { - m.Payload = &google_protobuf4.Any{} - deepcopy.Copy(m.Payload, o.Payload) + m.Payload = &types.Any{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Payload, o.Payload) } } @@ -2900,7 +5488,7 @@ func (m *CreateResourceResponse) CopyFrom(src interface{}) { *m = *o if o.Resource != nil { m.Resource = &Resource{} - deepcopy.Copy(m.Resource, o.Resource) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resource, o.Resource) } } @@ -2944,15 +5532,15 @@ func (m *UpdateResourceRequest) CopyFrom(src interface{}) { *m = *o if o.ResourceVersion != nil { m.ResourceVersion = &Version{} - deepcopy.Copy(m.ResourceVersion, o.ResourceVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ResourceVersion, o.ResourceVersion) } if o.Annotations != nil { m.Annotations = &Annotations{} - deepcopy.Copy(m.Annotations, o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Annotations, o.Annotations) } if o.Payload != nil { - m.Payload = &google_protobuf4.Any{} - deepcopy.Copy(m.Payload, o.Payload) + m.Payload = &types.Any{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Payload, o.Payload) } } @@ -2971,7 +5559,7 @@ func (m *UpdateResourceResponse) CopyFrom(src interface{}) { *m = *o if o.Resource != nil { m.Resource = &Resource{} - deepcopy.Copy(m.Resource, o.Resource) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resource, o.Resource) } } @@ -3005,7 +5593,7 @@ func (m *GetResourceResponse) CopyFrom(src interface{}) { *m = *o if o.Resource != nil { m.Resource = &Resource{} - deepcopy.Copy(m.Resource, o.Resource) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resource, o.Resource) } } @@ -3024,7 +5612,7 @@ func (m *ListResourcesRequest) CopyFrom(src interface{}) { *m = *o if o.Filters != nil { m.Filters = &ListResourcesRequest_Filters{} - deepcopy.Copy(m.Filters, o.Filters) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters, o.Filters) } } @@ -3082,7 +5670,7 @@ func (m *ListResourcesResponse) CopyFrom(src interface{}) { m.Resources = make([]*Resource, len(o.Resources)) for i := range m.Resources { m.Resources[i] = &Resource{} - deepcopy.Copy(m.Resources[i], o.Resources[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resources[i], o.Resources[i]) } } @@ -3096,8 +5684,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for Control service - +// ControlClient is the client API for Control service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type ControlClient interface { GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*GetNodeResponse, error) ListNodes(ctx context.Context, in *ListNodesRequest, opts ...grpc.CallOption) (*ListNodesResponse, error) @@ -3241,7 +5830,7 @@ func NewControlClient(cc *grpc.ClientConn) ControlClient { func (c *controlClient) GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*GetNodeResponse, error) { out := new(GetNodeResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetNode", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetNode", in, out, opts...) if err != nil { return nil, err } @@ -3250,7 +5839,7 @@ func (c *controlClient) GetNode(ctx context.Context, in *GetNodeRequest, opts .. func (c *controlClient) ListNodes(ctx context.Context, in *ListNodesRequest, opts ...grpc.CallOption) (*ListNodesResponse, error) { out := new(ListNodesResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListNodes", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListNodes", in, out, opts...) if err != nil { return nil, err } @@ -3259,7 +5848,7 @@ func (c *controlClient) ListNodes(ctx context.Context, in *ListNodesRequest, opt func (c *controlClient) UpdateNode(ctx context.Context, in *UpdateNodeRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error) { out := new(UpdateNodeResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateNode", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateNode", in, out, opts...) if err != nil { return nil, err } @@ -3268,7 +5857,7 @@ func (c *controlClient) UpdateNode(ctx context.Context, in *UpdateNodeRequest, o func (c *controlClient) RemoveNode(ctx context.Context, in *RemoveNodeRequest, opts ...grpc.CallOption) (*RemoveNodeResponse, error) { out := new(RemoveNodeResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveNode", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveNode", in, out, opts...) if err != nil { return nil, err } @@ -3277,7 +5866,7 @@ func (c *controlClient) RemoveNode(ctx context.Context, in *RemoveNodeRequest, o func (c *controlClient) GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*GetTaskResponse, error) { out := new(GetTaskResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetTask", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetTask", in, out, opts...) if err != nil { return nil, err } @@ -3286,7 +5875,7 @@ func (c *controlClient) GetTask(ctx context.Context, in *GetTaskRequest, opts .. func (c *controlClient) ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error) { out := new(ListTasksResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListTasks", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListTasks", in, out, opts...) if err != nil { return nil, err } @@ -3295,7 +5884,7 @@ func (c *controlClient) ListTasks(ctx context.Context, in *ListTasksRequest, opt func (c *controlClient) RemoveTask(ctx context.Context, in *RemoveTaskRequest, opts ...grpc.CallOption) (*RemoveTaskResponse, error) { out := new(RemoveTaskResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveTask", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveTask", in, out, opts...) if err != nil { return nil, err } @@ -3304,7 +5893,7 @@ func (c *controlClient) RemoveTask(ctx context.Context, in *RemoveTaskRequest, o func (c *controlClient) GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*GetServiceResponse, error) { out := new(GetServiceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetService", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetService", in, out, opts...) if err != nil { return nil, err } @@ -3313,7 +5902,7 @@ func (c *controlClient) GetService(ctx context.Context, in *GetServiceRequest, o func (c *controlClient) ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error) { out := new(ListServicesResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListServices", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListServices", in, out, opts...) if err != nil { return nil, err } @@ -3322,7 +5911,7 @@ func (c *controlClient) ListServices(ctx context.Context, in *ListServicesReques func (c *controlClient) CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*CreateServiceResponse, error) { out := new(CreateServiceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateService", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateService", in, out, opts...) if err != nil { return nil, err } @@ -3331,7 +5920,7 @@ func (c *controlClient) CreateService(ctx context.Context, in *CreateServiceRequ func (c *controlClient) UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*UpdateServiceResponse, error) { out := new(UpdateServiceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateService", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateService", in, out, opts...) if err != nil { return nil, err } @@ -3340,7 +5929,7 @@ func (c *controlClient) UpdateService(ctx context.Context, in *UpdateServiceRequ func (c *controlClient) RemoveService(ctx context.Context, in *RemoveServiceRequest, opts ...grpc.CallOption) (*RemoveServiceResponse, error) { out := new(RemoveServiceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveService", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveService", in, out, opts...) if err != nil { return nil, err } @@ -3349,7 +5938,7 @@ func (c *controlClient) RemoveService(ctx context.Context, in *RemoveServiceRequ func (c *controlClient) ListServiceStatuses(ctx context.Context, in *ListServiceStatusesRequest, opts ...grpc.CallOption) (*ListServiceStatusesResponse, error) { out := new(ListServiceStatusesResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListServiceStatuses", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListServiceStatuses", in, out, opts...) if err != nil { return nil, err } @@ -3358,7 +5947,7 @@ func (c *controlClient) ListServiceStatuses(ctx context.Context, in *ListService func (c *controlClient) GetNetwork(ctx context.Context, in *GetNetworkRequest, opts ...grpc.CallOption) (*GetNetworkResponse, error) { out := new(GetNetworkResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetNetwork", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetNetwork", in, out, opts...) if err != nil { return nil, err } @@ -3367,7 +5956,7 @@ func (c *controlClient) GetNetwork(ctx context.Context, in *GetNetworkRequest, o func (c *controlClient) ListNetworks(ctx context.Context, in *ListNetworksRequest, opts ...grpc.CallOption) (*ListNetworksResponse, error) { out := new(ListNetworksResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListNetworks", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListNetworks", in, out, opts...) if err != nil { return nil, err } @@ -3376,7 +5965,7 @@ func (c *controlClient) ListNetworks(ctx context.Context, in *ListNetworksReques func (c *controlClient) CreateNetwork(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*CreateNetworkResponse, error) { out := new(CreateNetworkResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateNetwork", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateNetwork", in, out, opts...) if err != nil { return nil, err } @@ -3385,7 +5974,7 @@ func (c *controlClient) CreateNetwork(ctx context.Context, in *CreateNetworkRequ func (c *controlClient) RemoveNetwork(ctx context.Context, in *RemoveNetworkRequest, opts ...grpc.CallOption) (*RemoveNetworkResponse, error) { out := new(RemoveNetworkResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveNetwork", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveNetwork", in, out, opts...) if err != nil { return nil, err } @@ -3394,7 +5983,7 @@ func (c *controlClient) RemoveNetwork(ctx context.Context, in *RemoveNetworkRequ func (c *controlClient) GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*GetClusterResponse, error) { out := new(GetClusterResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetCluster", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetCluster", in, out, opts...) if err != nil { return nil, err } @@ -3403,7 +5992,7 @@ func (c *controlClient) GetCluster(ctx context.Context, in *GetClusterRequest, o func (c *controlClient) ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error) { out := new(ListClustersResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListClusters", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListClusters", in, out, opts...) if err != nil { return nil, err } @@ -3412,7 +6001,7 @@ func (c *controlClient) ListClusters(ctx context.Context, in *ListClustersReques func (c *controlClient) UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*UpdateClusterResponse, error) { out := new(UpdateClusterResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateCluster", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateCluster", in, out, opts...) if err != nil { return nil, err } @@ -3421,7 +6010,7 @@ func (c *controlClient) UpdateCluster(ctx context.Context, in *UpdateClusterRequ func (c *controlClient) GetSecret(ctx context.Context, in *GetSecretRequest, opts ...grpc.CallOption) (*GetSecretResponse, error) { out := new(GetSecretResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetSecret", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetSecret", in, out, opts...) if err != nil { return nil, err } @@ -3430,7 +6019,7 @@ func (c *controlClient) GetSecret(ctx context.Context, in *GetSecretRequest, opt func (c *controlClient) UpdateSecret(ctx context.Context, in *UpdateSecretRequest, opts ...grpc.CallOption) (*UpdateSecretResponse, error) { out := new(UpdateSecretResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateSecret", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateSecret", in, out, opts...) if err != nil { return nil, err } @@ -3439,7 +6028,7 @@ func (c *controlClient) UpdateSecret(ctx context.Context, in *UpdateSecretReques func (c *controlClient) ListSecrets(ctx context.Context, in *ListSecretsRequest, opts ...grpc.CallOption) (*ListSecretsResponse, error) { out := new(ListSecretsResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListSecrets", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListSecrets", in, out, opts...) if err != nil { return nil, err } @@ -3448,7 +6037,7 @@ func (c *controlClient) ListSecrets(ctx context.Context, in *ListSecretsRequest, func (c *controlClient) CreateSecret(ctx context.Context, in *CreateSecretRequest, opts ...grpc.CallOption) (*CreateSecretResponse, error) { out := new(CreateSecretResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateSecret", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateSecret", in, out, opts...) if err != nil { return nil, err } @@ -3457,7 +6046,7 @@ func (c *controlClient) CreateSecret(ctx context.Context, in *CreateSecretReques func (c *controlClient) RemoveSecret(ctx context.Context, in *RemoveSecretRequest, opts ...grpc.CallOption) (*RemoveSecretResponse, error) { out := new(RemoveSecretResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveSecret", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveSecret", in, out, opts...) if err != nil { return nil, err } @@ -3466,7 +6055,7 @@ func (c *controlClient) RemoveSecret(ctx context.Context, in *RemoveSecretReques func (c *controlClient) GetConfig(ctx context.Context, in *GetConfigRequest, opts ...grpc.CallOption) (*GetConfigResponse, error) { out := new(GetConfigResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetConfig", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetConfig", in, out, opts...) if err != nil { return nil, err } @@ -3475,7 +6064,7 @@ func (c *controlClient) GetConfig(ctx context.Context, in *GetConfigRequest, opt func (c *controlClient) UpdateConfig(ctx context.Context, in *UpdateConfigRequest, opts ...grpc.CallOption) (*UpdateConfigResponse, error) { out := new(UpdateConfigResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateConfig", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateConfig", in, out, opts...) if err != nil { return nil, err } @@ -3484,7 +6073,7 @@ func (c *controlClient) UpdateConfig(ctx context.Context, in *UpdateConfigReques func (c *controlClient) ListConfigs(ctx context.Context, in *ListConfigsRequest, opts ...grpc.CallOption) (*ListConfigsResponse, error) { out := new(ListConfigsResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListConfigs", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListConfigs", in, out, opts...) if err != nil { return nil, err } @@ -3493,7 +6082,7 @@ func (c *controlClient) ListConfigs(ctx context.Context, in *ListConfigsRequest, func (c *controlClient) CreateConfig(ctx context.Context, in *CreateConfigRequest, opts ...grpc.CallOption) (*CreateConfigResponse, error) { out := new(CreateConfigResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateConfig", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateConfig", in, out, opts...) if err != nil { return nil, err } @@ -3502,7 +6091,7 @@ func (c *controlClient) CreateConfig(ctx context.Context, in *CreateConfigReques func (c *controlClient) RemoveConfig(ctx context.Context, in *RemoveConfigRequest, opts ...grpc.CallOption) (*RemoveConfigResponse, error) { out := new(RemoveConfigResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveConfig", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveConfig", in, out, opts...) if err != nil { return nil, err } @@ -3511,7 +6100,7 @@ func (c *controlClient) RemoveConfig(ctx context.Context, in *RemoveConfigReques func (c *controlClient) GetExtension(ctx context.Context, in *GetExtensionRequest, opts ...grpc.CallOption) (*GetExtensionResponse, error) { out := new(GetExtensionResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetExtension", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetExtension", in, out, opts...) if err != nil { return nil, err } @@ -3520,7 +6109,7 @@ func (c *controlClient) GetExtension(ctx context.Context, in *GetExtensionReques func (c *controlClient) CreateExtension(ctx context.Context, in *CreateExtensionRequest, opts ...grpc.CallOption) (*CreateExtensionResponse, error) { out := new(CreateExtensionResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateExtension", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateExtension", in, out, opts...) if err != nil { return nil, err } @@ -3529,7 +6118,7 @@ func (c *controlClient) CreateExtension(ctx context.Context, in *CreateExtension func (c *controlClient) RemoveExtension(ctx context.Context, in *RemoveExtensionRequest, opts ...grpc.CallOption) (*RemoveExtensionResponse, error) { out := new(RemoveExtensionResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveExtension", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveExtension", in, out, opts...) if err != nil { return nil, err } @@ -3538,7 +6127,7 @@ func (c *controlClient) RemoveExtension(ctx context.Context, in *RemoveExtension func (c *controlClient) GetResource(ctx context.Context, in *GetResourceRequest, opts ...grpc.CallOption) (*GetResourceResponse, error) { out := new(GetResourceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetResource", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/GetResource", in, out, opts...) if err != nil { return nil, err } @@ -3547,7 +6136,7 @@ func (c *controlClient) GetResource(ctx context.Context, in *GetResourceRequest, func (c *controlClient) UpdateResource(ctx context.Context, in *UpdateResourceRequest, opts ...grpc.CallOption) (*UpdateResourceResponse, error) { out := new(UpdateResourceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateResource", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/UpdateResource", in, out, opts...) if err != nil { return nil, err } @@ -3556,7 +6145,7 @@ func (c *controlClient) UpdateResource(ctx context.Context, in *UpdateResourceRe func (c *controlClient) ListResources(ctx context.Context, in *ListResourcesRequest, opts ...grpc.CallOption) (*ListResourcesResponse, error) { out := new(ListResourcesResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListResources", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/ListResources", in, out, opts...) if err != nil { return nil, err } @@ -3565,7 +6154,7 @@ func (c *controlClient) ListResources(ctx context.Context, in *ListResourcesRequ func (c *controlClient) CreateResource(ctx context.Context, in *CreateResourceRequest, opts ...grpc.CallOption) (*CreateResourceResponse, error) { out := new(CreateResourceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateResource", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/CreateResource", in, out, opts...) if err != nil { return nil, err } @@ -3574,15 +6163,14 @@ func (c *controlClient) CreateResource(ctx context.Context, in *CreateResourceRe func (c *controlClient) RemoveResource(ctx context.Context, in *RemoveResourceRequest, opts ...grpc.CallOption) (*RemoveResourceResponse, error) { out := new(RemoveResourceResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveResource", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Control/RemoveResource", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for Control service - +// ControlServer is the server API for Control service. type ControlServer interface { GetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error) ListNodes(context.Context, *ListNodesRequest) (*ListNodesResponse, error) @@ -5688,6 +8276,11 @@ func (m *ListServiceStatusesResponse_ServiceStatus) MarshalTo(dAtA []byte) (int, i++ i = encodeVarintControl(dAtA, i, uint64(m.RunningTasks)) } + if m.CompletedTasks != 0 { + dAtA[i] = 0x20 + i++ + i = encodeVarintControl(dAtA, i, uint64(m.CompletedTasks)) + } return i, nil } @@ -8990,6 +11583,9 @@ func (p *raftProxyControlServer) RemoveResource(ctx context.Context, r *RemoveRe } func (m *GetNodeRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -9000,6 +11596,9 @@ func (m *GetNodeRequest) Size() (n int) { } func (m *GetNodeResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Node != nil { @@ -9010,6 +11609,9 @@ func (m *GetNodeResponse) Size() (n int) { } func (m *ListNodesRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9020,6 +11622,9 @@ func (m *ListNodesRequest) Size() (n int) { } func (m *ListNodesRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9070,6 +11675,9 @@ func (m *ListNodesRequest_Filters) Size() (n int) { } func (m *ListNodesResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Nodes) > 0 { @@ -9082,6 +11690,9 @@ func (m *ListNodesResponse) Size() (n int) { } func (m *UpdateNodeRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -9100,6 +11711,9 @@ func (m *UpdateNodeRequest) Size() (n int) { } func (m *UpdateNodeResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Node != nil { @@ -9110,6 +11724,9 @@ func (m *UpdateNodeResponse) Size() (n int) { } func (m *RemoveNodeRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -9123,12 +11740,18 @@ func (m *RemoveNodeRequest) Size() (n int) { } func (m *RemoveNodeResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *GetTaskRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.TaskID) @@ -9139,6 +11762,9 @@ func (m *GetTaskRequest) Size() (n int) { } func (m *GetTaskResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Task != nil { @@ -9149,6 +11775,9 @@ func (m *GetTaskResponse) Size() (n int) { } func (m *RemoveTaskRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.TaskID) @@ -9159,12 +11788,18 @@ func (m *RemoveTaskRequest) Size() (n int) { } func (m *RemoveTaskResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *ListTasksRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9175,6 +11810,9 @@ func (m *ListTasksRequest) Size() (n int) { } func (m *ListTasksRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9233,6 +11871,9 @@ func (m *ListTasksRequest_Filters) Size() (n int) { } func (m *ListTasksResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Tasks) > 0 { @@ -9245,6 +11886,9 @@ func (m *ListTasksResponse) Size() (n int) { } func (m *CreateServiceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Spec != nil { @@ -9255,6 +11899,9 @@ func (m *CreateServiceRequest) Size() (n int) { } func (m *CreateServiceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Service != nil { @@ -9265,6 +11912,9 @@ func (m *CreateServiceResponse) Size() (n int) { } func (m *GetServiceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -9278,6 +11928,9 @@ func (m *GetServiceRequest) Size() (n int) { } func (m *GetServiceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Service != nil { @@ -9288,6 +11941,9 @@ func (m *GetServiceResponse) Size() (n int) { } func (m *UpdateServiceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -9309,6 +11965,9 @@ func (m *UpdateServiceRequest) Size() (n int) { } func (m *UpdateServiceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Service != nil { @@ -9319,6 +11978,9 @@ func (m *UpdateServiceResponse) Size() (n int) { } func (m *RemoveServiceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -9329,12 +11991,18 @@ func (m *RemoveServiceRequest) Size() (n int) { } func (m *RemoveServiceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *ListServicesRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9345,6 +12013,9 @@ func (m *ListServicesRequest) Size() (n int) { } func (m *ListServicesRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9383,6 +12054,9 @@ func (m *ListServicesRequest_Filters) Size() (n int) { } func (m *ListServicesResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Services) > 0 { @@ -9395,6 +12069,9 @@ func (m *ListServicesResponse) Size() (n int) { } func (m *ListServiceStatusesRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Services) > 0 { @@ -9407,6 +12084,9 @@ func (m *ListServiceStatusesRequest) Size() (n int) { } func (m *ListServiceStatusesResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Statuses) > 0 { @@ -9419,6 +12099,9 @@ func (m *ListServiceStatusesResponse) Size() (n int) { } func (m *ListServiceStatusesResponse_ServiceStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -9431,10 +12114,16 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Size() (n int) { if m.RunningTasks != 0 { n += 1 + sovControl(uint64(m.RunningTasks)) } + if m.CompletedTasks != 0 { + n += 1 + sovControl(uint64(m.CompletedTasks)) + } return n } func (m *CreateNetworkRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Spec != nil { @@ -9445,6 +12134,9 @@ func (m *CreateNetworkRequest) Size() (n int) { } func (m *CreateNetworkResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Network != nil { @@ -9455,6 +12147,9 @@ func (m *CreateNetworkResponse) Size() (n int) { } func (m *GetNetworkRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -9469,6 +12164,9 @@ func (m *GetNetworkRequest) Size() (n int) { } func (m *GetNetworkResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Network != nil { @@ -9479,6 +12177,9 @@ func (m *GetNetworkResponse) Size() (n int) { } func (m *RemoveNetworkRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -9493,12 +12194,18 @@ func (m *RemoveNetworkRequest) Size() (n int) { } func (m *RemoveNetworkResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *ListNetworksRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9509,6 +12216,9 @@ func (m *ListNetworksRequest) Size() (n int) { } func (m *ListNetworksRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9541,6 +12251,9 @@ func (m *ListNetworksRequest_Filters) Size() (n int) { } func (m *ListNetworksResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Networks) > 0 { @@ -9553,6 +12266,9 @@ func (m *ListNetworksResponse) Size() (n int) { } func (m *GetClusterRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ClusterID) @@ -9563,6 +12279,9 @@ func (m *GetClusterRequest) Size() (n int) { } func (m *GetClusterResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Cluster != nil { @@ -9573,6 +12292,9 @@ func (m *GetClusterResponse) Size() (n int) { } func (m *ListClustersRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9583,6 +12305,9 @@ func (m *ListClustersRequest) Size() (n int) { } func (m *ListClustersRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9615,6 +12340,9 @@ func (m *ListClustersRequest_Filters) Size() (n int) { } func (m *ListClustersResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Clusters) > 0 { @@ -9627,6 +12355,9 @@ func (m *ListClustersResponse) Size() (n int) { } func (m *KeyRotation) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.WorkerJoinToken { @@ -9642,6 +12373,9 @@ func (m *KeyRotation) Size() (n int) { } func (m *UpdateClusterRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ClusterID) @@ -9662,6 +12396,9 @@ func (m *UpdateClusterRequest) Size() (n int) { } func (m *UpdateClusterResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Cluster != nil { @@ -9672,6 +12409,9 @@ func (m *UpdateClusterResponse) Size() (n int) { } func (m *GetSecretRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SecretID) @@ -9682,6 +12422,9 @@ func (m *GetSecretRequest) Size() (n int) { } func (m *GetSecretResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Secret != nil { @@ -9692,6 +12435,9 @@ func (m *GetSecretResponse) Size() (n int) { } func (m *UpdateSecretRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SecretID) @@ -9710,6 +12456,9 @@ func (m *UpdateSecretRequest) Size() (n int) { } func (m *UpdateSecretResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Secret != nil { @@ -9720,6 +12469,9 @@ func (m *UpdateSecretResponse) Size() (n int) { } func (m *ListSecretsRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9730,6 +12482,9 @@ func (m *ListSecretsRequest) Size() (n int) { } func (m *ListSecretsRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9762,6 +12517,9 @@ func (m *ListSecretsRequest_Filters) Size() (n int) { } func (m *ListSecretsResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Secrets) > 0 { @@ -9774,6 +12532,9 @@ func (m *ListSecretsResponse) Size() (n int) { } func (m *CreateSecretRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Spec != nil { @@ -9784,6 +12545,9 @@ func (m *CreateSecretRequest) Size() (n int) { } func (m *CreateSecretResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Secret != nil { @@ -9794,6 +12558,9 @@ func (m *CreateSecretResponse) Size() (n int) { } func (m *RemoveSecretRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SecretID) @@ -9804,12 +12571,18 @@ func (m *RemoveSecretRequest) Size() (n int) { } func (m *RemoveSecretResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *GetConfigRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ConfigID) @@ -9820,6 +12593,9 @@ func (m *GetConfigRequest) Size() (n int) { } func (m *GetConfigResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -9830,6 +12606,9 @@ func (m *GetConfigResponse) Size() (n int) { } func (m *UpdateConfigRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ConfigID) @@ -9848,6 +12627,9 @@ func (m *UpdateConfigRequest) Size() (n int) { } func (m *UpdateConfigResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -9858,6 +12640,9 @@ func (m *UpdateConfigResponse) Size() (n int) { } func (m *ListConfigsRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -9868,6 +12653,9 @@ func (m *ListConfigsRequest) Size() (n int) { } func (m *ListConfigsRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -9900,6 +12688,9 @@ func (m *ListConfigsRequest_Filters) Size() (n int) { } func (m *ListConfigsResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Configs) > 0 { @@ -9912,6 +12703,9 @@ func (m *ListConfigsResponse) Size() (n int) { } func (m *CreateConfigRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Spec != nil { @@ -9922,6 +12716,9 @@ func (m *CreateConfigRequest) Size() (n int) { } func (m *CreateConfigResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -9932,6 +12729,9 @@ func (m *CreateConfigResponse) Size() (n int) { } func (m *RemoveConfigRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ConfigID) @@ -9942,12 +12742,18 @@ func (m *RemoveConfigRequest) Size() (n int) { } func (m *RemoveConfigResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *CreateExtensionRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Annotations != nil { @@ -9962,6 +12768,9 @@ func (m *CreateExtensionRequest) Size() (n int) { } func (m *CreateExtensionResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Extension != nil { @@ -9972,6 +12781,9 @@ func (m *CreateExtensionResponse) Size() (n int) { } func (m *RemoveExtensionRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ExtensionID) @@ -9982,12 +12794,18 @@ func (m *RemoveExtensionRequest) Size() (n int) { } func (m *RemoveExtensionResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *GetExtensionRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ExtensionID) @@ -9998,6 +12816,9 @@ func (m *GetExtensionRequest) Size() (n int) { } func (m *GetExtensionResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Extension != nil { @@ -10008,6 +12829,9 @@ func (m *GetExtensionResponse) Size() (n int) { } func (m *CreateResourceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Annotations != nil { @@ -10026,6 +12850,9 @@ func (m *CreateResourceRequest) Size() (n int) { } func (m *CreateResourceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Resource != nil { @@ -10036,6 +12863,9 @@ func (m *CreateResourceResponse) Size() (n int) { } func (m *RemoveResourceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ResourceID) @@ -10046,12 +12876,18 @@ func (m *RemoveResourceRequest) Size() (n int) { } func (m *RemoveResourceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *UpdateResourceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ResourceID) @@ -10074,6 +12910,9 @@ func (m *UpdateResourceRequest) Size() (n int) { } func (m *UpdateResourceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Resource != nil { @@ -10084,6 +12923,9 @@ func (m *UpdateResourceResponse) Size() (n int) { } func (m *GetResourceRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ResourceID) @@ -10094,6 +12936,9 @@ func (m *GetResourceRequest) Size() (n int) { } func (m *GetResourceResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Resource != nil { @@ -10104,6 +12949,9 @@ func (m *GetResourceResponse) Size() (n int) { } func (m *ListResourcesRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Filters != nil { @@ -10114,6 +12962,9 @@ func (m *ListResourcesRequest) Size() (n int) { } func (m *ListResourcesRequest_Filters) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Names) > 0 { @@ -10150,6 +13001,9 @@ func (m *ListResourcesRequest_Filters) Size() (n int) { } func (m *ListResourcesResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Resources) > 0 { @@ -10212,7 +13066,7 @@ func (this *ListNodesRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -10222,7 +13076,7 @@ func (this *ListNodesRequest_Filters) String() string { for k, _ := range this.NodeLabels { keysForNodeLabels = append(keysForNodeLabels, k) } - sortkeys.Strings(keysForNodeLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForNodeLabels) mapStringForNodeLabels := "map[string]string{" for _, k := range keysForNodeLabels { mapStringForNodeLabels += fmt.Sprintf("%v: %v,", k, this.NodeLabels[k]) @@ -10349,7 +13203,7 @@ func (this *ListTasksRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -10480,7 +13334,7 @@ func (this *ListServicesRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -10534,6 +13388,7 @@ func (this *ListServiceStatusesResponse_ServiceStatus) String() string { `ServiceID:` + fmt.Sprintf("%v", this.ServiceID) + `,`, `DesiredTasks:` + fmt.Sprintf("%v", this.DesiredTasks) + `,`, `RunningTasks:` + fmt.Sprintf("%v", this.RunningTasks) + `,`, + `CompletedTasks:` + fmt.Sprintf("%v", this.CompletedTasks) + `,`, `}`, }, "") return s @@ -10617,7 +13472,7 @@ func (this *ListNetworksRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -10680,7 +13535,7 @@ func (this *ListClustersRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -10800,7 +13655,7 @@ func (this *ListSecretsRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -10924,7 +13779,7 @@ func (this *ListConfigsRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -11055,7 +13910,7 @@ func (this *CreateResourceRequest) String() string { s := strings.Join([]string{`&CreateResourceRequest{`, `Annotations:` + strings.Replace(fmt.Sprintf("%v", this.Annotations), "Annotations", "Annotations", 1) + `,`, `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, - `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "google_protobuf4.Any", 1) + `,`, + `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "types.Any", 1) + `,`, `}`, }, "") return s @@ -11097,7 +13952,7 @@ func (this *UpdateResourceRequest) String() string { `ResourceID:` + fmt.Sprintf("%v", this.ResourceID) + `,`, `ResourceVersion:` + strings.Replace(fmt.Sprintf("%v", this.ResourceVersion), "Version", "Version", 1) + `,`, `Annotations:` + strings.Replace(fmt.Sprintf("%v", this.Annotations), "Annotations", "Annotations", 1) + `,`, - `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "google_protobuf4.Any", 1) + `,`, + `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "types.Any", 1) + `,`, `}`, }, "") return s @@ -11150,7 +14005,7 @@ func (this *ListResourcesRequest_Filters) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -11199,7 +14054,7 @@ func (m *GetNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11227,7 +14082,7 @@ func (m *GetNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11237,6 +14092,9 @@ func (m *GetNodeRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11251,6 +14109,9 @@ func (m *GetNodeRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11278,7 +14139,7 @@ func (m *GetNodeResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11306,7 +14167,7 @@ func (m *GetNodeResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11315,6 +14176,9 @@ func (m *GetNodeResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11334,6 +14198,9 @@ func (m *GetNodeResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11361,7 +14228,7 @@ func (m *ListNodesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11389,7 +14256,7 @@ func (m *ListNodesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11398,6 +14265,9 @@ func (m *ListNodesRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11417,6 +14287,9 @@ func (m *ListNodesRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11444,7 +14317,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11472,7 +14345,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11482,6 +14355,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11501,7 +14377,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11511,6 +14387,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11530,7 +14409,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11539,6 +14418,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11559,7 +14441,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11576,7 +14458,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11586,6 +14468,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -11602,7 +14487,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11612,6 +14497,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -11646,7 +14534,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (NodeSpec_Membership(b) & 0x7F) << shift + v |= NodeSpec_Membership(b&0x7F) << shift if b < 0x80 { break } @@ -11663,7 +14551,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - packedLen |= (int(b) & 0x7F) << shift + packedLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11672,9 +14560,16 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } + var elementCount int + if elementCount != 0 && len(m.Memberships) == 0 { + m.Memberships = make([]NodeSpec_Membership, 0, elementCount) + } for iNdEx < postIndex { var v NodeSpec_Membership for shift := uint(0); ; shift += 7 { @@ -11686,7 +14581,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (NodeSpec_Membership(b) & 0x7F) << shift + v |= NodeSpec_Membership(b&0x7F) << shift if b < 0x80 { break } @@ -11708,7 +14603,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (NodeRole(b) & 0x7F) << shift + v |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -11725,7 +14620,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - packedLen |= (int(b) & 0x7F) << shift + packedLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11734,9 +14629,16 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } + var elementCount int + if elementCount != 0 && len(m.Roles) == 0 { + m.Roles = make([]NodeRole, 0, elementCount) + } for iNdEx < postIndex { var v NodeRole for shift := uint(0); ; shift += 7 { @@ -11748,7 +14650,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (NodeRole(b) & 0x7F) << shift + v |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -11772,7 +14674,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11782,6 +14684,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11801,7 +14706,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11810,6 +14715,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11830,7 +14738,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11847,7 +14755,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11857,6 +14765,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -11873,7 +14784,7 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11883,6 +14794,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -11914,6 +14828,9 @@ func (m *ListNodesRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11941,7 +14858,7 @@ func (m *ListNodesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11969,7 +14886,7 @@ func (m *ListNodesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11978,6 +14895,9 @@ func (m *ListNodesResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11995,6 +14915,9 @@ func (m *ListNodesResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12022,7 +14945,7 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12050,7 +14973,7 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12060,6 +14983,9 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12079,7 +15005,7 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12088,6 +15014,9 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12112,7 +15041,7 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12121,6 +15050,9 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12140,6 +15072,9 @@ func (m *UpdateNodeRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12167,7 +15102,7 @@ func (m *UpdateNodeResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12195,7 +15130,7 @@ func (m *UpdateNodeResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12204,6 +15139,9 @@ func (m *UpdateNodeResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12223,6 +15161,9 @@ func (m *UpdateNodeResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12250,7 +15191,7 @@ func (m *RemoveNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12278,7 +15219,7 @@ func (m *RemoveNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12288,6 +15229,9 @@ func (m *RemoveNodeRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12307,7 +15251,7 @@ func (m *RemoveNodeRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12322,6 +15266,9 @@ func (m *RemoveNodeRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12349,7 +15296,7 @@ func (m *RemoveNodeResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12372,6 +15319,9 @@ func (m *RemoveNodeResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12399,7 +15349,7 @@ func (m *GetTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12427,7 +15377,7 @@ func (m *GetTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12437,6 +15387,9 @@ func (m *GetTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12451,6 +15404,9 @@ func (m *GetTaskRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12478,7 +15434,7 @@ func (m *GetTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12506,7 +15462,7 @@ func (m *GetTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12515,6 +15471,9 @@ func (m *GetTaskResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12534,6 +15493,9 @@ func (m *GetTaskResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12561,7 +15523,7 @@ func (m *RemoveTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12589,7 +15551,7 @@ func (m *RemoveTaskRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12599,6 +15561,9 @@ func (m *RemoveTaskRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12613,6 +15578,9 @@ func (m *RemoveTaskRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12640,7 +15608,7 @@ func (m *RemoveTaskResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12663,6 +15631,9 @@ func (m *RemoveTaskResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12690,7 +15661,7 @@ func (m *ListTasksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12718,7 +15689,7 @@ func (m *ListTasksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12727,6 +15698,9 @@ func (m *ListTasksRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12746,6 +15720,9 @@ func (m *ListTasksRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12773,7 +15750,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12801,7 +15778,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12811,6 +15788,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12830,7 +15810,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12840,6 +15820,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12859,7 +15842,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12868,6 +15851,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12888,7 +15874,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12905,7 +15891,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12915,6 +15901,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -12931,7 +15920,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12941,6 +15930,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -12977,7 +15969,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12987,6 +15979,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13006,7 +16001,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13016,6 +16011,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13033,7 +16031,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (TaskState(b) & 0x7F) << shift + v |= TaskState(b&0x7F) << shift if b < 0x80 { break } @@ -13050,7 +16048,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - packedLen |= (int(b) & 0x7F) << shift + packedLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13059,9 +16057,16 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } + var elementCount int + if elementCount != 0 && len(m.DesiredStates) == 0 { + m.DesiredStates = make([]TaskState, 0, elementCount) + } for iNdEx < postIndex { var v TaskState for shift := uint(0); ; shift += 7 { @@ -13073,7 +16078,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (TaskState(b) & 0x7F) << shift + v |= TaskState(b&0x7F) << shift if b < 0x80 { break } @@ -13097,7 +16102,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13107,6 +16112,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13126,7 +16134,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13146,7 +16154,7 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13156,6 +16164,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13170,6 +16181,9 @@ func (m *ListTasksRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13197,7 +16211,7 @@ func (m *ListTasksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13225,7 +16239,7 @@ func (m *ListTasksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13234,6 +16248,9 @@ func (m *ListTasksResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13251,6 +16268,9 @@ func (m *ListTasksResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13278,7 +16298,7 @@ func (m *CreateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13306,7 +16326,7 @@ func (m *CreateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13315,6 +16335,9 @@ func (m *CreateServiceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13334,6 +16357,9 @@ func (m *CreateServiceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13361,7 +16387,7 @@ func (m *CreateServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13389,7 +16415,7 @@ func (m *CreateServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13398,6 +16424,9 @@ func (m *CreateServiceResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13417,6 +16446,9 @@ func (m *CreateServiceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13444,7 +16476,7 @@ func (m *GetServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13472,7 +16504,7 @@ func (m *GetServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13482,6 +16514,9 @@ func (m *GetServiceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13501,7 +16536,7 @@ func (m *GetServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13516,6 +16551,9 @@ func (m *GetServiceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13543,7 +16581,7 @@ func (m *GetServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13571,7 +16609,7 @@ func (m *GetServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13580,6 +16618,9 @@ func (m *GetServiceResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13599,6 +16640,9 @@ func (m *GetServiceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13626,7 +16670,7 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13654,7 +16698,7 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13664,6 +16708,9 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13683,7 +16730,7 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13692,6 +16739,9 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13716,7 +16766,7 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13725,6 +16775,9 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13749,7 +16802,7 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Rollback |= (UpdateServiceRequest_Rollback(b) & 0x7F) << shift + m.Rollback |= UpdateServiceRequest_Rollback(b&0x7F) << shift if b < 0x80 { break } @@ -13763,6 +16816,9 @@ func (m *UpdateServiceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13790,7 +16846,7 @@ func (m *UpdateServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13818,7 +16874,7 @@ func (m *UpdateServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13827,6 +16883,9 @@ func (m *UpdateServiceResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13846,6 +16905,9 @@ func (m *UpdateServiceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13873,7 +16935,7 @@ func (m *RemoveServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13901,7 +16963,7 @@ func (m *RemoveServiceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13911,6 +16973,9 @@ func (m *RemoveServiceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13925,6 +16990,9 @@ func (m *RemoveServiceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13952,7 +17020,7 @@ func (m *RemoveServiceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13975,6 +17043,9 @@ func (m *RemoveServiceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14002,7 +17073,7 @@ func (m *ListServicesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14030,7 +17101,7 @@ func (m *ListServicesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14039,6 +17110,9 @@ func (m *ListServicesRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14058,6 +17132,9 @@ func (m *ListServicesRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14085,7 +17162,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14113,7 +17190,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14123,6 +17200,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14142,7 +17222,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14152,6 +17232,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14171,7 +17254,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14180,6 +17263,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14200,7 +17286,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14217,7 +17303,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14227,6 +17313,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -14243,7 +17332,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14253,6 +17342,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -14289,7 +17381,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14299,6 +17391,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14318,7 +17413,7 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14328,6 +17423,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14342,6 +17440,9 @@ func (m *ListServicesRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14369,7 +17470,7 @@ func (m *ListServicesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14397,7 +17498,7 @@ func (m *ListServicesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14406,6 +17507,9 @@ func (m *ListServicesResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14423,6 +17527,9 @@ func (m *ListServicesResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14450,7 +17557,7 @@ func (m *ListServiceStatusesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14478,7 +17585,7 @@ func (m *ListServiceStatusesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14488,6 +17595,9 @@ func (m *ListServiceStatusesRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14502,6 +17612,9 @@ func (m *ListServiceStatusesRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14529,7 +17642,7 @@ func (m *ListServiceStatusesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14557,7 +17670,7 @@ func (m *ListServiceStatusesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14566,6 +17679,9 @@ func (m *ListServiceStatusesResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14583,6 +17699,9 @@ func (m *ListServiceStatusesResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14610,7 +17729,7 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14638,7 +17757,7 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14648,6 +17767,9 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Unmarshal(dAtA []byte) error return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14667,7 +17789,7 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - m.DesiredTasks |= (uint64(b) & 0x7F) << shift + m.DesiredTasks |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14686,7 +17808,26 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - m.RunningTasks |= (uint64(b) & 0x7F) << shift + m.RunningTasks |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field CompletedTasks", wireType) + } + m.CompletedTasks = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowControl + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.CompletedTasks |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14700,6 +17841,9 @@ func (m *ListServiceStatusesResponse_ServiceStatus) Unmarshal(dAtA []byte) error if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14727,7 +17871,7 @@ func (m *CreateNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14755,7 +17899,7 @@ func (m *CreateNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14764,6 +17908,9 @@ func (m *CreateNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14783,6 +17930,9 @@ func (m *CreateNetworkRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14810,7 +17960,7 @@ func (m *CreateNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14838,7 +17988,7 @@ func (m *CreateNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14847,6 +17997,9 @@ func (m *CreateNetworkResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14866,6 +18019,9 @@ func (m *CreateNetworkResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14893,7 +18049,7 @@ func (m *GetNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14921,7 +18077,7 @@ func (m *GetNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14931,6 +18087,9 @@ func (m *GetNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14950,7 +18109,7 @@ func (m *GetNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14960,6 +18119,9 @@ func (m *GetNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14974,6 +18136,9 @@ func (m *GetNetworkRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15001,7 +18166,7 @@ func (m *GetNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15029,7 +18194,7 @@ func (m *GetNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15038,6 +18203,9 @@ func (m *GetNetworkResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15057,6 +18225,9 @@ func (m *GetNetworkResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15084,7 +18255,7 @@ func (m *RemoveNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15112,7 +18283,7 @@ func (m *RemoveNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15122,6 +18293,9 @@ func (m *RemoveNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15141,7 +18315,7 @@ func (m *RemoveNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15151,6 +18325,9 @@ func (m *RemoveNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15165,6 +18342,9 @@ func (m *RemoveNetworkRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15192,7 +18372,7 @@ func (m *RemoveNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15215,6 +18395,9 @@ func (m *RemoveNetworkResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15242,7 +18425,7 @@ func (m *ListNetworksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15270,7 +18453,7 @@ func (m *ListNetworksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15279,6 +18462,9 @@ func (m *ListNetworksRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15298,6 +18484,9 @@ func (m *ListNetworksRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15325,7 +18514,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15353,7 +18542,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15363,6 +18552,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15382,7 +18574,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15392,6 +18584,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15411,7 +18606,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15420,6 +18615,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15440,7 +18638,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15457,7 +18655,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15467,6 +18665,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -15483,7 +18684,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15493,6 +18694,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -15529,7 +18733,7 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15539,6 +18743,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15553,6 +18760,9 @@ func (m *ListNetworksRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15580,7 +18790,7 @@ func (m *ListNetworksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15608,7 +18818,7 @@ func (m *ListNetworksResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15617,6 +18827,9 @@ func (m *ListNetworksResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15634,6 +18847,9 @@ func (m *ListNetworksResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15661,7 +18877,7 @@ func (m *GetClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15689,7 +18905,7 @@ func (m *GetClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15699,6 +18915,9 @@ func (m *GetClusterRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15713,6 +18932,9 @@ func (m *GetClusterRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15740,7 +18962,7 @@ func (m *GetClusterResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15768,7 +18990,7 @@ func (m *GetClusterResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15777,6 +18999,9 @@ func (m *GetClusterResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15796,6 +19021,9 @@ func (m *GetClusterResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15823,7 +19051,7 @@ func (m *ListClustersRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15851,7 +19079,7 @@ func (m *ListClustersRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15860,6 +19088,9 @@ func (m *ListClustersRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15879,6 +19110,9 @@ func (m *ListClustersRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15906,7 +19140,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15934,7 +19168,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15944,6 +19178,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15963,7 +19200,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15973,6 +19210,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15992,7 +19232,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16001,6 +19241,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16021,7 +19264,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16038,7 +19281,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16048,6 +19291,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -16064,7 +19310,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16074,6 +19320,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -16110,7 +19359,7 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16120,6 +19369,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16134,6 +19386,9 @@ func (m *ListClustersRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16161,7 +19416,7 @@ func (m *ListClustersResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16189,7 +19444,7 @@ func (m *ListClustersResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16198,6 +19453,9 @@ func (m *ListClustersResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16215,6 +19473,9 @@ func (m *ListClustersResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16242,7 +19503,7 @@ func (m *KeyRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16270,7 +19531,7 @@ func (m *KeyRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16290,7 +19551,7 @@ func (m *KeyRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16310,7 +19571,7 @@ func (m *KeyRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16325,6 +19586,9 @@ func (m *KeyRotation) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16352,7 +19616,7 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16380,7 +19644,7 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16390,6 +19654,9 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16409,7 +19676,7 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16418,6 +19685,9 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16442,7 +19712,7 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16451,6 +19721,9 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16475,7 +19748,7 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16484,6 +19757,9 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16500,6 +19776,9 @@ func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16527,7 +19806,7 @@ func (m *UpdateClusterResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16555,7 +19834,7 @@ func (m *UpdateClusterResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16564,6 +19843,9 @@ func (m *UpdateClusterResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16583,6 +19865,9 @@ func (m *UpdateClusterResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16610,7 +19895,7 @@ func (m *GetSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16638,7 +19923,7 @@ func (m *GetSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16648,6 +19933,9 @@ func (m *GetSecretRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16662,6 +19950,9 @@ func (m *GetSecretRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16689,7 +19980,7 @@ func (m *GetSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16717,7 +20008,7 @@ func (m *GetSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16726,6 +20017,9 @@ func (m *GetSecretResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16745,6 +20039,9 @@ func (m *GetSecretResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16772,7 +20069,7 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16800,7 +20097,7 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16810,6 +20107,9 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16829,7 +20129,7 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16838,6 +20138,9 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16862,7 +20165,7 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16871,6 +20174,9 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16890,6 +20196,9 @@ func (m *UpdateSecretRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16917,7 +20226,7 @@ func (m *UpdateSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16945,7 +20254,7 @@ func (m *UpdateSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16954,6 +20263,9 @@ func (m *UpdateSecretResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16973,6 +20285,9 @@ func (m *UpdateSecretResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17000,7 +20315,7 @@ func (m *ListSecretsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17028,7 +20343,7 @@ func (m *ListSecretsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17037,6 +20352,9 @@ func (m *ListSecretsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17056,6 +20374,9 @@ func (m *ListSecretsRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17083,7 +20404,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17111,7 +20432,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17121,6 +20442,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17140,7 +20464,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17150,6 +20474,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17169,7 +20496,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17178,6 +20505,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17198,7 +20528,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17215,7 +20545,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17225,6 +20555,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -17241,7 +20574,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17251,6 +20584,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -17287,7 +20623,7 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17297,6 +20633,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17311,6 +20650,9 @@ func (m *ListSecretsRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17338,7 +20680,7 @@ func (m *ListSecretsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17366,7 +20708,7 @@ func (m *ListSecretsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17375,6 +20717,9 @@ func (m *ListSecretsResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17392,6 +20737,9 @@ func (m *ListSecretsResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17419,7 +20767,7 @@ func (m *CreateSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17447,7 +20795,7 @@ func (m *CreateSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17456,6 +20804,9 @@ func (m *CreateSecretRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17475,6 +20826,9 @@ func (m *CreateSecretRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17502,7 +20856,7 @@ func (m *CreateSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17530,7 +20884,7 @@ func (m *CreateSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17539,6 +20893,9 @@ func (m *CreateSecretResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17558,6 +20915,9 @@ func (m *CreateSecretResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17585,7 +20945,7 @@ func (m *RemoveSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17613,7 +20973,7 @@ func (m *RemoveSecretRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17623,6 +20983,9 @@ func (m *RemoveSecretRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17637,6 +21000,9 @@ func (m *RemoveSecretRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17664,7 +21030,7 @@ func (m *RemoveSecretResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17687,6 +21053,9 @@ func (m *RemoveSecretResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17714,7 +21083,7 @@ func (m *GetConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17742,7 +21111,7 @@ func (m *GetConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17752,6 +21121,9 @@ func (m *GetConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17766,6 +21138,9 @@ func (m *GetConfigRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17793,7 +21168,7 @@ func (m *GetConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17821,7 +21196,7 @@ func (m *GetConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17830,6 +21205,9 @@ func (m *GetConfigResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17849,6 +21227,9 @@ func (m *GetConfigResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17876,7 +21257,7 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17904,7 +21285,7 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17914,6 +21295,9 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17933,7 +21317,7 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17942,6 +21326,9 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17966,7 +21353,7 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17975,6 +21362,9 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17994,6 +21384,9 @@ func (m *UpdateConfigRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18021,7 +21414,7 @@ func (m *UpdateConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18049,7 +21442,7 @@ func (m *UpdateConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18058,6 +21451,9 @@ func (m *UpdateConfigResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18077,6 +21473,9 @@ func (m *UpdateConfigResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18104,7 +21503,7 @@ func (m *ListConfigsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18132,7 +21531,7 @@ func (m *ListConfigsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18141,6 +21540,9 @@ func (m *ListConfigsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18160,6 +21562,9 @@ func (m *ListConfigsRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18187,7 +21592,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18215,7 +21620,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18225,6 +21630,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18244,7 +21652,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18254,6 +21662,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18273,7 +21684,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18282,6 +21693,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18302,7 +21716,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18319,7 +21733,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18329,6 +21743,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -18345,7 +21762,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18355,6 +21772,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -18391,7 +21811,7 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18401,6 +21821,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18415,6 +21838,9 @@ func (m *ListConfigsRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18442,7 +21868,7 @@ func (m *ListConfigsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18470,7 +21896,7 @@ func (m *ListConfigsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18479,6 +21905,9 @@ func (m *ListConfigsResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18496,6 +21925,9 @@ func (m *ListConfigsResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18523,7 +21955,7 @@ func (m *CreateConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18551,7 +21983,7 @@ func (m *CreateConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18560,6 +21992,9 @@ func (m *CreateConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18579,6 +22014,9 @@ func (m *CreateConfigRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18606,7 +22044,7 @@ func (m *CreateConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18634,7 +22072,7 @@ func (m *CreateConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18643,6 +22081,9 @@ func (m *CreateConfigResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18662,6 +22103,9 @@ func (m *CreateConfigResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18689,7 +22133,7 @@ func (m *RemoveConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18717,7 +22161,7 @@ func (m *RemoveConfigRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18727,6 +22171,9 @@ func (m *RemoveConfigRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18741,6 +22188,9 @@ func (m *RemoveConfigRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18768,7 +22218,7 @@ func (m *RemoveConfigResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18791,6 +22241,9 @@ func (m *RemoveConfigResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18818,7 +22271,7 @@ func (m *CreateExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18846,7 +22299,7 @@ func (m *CreateExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18855,6 +22308,9 @@ func (m *CreateExtensionRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18879,7 +22335,7 @@ func (m *CreateExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18889,6 +22345,9 @@ func (m *CreateExtensionRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18903,6 +22362,9 @@ func (m *CreateExtensionRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -18930,7 +22392,7 @@ func (m *CreateExtensionResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -18958,7 +22420,7 @@ func (m *CreateExtensionResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -18967,6 +22429,9 @@ func (m *CreateExtensionResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -18986,6 +22451,9 @@ func (m *CreateExtensionResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19013,7 +22481,7 @@ func (m *RemoveExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19041,7 +22509,7 @@ func (m *RemoveExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19051,6 +22519,9 @@ func (m *RemoveExtensionRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19065,6 +22536,9 @@ func (m *RemoveExtensionRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19092,7 +22566,7 @@ func (m *RemoveExtensionResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19115,6 +22589,9 @@ func (m *RemoveExtensionResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19142,7 +22619,7 @@ func (m *GetExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19170,7 +22647,7 @@ func (m *GetExtensionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19180,6 +22657,9 @@ func (m *GetExtensionRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19194,6 +22674,9 @@ func (m *GetExtensionRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19221,7 +22704,7 @@ func (m *GetExtensionResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19249,7 +22732,7 @@ func (m *GetExtensionResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19258,6 +22741,9 @@ func (m *GetExtensionResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19277,6 +22763,9 @@ func (m *GetExtensionResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19304,7 +22793,7 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19332,7 +22821,7 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19341,6 +22830,9 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19365,7 +22857,7 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19375,6 +22867,9 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19394,7 +22889,7 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19403,11 +22898,14 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Payload == nil { - m.Payload = &google_protobuf4.Any{} + m.Payload = &types.Any{} } if err := m.Payload.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -19422,6 +22920,9 @@ func (m *CreateResourceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19449,7 +22950,7 @@ func (m *CreateResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19477,7 +22978,7 @@ func (m *CreateResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19486,6 +22987,9 @@ func (m *CreateResourceResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19505,6 +23009,9 @@ func (m *CreateResourceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19532,7 +23039,7 @@ func (m *RemoveResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19560,7 +23067,7 @@ func (m *RemoveResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19570,6 +23077,9 @@ func (m *RemoveResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19584,6 +23094,9 @@ func (m *RemoveResourceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19611,7 +23124,7 @@ func (m *RemoveResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19634,6 +23147,9 @@ func (m *RemoveResourceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19661,7 +23177,7 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19689,7 +23205,7 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19699,6 +23215,9 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19718,7 +23237,7 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19727,6 +23246,9 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19751,7 +23273,7 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19760,6 +23282,9 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19784,7 +23309,7 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19793,11 +23318,14 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Payload == nil { - m.Payload = &google_protobuf4.Any{} + m.Payload = &types.Any{} } if err := m.Payload.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -19812,6 +23340,9 @@ func (m *UpdateResourceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19839,7 +23370,7 @@ func (m *UpdateResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19867,7 +23398,7 @@ func (m *UpdateResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -19876,6 +23407,9 @@ func (m *UpdateResourceResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19895,6 +23429,9 @@ func (m *UpdateResourceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -19922,7 +23459,7 @@ func (m *GetResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19950,7 +23487,7 @@ func (m *GetResourceRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -19960,6 +23497,9 @@ func (m *GetResourceRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -19974,6 +23514,9 @@ func (m *GetResourceRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -20001,7 +23544,7 @@ func (m *GetResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20029,7 +23572,7 @@ func (m *GetResourceResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -20038,6 +23581,9 @@ func (m *GetResourceResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20057,6 +23603,9 @@ func (m *GetResourceResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -20084,7 +23633,7 @@ func (m *ListResourcesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20112,7 +23661,7 @@ func (m *ListResourcesRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -20121,6 +23670,9 @@ func (m *ListResourcesRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20140,6 +23692,9 @@ func (m *ListResourcesRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -20167,7 +23722,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20195,7 +23750,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20205,6 +23760,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20224,7 +23782,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20234,6 +23792,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20253,7 +23814,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -20262,6 +23823,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20282,7 +23846,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20299,7 +23863,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20309,6 +23873,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -20325,7 +23892,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20335,6 +23902,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthControl + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -20371,7 +23941,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20381,6 +23951,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20400,7 +23973,7 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20410,6 +23983,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20424,6 +24000,9 @@ func (m *ListResourcesRequest_Filters) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -20451,7 +24030,7 @@ func (m *ListResourcesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -20479,7 +24058,7 @@ func (m *ListResourcesResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -20488,6 +24067,9 @@ func (m *ListResourcesResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthControl } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthControl + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -20505,6 +24087,9 @@ func (m *ListResourcesResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthControl } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthControl + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -20571,10 +24156,13 @@ func skipControl(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthControl } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthControl + } return iNdEx, nil case 3: for { @@ -20603,6 +24191,9 @@ func skipControl(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthControl + } } return iNdEx, nil case 4: @@ -20621,181 +24212,3 @@ var ( ErrInvalidLengthControl = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowControl = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/control.proto", fileDescriptorControl) } - -var fileDescriptorControl = []byte{ - // 2744 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x49, 0x6f, 0x1b, 0xc9, - 0x15, 0x36, 0x29, 0x4a, 0x22, 0x1f, 0xb5, 0xb9, 0x2c, 0xdb, 0x1c, 0xda, 0x91, 0x8c, 0xf6, 0x46, - 0x3b, 0x0e, 0x39, 0x43, 0x67, 0x32, 0x8e, 0x67, 0x9c, 0xc4, 0xb2, 0xbc, 0xd0, 0x8b, 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xc7, 0x32, 0x7e, 0x1d, 0x16, 0x05, 0x7a, - 0x88, 0x7d, 0x60, 0x81, 0xcb, 0x88, 0xad, 0xe0, 0x7a, 0x68, 0x2b, 0x48, 0x17, 0x4a, 0xf4, 0x04, - 0xf2, 0xb6, 0xd5, 0xed, 0xee, 0x34, 0x5b, 0x9d, 0x52, 0xee, 0x5c, 0xa6, 0xb2, 0x50, 0xff, 0x40, - 0x25, 0xa8, 0x5a, 0x64, 0x55, 0xe7, 0x82, 0xba, 0x37, 0x85, 0xa6, 0x41, 0x5e, 0x8c, 0xa2, 0x3c, - 0xe4, 0x36, 0x9e, 0x6e, 0xdc, 0x5d, 0x3a, 0x86, 0xe6, 0x20, 0xff, 0x4c, 0xbf, 0xfb, 0xa2, 0xf1, - 0xf4, 0xf9, 0xe6, 0x52, 0x86, 0x64, 0x8f, 0x34, 0xdd, 0x78, 0x41, 0x58, 0x87, 0x65, 0x46, 0xba, - 0xe3, 0xc4, 0x40, 0x3b, 0x0d, 0x27, 0xa5, 0x59, 0x38, 0x7b, 0xbf, 0x99, 0x82, 0x13, 0xe4, 0xfd, - 0xe3, 0xe3, 0x1e, 0x81, 0x37, 0x64, 0x02, 0xaf, 0x45, 0xd1, 0xa4, 0x24, 0x39, 0xc8, 0xe1, 0x7f, - 0xc8, 0x4e, 0x9c, 0xc3, 0x37, 0x25, 0x0e, 0xff, 0x78, 0x48, 0xe3, 0x94, 0x34, 0x3e, 0xc0, 0x91, - 0x39, 0x05, 0x47, 0x06, 0x59, 0x70, 0x7a, 0x72, 0x2c, 0xf8, 0x14, 0x96, 0xc3, 0xe6, 0xf2, 0xa4, - 0xf9, 0x08, 0xf2, 0x3c, 0x88, 0x82, 0x0b, 0x63, 0xb3, 0xc6, 0x03, 0x6b, 0x37, 0xa0, 0x1c, 0x98, - 0x90, 0xec, 0x02, 0x7d, 0xc7, 0x8f, 0x6e, 0x59, 0x9a, 0xb6, 0x10, 0x90, 0xfc, 0x45, 0x16, 0xce, - 0x28, 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, 0x28, 0x55, 0x44, 0xd1, 0xd5, 0x68, 0x47, 0x0e, 0x18, 0xf0, 0xf5, 0x54, 0xd8, 0x64, 0x1b, - 0xa4, 0x7a, 0xa7, 0xda, 0x06, 0x75, 0x89, 0x55, 0x6d, 0x43, 0x54, 0x01, 0x35, 0x3a, 0xd9, 0x03, - 0xd5, 0x1b, 0x14, 0xb5, 0xe5, 0x4a, 0x55, 0xa2, 0xf2, 0xe5, 0x44, 0x5c, 0xbc, 0xda, 0x9f, 0xc2, - 0x42, 0xb8, 0x9e, 0x85, 0x62, 0x36, 0x3e, 0x59, 0xf9, 0xd5, 0x34, 0xd0, 0xc4, 0x1d, 0x3a, 0x54, - 0xe1, 0x40, 0x95, 0xb4, 0xc5, 0x1a, 0xf5, 0x0e, 0xad, 0x2c, 0x97, 0xc4, 0x2c, 0x3e, 0x5c, 0x8a, - 0x45, 0x31, 0xa7, 0xbb, 0x54, 0x8b, 0x57, 0x57, 0x76, 0x63, 0xf4, 0x87, 0x8b, 0xad, 0x28, 0xe6, - 0x80, 0x97, 0x4a, 0x7f, 0x44, 0xed, 0x56, 0xad, 0x7f, 0xad, 0xf4, 0xf6, 0x8b, 0x95, 0x63, 0xff, - 0xfc, 0x62, 0xe5, 0xd8, 0xcf, 0x8e, 0x56, 0x32, 0x6f, 0x8f, 0x56, 0x32, 0xff, 0x38, 0x5a, 0xc9, - 0xfc, 0xfb, 0x68, 0x25, 0xb3, 0x33, 0x43, 0xab, 0x9f, 0xd7, 0xbf, 0x0c, 0x00, 0x00, 0xff, 0xff, - 0x83, 0x6a, 0xc0, 0xe5, 0xab, 0x38, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/control.proto b/vendor/github.com/docker/swarmkit/api/control.proto index bda699cc6d..c90b78d9b8 100644 --- a/vendor/github.com/docker/swarmkit/api/control.proto +++ b/vendor/github.com/docker/swarmkit/api/control.proto @@ -433,6 +433,13 @@ message ListServiceStatusesResponse { // request time. This may be larger than desired tasks if, for example, a // service has been scaled down. uint64 running_tasks = 3; + + // CompletedTasks is the number of tasks in state Completed, if this + // service is in mode ReplicatedJob or GlobalJob. This must be + // cross-referenced with the service type, because the default value of 0 + // may mean that a service is not in a Job mode, or it may mean the Job has + // yet to complete any Tasks. + uint64 completed_tasks = 4; } repeated ServiceStatus statuses = 1; diff --git a/vendor/github.com/docker/swarmkit/api/dispatcher.pb.go b/vendor/github.com/docker/swarmkit/api/dispatcher.pb.go index f72d3d9995..3d76cbf8a7 100644 --- a/vendor/github.com/docker/swarmkit/api/dispatcher.pb.go +++ b/vendor/github.com/docker/swarmkit/api/dispatcher.pb.go @@ -3,33 +3,28 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import _ "github.com/docker/swarmkit/protobuf/plugin" -import _ "github.com/gogo/protobuf/types" - -import time "time" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import types "github.com/gogo/protobuf/types" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + _ "github.com/gogo/protobuf/types" + github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" + time "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -37,6 +32,12 @@ var _ = fmt.Errorf var _ = math.Inf var _ = time.Kitchen +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type AssignmentChange_AssignmentAction int32 const ( @@ -48,6 +49,7 @@ var AssignmentChange_AssignmentAction_name = map[int32]string{ 0: "UPDATE", 1: "REMOVE", } + var AssignmentChange_AssignmentAction_value = map[string]int32{ "UPDATE": 0, "REMOVE": 1, @@ -56,8 +58,9 @@ var AssignmentChange_AssignmentAction_value = map[string]int32{ func (x AssignmentChange_AssignmentAction) String() string { return proto.EnumName(AssignmentChange_AssignmentAction_name, int32(x)) } + func (AssignmentChange_AssignmentAction) EnumDescriptor() ([]byte, []int) { - return fileDescriptorDispatcher, []int{10, 0} + return fileDescriptor_71002346457e55a8, []int{10, 0} } // AssignmentType specifies whether this assignment message carries @@ -73,6 +76,7 @@ var AssignmentsMessage_Type_name = map[int32]string{ 0: "COMPLETE", 1: "INCREMENTAL", } + var AssignmentsMessage_Type_value = map[string]int32{ "COMPLETE": 0, "INCREMENTAL": 1, @@ -81,13 +85,14 @@ var AssignmentsMessage_Type_value = map[string]int32{ func (x AssignmentsMessage_Type) String() string { return proto.EnumName(AssignmentsMessage_Type_name, int32(x)) } + func (AssignmentsMessage_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptorDispatcher, []int{11, 0} + return fileDescriptor_71002346457e55a8, []int{11, 0} } // SessionRequest starts a session. type SessionRequest struct { - Description *NodeDescription `protobuf:"bytes,1,opt,name=description" json:"description,omitempty"` + Description *NodeDescription `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` // SessionID can be provided to attempt resuming an existing session. If the // SessionID is empty or invalid, a new SessionID will be assigned. // @@ -95,9 +100,37 @@ type SessionRequest struct { SessionID string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` } -func (m *SessionRequest) Reset() { *m = SessionRequest{} } -func (*SessionRequest) ProtoMessage() {} -func (*SessionRequest) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{0} } +func (m *SessionRequest) Reset() { *m = SessionRequest{} } +func (*SessionRequest) ProtoMessage() {} +func (*SessionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{0} +} +func (m *SessionRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SessionRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SessionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SessionRequest.Merge(m, src) +} +func (m *SessionRequest) XXX_Size() int { + return m.Size() +} +func (m *SessionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SessionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SessionRequest proto.InternalMessageInfo // SessionMessage instructs an agent on various actions as part of the current // session. An agent should act immediately on the contents. @@ -147,55 +180,165 @@ type SessionMessage struct { // directly in the RPC message set. SessionID string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` // Node identifies the registering node. - Node *Node `protobuf:"bytes,2,opt,name=node" json:"node,omitempty"` + Node *Node `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` // Managers provides a weight list of alternative dispatchers - Managers []*WeightedPeer `protobuf:"bytes,3,rep,name=managers" json:"managers,omitempty"` + Managers []*WeightedPeer `protobuf:"bytes,3,rep,name=managers,proto3" json:"managers,omitempty"` // Symmetric encryption key distributed by the lead manager. Used by agents // for securing network bootstrapping and communication. - NetworkBootstrapKeys []*EncryptionKey `protobuf:"bytes,4,rep,name=network_bootstrap_keys,json=networkBootstrapKeys" json:"network_bootstrap_keys,omitempty"` + NetworkBootstrapKeys []*EncryptionKey `protobuf:"bytes,4,rep,name=network_bootstrap_keys,json=networkBootstrapKeys,proto3" json:"network_bootstrap_keys,omitempty"` // Which root certificates to trust RootCA []byte `protobuf:"bytes,5,opt,name=RootCA,proto3" json:"RootCA,omitempty"` } -func (m *SessionMessage) Reset() { *m = SessionMessage{} } -func (*SessionMessage) ProtoMessage() {} -func (*SessionMessage) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{1} } +func (m *SessionMessage) Reset() { *m = SessionMessage{} } +func (*SessionMessage) ProtoMessage() {} +func (*SessionMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{1} +} +func (m *SessionMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SessionMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SessionMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SessionMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_SessionMessage.Merge(m, src) +} +func (m *SessionMessage) XXX_Size() int { + return m.Size() +} +func (m *SessionMessage) XXX_DiscardUnknown() { + xxx_messageInfo_SessionMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_SessionMessage proto.InternalMessageInfo // HeartbeatRequest provides identifying properties for a single heartbeat. type HeartbeatRequest struct { SessionID string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` } -func (m *HeartbeatRequest) Reset() { *m = HeartbeatRequest{} } -func (*HeartbeatRequest) ProtoMessage() {} -func (*HeartbeatRequest) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{2} } +func (m *HeartbeatRequest) Reset() { *m = HeartbeatRequest{} } +func (*HeartbeatRequest) ProtoMessage() {} +func (*HeartbeatRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{2} +} +func (m *HeartbeatRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HeartbeatRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HeartbeatRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *HeartbeatRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_HeartbeatRequest.Merge(m, src) +} +func (m *HeartbeatRequest) XXX_Size() int { + return m.Size() +} +func (m *HeartbeatRequest) XXX_DiscardUnknown() { + xxx_messageInfo_HeartbeatRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_HeartbeatRequest proto.InternalMessageInfo type HeartbeatResponse struct { // Period is the duration to wait before sending the next heartbeat. // Well-behaved agents should update this on every heartbeat round trip. - Period time.Duration `protobuf:"bytes,1,opt,name=period,stdduration" json:"period"` + Period time.Duration `protobuf:"bytes,1,opt,name=period,proto3,stdduration" json:"period"` } -func (m *HeartbeatResponse) Reset() { *m = HeartbeatResponse{} } -func (*HeartbeatResponse) ProtoMessage() {} -func (*HeartbeatResponse) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{3} } +func (m *HeartbeatResponse) Reset() { *m = HeartbeatResponse{} } +func (*HeartbeatResponse) ProtoMessage() {} +func (*HeartbeatResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{3} +} +func (m *HeartbeatResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HeartbeatResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HeartbeatResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *HeartbeatResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_HeartbeatResponse.Merge(m, src) +} +func (m *HeartbeatResponse) XXX_Size() int { + return m.Size() +} +func (m *HeartbeatResponse) XXX_DiscardUnknown() { + xxx_messageInfo_HeartbeatResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_HeartbeatResponse proto.InternalMessageInfo type UpdateTaskStatusRequest struct { // Tasks should contain all statuses for running tasks. Only the status // field must be set. The spec is not required. SessionID string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` - Updates []*UpdateTaskStatusRequest_TaskStatusUpdate `protobuf:"bytes,3,rep,name=updates" json:"updates,omitempty"` + Updates []*UpdateTaskStatusRequest_TaskStatusUpdate `protobuf:"bytes,3,rep,name=updates,proto3" json:"updates,omitempty"` } func (m *UpdateTaskStatusRequest) Reset() { *m = UpdateTaskStatusRequest{} } func (*UpdateTaskStatusRequest) ProtoMessage() {} func (*UpdateTaskStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptorDispatcher, []int{4} + return fileDescriptor_71002346457e55a8, []int{4} } +func (m *UpdateTaskStatusRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateTaskStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateTaskStatusRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateTaskStatusRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateTaskStatusRequest.Merge(m, src) +} +func (m *UpdateTaskStatusRequest) XXX_Size() int { + return m.Size() +} +func (m *UpdateTaskStatusRequest) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateTaskStatusRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateTaskStatusRequest proto.InternalMessageInfo type UpdateTaskStatusRequest_TaskStatusUpdate struct { TaskID string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` - Status *TaskStatus `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` + Status *TaskStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` } func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Reset() { @@ -203,8 +346,34 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Reset() { } func (*UpdateTaskStatusRequest_TaskStatusUpdate) ProtoMessage() {} func (*UpdateTaskStatusRequest_TaskStatusUpdate) Descriptor() ([]byte, []int) { - return fileDescriptorDispatcher, []int{4, 0} + return fileDescriptor_71002346457e55a8, []int{4, 0} } +func (m *UpdateTaskStatusRequest_TaskStatusUpdate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateTaskStatusRequest_TaskStatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateTaskStatusRequest_TaskStatusUpdate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateTaskStatusRequest_TaskStatusUpdate) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateTaskStatusRequest_TaskStatusUpdate.Merge(m, src) +} +func (m *UpdateTaskStatusRequest_TaskStatusUpdate) XXX_Size() int { + return m.Size() +} +func (m *UpdateTaskStatusRequest_TaskStatusUpdate) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateTaskStatusRequest_TaskStatusUpdate.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateTaskStatusRequest_TaskStatusUpdate proto.InternalMessageInfo type UpdateTaskStatusResponse struct { } @@ -212,34 +381,144 @@ type UpdateTaskStatusResponse struct { func (m *UpdateTaskStatusResponse) Reset() { *m = UpdateTaskStatusResponse{} } func (*UpdateTaskStatusResponse) ProtoMessage() {} func (*UpdateTaskStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptorDispatcher, []int{5} + return fileDescriptor_71002346457e55a8, []int{5} } +func (m *UpdateTaskStatusResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateTaskStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateTaskStatusResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateTaskStatusResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateTaskStatusResponse.Merge(m, src) +} +func (m *UpdateTaskStatusResponse) XXX_Size() int { + return m.Size() +} +func (m *UpdateTaskStatusResponse) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateTaskStatusResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateTaskStatusResponse proto.InternalMessageInfo type TasksRequest struct { SessionID string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` } -func (m *TasksRequest) Reset() { *m = TasksRequest{} } -func (*TasksRequest) ProtoMessage() {} -func (*TasksRequest) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{6} } +func (m *TasksRequest) Reset() { *m = TasksRequest{} } +func (*TasksRequest) ProtoMessage() {} +func (*TasksRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{6} +} +func (m *TasksRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TasksRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TasksRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TasksRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_TasksRequest.Merge(m, src) +} +func (m *TasksRequest) XXX_Size() int { + return m.Size() +} +func (m *TasksRequest) XXX_DiscardUnknown() { + xxx_messageInfo_TasksRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_TasksRequest proto.InternalMessageInfo type TasksMessage struct { // Tasks is the set of tasks that should be running on the node. // Tasks outside of this set running on the node should be terminated. - Tasks []*Task `protobuf:"bytes,1,rep,name=tasks" json:"tasks,omitempty"` + Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"` } -func (m *TasksMessage) Reset() { *m = TasksMessage{} } -func (*TasksMessage) ProtoMessage() {} -func (*TasksMessage) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{7} } +func (m *TasksMessage) Reset() { *m = TasksMessage{} } +func (*TasksMessage) ProtoMessage() {} +func (*TasksMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{7} +} +func (m *TasksMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TasksMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TasksMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TasksMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_TasksMessage.Merge(m, src) +} +func (m *TasksMessage) XXX_Size() int { + return m.Size() +} +func (m *TasksMessage) XXX_DiscardUnknown() { + xxx_messageInfo_TasksMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_TasksMessage proto.InternalMessageInfo type AssignmentsRequest struct { SessionID string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` } -func (m *AssignmentsRequest) Reset() { *m = AssignmentsRequest{} } -func (*AssignmentsRequest) ProtoMessage() {} -func (*AssignmentsRequest) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{8} } +func (m *AssignmentsRequest) Reset() { *m = AssignmentsRequest{} } +func (*AssignmentsRequest) ProtoMessage() {} +func (*AssignmentsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{8} +} +func (m *AssignmentsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AssignmentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AssignmentsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AssignmentsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AssignmentsRequest.Merge(m, src) +} +func (m *AssignmentsRequest) XXX_Size() int { + return m.Size() +} +func (m *AssignmentsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AssignmentsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AssignmentsRequest proto.InternalMessageInfo type Assignment struct { // Types that are valid to be assigned to Item: @@ -249,9 +528,37 @@ type Assignment struct { Item isAssignment_Item `protobuf_oneof:"item"` } -func (m *Assignment) Reset() { *m = Assignment{} } -func (*Assignment) ProtoMessage() {} -func (*Assignment) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{9} } +func (m *Assignment) Reset() { *m = Assignment{} } +func (*Assignment) ProtoMessage() {} +func (*Assignment) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{9} +} +func (m *Assignment) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Assignment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Assignment.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Assignment) XXX_Merge(src proto.Message) { + xxx_messageInfo_Assignment.Merge(m, src) +} +func (m *Assignment) XXX_Size() int { + return m.Size() +} +func (m *Assignment) XXX_DiscardUnknown() { + xxx_messageInfo_Assignment.DiscardUnknown(m) +} + +var xxx_messageInfo_Assignment proto.InternalMessageInfo type isAssignment_Item interface { isAssignment_Item() @@ -260,13 +567,13 @@ type isAssignment_Item interface { } type Assignment_Task struct { - Task *Task `protobuf:"bytes,1,opt,name=task,oneof"` + Task *Task `protobuf:"bytes,1,opt,name=task,proto3,oneof"` } type Assignment_Secret struct { - Secret *Secret `protobuf:"bytes,2,opt,name=secret,oneof"` + Secret *Secret `protobuf:"bytes,2,opt,name=secret,proto3,oneof"` } type Assignment_Config struct { - Config *Config `protobuf:"bytes,3,opt,name=config,oneof"` + Config *Config `protobuf:"bytes,3,opt,name=config,proto3,oneof"` } func (*Assignment_Task) isAssignment_Item() {} @@ -374,17 +681,17 @@ func _Assignment_OneofSizer(msg proto.Message) (n int) { switch x := m.Item.(type) { case *Assignment_Task: s := proto.Size(x.Task) - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Assignment_Secret: s := proto.Size(x.Secret) - n += proto.SizeVarint(2<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Assignment_Config: s := proto.Size(x.Config) - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -395,13 +702,41 @@ func _Assignment_OneofSizer(msg proto.Message) (n int) { } type AssignmentChange struct { - Assignment *Assignment `protobuf:"bytes,1,opt,name=assignment" json:"assignment,omitempty"` + Assignment *Assignment `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"` Action AssignmentChange_AssignmentAction `protobuf:"varint,2,opt,name=action,proto3,enum=docker.swarmkit.v1.AssignmentChange_AssignmentAction" json:"action,omitempty"` } -func (m *AssignmentChange) Reset() { *m = AssignmentChange{} } -func (*AssignmentChange) ProtoMessage() {} -func (*AssignmentChange) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{10} } +func (m *AssignmentChange) Reset() { *m = AssignmentChange{} } +func (*AssignmentChange) ProtoMessage() {} +func (*AssignmentChange) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{10} +} +func (m *AssignmentChange) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AssignmentChange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AssignmentChange.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AssignmentChange) XXX_Merge(src proto.Message) { + xxx_messageInfo_AssignmentChange.Merge(m, src) +} +func (m *AssignmentChange) XXX_Size() int { + return m.Size() +} +func (m *AssignmentChange) XXX_DiscardUnknown() { + xxx_messageInfo_AssignmentChange.DiscardUnknown(m) +} + +var xxx_messageInfo_AssignmentChange proto.InternalMessageInfo type AssignmentsMessage struct { Type AssignmentsMessage_Type `protobuf:"varint,1,opt,name=type,proto3,enum=docker.swarmkit.v1.AssignmentsMessage_Type" json:"type,omitempty"` @@ -416,14 +751,44 @@ type AssignmentsMessage struct { // against missed messages. ResultsIn string `protobuf:"bytes,3,opt,name=results_in,json=resultsIn,proto3" json:"results_in,omitempty"` // AssignmentChange is a set of changes to apply on this node. - Changes []*AssignmentChange `protobuf:"bytes,4,rep,name=changes" json:"changes,omitempty"` + Changes []*AssignmentChange `protobuf:"bytes,4,rep,name=changes,proto3" json:"changes,omitempty"` } -func (m *AssignmentsMessage) Reset() { *m = AssignmentsMessage{} } -func (*AssignmentsMessage) ProtoMessage() {} -func (*AssignmentsMessage) Descriptor() ([]byte, []int) { return fileDescriptorDispatcher, []int{11} } +func (m *AssignmentsMessage) Reset() { *m = AssignmentsMessage{} } +func (*AssignmentsMessage) ProtoMessage() {} +func (*AssignmentsMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_71002346457e55a8, []int{11} +} +func (m *AssignmentsMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AssignmentsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AssignmentsMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AssignmentsMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_AssignmentsMessage.Merge(m, src) +} +func (m *AssignmentsMessage) XXX_Size() int { + return m.Size() +} +func (m *AssignmentsMessage) XXX_DiscardUnknown() { + xxx_messageInfo_AssignmentsMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_AssignmentsMessage proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.AssignmentChange_AssignmentAction", AssignmentChange_AssignmentAction_name, AssignmentChange_AssignmentAction_value) + proto.RegisterEnum("docker.swarmkit.v1.AssignmentsMessage_Type", AssignmentsMessage_Type_name, AssignmentsMessage_Type_value) proto.RegisterType((*SessionRequest)(nil), "docker.swarmkit.v1.SessionRequest") proto.RegisterType((*SessionMessage)(nil), "docker.swarmkit.v1.SessionMessage") proto.RegisterType((*HeartbeatRequest)(nil), "docker.swarmkit.v1.HeartbeatRequest") @@ -437,8 +802,78 @@ func init() { proto.RegisterType((*Assignment)(nil), "docker.swarmkit.v1.Assignment") proto.RegisterType((*AssignmentChange)(nil), "docker.swarmkit.v1.AssignmentChange") proto.RegisterType((*AssignmentsMessage)(nil), "docker.swarmkit.v1.AssignmentsMessage") - proto.RegisterEnum("docker.swarmkit.v1.AssignmentChange_AssignmentAction", AssignmentChange_AssignmentAction_name, AssignmentChange_AssignmentAction_value) - proto.RegisterEnum("docker.swarmkit.v1.AssignmentsMessage_Type", AssignmentsMessage_Type_name, AssignmentsMessage_Type_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/dispatcher.proto", fileDescriptor_71002346457e55a8) +} + +var fileDescriptor_71002346457e55a8 = []byte{ + // 1019 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x55, 0xcf, 0x4f, 0x1b, 0x47, + 0x18, 0xf5, 0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x97, 0xc6, 0x0d, 0x90, 0xfe, 0xe9, 0xe3, 0x11, 0x49, 0x1d, 0x96, 0x27, 0x38, 0xf1, 0xa7, 0x34, + 0xba, 0x87, 0xf0, 0x8f, 0x08, 0x72, 0x43, 0xad, 0x8d, 0x97, 0x2f, 0xe9, 0xfd, 0xc4, 0xc3, 0xf2, + 0x64, 0xdf, 0xc8, 0x84, 0x1d, 0x51, 0xbd, 0x7d, 0xf2, 0x46, 0x4f, 0xbd, 0x7e, 0xa3, 0xa7, 0x7e, + 0xe8, 0xe9, 0xe8, 0xa4, 0xa7, 0xa3, 0x57, 0x3d, 0x1d, 0xfd, 0xdd, 0xd3, 0xd1, 0xcb, 0x33, 0x3d, + 0xf5, 0xea, 0x4c, 0x4f, 0xbd, 0x3e, 0xd3, 0x53, 0x4d, 0x4d, 0x5e, 0xc7, 0x9f, 0xfc, 0x17, 0x00, + 0x00, 0xff, 0xff, 0xa9, 0xc4, 0x36, 0xaa, 0xba, 0x0a, 0x00, 0x00, } type authenticatedWrapperDispatcherServer struct { @@ -508,7 +943,7 @@ func (m *SessionRequest) CopyFrom(src interface{}) { *m = *o if o.Description != nil { m.Description = &NodeDescription{} - deepcopy.Copy(m.Description, o.Description) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Description, o.Description) } } @@ -527,13 +962,13 @@ func (m *SessionMessage) CopyFrom(src interface{}) { *m = *o if o.Node != nil { m.Node = &Node{} - deepcopy.Copy(m.Node, o.Node) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Node, o.Node) } if o.Managers != nil { m.Managers = make([]*WeightedPeer, len(o.Managers)) for i := range m.Managers { m.Managers[i] = &WeightedPeer{} - deepcopy.Copy(m.Managers[i], o.Managers[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Managers[i], o.Managers[i]) } } @@ -541,7 +976,7 @@ func (m *SessionMessage) CopyFrom(src interface{}) { m.NetworkBootstrapKeys = make([]*EncryptionKey, len(o.NetworkBootstrapKeys)) for i := range m.NetworkBootstrapKeys { m.NetworkBootstrapKeys[i] = &EncryptionKey{} - deepcopy.Copy(m.NetworkBootstrapKeys[i], o.NetworkBootstrapKeys[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.NetworkBootstrapKeys[i], o.NetworkBootstrapKeys[i]) } } @@ -579,7 +1014,7 @@ func (m *HeartbeatResponse) CopyFrom(src interface{}) { o := src.(*HeartbeatResponse) *m = *o - deepcopy.Copy(&m.Period, &o.Period) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Period, &o.Period) } func (m *UpdateTaskStatusRequest) Copy() *UpdateTaskStatusRequest { @@ -599,7 +1034,7 @@ func (m *UpdateTaskStatusRequest) CopyFrom(src interface{}) { m.Updates = make([]*UpdateTaskStatusRequest_TaskStatusUpdate, len(o.Updates)) for i := range m.Updates { m.Updates[i] = &UpdateTaskStatusRequest_TaskStatusUpdate{} - deepcopy.Copy(m.Updates[i], o.Updates[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Updates[i], o.Updates[i]) } } @@ -620,7 +1055,7 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) CopyFrom(src interface{}) { *m = *o if o.Status != nil { m.Status = &TaskStatus{} - deepcopy.Copy(m.Status, o.Status) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Status, o.Status) } } @@ -666,7 +1101,7 @@ func (m *TasksMessage) CopyFrom(src interface{}) { m.Tasks = make([]*Task, len(o.Tasks)) for i := range m.Tasks { m.Tasks[i] = &Task{} - deepcopy.Copy(m.Tasks[i], o.Tasks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Tasks[i], o.Tasks[i]) } } @@ -706,19 +1141,19 @@ func (m *Assignment) CopyFrom(src interface{}) { v := Assignment_Task{ Task: &Task{}, } - deepcopy.Copy(v.Task, o.GetTask()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Task, o.GetTask()) m.Item = &v case *Assignment_Secret: v := Assignment_Secret{ Secret: &Secret{}, } - deepcopy.Copy(v.Secret, o.GetSecret()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Secret, o.GetSecret()) m.Item = &v case *Assignment_Config: v := Assignment_Config{ Config: &Config{}, } - deepcopy.Copy(v.Config, o.GetConfig()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Config, o.GetConfig()) m.Item = &v } } @@ -740,7 +1175,7 @@ func (m *AssignmentChange) CopyFrom(src interface{}) { *m = *o if o.Assignment != nil { m.Assignment = &Assignment{} - deepcopy.Copy(m.Assignment, o.Assignment) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Assignment, o.Assignment) } } @@ -761,7 +1196,7 @@ func (m *AssignmentsMessage) CopyFrom(src interface{}) { m.Changes = make([]*AssignmentChange, len(o.Changes)) for i := range m.Changes { m.Changes[i] = &AssignmentChange{} - deepcopy.Copy(m.Changes[i], o.Changes[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Changes[i], o.Changes[i]) } } @@ -775,8 +1210,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for Dispatcher service - +// DispatcherClient is the client API for Dispatcher service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type DispatcherClient interface { // Session starts an agent session with the dispatcher. The session is // started after the first SessionMessage is received. @@ -818,7 +1254,7 @@ func NewDispatcherClient(cc *grpc.ClientConn) DispatcherClient { } func (c *dispatcherClient) Session(ctx context.Context, in *SessionRequest, opts ...grpc.CallOption) (Dispatcher_SessionClient, error) { - stream, err := grpc.NewClientStream(ctx, &_Dispatcher_serviceDesc.Streams[0], c.cc, "/docker.swarmkit.v1.Dispatcher/Session", opts...) + stream, err := c.cc.NewStream(ctx, &_Dispatcher_serviceDesc.Streams[0], "/docker.swarmkit.v1.Dispatcher/Session", opts...) if err != nil { return nil, err } @@ -851,7 +1287,7 @@ func (x *dispatcherSessionClient) Recv() (*SessionMessage, error) { func (c *dispatcherClient) Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error) { out := new(HeartbeatResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Dispatcher/Heartbeat", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Dispatcher/Heartbeat", in, out, opts...) if err != nil { return nil, err } @@ -860,15 +1296,16 @@ func (c *dispatcherClient) Heartbeat(ctx context.Context, in *HeartbeatRequest, func (c *dispatcherClient) UpdateTaskStatus(ctx context.Context, in *UpdateTaskStatusRequest, opts ...grpc.CallOption) (*UpdateTaskStatusResponse, error) { out := new(UpdateTaskStatusResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Dispatcher/UpdateTaskStatus", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Dispatcher/UpdateTaskStatus", in, out, opts...) if err != nil { return nil, err } return out, nil } +// Deprecated: Do not use. func (c *dispatcherClient) Tasks(ctx context.Context, in *TasksRequest, opts ...grpc.CallOption) (Dispatcher_TasksClient, error) { - stream, err := grpc.NewClientStream(ctx, &_Dispatcher_serviceDesc.Streams[1], c.cc, "/docker.swarmkit.v1.Dispatcher/Tasks", opts...) + stream, err := c.cc.NewStream(ctx, &_Dispatcher_serviceDesc.Streams[1], "/docker.swarmkit.v1.Dispatcher/Tasks", opts...) if err != nil { return nil, err } @@ -900,7 +1337,7 @@ func (x *dispatcherTasksClient) Recv() (*TasksMessage, error) { } func (c *dispatcherClient) Assignments(ctx context.Context, in *AssignmentsRequest, opts ...grpc.CallOption) (Dispatcher_AssignmentsClient, error) { - stream, err := grpc.NewClientStream(ctx, &_Dispatcher_serviceDesc.Streams[2], c.cc, "/docker.swarmkit.v1.Dispatcher/Assignments", opts...) + stream, err := c.cc.NewStream(ctx, &_Dispatcher_serviceDesc.Streams[2], "/docker.swarmkit.v1.Dispatcher/Assignments", opts...) if err != nil { return nil, err } @@ -931,8 +1368,7 @@ func (x *dispatcherAssignmentsClient) Recv() (*AssignmentsMessage, error) { return m, nil } -// Server API for Dispatcher service - +// DispatcherServer is the server API for Dispatcher service. type DispatcherServer interface { // Session starts an agent session with the dispatcher. The session is // started after the first SessionMessage is received. @@ -1240,8 +1676,8 @@ func (m *HeartbeatResponse) MarshalTo(dAtA []byte) (int, error) { _ = l dAtA[i] = 0xa i++ - i = encodeVarintDispatcher(dAtA, i, uint64(types.SizeOfStdDuration(m.Period))) - n3, err := types.StdDurationMarshalTo(m.Period, dAtA[i:]) + i = encodeVarintDispatcher(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(m.Period))) + n3, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Period, dAtA[i:]) if err != nil { return 0, err } @@ -1868,6 +2304,9 @@ func (p *raftProxyDispatcherServer) Assignments(r *AssignmentsRequest, stream Di } func (m *SessionRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Description != nil { @@ -1882,6 +2321,9 @@ func (m *SessionRequest) Size() (n int) { } func (m *SessionMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SessionID) @@ -1912,6 +2354,9 @@ func (m *SessionMessage) Size() (n int) { } func (m *HeartbeatRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SessionID) @@ -1922,14 +2367,20 @@ func (m *HeartbeatRequest) Size() (n int) { } func (m *HeartbeatResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l - l = types.SizeOfStdDuration(m.Period) + l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Period) n += 1 + l + sovDispatcher(uint64(l)) return n } func (m *UpdateTaskStatusRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SessionID) @@ -1946,6 +2397,9 @@ func (m *UpdateTaskStatusRequest) Size() (n int) { } func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.TaskID) @@ -1960,12 +2414,18 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Size() (n int) { } func (m *UpdateTaskStatusResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *TasksRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SessionID) @@ -1976,6 +2436,9 @@ func (m *TasksRequest) Size() (n int) { } func (m *TasksMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Tasks) > 0 { @@ -1988,6 +2451,9 @@ func (m *TasksMessage) Size() (n int) { } func (m *AssignmentsRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SessionID) @@ -1998,6 +2464,9 @@ func (m *AssignmentsRequest) Size() (n int) { } func (m *Assignment) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Item != nil { @@ -2007,6 +2476,9 @@ func (m *Assignment) Size() (n int) { } func (m *Assignment_Task) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Task != nil { @@ -2016,6 +2488,9 @@ func (m *Assignment_Task) Size() (n int) { return n } func (m *Assignment_Secret) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Secret != nil { @@ -2025,6 +2500,9 @@ func (m *Assignment_Secret) Size() (n int) { return n } func (m *Assignment_Config) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -2034,6 +2512,9 @@ func (m *Assignment_Config) Size() (n int) { return n } func (m *AssignmentChange) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Assignment != nil { @@ -2047,6 +2528,9 @@ func (m *AssignmentChange) Size() (n int) { } func (m *AssignmentsMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Type != 0 { @@ -2122,7 +2606,7 @@ func (this *HeartbeatResponse) String() string { return "nil" } s := strings.Join([]string{`&HeartbeatResponse{`, - `Period:` + strings.Replace(strings.Replace(this.Period.String(), "Duration", "google_protobuf1.Duration", 1), `&`, ``, 1) + `,`, + `Period:` + strings.Replace(strings.Replace(this.Period.String(), "Duration", "types.Duration", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -2275,7 +2759,7 @@ func (m *SessionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2303,7 +2787,7 @@ func (m *SessionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2312,6 +2796,9 @@ func (m *SessionRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2336,7 +2823,7 @@ func (m *SessionRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2346,6 +2833,9 @@ func (m *SessionRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2360,6 +2850,9 @@ func (m *SessionRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2387,7 +2880,7 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2415,7 +2908,7 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2425,6 +2918,9 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2444,7 +2940,7 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2453,6 +2949,9 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2477,7 +2976,7 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2486,6 +2985,9 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2508,7 +3010,7 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2517,6 +3019,9 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2539,7 +3044,7 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2548,6 +3053,9 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2565,6 +3073,9 @@ func (m *SessionMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2592,7 +3103,7 @@ func (m *HeartbeatRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2620,7 +3131,7 @@ func (m *HeartbeatRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2630,6 +3141,9 @@ func (m *HeartbeatRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2644,6 +3158,9 @@ func (m *HeartbeatRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2671,7 +3188,7 @@ func (m *HeartbeatResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2699,7 +3216,7 @@ func (m *HeartbeatResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2708,10 +3225,13 @@ func (m *HeartbeatResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } - if err := types.StdDurationUnmarshal(&m.Period, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.Period, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -2724,6 +3244,9 @@ func (m *HeartbeatResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2751,7 +3274,7 @@ func (m *UpdateTaskStatusRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2779,7 +3302,7 @@ func (m *UpdateTaskStatusRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2789,6 +3312,9 @@ func (m *UpdateTaskStatusRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2808,7 +3334,7 @@ func (m *UpdateTaskStatusRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2817,6 +3343,9 @@ func (m *UpdateTaskStatusRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2834,6 +3363,9 @@ func (m *UpdateTaskStatusRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2861,7 +3393,7 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2889,7 +3421,7 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2899,6 +3431,9 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Unmarshal(dAtA []byte) error return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2918,7 +3453,7 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Unmarshal(dAtA []byte) error } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2927,6 +3462,9 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Unmarshal(dAtA []byte) error return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2946,6 +3484,9 @@ func (m *UpdateTaskStatusRequest_TaskStatusUpdate) Unmarshal(dAtA []byte) error if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2973,7 +3514,7 @@ func (m *UpdateTaskStatusResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2996,6 +3537,9 @@ func (m *UpdateTaskStatusResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3023,7 +3567,7 @@ func (m *TasksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3051,7 +3595,7 @@ func (m *TasksRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3061,6 +3605,9 @@ func (m *TasksRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3075,6 +3622,9 @@ func (m *TasksRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3102,7 +3652,7 @@ func (m *TasksMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3130,7 +3680,7 @@ func (m *TasksMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3139,6 +3689,9 @@ func (m *TasksMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3156,6 +3709,9 @@ func (m *TasksMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3183,7 +3739,7 @@ func (m *AssignmentsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3211,7 +3767,7 @@ func (m *AssignmentsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3221,6 +3777,9 @@ func (m *AssignmentsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3235,6 +3794,9 @@ func (m *AssignmentsRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3262,7 +3824,7 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3290,7 +3852,7 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3299,6 +3861,9 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3322,7 +3887,7 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3331,6 +3896,9 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3354,7 +3922,7 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3363,6 +3931,9 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3381,6 +3952,9 @@ func (m *Assignment) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3408,7 +3982,7 @@ func (m *AssignmentChange) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3436,7 +4010,7 @@ func (m *AssignmentChange) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3445,6 +4019,9 @@ func (m *AssignmentChange) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3469,7 +4046,7 @@ func (m *AssignmentChange) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Action |= (AssignmentChange_AssignmentAction(b) & 0x7F) << shift + m.Action |= AssignmentChange_AssignmentAction(b&0x7F) << shift if b < 0x80 { break } @@ -3483,6 +4060,9 @@ func (m *AssignmentChange) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3510,7 +4090,7 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3538,7 +4118,7 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Type |= (AssignmentsMessage_Type(b) & 0x7F) << shift + m.Type |= AssignmentsMessage_Type(b&0x7F) << shift if b < 0x80 { break } @@ -3557,7 +4137,7 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3567,6 +4147,9 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3586,7 +4169,7 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3596,6 +4179,9 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3615,7 +4201,7 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3624,6 +4210,9 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthDispatcher } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthDispatcher + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3641,6 +4230,9 @@ func (m *AssignmentsMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthDispatcher } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthDispatcher + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3707,10 +4299,13 @@ func skipDispatcher(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthDispatcher } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthDispatcher + } return iNdEx, nil case 3: for { @@ -3739,6 +4334,9 @@ func skipDispatcher(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthDispatcher + } } return iNdEx, nil case 4: @@ -3757,74 +4355,3 @@ var ( ErrInvalidLengthDispatcher = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDispatcher = fmt.Errorf("proto: integer overflow") ) - -func init() { - proto.RegisterFile("github.com/docker/swarmkit/api/dispatcher.proto", fileDescriptorDispatcher) -} - -var fileDescriptorDispatcher = []byte{ - // 1007 bytes of a gzipped FileDescriptor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38, 0x9e, 0xf0, 0xbd, - 0x6b, 0x8c, 0x5a, 0x63, 0x7d, 0x3a, 0xf0, 0x75, 0x4c, 0x75, 0x61, 0x56, 0x0e, 0x36, 0x5c, 0x9e, - 0x34, 0x40, 0x06, 0xa7, 0x4f, 0x46, 0xa4, 0x75, 0x58, 0x9d, 0xe2, 0xc4, 0xef, 0xb3, 0xe8, 0x3e, - 0xc2, 0xdf, 0x21, 0x28, 0x8c, 0xb4, 0x36, 0x5e, 0xbd, 0xa2, 0xf7, 0x53, 0x0f, 0xab, 0xd3, 0x7d, - 0x23, 0x53, 0x76, 0x44, 0x4d, 0x3f, 0x7b, 0x55, 0xca, 0xfc, 0xf9, 0xaa, 0x94, 0xf9, 0xb6, 0x5f, - 0x42, 0x67, 0xfd, 0x12, 0xfa, 0xa3, 0x5f, 0x42, 0x7f, 0xf7, 0x4b, 0xa8, 0xa5, 0xc9, 0x2b, 0xf8, - 0xc3, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe0, 0xf0, 0x6a, 0xcb, 0xae, 0x0a, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/health.pb.go b/vendor/github.com/docker/swarmkit/api/health.pb.go index 453e01fc3f..48c3d243c8 100644 --- a/vendor/github.com/docker/swarmkit/api/health.pb.go +++ b/vendor/github.com/docker/swarmkit/api/health.pb.go @@ -3,32 +3,36 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type HealthCheckResponse_ServingStatus int32 const ( @@ -42,6 +46,7 @@ var HealthCheckResponse_ServingStatus_name = map[int32]string{ 1: "SERVING", 2: "NOT_SERVING", } + var HealthCheckResponse_ServingStatus_value = map[string]int32{ "UNKNOWN": 0, "SERVING": 1, @@ -51,30 +56,116 @@ var HealthCheckResponse_ServingStatus_value = map[string]int32{ func (x HealthCheckResponse_ServingStatus) String() string { return proto.EnumName(HealthCheckResponse_ServingStatus_name, int32(x)) } + func (HealthCheckResponse_ServingStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptorHealth, []int{1, 0} + return fileDescriptor_288522a148aed5ad, []int{1, 0} } type HealthCheckRequest struct { Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"` } -func (m *HealthCheckRequest) Reset() { *m = HealthCheckRequest{} } -func (*HealthCheckRequest) ProtoMessage() {} -func (*HealthCheckRequest) Descriptor() ([]byte, []int) { return fileDescriptorHealth, []int{0} } +func (m *HealthCheckRequest) Reset() { *m = HealthCheckRequest{} } +func (*HealthCheckRequest) ProtoMessage() {} +func (*HealthCheckRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_288522a148aed5ad, []int{0} +} +func (m *HealthCheckRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HealthCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HealthCheckRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *HealthCheckRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthCheckRequest.Merge(m, src) +} +func (m *HealthCheckRequest) XXX_Size() int { + return m.Size() +} +func (m *HealthCheckRequest) XXX_DiscardUnknown() { + xxx_messageInfo_HealthCheckRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_HealthCheckRequest proto.InternalMessageInfo type HealthCheckResponse struct { Status HealthCheckResponse_ServingStatus `protobuf:"varint,1,opt,name=status,proto3,enum=docker.swarmkit.v1.HealthCheckResponse_ServingStatus" json:"status,omitempty"` } -func (m *HealthCheckResponse) Reset() { *m = HealthCheckResponse{} } -func (*HealthCheckResponse) ProtoMessage() {} -func (*HealthCheckResponse) Descriptor() ([]byte, []int) { return fileDescriptorHealth, []int{1} } +func (m *HealthCheckResponse) Reset() { *m = HealthCheckResponse{} } +func (*HealthCheckResponse) ProtoMessage() {} +func (*HealthCheckResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_288522a148aed5ad, []int{1} +} +func (m *HealthCheckResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HealthCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HealthCheckResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *HealthCheckResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthCheckResponse.Merge(m, src) +} +func (m *HealthCheckResponse) XXX_Size() int { + return m.Size() +} +func (m *HealthCheckResponse) XXX_DiscardUnknown() { + xxx_messageInfo_HealthCheckResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_HealthCheckResponse proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.HealthCheckResponse_ServingStatus", HealthCheckResponse_ServingStatus_name, HealthCheckResponse_ServingStatus_value) proto.RegisterType((*HealthCheckRequest)(nil), "docker.swarmkit.v1.HealthCheckRequest") proto.RegisterType((*HealthCheckResponse)(nil), "docker.swarmkit.v1.HealthCheckResponse") - proto.RegisterEnum("docker.swarmkit.v1.HealthCheckResponse_ServingStatus", HealthCheckResponse_ServingStatus_name, HealthCheckResponse_ServingStatus_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/health.proto", fileDescriptor_288522a148aed5ad) +} + +var fileDescriptor_288522a148aed5ad = []byte{ + // 328 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4e, 0xcf, 0x2c, 0xc9, + 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xc9, 0x4f, 0xce, 0x4e, 0x2d, 0xd2, 0x2f, 0x2e, + 0x4f, 0x2c, 0xca, 0xcd, 0xce, 0x2c, 0xd1, 0x4f, 0x2c, 0xc8, 0xd4, 0xcf, 0x48, 0x4d, 0xcc, 0x29, + 0xc9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x82, 0xa8, 0xd0, 0x83, 0xa9, 0xd0, 0x2b, + 0x33, 0x94, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x4b, 0xeb, 0x83, 0x58, 0x10, 0x95, 0x52, 0xe6, + 0x78, 0x8c, 0x05, 0xab, 0x48, 0x2a, 0x4d, 0xd3, 0x2f, 0xc8, 0x29, 0x4d, 0xcf, 0xcc, 0x83, 0x52, + 0x10, 0x8d, 0x4a, 0x7a, 0x5c, 0x42, 0x1e, 0x60, 0x2b, 0x9d, 0x33, 0x52, 0x93, 0xb3, 0x83, 0x52, + 0x0b, 0x4b, 0x53, 0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c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, + 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x24, 0x36, 0x70, 0xd0, 0x1b, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, + 0xc9, 0xe8, 0xd3, 0x02, 0x0c, 0x02, 0x00, 0x00, } type authenticatedWrapperHealthServer struct { @@ -135,8 +226,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for Health service - +// HealthClient is the client API for Health service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type HealthClient interface { Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) } @@ -151,15 +243,14 @@ func NewHealthClient(cc *grpc.ClientConn) HealthClient { func (c *healthClient) Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) { out := new(HealthCheckResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Health/Check", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Health/Check", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for Health service - +// HealthServer is the server API for Health service. type HealthServer interface { Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error) } @@ -364,6 +455,9 @@ func (p *raftProxyHealthServer) Check(ctx context.Context, r *HealthCheckRequest } func (m *HealthCheckRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Service) @@ -374,6 +468,9 @@ func (m *HealthCheckRequest) Size() (n int) { } func (m *HealthCheckResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Status != 0 { @@ -438,7 +535,7 @@ func (m *HealthCheckRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -466,7 +563,7 @@ func (m *HealthCheckRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -476,6 +573,9 @@ func (m *HealthCheckRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthHealth } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthHealth + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -490,6 +590,9 @@ func (m *HealthCheckRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthHealth } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthHealth + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -517,7 +620,7 @@ func (m *HealthCheckResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -545,7 +648,7 @@ func (m *HealthCheckResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Status |= (HealthCheckResponse_ServingStatus(b) & 0x7F) << shift + m.Status |= HealthCheckResponse_ServingStatus(b&0x7F) << shift if b < 0x80 { break } @@ -559,6 +662,9 @@ func (m *HealthCheckResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthHealth } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthHealth + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -625,10 +731,13 @@ func skipHealth(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthHealth } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthHealth + } return iNdEx, nil case 3: for { @@ -657,6 +766,9 @@ func skipHealth(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthHealth + } } return iNdEx, nil case 4: @@ -675,29 +787,3 @@ var ( ErrInvalidLengthHealth = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowHealth = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/health.proto", fileDescriptorHealth) } - -var fileDescriptorHealth = []byte{ - // 315 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4e, 0xcf, 0x2c, 0xc9, - 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xc9, 0x4f, 0xce, 0x4e, 0x2d, 0xd2, 0x2f, 0x2e, - 0x4f, 0x2c, 0xca, 0xcd, 0xce, 0x2c, 0xd1, 0x4f, 0x2c, 0xc8, 0xd4, 0xcf, 0x48, 0x4d, 0xcc, 0x29, - 0xc9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x12, 0x82, 0xa8, 0xd0, 0x83, 0xa9, 0xd0, 0x2b, - 0x33, 0x94, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, 0x4b, 0xeb, 0x83, 0x58, 0x10, 0x95, 0x52, 0xe6, - 0x78, 0x8c, 0x05, 0xab, 0x48, 0x2a, 0x4d, 0xd3, 0x2f, 0xc8, 0x29, 0x4d, 0xcf, 0xcc, 0x83, 0x52, - 0x10, 0x8d, 0x4a, 0x7a, 0x5c, 0x42, 0x1e, 0x60, 0x2b, 0x9d, 0x33, 0x52, 0x93, 0xb3, 0x83, 0x52, - 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0x84, 0x24, 0xb8, 0xd8, 0x8b, 0x53, 0x8b, 0xca, 0x32, 0x93, 0x53, - 0x25, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0x60, 0x5c, 0xa5, 0x05, 0x8c, 0x5c, 0xc2, 0x28, 0x1a, - 0x8a, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x85, 0x7c, 0xb9, 0xd8, 0x8a, 0x4b, 0x12, 0x4b, 0x4a, 0x8b, - 0xc1, 0x1a, 0xf8, 0x8c, 0x4c, 0xf5, 0x30, 0xdd, 0xae, 0x87, 0x45, 0xa3, 0x5e, 0x30, 0xc8, 0xe0, - 0xbc, 0xf4, 0x60, 0xb0, 0xe6, 0x20, 0xa8, 0x21, 0x4a, 0x56, 0x5c, 0xbc, 0x28, 0x12, 0x42, 0xdc, - 0x5c, 0xec, 0xa1, 0x7e, 0xde, 0x7e, 0xfe, 0xe1, 0x7e, 0x02, 0x0c, 0x20, 0x4e, 0xb0, 0x6b, 0x50, - 0x98, 0xa7, 0x9f, 0xbb, 0x00, 0xa3, 0x10, 0x3f, 0x17, 0xb7, 0x9f, 0x7f, 0x48, 0x3c, 0x4c, 0x80, - 0xc9, 0xa8, 0x92, 0x8b, 0x0d, 0x62, 0x91, 0x50, 0x3e, 0x17, 0x2b, 0xd8, 0x32, 0x21, 0x35, 0x82, - 0xae, 0x01, 0xfb, 0x5b, 0x4a, 0x9d, 0x48, 0x57, 0x2b, 0x89, 0x9e, 0x5a, 0xf7, 0x6e, 0x06, 0x13, - 0x3f, 0x17, 0x2f, 0x58, 0xa1, 0x6e, 0x6e, 0x62, 0x5e, 0x62, 0x7a, 0x6a, 0x91, 0x93, 0xc4, 0x89, - 0x87, 0x72, 0x0c, 0x37, 0x1e, 0xca, 0x31, 0x34, 0x3c, 0x92, 0x63, 0x3c, 0xf1, 0x48, 0x8e, 0xf1, - 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x93, 0xd8, 0xc0, 0xc1, 0x6d, 0x0c, 0x08, 0x00, - 0x00, 0xff, 0xff, 0x7b, 0xf2, 0xdd, 0x23, 0x00, 0x02, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/logbroker.pb.go b/vendor/github.com/docker/swarmkit/api/logbroker.pb.go index 5456c85816..17eecbedc1 100644 --- a/vendor/github.com/docker/swarmkit/api/logbroker.pb.go +++ b/vendor/github.com/docker/swarmkit/api/logbroker.pb.go @@ -3,35 +3,38 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import google_protobuf "github.com/gogo/protobuf/types" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + types "github.com/gogo/protobuf/types" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + // LogStream defines the stream from which the log message came. type LogStream int32 @@ -46,6 +49,7 @@ var LogStream_name = map[int32]string{ 1: "LOG_STREAM_STDOUT", 2: "LOG_STREAM_STDERR", } + var LogStream_value = map[string]int32{ "LOG_STREAM_UNKNOWN": 0, "LOG_STREAM_STDOUT": 1, @@ -55,12 +59,15 @@ var LogStream_value = map[string]int32{ func (x LogStream) String() string { return proto.EnumName(LogStream_name, int32(x)) } -func (LogStream) EnumDescriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{0} } + +func (LogStream) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{0} +} type LogSubscriptionOptions struct { // Streams defines which log streams should be sent from the task source. // Empty means send all the messages. - Streams []LogStream `protobuf:"varint,1,rep,name=streams,enum=docker.swarmkit.v1.LogStream" json:"streams,omitempty"` + Streams []LogStream `protobuf:"varint,1,rep,name=streams,proto3,enum=docker.swarmkit.v1.LogStream" json:"streams,omitempty"` // Follow instructs the publisher to continue sending log messages as they // are produced, after satisfying the initial query. Follow bool `protobuf:"varint,2,opt,name=follow,proto3" json:"follow,omitempty"` @@ -83,12 +90,40 @@ type LogSubscriptionOptions struct { // Since indicates that only log messages produced after this timestamp // should be sent. // Note: can't use stdtime because this field is nullable. - Since *google_protobuf.Timestamp `protobuf:"bytes,4,opt,name=since" json:"since,omitempty"` + Since *types.Timestamp `protobuf:"bytes,4,opt,name=since,proto3" json:"since,omitempty"` } -func (m *LogSubscriptionOptions) Reset() { *m = LogSubscriptionOptions{} } -func (*LogSubscriptionOptions) ProtoMessage() {} -func (*LogSubscriptionOptions) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{0} } +func (m *LogSubscriptionOptions) Reset() { *m = LogSubscriptionOptions{} } +func (*LogSubscriptionOptions) ProtoMessage() {} +func (*LogSubscriptionOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{0} +} +func (m *LogSubscriptionOptions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LogSubscriptionOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LogSubscriptionOptions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LogSubscriptionOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogSubscriptionOptions.Merge(m, src) +} +func (m *LogSubscriptionOptions) XXX_Size() int { + return m.Size() +} +func (m *LogSubscriptionOptions) XXX_DiscardUnknown() { + xxx_messageInfo_LogSubscriptionOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_LogSubscriptionOptions proto.InternalMessageInfo // LogSelector will match logs from ANY of the defined parameters. // @@ -96,14 +131,42 @@ func (*LogSubscriptionOptions) Descriptor() ([]byte, []int) { return fileDescrip // possible. For example, if they want to listen to all the tasks of a service, // they should use the service id, rather than specifying the individual tasks. type LogSelector struct { - ServiceIDs []string `protobuf:"bytes,1,rep,name=service_ids,json=serviceIds" json:"service_ids,omitempty"` - NodeIDs []string `protobuf:"bytes,2,rep,name=node_ids,json=nodeIds" json:"node_ids,omitempty"` - TaskIDs []string `protobuf:"bytes,3,rep,name=task_ids,json=taskIds" json:"task_ids,omitempty"` + ServiceIDs []string `protobuf:"bytes,1,rep,name=service_ids,json=serviceIds,proto3" json:"service_ids,omitempty"` + NodeIDs []string `protobuf:"bytes,2,rep,name=node_ids,json=nodeIds,proto3" json:"node_ids,omitempty"` + TaskIDs []string `protobuf:"bytes,3,rep,name=task_ids,json=taskIds,proto3" json:"task_ids,omitempty"` } -func (m *LogSelector) Reset() { *m = LogSelector{} } -func (*LogSelector) ProtoMessage() {} -func (*LogSelector) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{1} } +func (m *LogSelector) Reset() { *m = LogSelector{} } +func (*LogSelector) ProtoMessage() {} +func (*LogSelector) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{1} +} +func (m *LogSelector) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LogSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LogSelector.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LogSelector) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogSelector.Merge(m, src) +} +func (m *LogSelector) XXX_Size() int { + return m.Size() +} +func (m *LogSelector) XXX_DiscardUnknown() { + xxx_messageInfo_LogSelector.DiscardUnknown(m) +} + +var xxx_messageInfo_LogSelector proto.InternalMessageInfo // LogContext marks the context from which a log message was generated. type LogContext struct { @@ -112,9 +175,37 @@ type LogContext struct { TaskID string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` } -func (m *LogContext) Reset() { *m = LogContext{} } -func (*LogContext) ProtoMessage() {} -func (*LogContext) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{2} } +func (m *LogContext) Reset() { *m = LogContext{} } +func (*LogContext) ProtoMessage() {} +func (*LogContext) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{2} +} +func (m *LogContext) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LogContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LogContext.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LogContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogContext.Merge(m, src) +} +func (m *LogContext) XXX_Size() int { + return m.Size() +} +func (m *LogContext) XXX_DiscardUnknown() { + xxx_messageInfo_LogContext.DiscardUnknown(m) +} + +var xxx_messageInfo_LogContext proto.InternalMessageInfo // LogAttr is an extra key/value pair that may be have been set by users type LogAttr struct { @@ -122,47 +213,159 @@ type LogAttr struct { Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *LogAttr) Reset() { *m = LogAttr{} } -func (*LogAttr) ProtoMessage() {} -func (*LogAttr) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{3} } +func (m *LogAttr) Reset() { *m = LogAttr{} } +func (*LogAttr) ProtoMessage() {} +func (*LogAttr) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{3} +} +func (m *LogAttr) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LogAttr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LogAttr.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LogAttr) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogAttr.Merge(m, src) +} +func (m *LogAttr) XXX_Size() int { + return m.Size() +} +func (m *LogAttr) XXX_DiscardUnknown() { + xxx_messageInfo_LogAttr.DiscardUnknown(m) +} + +var xxx_messageInfo_LogAttr proto.InternalMessageInfo // LogMessage type LogMessage struct { // Context identifies the source of the log message. - Context LogContext `protobuf:"bytes,1,opt,name=context" json:"context"` + Context LogContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context"` // Timestamp is the time at which the message was generated. // Note: can't use stdtime because this field is nullable. - Timestamp *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=timestamp" json:"timestamp,omitempty"` + Timestamp *types.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Stream identifies the stream of the log message, stdout or stderr. Stream LogStream `protobuf:"varint,3,opt,name=stream,proto3,enum=docker.swarmkit.v1.LogStream" json:"stream,omitempty"` // Data is the raw log message, as generated by the application. Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // Attrs is a list of key value pairs representing additional log details // that may have been returned from the logger - Attrs []LogAttr `protobuf:"bytes,5,rep,name=attrs" json:"attrs"` + Attrs []LogAttr `protobuf:"bytes,5,rep,name=attrs,proto3" json:"attrs"` } -func (m *LogMessage) Reset() { *m = LogMessage{} } -func (*LogMessage) ProtoMessage() {} -func (*LogMessage) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{4} } +func (m *LogMessage) Reset() { *m = LogMessage{} } +func (*LogMessage) ProtoMessage() {} +func (*LogMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{4} +} +func (m *LogMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LogMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LogMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LogMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_LogMessage.Merge(m, src) +} +func (m *LogMessage) XXX_Size() int { + return m.Size() +} +func (m *LogMessage) XXX_DiscardUnknown() { + xxx_messageInfo_LogMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_LogMessage proto.InternalMessageInfo type SubscribeLogsRequest struct { // LogSelector describes the logs to which the subscriber is - Selector *LogSelector `protobuf:"bytes,1,opt,name=selector" json:"selector,omitempty"` - Options *LogSubscriptionOptions `protobuf:"bytes,2,opt,name=options" json:"options,omitempty"` + Selector *LogSelector `protobuf:"bytes,1,opt,name=selector,proto3" json:"selector,omitempty"` + Options *LogSubscriptionOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` } -func (m *SubscribeLogsRequest) Reset() { *m = SubscribeLogsRequest{} } -func (*SubscribeLogsRequest) ProtoMessage() {} -func (*SubscribeLogsRequest) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{5} } +func (m *SubscribeLogsRequest) Reset() { *m = SubscribeLogsRequest{} } +func (*SubscribeLogsRequest) ProtoMessage() {} +func (*SubscribeLogsRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{5} +} +func (m *SubscribeLogsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SubscribeLogsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SubscribeLogsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SubscribeLogsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscribeLogsRequest.Merge(m, src) +} +func (m *SubscribeLogsRequest) XXX_Size() int { + return m.Size() +} +func (m *SubscribeLogsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_SubscribeLogsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_SubscribeLogsRequest proto.InternalMessageInfo type SubscribeLogsMessage struct { - Messages []LogMessage `protobuf:"bytes,1,rep,name=messages" json:"messages"` + Messages []LogMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages"` } -func (m *SubscribeLogsMessage) Reset() { *m = SubscribeLogsMessage{} } -func (*SubscribeLogsMessage) ProtoMessage() {} -func (*SubscribeLogsMessage) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{6} } +func (m *SubscribeLogsMessage) Reset() { *m = SubscribeLogsMessage{} } +func (*SubscribeLogsMessage) ProtoMessage() {} +func (*SubscribeLogsMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{6} +} +func (m *SubscribeLogsMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SubscribeLogsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SubscribeLogsMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SubscribeLogsMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscribeLogsMessage.Merge(m, src) +} +func (m *SubscribeLogsMessage) XXX_Size() int { + return m.Size() +} +func (m *SubscribeLogsMessage) XXX_DiscardUnknown() { + xxx_messageInfo_SubscribeLogsMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_SubscribeLogsMessage proto.InternalMessageInfo // ListenSubscriptionsRequest is a placeholder to begin listening for // subscriptions. @@ -172,8 +375,34 @@ type ListenSubscriptionsRequest struct { func (m *ListenSubscriptionsRequest) Reset() { *m = ListenSubscriptionsRequest{} } func (*ListenSubscriptionsRequest) ProtoMessage() {} func (*ListenSubscriptionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptorLogbroker, []int{7} + return fileDescriptor_d5aa8d24ac30376c, []int{7} } +func (m *ListenSubscriptionsRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ListenSubscriptionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ListenSubscriptionsRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ListenSubscriptionsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ListenSubscriptionsRequest.Merge(m, src) +} +func (m *ListenSubscriptionsRequest) XXX_Size() int { + return m.Size() +} +func (m *ListenSubscriptionsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ListenSubscriptionsRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ListenSubscriptionsRequest proto.InternalMessageInfo // SubscriptionMessage instructs the listener to start publishing messages for // the stream or end a subscription. @@ -183,24 +412,52 @@ type SubscriptionMessage struct { // ID identifies the subscription. ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Selector defines which sources should be sent for the subscription. - Selector *LogSelector `protobuf:"bytes,2,opt,name=selector" json:"selector,omitempty"` + Selector *LogSelector `protobuf:"bytes,2,opt,name=selector,proto3" json:"selector,omitempty"` // Options specify how the subscription should be satisfied. - Options *LogSubscriptionOptions `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"` + Options *LogSubscriptionOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` // Close will be true if the node should shutdown the subscription with the // provided identifier. Close bool `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"` } -func (m *SubscriptionMessage) Reset() { *m = SubscriptionMessage{} } -func (*SubscriptionMessage) ProtoMessage() {} -func (*SubscriptionMessage) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{8} } +func (m *SubscriptionMessage) Reset() { *m = SubscriptionMessage{} } +func (*SubscriptionMessage) ProtoMessage() {} +func (*SubscriptionMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{8} +} +func (m *SubscriptionMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SubscriptionMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SubscriptionMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SubscriptionMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_SubscriptionMessage.Merge(m, src) +} +func (m *SubscriptionMessage) XXX_Size() int { + return m.Size() +} +func (m *SubscriptionMessage) XXX_DiscardUnknown() { + xxx_messageInfo_SubscriptionMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_SubscriptionMessage proto.InternalMessageInfo type PublishLogsMessage struct { // SubscriptionID identifies which subscription the set of messages should // be sent to. We can think of this as a "mail box" for the subscription. SubscriptionID string `protobuf:"bytes,1,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` // Messages is the log message for publishing. - Messages []LogMessage `protobuf:"bytes,2,rep,name=messages" json:"messages"` + Messages []LogMessage `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages"` // Close is a boolean for whether or not the client has completed its log // stream. When close is called, the manager can hang up the subscription. // Any further logs from this subscription are an error condition. Any @@ -208,18 +465,75 @@ type PublishLogsMessage struct { Close bool `protobuf:"varint,3,opt,name=close,proto3" json:"close,omitempty"` } -func (m *PublishLogsMessage) Reset() { *m = PublishLogsMessage{} } -func (*PublishLogsMessage) ProtoMessage() {} -func (*PublishLogsMessage) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{9} } +func (m *PublishLogsMessage) Reset() { *m = PublishLogsMessage{} } +func (*PublishLogsMessage) ProtoMessage() {} +func (*PublishLogsMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{9} +} +func (m *PublishLogsMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PublishLogsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PublishLogsMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PublishLogsMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_PublishLogsMessage.Merge(m, src) +} +func (m *PublishLogsMessage) XXX_Size() int { + return m.Size() +} +func (m *PublishLogsMessage) XXX_DiscardUnknown() { + xxx_messageInfo_PublishLogsMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_PublishLogsMessage proto.InternalMessageInfo type PublishLogsResponse struct { } -func (m *PublishLogsResponse) Reset() { *m = PublishLogsResponse{} } -func (*PublishLogsResponse) ProtoMessage() {} -func (*PublishLogsResponse) Descriptor() ([]byte, []int) { return fileDescriptorLogbroker, []int{10} } +func (m *PublishLogsResponse) Reset() { *m = PublishLogsResponse{} } +func (*PublishLogsResponse) ProtoMessage() {} +func (*PublishLogsResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d5aa8d24ac30376c, []int{10} +} +func (m *PublishLogsResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PublishLogsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PublishLogsResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PublishLogsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_PublishLogsResponse.Merge(m, src) +} +func (m *PublishLogsResponse) XXX_Size() int { + return m.Size() +} +func (m *PublishLogsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_PublishLogsResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_PublishLogsResponse proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.LogStream", LogStream_name, LogStream_value) proto.RegisterType((*LogSubscriptionOptions)(nil), "docker.swarmkit.v1.LogSubscriptionOptions") proto.RegisterType((*LogSelector)(nil), "docker.swarmkit.v1.LogSelector") proto.RegisterType((*LogContext)(nil), "docker.swarmkit.v1.LogContext") @@ -231,7 +545,76 @@ func init() { proto.RegisterType((*SubscriptionMessage)(nil), "docker.swarmkit.v1.SubscriptionMessage") proto.RegisterType((*PublishLogsMessage)(nil), "docker.swarmkit.v1.PublishLogsMessage") proto.RegisterType((*PublishLogsResponse)(nil), "docker.swarmkit.v1.PublishLogsResponse") - proto.RegisterEnum("docker.swarmkit.v1.LogStream", LogStream_name, LogStream_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/logbroker.proto", fileDescriptor_d5aa8d24ac30376c) +} + +var fileDescriptor_d5aa8d24ac30376c = []byte{ + // 979 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x41, 0x6f, 0x1b, 0x45, + 0x14, 0xc7, 0x3d, 0xeb, 0xc4, 0x8e, 0x9f, 0x9b, 0xc4, 0x9d, 0xa4, 0x91, 0x65, 0xe8, 0xda, 0xda, + 0xa2, 0x62, 0x45, 0x65, 0xdd, 0x1a, 0xa1, 0x22, 0x45, 0x42, 0xd4, 0xa4, 0x42, 0x16, 0x6e, 0x82, + 0x26, 0x8e, 0xe0, 0x16, 0xad, 0xed, 0xe9, 0x76, 0xe5, 0xf5, 0x8e, 0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ff, 0x13, 0x00, 0x00, 0xff, 0xff, 0x00, 0xba, 0x6b, 0x91, 0xec, + 0x08, 0x00, 0x00, } type authenticatedWrapperLogsServer struct { @@ -301,8 +684,8 @@ func (m *LogSubscriptionOptions) CopyFrom(src interface{}) { } if o.Since != nil { - m.Since = &google_protobuf.Timestamp{} - deepcopy.Copy(m.Since, o.Since) + m.Since = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Since, o.Since) } } @@ -379,10 +762,10 @@ func (m *LogMessage) CopyFrom(src interface{}) { o := src.(*LogMessage) *m = *o - deepcopy.Copy(&m.Context, &o.Context) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Context, &o.Context) if o.Timestamp != nil { - m.Timestamp = &google_protobuf.Timestamp{} - deepcopy.Copy(m.Timestamp, o.Timestamp) + m.Timestamp = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Timestamp, o.Timestamp) } if o.Data != nil { m.Data = make([]byte, len(o.Data)) @@ -391,7 +774,7 @@ func (m *LogMessage) CopyFrom(src interface{}) { if o.Attrs != nil { m.Attrs = make([]LogAttr, len(o.Attrs)) for i := range m.Attrs { - deepcopy.Copy(&m.Attrs[i], &o.Attrs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Attrs[i], &o.Attrs[i]) } } @@ -412,11 +795,11 @@ func (m *SubscribeLogsRequest) CopyFrom(src interface{}) { *m = *o if o.Selector != nil { m.Selector = &LogSelector{} - deepcopy.Copy(m.Selector, o.Selector) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Selector, o.Selector) } if o.Options != nil { m.Options = &LogSubscriptionOptions{} - deepcopy.Copy(m.Options, o.Options) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Options, o.Options) } } @@ -436,7 +819,7 @@ func (m *SubscribeLogsMessage) CopyFrom(src interface{}) { if o.Messages != nil { m.Messages = make([]LogMessage, len(o.Messages)) for i := range m.Messages { - deepcopy.Copy(&m.Messages[i], &o.Messages[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Messages[i], &o.Messages[i]) } } @@ -467,11 +850,11 @@ func (m *SubscriptionMessage) CopyFrom(src interface{}) { *m = *o if o.Selector != nil { m.Selector = &LogSelector{} - deepcopy.Copy(m.Selector, o.Selector) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Selector, o.Selector) } if o.Options != nil { m.Options = &LogSubscriptionOptions{} - deepcopy.Copy(m.Options, o.Options) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Options, o.Options) } } @@ -491,7 +874,7 @@ func (m *PublishLogsMessage) CopyFrom(src interface{}) { if o.Messages != nil { m.Messages = make([]LogMessage, len(o.Messages)) for i := range m.Messages { - deepcopy.Copy(&m.Messages[i], &o.Messages[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Messages[i], &o.Messages[i]) } } @@ -516,8 +899,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for Logs service - +// LogsClient is the client API for Logs service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type LogsClient interface { // SubscribeLogs starts a subscription with the specified selector and options. // @@ -537,7 +921,7 @@ func NewLogsClient(cc *grpc.ClientConn) LogsClient { } func (c *logsClient) SubscribeLogs(ctx context.Context, in *SubscribeLogsRequest, opts ...grpc.CallOption) (Logs_SubscribeLogsClient, error) { - stream, err := grpc.NewClientStream(ctx, &_Logs_serviceDesc.Streams[0], c.cc, "/docker.swarmkit.v1.Logs/SubscribeLogs", opts...) + stream, err := c.cc.NewStream(ctx, &_Logs_serviceDesc.Streams[0], "/docker.swarmkit.v1.Logs/SubscribeLogs", opts...) if err != nil { return nil, err } @@ -568,8 +952,7 @@ func (x *logsSubscribeLogsClient) Recv() (*SubscribeLogsMessage, error) { return m, nil } -// Server API for Logs service - +// LogsServer is the server API for Logs service. type LogsServer interface { // SubscribeLogs starts a subscription with the specified selector and options. // @@ -619,8 +1002,9 @@ var _Logs_serviceDesc = grpc.ServiceDesc{ Metadata: "github.com/docker/swarmkit/api/logbroker.proto", } -// Client API for LogBroker service - +// LogBrokerClient is the client API for LogBroker service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type LogBrokerClient interface { // ListenSubscriptions starts a subscription stream for the node. For each // message received, the node should attempt to satisfy the subscription. @@ -642,7 +1026,7 @@ func NewLogBrokerClient(cc *grpc.ClientConn) LogBrokerClient { } func (c *logBrokerClient) ListenSubscriptions(ctx context.Context, in *ListenSubscriptionsRequest, opts ...grpc.CallOption) (LogBroker_ListenSubscriptionsClient, error) { - stream, err := grpc.NewClientStream(ctx, &_LogBroker_serviceDesc.Streams[0], c.cc, "/docker.swarmkit.v1.LogBroker/ListenSubscriptions", opts...) + stream, err := c.cc.NewStream(ctx, &_LogBroker_serviceDesc.Streams[0], "/docker.swarmkit.v1.LogBroker/ListenSubscriptions", opts...) if err != nil { return nil, err } @@ -674,7 +1058,7 @@ func (x *logBrokerListenSubscriptionsClient) Recv() (*SubscriptionMessage, error } func (c *logBrokerClient) PublishLogs(ctx context.Context, opts ...grpc.CallOption) (LogBroker_PublishLogsClient, error) { - stream, err := grpc.NewClientStream(ctx, &_LogBroker_serviceDesc.Streams[1], c.cc, "/docker.swarmkit.v1.LogBroker/PublishLogs", opts...) + stream, err := c.cc.NewStream(ctx, &_LogBroker_serviceDesc.Streams[1], "/docker.swarmkit.v1.LogBroker/PublishLogs", opts...) if err != nil { return nil, err } @@ -707,8 +1091,7 @@ func (x *logBrokerPublishLogsClient) CloseAndRecv() (*PublishLogsResponse, error return m, nil } -// Server API for LogBroker service - +// LogBrokerServer is the server API for LogBroker service. type LogBrokerServer interface { // ListenSubscriptions starts a subscription stream for the node. For each // message received, the node should attempt to satisfy the subscription. @@ -1547,6 +1930,9 @@ func (p *raftProxyLogBrokerServer) PublishLogs(stream LogBroker_PublishLogsServe } func (m *LogSubscriptionOptions) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Streams) > 0 { @@ -1568,6 +1954,9 @@ func (m *LogSubscriptionOptions) Size() (n int) { } func (m *LogSelector) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.ServiceIDs) > 0 { @@ -1592,6 +1981,9 @@ func (m *LogSelector) Size() (n int) { } func (m *LogContext) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -1610,6 +2002,9 @@ func (m *LogContext) Size() (n int) { } func (m *LogAttr) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Key) @@ -1624,6 +2019,9 @@ func (m *LogAttr) Size() (n int) { } func (m *LogMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Context.Size() @@ -1649,6 +2047,9 @@ func (m *LogMessage) Size() (n int) { } func (m *SubscribeLogsRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Selector != nil { @@ -1663,6 +2064,9 @@ func (m *SubscribeLogsRequest) Size() (n int) { } func (m *SubscribeLogsMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Messages) > 0 { @@ -1675,12 +2079,18 @@ func (m *SubscribeLogsMessage) Size() (n int) { } func (m *ListenSubscriptionsRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *SubscriptionMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -1702,6 +2112,9 @@ func (m *SubscriptionMessage) Size() (n int) { } func (m *PublishLogsMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SubscriptionID) @@ -1721,6 +2134,9 @@ func (m *PublishLogsMessage) Size() (n int) { } func (m *PublishLogsResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n @@ -1747,7 +2163,7 @@ func (this *LogSubscriptionOptions) String() string { `Streams:` + fmt.Sprintf("%v", this.Streams) + `,`, `Follow:` + fmt.Sprintf("%v", this.Follow) + `,`, `Tail:` + fmt.Sprintf("%v", this.Tail) + `,`, - `Since:` + strings.Replace(fmt.Sprintf("%v", this.Since), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `Since:` + strings.Replace(fmt.Sprintf("%v", this.Since), "Timestamp", "types.Timestamp", 1) + `,`, `}`, }, "") return s @@ -1793,7 +2209,7 @@ func (this *LogMessage) String() string { } s := strings.Join([]string{`&LogMessage{`, `Context:` + strings.Replace(strings.Replace(this.Context.String(), "LogContext", "LogContext", 1), `&`, ``, 1) + `,`, - `Timestamp:` + strings.Replace(fmt.Sprintf("%v", this.Timestamp), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `Timestamp:` + strings.Replace(fmt.Sprintf("%v", this.Timestamp), "Timestamp", "types.Timestamp", 1) + `,`, `Stream:` + fmt.Sprintf("%v", this.Stream) + `,`, `Data:` + fmt.Sprintf("%v", this.Data) + `,`, `Attrs:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Attrs), "LogAttr", "LogAttr", 1), `&`, ``, 1) + `,`, @@ -1888,7 +2304,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1914,7 +2330,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (LogStream(b) & 0x7F) << shift + v |= LogStream(b&0x7F) << shift if b < 0x80 { break } @@ -1931,7 +2347,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - packedLen |= (int(b) & 0x7F) << shift + packedLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1940,9 +2356,16 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } + var elementCount int + if elementCount != 0 && len(m.Streams) == 0 { + m.Streams = make([]LogStream, 0, elementCount) + } for iNdEx < postIndex { var v LogStream for shift := uint(0); ; shift += 7 { @@ -1954,7 +2377,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (LogStream(b) & 0x7F) << shift + v |= LogStream(b&0x7F) << shift if b < 0x80 { break } @@ -1978,7 +2401,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1998,7 +2421,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Tail |= (int64(b) & 0x7F) << shift + m.Tail |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -2017,7 +2440,7 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2026,11 +2449,14 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Since == nil { - m.Since = &google_protobuf.Timestamp{} + m.Since = &types.Timestamp{} } if err := m.Since.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2045,6 +2471,9 @@ func (m *LogSubscriptionOptions) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2072,7 +2501,7 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2100,7 +2529,7 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2110,6 +2539,9 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2129,7 +2561,7 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2139,6 +2571,9 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2158,7 +2593,7 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2168,6 +2603,9 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2182,6 +2620,9 @@ func (m *LogSelector) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2209,7 +2650,7 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2237,7 +2678,7 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2247,6 +2688,9 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2266,7 +2710,7 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2276,6 +2720,9 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2295,7 +2742,7 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2305,6 +2752,9 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2319,6 +2769,9 @@ func (m *LogContext) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2346,7 +2799,7 @@ func (m *LogAttr) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2374,7 +2827,7 @@ func (m *LogAttr) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2384,6 +2837,9 @@ func (m *LogAttr) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2403,7 +2859,7 @@ func (m *LogAttr) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2413,6 +2869,9 @@ func (m *LogAttr) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2427,6 +2886,9 @@ func (m *LogAttr) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2454,7 +2916,7 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2482,7 +2944,7 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2491,6 +2953,9 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2512,7 +2977,7 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2521,11 +2986,14 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Timestamp == nil { - m.Timestamp = &google_protobuf.Timestamp{} + m.Timestamp = &types.Timestamp{} } if err := m.Timestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -2545,7 +3013,7 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Stream |= (LogStream(b) & 0x7F) << shift + m.Stream |= LogStream(b&0x7F) << shift if b < 0x80 { break } @@ -2564,7 +3032,7 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2573,6 +3041,9 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2595,7 +3066,7 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2604,6 +3075,9 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2621,6 +3095,9 @@ func (m *LogMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2648,7 +3125,7 @@ func (m *SubscribeLogsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2676,7 +3153,7 @@ func (m *SubscribeLogsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2685,6 +3162,9 @@ func (m *SubscribeLogsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2709,7 +3189,7 @@ func (m *SubscribeLogsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2718,6 +3198,9 @@ func (m *SubscribeLogsRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2737,6 +3220,9 @@ func (m *SubscribeLogsRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2764,7 +3250,7 @@ func (m *SubscribeLogsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2792,7 +3278,7 @@ func (m *SubscribeLogsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2801,6 +3287,9 @@ func (m *SubscribeLogsMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2818,6 +3307,9 @@ func (m *SubscribeLogsMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2845,7 +3337,7 @@ func (m *ListenSubscriptionsRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2868,6 +3360,9 @@ func (m *ListenSubscriptionsRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2895,7 +3390,7 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2923,7 +3418,7 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2933,6 +3428,9 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2952,7 +3450,7 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2961,6 +3459,9 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2985,7 +3486,7 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2994,6 +3495,9 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3018,7 +3522,7 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3033,6 +3537,9 @@ func (m *SubscriptionMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3060,7 +3567,7 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3088,7 +3595,7 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3098,6 +3605,9 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3117,7 +3627,7 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3126,6 +3636,9 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthLogbroker } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthLogbroker + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3148,7 +3661,7 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3163,6 +3676,9 @@ func (m *PublishLogsMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3190,7 +3706,7 @@ func (m *PublishLogsResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3213,6 +3729,9 @@ func (m *PublishLogsResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthLogbroker } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthLogbroker + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3279,10 +3798,13 @@ func skipLogbroker(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthLogbroker } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthLogbroker + } return iNdEx, nil case 3: for { @@ -3311,6 +3833,9 @@ func skipLogbroker(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthLogbroker + } } return iNdEx, nil case 4: @@ -3329,72 +3854,3 @@ var ( ErrInvalidLengthLogbroker = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowLogbroker = fmt.Errorf("proto: integer overflow") ) - -func init() { - proto.RegisterFile("github.com/docker/swarmkit/api/logbroker.proto", fileDescriptorLogbroker) -} - -var fileDescriptorLogbroker = []byte{ - // 966 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x95, 0x41, 0x6f, 0x1b, 0x45, - 0x14, 0xc7, 0x3d, 0xeb, 0xc4, 0x8e, 0x9f, 0x9b, 0xc4, 0x9d, 0xa4, 0x91, 0x65, 0xa8, 0x6d, 0x6d, - 0xa5, 0x62, 0x45, 0x65, 0xdd, 0x1a, 0xa1, 0x22, 0x45, 0x42, 0xd4, 0xb8, 0x42, 0x16, 0x6e, 0x82, - 0xc6, 0x8e, 0xe0, 0x16, 0xad, 0xbd, 0xd3, 0xed, 0xca, 0xeb, 0x1d, 0xb3, 0x33, 0x4e, 0x40, 0xe2, - 0xc0, 0xa1, 0x48, 0x28, 0x07, 0x6e, 0x48, 0x70, 0xe8, 0x89, 0x5e, 0x10, 0x12, 0x17, 0x6e, 0x7c, - 0x00, 0x14, 0x71, 0xe2, 0xc8, 0xc9, 0xa2, 0xfb, 0x01, 0xf8, 0x0c, 0x68, 0x67, 0xd6, 0xeb, 0x0d, - 0xb6, 0x53, 0x54, 0x2e, 0xf6, 0x8c, 0xe7, 0xf7, 0xf6, 0xfd, 0xdf, 0x7f, 0xde, 0x5b, 0x83, 0x61, - 0x3b, 0xe2, 0xc9, 0xa4, 0x6f, 0x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0xfd, 0x1b, 0x04, 0xf9, 0x30, 0x31, - 0x75, 0xe9, 0x40, 0x30, 0x1f, 0xd7, 0x21, 0xcf, 0xa9, 0x7f, 0xea, 0x0c, 0xe8, 0x89, 0x63, 0x29, - 0xb9, 0xb9, 0xe6, 0x56, 0x30, 0xad, 0x40, 0x57, 0xfd, 0xdc, 0x6e, 0x71, 0x02, 0x11, 0xd2, 0xb6, - 0x38, 0xbe, 0x0d, 0x1b, 0x1e, 0xb3, 0x14, 0xad, 0x49, 0x3a, 0x1f, 0x4c, 0x2b, 0xd9, 0x43, 0x66, - 0x49, 0x34, 0x1b, 0x1e, 0x46, 0x9c, 0x30, 0xf9, 0x50, 0x72, 0xe9, 0x39, 0xd7, 0x33, 0xf9, 0x50, - 0x72, 0xe1, 0x61, 0xdb, 0xe2, 0xfa, 0x53, 0x04, 0xd0, 0x61, 0xf6, 0xfb, 0xcc, 0x13, 0xf4, 0x33, - 0x81, 0xef, 0x00, 0xcc, 0xf5, 0x14, 0x51, 0x15, 0xd5, 0x72, 0xcd, 0xcd, 0x60, 0x5a, 0xc9, 0xc5, - 0x72, 0x48, 0x2e, 0x56, 0x83, 0x6f, 0x41, 0x36, 0x12, 0x23, 0xcd, 0xca, 0x35, 0x21, 0x98, 0x56, - 0x32, 0x4a, 0x0b, 0xc9, 0x28, 0x29, 0x21, 0x14, 0x29, 0x91, 0xde, 0x45, 0x90, 0x12, 0x42, 0x32, - 0x4a, 0x87, 0x7e, 0x0f, 0xb2, 0x1d, 0x66, 0x3f, 0x10, 0xc2, 0xc7, 0x05, 0x48, 0x0f, 0xe9, 0xe7, - 0x2a, 0x37, 0x09, 0x97, 0x78, 0x17, 0xd6, 0x4f, 0x4d, 0x77, 0x42, 0x55, 0x12, 0xa2, 0x36, 0xfa, - 0xb9, 0x26, 0x95, 0x3f, 0xa2, 0x9c, 0x9b, 0x36, 0xc5, 0xef, 0x42, 0x76, 0xa0, 0x8a, 0x90, 0xa1, - 0xf9, 0x46, 0x79, 0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d, 0x9b, - 0x92, 0x7c, 0x73, 0x64, 0x7a, 0xa6, 0x4d, 0xfd, 0xbb, 0xa8, 0xf1, 0x93, 0x26, 0xdd, 0x6a, 0xca, - 0xff, 0x5c, 0xfc, 0x2d, 0x82, 0x9d, 0x25, 0x6d, 0x8e, 0x8d, 0xa5, 0x17, 0xb6, 0x72, 0x1e, 0x4a, - 0x6f, 0x5c, 0x21, 0x2c, 0x39, 0x20, 0xfa, 0x2d, 0xa9, 0xeb, 0x26, 0x5c, 0x53, 0xba, 0xce, 0x98, - 0x3f, 0xa4, 0xfe, 0x82, 0x4a, 0xfc, 0x15, 0x82, 0x7c, 0xe2, 0xae, 0xf1, 0xed, 0x65, 0xcf, 0x5f, - 0xec, 0xdb, 0xe5, 0x3a, 0x96, 0x34, 0xcd, 0x7f, 0xd2, 0x51, 0x43, 0xcd, 0xe2, 0xc5, 0x8b, 0x72, - 0xea, 0xcf, 0x17, 0xe5, 0xd4, 0x97, 0x41, 0x19, 0x5d, 0x04, 0x65, 0xf4, 0x47, 0x50, 0x46, 0x7f, - 0x05, 0x65, 0xd4, 0xcf, 0xc8, 0x17, 0xf7, 0x5b, 0xff, 0x04, 0x00, 0x00, 0xff, 0xff, 0x95, 0x7b, - 0x3c, 0x04, 0xe0, 0x08, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/objects.pb.go b/vendor/github.com/docker/swarmkit/api/objects.pb.go index 495dfb9df6..41099f206a 100644 --- a/vendor/github.com/docker/swarmkit/api/objects.pb.go +++ b/vendor/github.com/docker/swarmkit/api/objects.pb.go @@ -3,64 +3,95 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import google_protobuf "github.com/gogo/protobuf/types" -import _ "github.com/gogo/protobuf/gogoproto" -import google_protobuf4 "github.com/gogo/protobuf/types" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import go_events "github.com/docker/go-events" -import strings "strings" - -import reflect "reflect" -import sortkeys "github.com/gogo/protobuf/sortkeys" - -import io "io" +import ( + fmt "fmt" + github_com_docker_go_events "github.com/docker/go-events" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + reflect "reflect" + strings "strings" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + // Meta contains metadata about objects. Every object contains a meta field. type Meta struct { // Version tracks the current version of the object. - Version Version `protobuf:"bytes,1,opt,name=version" json:"version"` + Version Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version"` // Object timestamps. // Note: can't use stdtime because these fields are nullable. - CreatedAt *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt" json:"created_at,omitempty"` - UpdatedAt *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt" json:"updated_at,omitempty"` + CreatedAt *types.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` + UpdatedAt *types.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` } -func (m *Meta) Reset() { *m = Meta{} } -func (*Meta) ProtoMessage() {} -func (*Meta) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{0} } +func (m *Meta) Reset() { *m = Meta{} } +func (*Meta) ProtoMessage() {} +func (*Meta) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{0} +} +func (m *Meta) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Meta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Meta.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Meta) XXX_Merge(src proto.Message) { + xxx_messageInfo_Meta.Merge(m, src) +} +func (m *Meta) XXX_Size() int { + return m.Size() +} +func (m *Meta) XXX_DiscardUnknown() { + xxx_messageInfo_Meta.DiscardUnknown(m) +} + +var xxx_messageInfo_Meta proto.InternalMessageInfo // Node provides the internal node state as seen by the cluster. type Node struct { // ID specifies the identity of the node. ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` + Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` // Spec defines the desired state of the node as specified by the user. // The system will honor this and will *never* modify it. - Spec NodeSpec `protobuf:"bytes,3,opt,name=spec" json:"spec"` + Spec NodeSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"` // Description encapsulated the properties of the Node as reported by the // agent. - Description *NodeDescription `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` + Description *NodeDescription `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Status provides the current status of the node, as seen by the manager. - Status NodeStatus `protobuf:"bytes,5,opt,name=status" json:"status"` + Status NodeStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status"` // ManagerStatus provides the current status of the node's manager // component, if the node is a manager. - ManagerStatus *ManagerStatus `protobuf:"bytes,6,opt,name=manager_status,json=managerStatus" json:"manager_status,omitempty"` + ManagerStatus *ManagerStatus `protobuf:"bytes,6,opt,name=manager_status,json=managerStatus,proto3" json:"manager_status,omitempty"` // DEPRECATED: Use Attachments to find the ingress network // The node attachment to the ingress network. - Attachment *NetworkAttachment `protobuf:"bytes,7,opt,name=attachment" json:"attachment,omitempty"` + Attachment *NetworkAttachment `protobuf:"bytes,7,opt,name=attachment,proto3" json:"attachment,omitempty"` // Deprecated: Do not use. // Certificate is the TLS certificate issued for the node, if any. - Certificate Certificate `protobuf:"bytes,8,opt,name=certificate" json:"certificate"` + Certificate Certificate `protobuf:"bytes,8,opt,name=certificate,proto3" json:"certificate"` // Role is the *observed* role for this node. It differs from the // desired role set in Node.Spec.Role because the role here is only // updated after the Raft member list has been reconciled with the @@ -74,37 +105,68 @@ type Node struct { // Attachments enumerates the network attachments for the node to set up an // endpoint on the node to be used for load balancing. Each overlay // network, including ingress network, will have an NetworkAttachment. - Attachments []*NetworkAttachment `protobuf:"bytes,10,rep,name=attachments" json:"attachments,omitempty"` + Attachments []*NetworkAttachment `protobuf:"bytes,10,rep,name=attachments,proto3" json:"attachments,omitempty"` // VXLANUDPPort specifies the UDP port for VXLAN traffic. // This information is passed from cluster object to individual nodes. VXLANUDPPort uint32 `protobuf:"varint,11,opt,name=VXLANUDPPort,proto3" json:"VXLANUDPPort,omitempty"` } -func (m *Node) Reset() { *m = Node{} } -func (*Node) ProtoMessage() {} -func (*Node) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{1} } +func (m *Node) Reset() { *m = Node{} } +func (*Node) ProtoMessage() {} +func (*Node) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{1} +} +func (m *Node) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Node.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Node) XXX_Merge(src proto.Message) { + xxx_messageInfo_Node.Merge(m, src) +} +func (m *Node) XXX_Size() int { + return m.Size() +} +func (m *Node) XXX_DiscardUnknown() { + xxx_messageInfo_Node.DiscardUnknown(m) +} + +var xxx_messageInfo_Node proto.InternalMessageInfo type Service struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` - Spec ServiceSpec `protobuf:"bytes,3,opt,name=spec" json:"spec"` + Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` + Spec ServiceSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"` // SpecVersion versions Spec, to identify changes in the spec. Note that // this is not directly comparable to the service's Version. - SpecVersion *Version `protobuf:"bytes,10,opt,name=spec_version,json=specVersion" json:"spec_version,omitempty"` + SpecVersion *Version `protobuf:"bytes,10,opt,name=spec_version,json=specVersion,proto3" json:"spec_version,omitempty"` // PreviousSpec is the previous service spec that was in place before // "Spec". - PreviousSpec *ServiceSpec `protobuf:"bytes,6,opt,name=previous_spec,json=previousSpec" json:"previous_spec,omitempty"` + PreviousSpec *ServiceSpec `protobuf:"bytes,6,opt,name=previous_spec,json=previousSpec,proto3" json:"previous_spec,omitempty"` // PreviousSpecVersion versions PreviousSpec. Note that this is not // directly comparable to the service's Version. - PreviousSpecVersion *Version `protobuf:"bytes,11,opt,name=previous_spec_version,json=previousSpecVersion" json:"previous_spec_version,omitempty"` + PreviousSpecVersion *Version `protobuf:"bytes,11,opt,name=previous_spec_version,json=previousSpecVersion,proto3" json:"previous_spec_version,omitempty"` // Runtime state of service endpoint. This may be different // from the spec version because the user may not have entered // the optional fields like node_port or virtual_ip and it // could be auto allocated by the system. - Endpoint *Endpoint `protobuf:"bytes,4,opt,name=endpoint" json:"endpoint,omitempty"` + Endpoint *Endpoint `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // UpdateStatus contains the status of an update, if one is in // progress. - UpdateStatus *UpdateStatus `protobuf:"bytes,5,opt,name=update_status,json=updateStatus" json:"update_status,omitempty"` + UpdateStatus *UpdateStatus `protobuf:"bytes,5,opt,name=update_status,json=updateStatus,proto3" json:"update_status,omitempty"` + // JobStatus contains the status of a Service that is in one of the Job + // modes. It is absent on Replicated and Global services. + JobStatus *JobStatus `protobuf:"bytes,12,opt,name=job_status,json=jobStatus,proto3" json:"job_status,omitempty"` // PendingDelete indicates that this service's deletion has been requested. // Services, as well as all service-level resources, can only be deleted // after all of the service's containers have properly shut down. @@ -116,26 +178,82 @@ type Service struct { PendingDelete bool `protobuf:"varint,7,opt,name=pending_delete,json=pendingDelete,proto3" json:"pending_delete,omitempty"` } -func (m *Service) Reset() { *m = Service{} } -func (*Service) ProtoMessage() {} -func (*Service) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{2} } +func (m *Service) Reset() { *m = Service{} } +func (*Service) ProtoMessage() {} +func (*Service) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{2} +} +func (m *Service) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Service.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Service) XXX_Merge(src proto.Message) { + xxx_messageInfo_Service.Merge(m, src) +} +func (m *Service) XXX_Size() int { + return m.Size() +} +func (m *Service) XXX_DiscardUnknown() { + xxx_messageInfo_Service.DiscardUnknown(m) +} + +var xxx_messageInfo_Service proto.InternalMessageInfo // Endpoint specified all the network parameters required to // correctly discover and load balance a service type Endpoint struct { - Spec *EndpointSpec `protobuf:"bytes,1,opt,name=spec" json:"spec,omitempty"` + Spec *EndpointSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"` // Runtime state of the exposed ports which may carry // auto-allocated swarm ports in addition to the user // configured information. - Ports []*PortConfig `protobuf:"bytes,2,rep,name=ports" json:"ports,omitempty"` + Ports []*PortConfig `protobuf:"bytes,2,rep,name=ports,proto3" json:"ports,omitempty"` // VirtualIPs specifies the IP addresses under which this endpoint will be // made available. - VirtualIPs []*Endpoint_VirtualIP `protobuf:"bytes,3,rep,name=virtual_ips,json=virtualIps" json:"virtual_ips,omitempty"` + VirtualIPs []*Endpoint_VirtualIP `protobuf:"bytes,3,rep,name=virtual_ips,json=virtualIps,proto3" json:"virtual_ips,omitempty"` } -func (m *Endpoint) Reset() { *m = Endpoint{} } -func (*Endpoint) ProtoMessage() {} -func (*Endpoint) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{3} } +func (m *Endpoint) Reset() { *m = Endpoint{} } +func (*Endpoint) ProtoMessage() {} +func (*Endpoint) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{3} +} +func (m *Endpoint) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Endpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Endpoint.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Endpoint) XXX_Merge(src proto.Message) { + xxx_messageInfo_Endpoint.Merge(m, src) +} +func (m *Endpoint) XXX_Size() int { + return m.Size() +} +func (m *Endpoint) XXX_DiscardUnknown() { + xxx_messageInfo_Endpoint.DiscardUnknown(m) +} + +var xxx_messageInfo_Endpoint proto.InternalMessageInfo // VirtualIP specifies a set of networks this endpoint will be attached to // and the IP addresses the target service will be made available under. @@ -153,23 +271,51 @@ type Endpoint_VirtualIP struct { Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` } -func (m *Endpoint_VirtualIP) Reset() { *m = Endpoint_VirtualIP{} } -func (*Endpoint_VirtualIP) ProtoMessage() {} -func (*Endpoint_VirtualIP) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{3, 0} } +func (m *Endpoint_VirtualIP) Reset() { *m = Endpoint_VirtualIP{} } +func (*Endpoint_VirtualIP) ProtoMessage() {} +func (*Endpoint_VirtualIP) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{3, 0} +} +func (m *Endpoint_VirtualIP) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Endpoint_VirtualIP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Endpoint_VirtualIP.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Endpoint_VirtualIP) XXX_Merge(src proto.Message) { + xxx_messageInfo_Endpoint_VirtualIP.Merge(m, src) +} +func (m *Endpoint_VirtualIP) XXX_Size() int { + return m.Size() +} +func (m *Endpoint_VirtualIP) XXX_DiscardUnknown() { + xxx_messageInfo_Endpoint_VirtualIP.DiscardUnknown(m) +} + +var xxx_messageInfo_Endpoint_VirtualIP proto.InternalMessageInfo // Task specifies the parameters for implementing a Spec. A task is effectively // immutable and idempotent. Once it is dispatched to a node, it will not be // dispatched to another node. type Task struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` + Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` // Spec defines the desired state of the task as specified by the user. // The system will honor this and will *never* modify it. - Spec TaskSpec `protobuf:"bytes,3,opt,name=spec" json:"spec"` + Spec TaskSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"` // SpecVersion is copied from Service, to identify which version of the // spec this task has. Note that this is not directly comparable to the // service's Version. - SpecVersion *Version `protobuf:"bytes,14,opt,name=spec_version,json=specVersion" json:"spec_version,omitempty"` + SpecVersion *Version `protobuf:"bytes,14,opt,name=spec_version,json=specVersion,proto3" json:"spec_version,omitempty"` // ServiceID indicates the service under which this task is orchestrated. This // should almost always be set. ServiceID string `protobuf:"bytes,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` @@ -188,24 +334,24 @@ type Task struct { // // NOTE(stevvooe): The preserves the ability for us to making naming // decisions for tasks in orchestrator, albeit, this is left empty for now. - Annotations Annotations `protobuf:"bytes,7,opt,name=annotations" json:"annotations"` + Annotations Annotations `protobuf:"bytes,7,opt,name=annotations,proto3" json:"annotations"` // ServiceAnnotations is a direct copy of the service name and labels when // this task is created. // // Labels set here will *not* be propagated to the runtime target, such as a // container. Use labels on the runtime target for that purpose. - ServiceAnnotations Annotations `protobuf:"bytes,8,opt,name=service_annotations,json=serviceAnnotations" json:"service_annotations"` - Status TaskStatus `protobuf:"bytes,9,opt,name=status" json:"status"` + ServiceAnnotations Annotations `protobuf:"bytes,8,opt,name=service_annotations,json=serviceAnnotations,proto3" json:"service_annotations"` + Status TaskStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status"` // DesiredState is the target state for the task. It is set to // TaskStateRunning when a task is first created, and changed to // TaskStateShutdown if the manager wants to terminate the task. This field // is only written by the manager. DesiredState TaskState `protobuf:"varint,10,opt,name=desired_state,json=desiredState,proto3,enum=docker.swarmkit.v1.TaskState" json:"desired_state,omitempty"` // List of network attachments by the task. - Networks []*NetworkAttachment `protobuf:"bytes,11,rep,name=networks" json:"networks,omitempty"` + Networks []*NetworkAttachment `protobuf:"bytes,11,rep,name=networks,proto3" json:"networks,omitempty"` // A copy of runtime state of service endpoint from Service // object to be distributed to agents as part of the task. - Endpoint *Endpoint `protobuf:"bytes,12,opt,name=endpoint" json:"endpoint,omitempty"` + Endpoint *Endpoint `protobuf:"bytes,12,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // LogDriver specifies the selected log driver to use for the task. Agent // processes should always favor the value in this field. // @@ -214,13 +360,44 @@ type Task struct { // such a cluster default or policy-based value. // // If not present, the daemon's default will be used. - LogDriver *Driver `protobuf:"bytes,13,opt,name=log_driver,json=logDriver" json:"log_driver,omitempty"` - AssignedGenericResources []*GenericResource `protobuf:"bytes,15,rep,name=assigned_generic_resources,json=assignedGenericResources" json:"assigned_generic_resources,omitempty"` + LogDriver *Driver `protobuf:"bytes,13,opt,name=log_driver,json=logDriver,proto3" json:"log_driver,omitempty"` + AssignedGenericResources []*GenericResource `protobuf:"bytes,15,rep,name=assigned_generic_resources,json=assignedGenericResources,proto3" json:"assigned_generic_resources,omitempty"` + // JobIteration is the iteration number of the Job-mode Service that this + // task belongs to. + JobIteration *Version `protobuf:"bytes,16,opt,name=job_iteration,json=jobIteration,proto3" json:"job_iteration,omitempty"` } -func (m *Task) Reset() { *m = Task{} } -func (*Task) ProtoMessage() {} -func (*Task) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{4} } +func (m *Task) Reset() { *m = Task{} } +func (*Task) ProtoMessage() {} +func (*Task) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{4} +} +func (m *Task) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Task) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Task.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Task) XXX_Merge(src proto.Message) { + xxx_messageInfo_Task.Merge(m, src) +} +func (m *Task) XXX_Size() int { + return m.Size() +} +func (m *Task) XXX_DiscardUnknown() { + xxx_messageInfo_Task.DiscardUnknown(m) +} + +var xxx_messageInfo_Task proto.InternalMessageInfo // NetworkAttachment specifies the network parameters of attachment to // a single network by an object such as task or node. @@ -228,29 +405,57 @@ type NetworkAttachment struct { // Network state as a whole becomes part of the object so that // it always is available for use in agents so that agents // don't have any other dependency during execution. - Network *Network `protobuf:"bytes,1,opt,name=network" json:"network,omitempty"` + Network *Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // List of IPv4/IPv6 addresses that are assigned to the object // as part of getting attached to this network. - Addresses []string `protobuf:"bytes,2,rep,name=addresses" json:"addresses,omitempty"` + Addresses []string `protobuf:"bytes,2,rep,name=addresses,proto3" json:"addresses,omitempty"` // List of aliases by which a task is resolved in a network - Aliases []string `protobuf:"bytes,3,rep,name=aliases" json:"aliases,omitempty"` + Aliases []string `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"` // Map of all the driver attachment options for this network - DriverAttachmentOpts map[string]string `protobuf:"bytes,4,rep,name=driver_attachment_opts,json=driverAttachmentOpts" json:"driver_attachment_opts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DriverAttachmentOpts map[string]string `protobuf:"bytes,4,rep,name=driver_attachment_opts,json=driverAttachmentOpts,proto3" json:"driver_attachment_opts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *NetworkAttachment) Reset() { *m = NetworkAttachment{} } -func (*NetworkAttachment) ProtoMessage() {} -func (*NetworkAttachment) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{5} } +func (m *NetworkAttachment) Reset() { *m = NetworkAttachment{} } +func (*NetworkAttachment) ProtoMessage() {} +func (*NetworkAttachment) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{5} +} +func (m *NetworkAttachment) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkAttachment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkAttachment.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NetworkAttachment) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkAttachment.Merge(m, src) +} +func (m *NetworkAttachment) XXX_Size() int { + return m.Size() +} +func (m *NetworkAttachment) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkAttachment.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkAttachment proto.InternalMessageInfo type Network struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` - Spec NetworkSpec `protobuf:"bytes,3,opt,name=spec" json:"spec"` + Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` + Spec NetworkSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"` // Driver specific operational state provided by the network driver. - DriverState *Driver `protobuf:"bytes,4,opt,name=driver_state,json=driverState" json:"driver_state,omitempty"` + DriverState *Driver `protobuf:"bytes,4,opt,name=driver_state,json=driverState,proto3" json:"driver_state,omitempty"` // Runtime state of IPAM options. This may not reflect the // ipam options from NetworkSpec. - IPAM *IPAMOptions `protobuf:"bytes,5,opt,name=ipam" json:"ipam,omitempty"` + IPAM *IPAMOptions `protobuf:"bytes,5,opt,name=ipam,proto3" json:"ipam,omitempty"` // PendingDelete indicates that this network's deletion has been requested. // Services, as well as all service-level resources, can only be deleted // after all the service's containers have properly shut down @@ -266,20 +471,48 @@ type Network struct { PendingDelete bool `protobuf:"varint,6,opt,name=pending_delete,json=pendingDelete,proto3" json:"pending_delete,omitempty"` } -func (m *Network) Reset() { *m = Network{} } -func (*Network) ProtoMessage() {} -func (*Network) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{6} } +func (m *Network) Reset() { *m = Network{} } +func (*Network) ProtoMessage() {} +func (*Network) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{6} +} +func (m *Network) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Network.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Network) XXX_Merge(src proto.Message) { + xxx_messageInfo_Network.Merge(m, src) +} +func (m *Network) XXX_Size() int { + return m.Size() +} +func (m *Network) XXX_DiscardUnknown() { + xxx_messageInfo_Network.DiscardUnknown(m) +} + +var xxx_messageInfo_Network proto.InternalMessageInfo // Cluster provides global cluster settings. type Cluster struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` - Spec ClusterSpec `protobuf:"bytes,3,opt,name=spec" json:"spec"` + Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` + Spec ClusterSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"` // RootCA contains key material for the root CA. - RootCA RootCA `protobuf:"bytes,4,opt,name=root_ca,json=rootCa" json:"root_ca"` + RootCA RootCA `protobuf:"bytes,4,opt,name=root_ca,json=rootCa,proto3" json:"root_ca"` // Symmetric encryption key distributed by the lead manager. Used by agents // for securing network bootstrapping and communication. - NetworkBootstrapKeys []*EncryptionKey `protobuf:"bytes,5,rep,name=network_bootstrap_keys,json=networkBootstrapKeys" json:"network_bootstrap_keys,omitempty"` + NetworkBootstrapKeys []*EncryptionKey `protobuf:"bytes,5,rep,name=network_bootstrap_keys,json=networkBootstrapKeys,proto3" json:"network_bootstrap_keys,omitempty"` // Logical clock used to timestamp every key. It allows other managers // and agents to unambiguously identify the older key to be deleted when // a new key is allocated on key rotation. @@ -287,13 +520,13 @@ type Cluster struct { // BlacklistedCertificates tracks certificates that should no longer // be honored. It's a mapping from CN -> BlacklistedCertificate. // swarm. Their certificates should effectively be blacklisted. - BlacklistedCertificates map[string]*BlacklistedCertificate `protobuf:"bytes,8,rep,name=blacklisted_certificates,json=blacklistedCertificates" json:"blacklisted_certificates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value"` + BlacklistedCertificates map[string]*BlacklistedCertificate `protobuf:"bytes,8,rep,name=blacklisted_certificates,json=blacklistedCertificates,proto3" json:"blacklisted_certificates,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // UnlockKeys defines the keys that lock node data at rest. For example, // this would contain the key encrypting key (KEK) that will encrypt the // manager TLS keys at rest and the raft encryption keys at rest. // If the key is empty, the node will be unlocked (will not require a key // to start up from a shut down state). - UnlockKeys []*EncryptionKey `protobuf:"bytes,9,rep,name=unlock_keys,json=unlockKeys" json:"unlock_keys,omitempty"` + UnlockKeys []*EncryptionKey `protobuf:"bytes,9,rep,name=unlock_keys,json=unlockKeys,proto3" json:"unlock_keys,omitempty"` // FIPS specifies whether this cluster should be in FIPS mode. This changes // the format of the join tokens, and nodes that are not FIPS-enabled should // reject joining the cluster. Nodes that report themselves to be non-FIPS @@ -302,7 +535,7 @@ type Cluster struct { // This field specifies default subnet pools for global scope networks. If // unspecified, Docker will use the predefined subnets as it works on older releases. // Format Example : {"20.20.0.0/16",""20.20.0.0/16"} - DefaultAddressPool []string `protobuf:"bytes,11,rep,name=defaultAddressPool" json:"defaultAddressPool,omitempty"` + DefaultAddressPool []string `protobuf:"bytes,11,rep,name=defaultAddressPool,proto3" json:"defaultAddressPool,omitempty"` // This flag specifies the default subnet size of global scope networks by giving // the length of the subnet masks for every such network SubnetSize uint32 `protobuf:"varint,12,opt,name=subnetSize,proto3" json:"subnetSize,omitempty"` @@ -310,72 +543,212 @@ type Cluster struct { VXLANUDPPort uint32 `protobuf:"varint,13,opt,name=VXLANUDPPort,proto3" json:"VXLANUDPPort,omitempty"` } -func (m *Cluster) Reset() { *m = Cluster{} } -func (*Cluster) ProtoMessage() {} -func (*Cluster) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{7} } +func (m *Cluster) Reset() { *m = Cluster{} } +func (*Cluster) ProtoMessage() {} +func (*Cluster) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{7} +} +func (m *Cluster) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Cluster.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Cluster) XXX_Merge(src proto.Message) { + xxx_messageInfo_Cluster.Merge(m, src) +} +func (m *Cluster) XXX_Size() int { + return m.Size() +} +func (m *Cluster) XXX_DiscardUnknown() { + xxx_messageInfo_Cluster.DiscardUnknown(m) +} + +var xxx_messageInfo_Cluster proto.InternalMessageInfo // Secret represents a secret that should be passed to a container or a node, // and is immutable. type Secret struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` + Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` // Spec contains the actual secret data, as well as any context around the // secret data that the user provides. - Spec SecretSpec `protobuf:"bytes,3,opt,name=spec" json:"spec"` + Spec SecretSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"` // Whether the secret is an internal secret (not set by a user) or not. Internal bool `protobuf:"varint,4,opt,name=internal,proto3" json:"internal,omitempty"` } -func (m *Secret) Reset() { *m = Secret{} } -func (*Secret) ProtoMessage() {} -func (*Secret) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{8} } +func (m *Secret) Reset() { *m = Secret{} } +func (*Secret) ProtoMessage() {} +func (*Secret) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{8} +} +func (m *Secret) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Secret.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Secret) XXX_Merge(src proto.Message) { + xxx_messageInfo_Secret.Merge(m, src) +} +func (m *Secret) XXX_Size() int { + return m.Size() +} +func (m *Secret) XXX_DiscardUnknown() { + xxx_messageInfo_Secret.DiscardUnknown(m) +} + +var xxx_messageInfo_Secret proto.InternalMessageInfo // Config represents a set of configuration files that should be passed to a // container. type Config struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` + Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` // Spec contains the actual config data, as well as any context around the // config data that the user provides. - Spec ConfigSpec `protobuf:"bytes,3,opt,name=spec" json:"spec"` + Spec ConfigSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec"` } -func (m *Config) Reset() { *m = Config{} } -func (*Config) ProtoMessage() {} -func (*Config) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{9} } +func (m *Config) Reset() { *m = Config{} } +func (*Config) ProtoMessage() {} +func (*Config) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{9} +} +func (m *Config) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Config.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Config) XXX_Merge(src proto.Message) { + xxx_messageInfo_Config.Merge(m, src) +} +func (m *Config) XXX_Size() int { + return m.Size() +} +func (m *Config) XXX_DiscardUnknown() { + xxx_messageInfo_Config.DiscardUnknown(m) +} + +var xxx_messageInfo_Config proto.InternalMessageInfo // Resource is a top-level object with externally defined content and indexing. // SwarmKit can serve as a store for these objects without understanding their // meanings. type Resource struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` - Annotations Annotations `protobuf:"bytes,3,opt,name=annotations" json:"annotations"` + Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` + Annotations Annotations `protobuf:"bytes,3,opt,name=annotations,proto3" json:"annotations"` // Kind identifies this class of object. It is essentially a namespace // to keep IDs or indices from colliding between unrelated Resource // objects. This must correspond to the name of an Extension. Kind string `protobuf:"bytes,4,opt,name=kind,proto3" json:"kind,omitempty"` // Payload bytes. This data is not interpreted in any way by SwarmKit. // By convention, it should be a marshalled protocol buffers message. - Payload *google_protobuf4.Any `protobuf:"bytes,5,opt,name=payload" json:"payload,omitempty"` + Payload *types.Any `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` } -func (m *Resource) Reset() { *m = Resource{} } -func (*Resource) ProtoMessage() {} -func (*Resource) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{10} } +func (m *Resource) Reset() { *m = Resource{} } +func (*Resource) ProtoMessage() {} +func (*Resource) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{10} +} +func (m *Resource) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Resource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Resource.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Resource) XXX_Merge(src proto.Message) { + xxx_messageInfo_Resource.Merge(m, src) +} +func (m *Resource) XXX_Size() int { + return m.Size() +} +func (m *Resource) XXX_DiscardUnknown() { + xxx_messageInfo_Resource.DiscardUnknown(m) +} + +var xxx_messageInfo_Resource proto.InternalMessageInfo // Extension declares a type of "resource" object. This message provides some // metadata about the objects. type Extension struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - Meta Meta `protobuf:"bytes,2,opt,name=meta" json:"meta"` - Annotations Annotations `protobuf:"bytes,3,opt,name=annotations" json:"annotations"` + Meta Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta"` + Annotations Annotations `protobuf:"bytes,3,opt,name=annotations,proto3" json:"annotations"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` } -func (m *Extension) Reset() { *m = Extension{} } -func (*Extension) ProtoMessage() {} -func (*Extension) Descriptor() ([]byte, []int) { return fileDescriptorObjects, []int{11} } +func (m *Extension) Reset() { *m = Extension{} } +func (*Extension) ProtoMessage() {} +func (*Extension) Descriptor() ([]byte, []int) { + return fileDescriptor_6218a23329ef342d, []int{11} +} +func (m *Extension) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Extension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Extension.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Extension) XXX_Merge(src proto.Message) { + xxx_messageInfo_Extension.Merge(m, src) +} +func (m *Extension) XXX_Size() int { + return m.Size() +} +func (m *Extension) XXX_DiscardUnknown() { + xxx_messageInfo_Extension.DiscardUnknown(m) +} + +var xxx_messageInfo_Extension proto.InternalMessageInfo func init() { proto.RegisterType((*Meta)(nil), "docker.swarmkit.v1.Meta") @@ -385,14 +758,131 @@ func init() { proto.RegisterType((*Endpoint_VirtualIP)(nil), "docker.swarmkit.v1.Endpoint.VirtualIP") proto.RegisterType((*Task)(nil), "docker.swarmkit.v1.Task") proto.RegisterType((*NetworkAttachment)(nil), "docker.swarmkit.v1.NetworkAttachment") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.NetworkAttachment.DriverAttachmentOptsEntry") proto.RegisterType((*Network)(nil), "docker.swarmkit.v1.Network") proto.RegisterType((*Cluster)(nil), "docker.swarmkit.v1.Cluster") + proto.RegisterMapType((map[string]*BlacklistedCertificate)(nil), "docker.swarmkit.v1.Cluster.BlacklistedCertificatesEntry") proto.RegisterType((*Secret)(nil), "docker.swarmkit.v1.Secret") proto.RegisterType((*Config)(nil), "docker.swarmkit.v1.Config") proto.RegisterType((*Resource)(nil), "docker.swarmkit.v1.Resource") proto.RegisterType((*Extension)(nil), "docker.swarmkit.v1.Extension") } +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/objects.proto", fileDescriptor_6218a23329ef342d) +} + +var fileDescriptor_6218a23329ef342d = []byte{ + // 1700 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x73, 0x1b, 0x49, + 0x15, 0xf7, 0xc8, 0x13, 0x49, 0xf3, 0xf4, 0x81, 0xe9, 0x35, 0x66, 0x62, 0x8c, 0x6c, 0xb4, 0x2c, + 0x95, 0xda, 0x4a, 0xc9, 0x4b, 0x58, 0xc0, 0x31, 0xbb, 0x6c, 0x24, 0xdb, 0x64, 0xc5, 0x6e, 0x36, + 0xae, 0xf6, 0x6e, 0x76, 0x6f, 0x43, 0x6b, 0xa6, 0xad, 0x4c, 0x34, 0x9a, 0x9e, 0x9a, 0x6e, 0x69, + 0x11, 0x27, 0xce, 0x39, 0x71, 0xcb, 0x8d, 0x03, 0xc5, 0x3f, 0xc1, 0x85, 0x03, 0x07, 0x2a, 0x1c, + 0xa8, 0xda, 0x13, 0x95, 0x93, 0x8b, 0x28, 0x7f, 0x05, 0x37, 0xaa, 0x7b, 0x7a, 0xa4, 0x71, 0x34, + 0xb6, 0x1c, 0x2a, 0x95, 0xe2, 0xa4, 0xfe, 0xf8, 0xfd, 0x5e, 0xbf, 0xf7, 0xe6, 0x7d, 0x74, 0x0b, + 0x6e, 0xf6, 0x7d, 0xf1, 0x70, 0xd4, 0x6b, 0xb9, 0x6c, 0xb8, 0xeb, 0x31, 0x77, 0x40, 0xe3, 0x5d, + 0xfe, 0x35, 0x89, 0x87, 0x03, 0x5f, 0xec, 0x92, 0xc8, 0xdf, 0x65, 0xbd, 0x47, 0xd4, 0x15, 0xbc, + 0x15, 0xc5, 0x4c, 0x30, 0x84, 0x12, 0x48, 0x2b, 0x85, 0xb4, 0xc6, 0x3f, 0xde, 0x7c, 0x77, 0x89, + 0x04, 0x31, 0x89, 0xa8, 0xe6, 0x2f, 0xc5, 0xf2, 0x88, 0xba, 0x29, 0x76, 0xbb, 0xcf, 0x58, 0x3f, + 0xa0, 0xbb, 0x6a,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 0x51, 0x94, 0xf7, 0x51, 0x3b, 0x3f, 0x7c, 0xfa, 0xbc, 0xb1, + 0xf2, 0xec, 0x79, 0x63, 0xe5, 0xf7, 0xd3, 0x86, 0xf1, 0x74, 0xda, 0x30, 0xbe, 0x99, 0x36, 0x8c, + 0x7f, 0x4f, 0x1b, 0xc6, 0x1f, 0x5e, 0x34, 0x56, 0xbe, 0x79, 0xd1, 0x58, 0x79, 0xf6, 0xa2, 0xb1, + 0xd2, 0x2b, 0x2a, 0x5f, 0xfd, 0xe4, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x9e, 0xda, 0xee, 0xd3, + 0x20, 0x15, 0x00, 0x00, +} + func (m *Meta) Copy() *Meta { if m == nil { return nil @@ -406,14 +896,14 @@ func (m *Meta) CopyFrom(src interface{}) { o := src.(*Meta) *m = *o - deepcopy.Copy(&m.Version, &o.Version) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Version, &o.Version) if o.CreatedAt != nil { - m.CreatedAt = &google_protobuf.Timestamp{} - deepcopy.Copy(m.CreatedAt, o.CreatedAt) + m.CreatedAt = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.CreatedAt, o.CreatedAt) } if o.UpdatedAt != nil { - m.UpdatedAt = &google_protobuf.Timestamp{} - deepcopy.Copy(m.UpdatedAt, o.UpdatedAt) + m.UpdatedAt = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.UpdatedAt, o.UpdatedAt) } } @@ -430,27 +920,27 @@ func (m *Node) CopyFrom(src interface{}) { o := src.(*Node) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) if o.Description != nil { m.Description = &NodeDescription{} - deepcopy.Copy(m.Description, o.Description) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Description, o.Description) } - deepcopy.Copy(&m.Status, &o.Status) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Status, &o.Status) if o.ManagerStatus != nil { m.ManagerStatus = &ManagerStatus{} - deepcopy.Copy(m.ManagerStatus, o.ManagerStatus) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ManagerStatus, o.ManagerStatus) } if o.Attachment != nil { m.Attachment = &NetworkAttachment{} - deepcopy.Copy(m.Attachment, o.Attachment) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Attachment, o.Attachment) } - deepcopy.Copy(&m.Certificate, &o.Certificate) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Certificate, &o.Certificate) if o.Attachments != nil { m.Attachments = make([]*NetworkAttachment, len(o.Attachments)) for i := range m.Attachments { m.Attachments[i] = &NetworkAttachment{} - deepcopy.Copy(m.Attachments[i], o.Attachments[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Attachments[i], o.Attachments[i]) } } @@ -469,27 +959,31 @@ func (m *Service) CopyFrom(src interface{}) { o := src.(*Service) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) if o.SpecVersion != nil { m.SpecVersion = &Version{} - deepcopy.Copy(m.SpecVersion, o.SpecVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.SpecVersion, o.SpecVersion) } if o.PreviousSpec != nil { m.PreviousSpec = &ServiceSpec{} - deepcopy.Copy(m.PreviousSpec, o.PreviousSpec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.PreviousSpec, o.PreviousSpec) } if o.PreviousSpecVersion != nil { m.PreviousSpecVersion = &Version{} - deepcopy.Copy(m.PreviousSpecVersion, o.PreviousSpecVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.PreviousSpecVersion, o.PreviousSpecVersion) } if o.Endpoint != nil { m.Endpoint = &Endpoint{} - deepcopy.Copy(m.Endpoint, o.Endpoint) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Endpoint, o.Endpoint) } if o.UpdateStatus != nil { m.UpdateStatus = &UpdateStatus{} - deepcopy.Copy(m.UpdateStatus, o.UpdateStatus) + github_com_docker_swarmkit_api_deepcopy.Copy(m.UpdateStatus, o.UpdateStatus) + } + if o.JobStatus != nil { + m.JobStatus = &JobStatus{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.JobStatus, o.JobStatus) } } @@ -508,13 +1002,13 @@ func (m *Endpoint) CopyFrom(src interface{}) { *m = *o if o.Spec != nil { m.Spec = &EndpointSpec{} - deepcopy.Copy(m.Spec, o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Spec, o.Spec) } if o.Ports != nil { m.Ports = make([]*PortConfig, len(o.Ports)) for i := range m.Ports { m.Ports[i] = &PortConfig{} - deepcopy.Copy(m.Ports[i], o.Ports[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Ports[i], o.Ports[i]) } } @@ -522,7 +1016,7 @@ func (m *Endpoint) CopyFrom(src interface{}) { m.VirtualIPs = make([]*Endpoint_VirtualIP, len(o.VirtualIPs)) for i := range m.VirtualIPs { m.VirtualIPs[i] = &Endpoint_VirtualIP{} - deepcopy.Copy(m.VirtualIPs[i], o.VirtualIPs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.VirtualIPs[i], o.VirtualIPs[i]) } } @@ -556,39 +1050,43 @@ func (m *Task) CopyFrom(src interface{}) { o := src.(*Task) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) if o.SpecVersion != nil { m.SpecVersion = &Version{} - deepcopy.Copy(m.SpecVersion, o.SpecVersion) + github_com_docker_swarmkit_api_deepcopy.Copy(m.SpecVersion, o.SpecVersion) } - deepcopy.Copy(&m.Annotations, &o.Annotations) - deepcopy.Copy(&m.ServiceAnnotations, &o.ServiceAnnotations) - deepcopy.Copy(&m.Status, &o.Status) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.ServiceAnnotations, &o.ServiceAnnotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Status, &o.Status) if o.Networks != nil { m.Networks = make([]*NetworkAttachment, len(o.Networks)) for i := range m.Networks { m.Networks[i] = &NetworkAttachment{} - deepcopy.Copy(m.Networks[i], o.Networks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Networks[i], o.Networks[i]) } } if o.Endpoint != nil { m.Endpoint = &Endpoint{} - deepcopy.Copy(m.Endpoint, o.Endpoint) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Endpoint, o.Endpoint) } if o.LogDriver != nil { m.LogDriver = &Driver{} - deepcopy.Copy(m.LogDriver, o.LogDriver) + github_com_docker_swarmkit_api_deepcopy.Copy(m.LogDriver, o.LogDriver) } if o.AssignedGenericResources != nil { m.AssignedGenericResources = make([]*GenericResource, len(o.AssignedGenericResources)) for i := range m.AssignedGenericResources { m.AssignedGenericResources[i] = &GenericResource{} - deepcopy.Copy(m.AssignedGenericResources[i], o.AssignedGenericResources[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.AssignedGenericResources[i], o.AssignedGenericResources[i]) } } + if o.JobIteration != nil { + m.JobIteration = &Version{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.JobIteration, o.JobIteration) + } } func (m *NetworkAttachment) Copy() *NetworkAttachment { @@ -606,7 +1104,7 @@ func (m *NetworkAttachment) CopyFrom(src interface{}) { *m = *o if o.Network != nil { m.Network = &Network{} - deepcopy.Copy(m.Network, o.Network) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Network, o.Network) } if o.Addresses != nil { m.Addresses = make([]string, len(o.Addresses)) @@ -640,15 +1138,15 @@ func (m *Network) CopyFrom(src interface{}) { o := src.(*Network) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) if o.DriverState != nil { m.DriverState = &Driver{} - deepcopy.Copy(m.DriverState, o.DriverState) + github_com_docker_swarmkit_api_deepcopy.Copy(m.DriverState, o.DriverState) } if o.IPAM != nil { m.IPAM = &IPAMOptions{} - deepcopy.Copy(m.IPAM, o.IPAM) + github_com_docker_swarmkit_api_deepcopy.Copy(m.IPAM, o.IPAM) } } @@ -665,14 +1163,14 @@ func (m *Cluster) CopyFrom(src interface{}) { o := src.(*Cluster) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) - deepcopy.Copy(&m.RootCA, &o.RootCA) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.RootCA, &o.RootCA) if o.NetworkBootstrapKeys != nil { m.NetworkBootstrapKeys = make([]*EncryptionKey, len(o.NetworkBootstrapKeys)) for i := range m.NetworkBootstrapKeys { m.NetworkBootstrapKeys[i] = &EncryptionKey{} - deepcopy.Copy(m.NetworkBootstrapKeys[i], o.NetworkBootstrapKeys[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.NetworkBootstrapKeys[i], o.NetworkBootstrapKeys[i]) } } @@ -680,7 +1178,7 @@ func (m *Cluster) CopyFrom(src interface{}) { m.BlacklistedCertificates = make(map[string]*BlacklistedCertificate, len(o.BlacklistedCertificates)) for k, v := range o.BlacklistedCertificates { m.BlacklistedCertificates[k] = &BlacklistedCertificate{} - deepcopy.Copy(m.BlacklistedCertificates[k], v) + github_com_docker_swarmkit_api_deepcopy.Copy(m.BlacklistedCertificates[k], v) } } @@ -688,7 +1186,7 @@ func (m *Cluster) CopyFrom(src interface{}) { m.UnlockKeys = make([]*EncryptionKey, len(o.UnlockKeys)) for i := range m.UnlockKeys { m.UnlockKeys[i] = &EncryptionKey{} - deepcopy.Copy(m.UnlockKeys[i], o.UnlockKeys[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.UnlockKeys[i], o.UnlockKeys[i]) } } @@ -712,8 +1210,8 @@ func (m *Secret) CopyFrom(src interface{}) { o := src.(*Secret) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) } func (m *Config) Copy() *Config { @@ -729,8 +1227,8 @@ func (m *Config) CopyFrom(src interface{}) { o := src.(*Config) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Spec, &o.Spec) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Spec, &o.Spec) } func (m *Resource) Copy() *Resource { @@ -746,11 +1244,11 @@ func (m *Resource) CopyFrom(src interface{}) { o := src.(*Resource) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) if o.Payload != nil { - m.Payload = &google_protobuf4.Any{} - deepcopy.Copy(m.Payload, o.Payload) + m.Payload = &types.Any{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Payload, o.Payload) } } @@ -767,8 +1265,8 @@ func (m *Extension) CopyFrom(src interface{}) { o := src.(*Extension) *m = *o - deepcopy.Copy(&m.Meta, &o.Meta) - deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Meta, &o.Meta) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) } func (m *Meta) Marshal() (dAtA []byte, err error) { @@ -1022,6 +1520,16 @@ func (m *Service) MarshalTo(dAtA []byte) (int, error) { } i += n17 } + if m.JobStatus != nil { + dAtA[i] = 0x62 + i++ + i = encodeVarintObjects(dAtA, i, uint64(m.JobStatus.Size())) + n18, err := m.JobStatus.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n18 + } return i, nil } @@ -1044,11 +1552,11 @@ func (m *Endpoint) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintObjects(dAtA, i, uint64(m.Spec.Size())) - n18, err := m.Spec.MarshalTo(dAtA[i:]) + n19, err := m.Spec.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n18 + i += n19 } if len(m.Ports) > 0 { for _, msg := range m.Ports { @@ -1131,19 +1639,19 @@ func (m *Task) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintObjects(dAtA, i, uint64(m.Meta.Size())) - n19, err := m.Meta.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n19 - dAtA[i] = 0x1a - i++ - i = encodeVarintObjects(dAtA, i, uint64(m.Spec.Size())) - n20, err := m.Spec.MarshalTo(dAtA[i:]) + n20, err := m.Meta.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n20 + dAtA[i] = 0x1a + i++ + i = encodeVarintObjects(dAtA, i, uint64(m.Spec.Size())) + n21, err := m.Spec.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n21 if len(m.ServiceID) > 0 { dAtA[i] = 0x22 i++ @@ -1164,27 +1672,27 @@ func (m *Task) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x3a i++ i = encodeVarintObjects(dAtA, i, uint64(m.Annotations.Size())) - n21, err := m.Annotations.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n21 - dAtA[i] = 0x42 - i++ - i = encodeVarintObjects(dAtA, i, uint64(m.ServiceAnnotations.Size())) - n22, err := m.ServiceAnnotations.MarshalTo(dAtA[i:]) + n22, err := m.Annotations.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n22 - dAtA[i] = 0x4a + dAtA[i] = 0x42 i++ - i = encodeVarintObjects(dAtA, i, uint64(m.Status.Size())) - n23, err := m.Status.MarshalTo(dAtA[i:]) + i = encodeVarintObjects(dAtA, i, uint64(m.ServiceAnnotations.Size())) + n23, err := m.ServiceAnnotations.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n23 + dAtA[i] = 0x4a + i++ + i = encodeVarintObjects(dAtA, i, uint64(m.Status.Size())) + n24, err := m.Status.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n24 if m.DesiredState != 0 { dAtA[i] = 0x50 i++ @@ -1206,32 +1714,32 @@ func (m *Task) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x62 i++ i = encodeVarintObjects(dAtA, i, uint64(m.Endpoint.Size())) - n24, err := m.Endpoint.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n24 - } - if m.LogDriver != nil { - dAtA[i] = 0x6a - i++ - i = encodeVarintObjects(dAtA, i, uint64(m.LogDriver.Size())) - n25, err := m.LogDriver.MarshalTo(dAtA[i:]) + n25, err := m.Endpoint.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n25 } - if m.SpecVersion != nil { - dAtA[i] = 0x72 + if m.LogDriver != nil { + dAtA[i] = 0x6a i++ - i = encodeVarintObjects(dAtA, i, uint64(m.SpecVersion.Size())) - n26, err := m.SpecVersion.MarshalTo(dAtA[i:]) + i = encodeVarintObjects(dAtA, i, uint64(m.LogDriver.Size())) + n26, err := m.LogDriver.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n26 } + if m.SpecVersion != nil { + dAtA[i] = 0x72 + i++ + i = encodeVarintObjects(dAtA, i, uint64(m.SpecVersion.Size())) + n27, err := m.SpecVersion.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n27 + } if len(m.AssignedGenericResources) > 0 { for _, msg := range m.AssignedGenericResources { dAtA[i] = 0x7a @@ -1244,6 +1752,18 @@ func (m *Task) MarshalTo(dAtA []byte) (int, error) { i += n } } + if m.JobIteration != nil { + dAtA[i] = 0x82 + i++ + dAtA[i] = 0x1 + i++ + i = encodeVarintObjects(dAtA, i, uint64(m.JobIteration.Size())) + n28, err := m.JobIteration.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n28 + } return i, nil } @@ -1266,11 +1786,11 @@ func (m *NetworkAttachment) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintObjects(dAtA, i, uint64(m.Network.Size())) - n27, err := m.Network.MarshalTo(dAtA[i:]) + n29, err := m.Network.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n27 + i += n29 } if len(m.Addresses) > 0 { for _, s := range m.Addresses { @@ -1346,38 +1866,38 @@ func (m *Network) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintObjects(dAtA, i, uint64(m.Meta.Size())) - n28, err := m.Meta.MarshalTo(dAtA[i:]) + n30, err := m.Meta.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n28 + i += n30 dAtA[i] = 0x1a i++ i = encodeVarintObjects(dAtA, i, uint64(m.Spec.Size())) - n29, err := m.Spec.MarshalTo(dAtA[i:]) + n31, err := m.Spec.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n29 + i += n31 if m.DriverState != nil { dAtA[i] = 0x22 i++ i = encodeVarintObjects(dAtA, i, uint64(m.DriverState.Size())) - n30, err := m.DriverState.MarshalTo(dAtA[i:]) + n32, err := m.DriverState.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n30 + i += n32 } if m.IPAM != nil { dAtA[i] = 0x2a i++ i = encodeVarintObjects(dAtA, i, uint64(m.IPAM.Size())) - n31, err := m.IPAM.MarshalTo(dAtA[i:]) + n33, err := m.IPAM.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n31 + i += n33 } if m.PendingDelete { dAtA[i] = 0x30 @@ -1416,27 +1936,27 @@ func (m *Cluster) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintObjects(dAtA, i, uint64(m.Meta.Size())) - n32, err := m.Meta.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n32 - dAtA[i] = 0x1a - i++ - i = encodeVarintObjects(dAtA, i, uint64(m.Spec.Size())) - n33, err := m.Spec.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n33 - dAtA[i] = 0x22 - i++ - i = encodeVarintObjects(dAtA, i, uint64(m.RootCA.Size())) - n34, err := m.RootCA.MarshalTo(dAtA[i:]) + n34, err := m.Meta.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n34 + dAtA[i] = 0x1a + i++ + i = encodeVarintObjects(dAtA, i, uint64(m.Spec.Size())) + n35, err := m.Spec.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n35 + dAtA[i] = 0x22 + i++ + i = encodeVarintObjects(dAtA, i, uint64(m.RootCA.Size())) + n36, err := m.RootCA.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n36 if len(m.NetworkBootstrapKeys) > 0 { for _, msg := range m.NetworkBootstrapKeys { dAtA[i] = 0x2a @@ -1474,11 +1994,11 @@ func (m *Cluster) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintObjects(dAtA, i, uint64(v.Size())) - n35, err := v.MarshalTo(dAtA[i:]) + n37, err := v.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n35 + i += n37 } } } @@ -1556,19 +2076,19 @@ func (m *Secret) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintObjects(dAtA, i, uint64(m.Meta.Size())) - n36, err := m.Meta.MarshalTo(dAtA[i:]) + n38, err := m.Meta.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n36 + i += n38 dAtA[i] = 0x1a i++ i = encodeVarintObjects(dAtA, i, uint64(m.Spec.Size())) - n37, err := m.Spec.MarshalTo(dAtA[i:]) + n39, err := m.Spec.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n37 + i += n39 if m.Internal { dAtA[i] = 0x20 i++ @@ -1606,19 +2126,19 @@ func (m *Config) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintObjects(dAtA, i, uint64(m.Meta.Size())) - n38, err := m.Meta.MarshalTo(dAtA[i:]) + n40, err := m.Meta.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n38 + i += n40 dAtA[i] = 0x1a i++ i = encodeVarintObjects(dAtA, i, uint64(m.Spec.Size())) - n39, err := m.Spec.MarshalTo(dAtA[i:]) + n41, err := m.Spec.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n39 + i += n41 return i, nil } @@ -1646,19 +2166,19 @@ func (m *Resource) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintObjects(dAtA, i, uint64(m.Meta.Size())) - n40, err := m.Meta.MarshalTo(dAtA[i:]) + n42, err := m.Meta.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n40 + i += n42 dAtA[i] = 0x1a i++ i = encodeVarintObjects(dAtA, i, uint64(m.Annotations.Size())) - n41, err := m.Annotations.MarshalTo(dAtA[i:]) + n43, err := m.Annotations.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n41 + i += n43 if len(m.Kind) > 0 { dAtA[i] = 0x22 i++ @@ -1669,11 +2189,11 @@ func (m *Resource) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x2a i++ i = encodeVarintObjects(dAtA, i, uint64(m.Payload.Size())) - n42, err := m.Payload.MarshalTo(dAtA[i:]) + n44, err := m.Payload.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n42 + i += n44 } return i, nil } @@ -1702,19 +2222,19 @@ func (m *Extension) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintObjects(dAtA, i, uint64(m.Meta.Size())) - n43, err := m.Meta.MarshalTo(dAtA[i:]) + n45, err := m.Meta.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n43 + i += n45 dAtA[i] = 0x1a i++ i = encodeVarintObjects(dAtA, i, uint64(m.Annotations.Size())) - n44, err := m.Annotations.MarshalTo(dAtA[i:]) + n46, err := m.Annotations.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n44 + i += n46 if len(m.Description) > 0 { dAtA[i] = 0x22 i++ @@ -1733,8 +2253,10 @@ func encodeVarintObjects(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return offset + 1 } - func (m *Meta) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Version.Size() @@ -1751,6 +2273,9 @@ func (m *Meta) Size() (n int) { } func (m *Node) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -1793,6 +2318,9 @@ func (m *Node) Size() (n int) { } func (m *Service) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -1826,10 +2354,17 @@ func (m *Service) Size() (n int) { l = m.PreviousSpecVersion.Size() n += 1 + l + sovObjects(uint64(l)) } + if m.JobStatus != nil { + l = m.JobStatus.Size() + n += 1 + l + sovObjects(uint64(l)) + } return n } func (m *Endpoint) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Spec != nil { @@ -1852,6 +2387,9 @@ func (m *Endpoint) Size() (n int) { } func (m *Endpoint_VirtualIP) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NetworkID) @@ -1866,6 +2404,9 @@ func (m *Endpoint_VirtualIP) Size() (n int) { } func (m *Task) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -1920,10 +2461,17 @@ func (m *Task) Size() (n int) { n += 1 + l + sovObjects(uint64(l)) } } + if m.JobIteration != nil { + l = m.JobIteration.Size() + n += 2 + l + sovObjects(uint64(l)) + } return n } func (m *NetworkAttachment) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Network != nil { @@ -1954,6 +2502,9 @@ func (m *NetworkAttachment) Size() (n int) { } func (m *Network) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -1979,6 +2530,9 @@ func (m *Network) Size() (n int) { } func (m *Cluster) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -2038,6 +2592,9 @@ func (m *Cluster) Size() (n int) { } func (m *Secret) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -2055,6 +2612,9 @@ func (m *Secret) Size() (n int) { } func (m *Config) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -2069,6 +2629,9 @@ func (m *Config) Size() (n int) { } func (m *Resource) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -2091,6 +2654,9 @@ func (m *Resource) Size() (n int) { } func (m *Extension) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -2133,7 +2699,7 @@ type EventCreateNode struct { Checks []NodeCheckFunc } -func (e EventCreateNode) Matches(apiEvent go_events.Event) bool { +func (e EventCreateNode) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateNode) if !ok { return false @@ -2161,7 +2727,7 @@ type EventUpdateNode struct { Checks []NodeCheckFunc } -func (e EventUpdateNode) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateNode) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateNode) if !ok { return false @@ -2188,7 +2754,7 @@ type EventDeleteNode struct { Checks []NodeCheckFunc } -func (e EventDeleteNode) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteNode) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteNode) if !ok { return false @@ -2409,7 +2975,7 @@ type EventCreateService struct { Checks []ServiceCheckFunc } -func (e EventCreateService) Matches(apiEvent go_events.Event) bool { +func (e EventCreateService) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateService) if !ok { return false @@ -2437,7 +3003,7 @@ type EventUpdateService struct { Checks []ServiceCheckFunc } -func (e EventUpdateService) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateService) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateService) if !ok { return false @@ -2464,7 +3030,7 @@ type EventDeleteService struct { Checks []ServiceCheckFunc } -func (e EventDeleteService) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteService) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteService) if !ok { return false @@ -2655,7 +3221,7 @@ type EventCreateTask struct { Checks []TaskCheckFunc } -func (e EventCreateTask) Matches(apiEvent go_events.Event) bool { +func (e EventCreateTask) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateTask) if !ok { return false @@ -2683,7 +3249,7 @@ type EventUpdateTask struct { Checks []TaskCheckFunc } -func (e EventUpdateTask) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateTask) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateTask) if !ok { return false @@ -2710,7 +3276,7 @@ type EventDeleteTask struct { Checks []TaskCheckFunc } -func (e EventDeleteTask) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteTask) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteTask) if !ok { return false @@ -2944,7 +3510,7 @@ type EventCreateNetwork struct { Checks []NetworkCheckFunc } -func (e EventCreateNetwork) Matches(apiEvent go_events.Event) bool { +func (e EventCreateNetwork) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateNetwork) if !ok { return false @@ -2972,7 +3538,7 @@ type EventUpdateNetwork struct { Checks []NetworkCheckFunc } -func (e EventUpdateNetwork) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateNetwork) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateNetwork) if !ok { return false @@ -2999,7 +3565,7 @@ type EventDeleteNetwork struct { Checks []NetworkCheckFunc } -func (e EventDeleteNetwork) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteNetwork) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteNetwork) if !ok { return false @@ -3190,7 +3756,7 @@ type EventCreateCluster struct { Checks []ClusterCheckFunc } -func (e EventCreateCluster) Matches(apiEvent go_events.Event) bool { +func (e EventCreateCluster) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateCluster) if !ok { return false @@ -3218,7 +3784,7 @@ type EventUpdateCluster struct { Checks []ClusterCheckFunc } -func (e EventUpdateCluster) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateCluster) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateCluster) if !ok { return false @@ -3245,7 +3811,7 @@ type EventDeleteCluster struct { Checks []ClusterCheckFunc } -func (e EventDeleteCluster) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteCluster) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteCluster) if !ok { return false @@ -3436,7 +4002,7 @@ type EventCreateSecret struct { Checks []SecretCheckFunc } -func (e EventCreateSecret) Matches(apiEvent go_events.Event) bool { +func (e EventCreateSecret) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateSecret) if !ok { return false @@ -3464,7 +4030,7 @@ type EventUpdateSecret struct { Checks []SecretCheckFunc } -func (e EventUpdateSecret) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateSecret) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateSecret) if !ok { return false @@ -3491,7 +4057,7 @@ type EventDeleteSecret struct { Checks []SecretCheckFunc } -func (e EventDeleteSecret) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteSecret) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteSecret) if !ok { return false @@ -3682,7 +4248,7 @@ type EventCreateConfig struct { Checks []ConfigCheckFunc } -func (e EventCreateConfig) Matches(apiEvent go_events.Event) bool { +func (e EventCreateConfig) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateConfig) if !ok { return false @@ -3710,7 +4276,7 @@ type EventUpdateConfig struct { Checks []ConfigCheckFunc } -func (e EventUpdateConfig) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateConfig) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateConfig) if !ok { return false @@ -3737,7 +4303,7 @@ type EventDeleteConfig struct { Checks []ConfigCheckFunc } -func (e EventDeleteConfig) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteConfig) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteConfig) if !ok { return false @@ -3928,7 +4494,7 @@ type EventCreateResource struct { Checks []ResourceCheckFunc } -func (e EventCreateResource) Matches(apiEvent go_events.Event) bool { +func (e EventCreateResource) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateResource) if !ok { return false @@ -3956,7 +4522,7 @@ type EventUpdateResource struct { Checks []ResourceCheckFunc } -func (e EventUpdateResource) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateResource) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateResource) if !ok { return false @@ -3983,7 +4549,7 @@ type EventDeleteResource struct { Checks []ResourceCheckFunc } -func (e EventDeleteResource) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteResource) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteResource) if !ok { return false @@ -4180,7 +4746,7 @@ type EventCreateExtension struct { Checks []ExtensionCheckFunc } -func (e EventCreateExtension) Matches(apiEvent go_events.Event) bool { +func (e EventCreateExtension) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventCreateExtension) if !ok { return false @@ -4208,7 +4774,7 @@ type EventUpdateExtension struct { Checks []ExtensionCheckFunc } -func (e EventUpdateExtension) Matches(apiEvent go_events.Event) bool { +func (e EventUpdateExtension) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventUpdateExtension) if !ok { return false @@ -4235,7 +4801,7 @@ type EventDeleteExtension struct { Checks []ExtensionCheckFunc } -func (e EventDeleteExtension) Matches(apiEvent go_events.Event) bool { +func (e EventDeleteExtension) Matches(apiEvent github_com_docker_go_events.Event) bool { typedEvent, ok := apiEvent.(EventDeleteExtension) if !ok { return false @@ -4764,8 +5330,8 @@ func (this *Meta) String() string { } s := strings.Join([]string{`&Meta{`, `Version:` + strings.Replace(strings.Replace(this.Version.String(), "Version", "Version", 1), `&`, ``, 1) + `,`, - `CreatedAt:` + strings.Replace(fmt.Sprintf("%v", this.CreatedAt), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, - `UpdatedAt:` + strings.Replace(fmt.Sprintf("%v", this.UpdatedAt), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `CreatedAt:` + strings.Replace(fmt.Sprintf("%v", this.CreatedAt), "Timestamp", "types.Timestamp", 1) + `,`, + `UpdatedAt:` + strings.Replace(fmt.Sprintf("%v", this.UpdatedAt), "Timestamp", "types.Timestamp", 1) + `,`, `}`, }, "") return s @@ -4804,6 +5370,7 @@ func (this *Service) String() string { `PendingDelete:` + fmt.Sprintf("%v", this.PendingDelete) + `,`, `SpecVersion:` + strings.Replace(fmt.Sprintf("%v", this.SpecVersion), "Version", "Version", 1) + `,`, `PreviousSpecVersion:` + strings.Replace(fmt.Sprintf("%v", this.PreviousSpecVersion), "Version", "Version", 1) + `,`, + `JobStatus:` + strings.Replace(fmt.Sprintf("%v", this.JobStatus), "JobStatus", "JobStatus", 1) + `,`, `}`, }, "") return s @@ -4851,6 +5418,7 @@ func (this *Task) String() string { `LogDriver:` + strings.Replace(fmt.Sprintf("%v", this.LogDriver), "Driver", "Driver", 1) + `,`, `SpecVersion:` + strings.Replace(fmt.Sprintf("%v", this.SpecVersion), "Version", "Version", 1) + `,`, `AssignedGenericResources:` + strings.Replace(fmt.Sprintf("%v", this.AssignedGenericResources), "GenericResource", "GenericResource", 1) + `,`, + `JobIteration:` + strings.Replace(fmt.Sprintf("%v", this.JobIteration), "Version", "Version", 1) + `,`, `}`, }, "") return s @@ -4863,7 +5431,7 @@ func (this *NetworkAttachment) String() string { for k, _ := range this.DriverAttachmentOpts { keysForDriverAttachmentOpts = append(keysForDriverAttachmentOpts, k) } - sortkeys.Strings(keysForDriverAttachmentOpts) + github_com_gogo_protobuf_sortkeys.Strings(keysForDriverAttachmentOpts) mapStringForDriverAttachmentOpts := "map[string]string{" for _, k := range keysForDriverAttachmentOpts { mapStringForDriverAttachmentOpts += fmt.Sprintf("%v: %v,", k, this.DriverAttachmentOpts[k]) @@ -4901,7 +5469,7 @@ func (this *Cluster) String() string { for k, _ := range this.BlacklistedCertificates { keysForBlacklistedCertificates = append(keysForBlacklistedCertificates, k) } - sortkeys.Strings(keysForBlacklistedCertificates) + github_com_gogo_protobuf_sortkeys.Strings(keysForBlacklistedCertificates) mapStringForBlacklistedCertificates := "map[string]*BlacklistedCertificate{" for _, k := range keysForBlacklistedCertificates { mapStringForBlacklistedCertificates += fmt.Sprintf("%v: %v,", k, this.BlacklistedCertificates[k]) @@ -4958,7 +5526,7 @@ func (this *Resource) String() string { `Meta:` + strings.Replace(strings.Replace(this.Meta.String(), "Meta", "Meta", 1), `&`, ``, 1) + `,`, `Annotations:` + strings.Replace(strings.Replace(this.Annotations.String(), "Annotations", "Annotations", 1), `&`, ``, 1) + `,`, `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, - `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "google_protobuf4.Any", 1) + `,`, + `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "types.Any", 1) + `,`, `}`, }, "") return s @@ -4999,7 +5567,7 @@ func (m *Meta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5027,7 +5595,7 @@ func (m *Meta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5036,6 +5604,9 @@ func (m *Meta) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5057,7 +5628,7 @@ func (m *Meta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5066,11 +5637,14 @@ func (m *Meta) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } if m.CreatedAt == nil { - m.CreatedAt = &google_protobuf.Timestamp{} + m.CreatedAt = &types.Timestamp{} } if err := m.CreatedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -5090,7 +5664,7 @@ func (m *Meta) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5099,11 +5673,14 @@ func (m *Meta) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } if m.UpdatedAt == nil { - m.UpdatedAt = &google_protobuf.Timestamp{} + m.UpdatedAt = &types.Timestamp{} } if err := m.UpdatedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -5118,6 +5695,9 @@ func (m *Meta) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5145,7 +5725,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5173,7 +5753,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5183,6 +5763,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5202,7 +5785,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5211,6 +5794,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5232,7 +5818,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5241,6 +5827,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5262,7 +5851,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5271,6 +5860,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5295,7 +5887,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5304,6 +5896,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5325,7 +5920,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5334,6 +5929,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5358,7 +5956,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5367,6 +5965,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5391,7 +5992,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5400,6 +6001,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5421,7 +6025,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Role |= (NodeRole(b) & 0x7F) << shift + m.Role |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -5440,7 +6044,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5449,6 +6053,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5471,7 +6078,7 @@ func (m *Node) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.VXLANUDPPort |= (uint32(b) & 0x7F) << shift + m.VXLANUDPPort |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -5485,6 +6092,9 @@ func (m *Node) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5512,7 +6122,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5540,7 +6150,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5550,6 +6160,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5569,7 +6182,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5578,6 +6191,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5599,7 +6215,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5608,6 +6224,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5629,7 +6248,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5638,6 +6257,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5662,7 +6284,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5671,6 +6293,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5695,7 +6320,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5704,6 +6329,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5728,7 +6356,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5748,7 +6376,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5757,6 +6385,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5781,7 +6412,7 @@ func (m *Service) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5790,6 +6421,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5800,6 +6434,42 @@ func (m *Service) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 12: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field JobStatus", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowObjects + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthObjects + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.JobStatus == nil { + m.JobStatus = &JobStatus{} + } + if err := m.JobStatus.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipObjects(dAtA[iNdEx:]) @@ -5809,6 +6479,9 @@ func (m *Service) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5836,7 +6509,7 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5864,7 +6537,7 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5873,6 +6546,9 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5897,7 +6573,7 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5906,6 +6582,9 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5928,7 +6607,7 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5937,6 +6616,9 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5954,6 +6636,9 @@ func (m *Endpoint) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5981,7 +6666,7 @@ func (m *Endpoint_VirtualIP) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6009,7 +6694,7 @@ func (m *Endpoint_VirtualIP) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6019,6 +6704,9 @@ func (m *Endpoint_VirtualIP) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6038,7 +6726,7 @@ func (m *Endpoint_VirtualIP) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6048,6 +6736,9 @@ func (m *Endpoint_VirtualIP) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6062,6 +6753,9 @@ func (m *Endpoint_VirtualIP) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6089,7 +6783,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6117,7 +6811,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6127,6 +6821,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6146,7 +6843,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6155,6 +6852,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6176,7 +6876,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6185,6 +6885,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6206,7 +6909,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6216,6 +6919,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6235,7 +6941,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Slot |= (uint64(b) & 0x7F) << shift + m.Slot |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6254,7 +6960,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6264,6 +6970,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6283,7 +6992,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6292,6 +7001,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6313,7 +7025,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6322,6 +7034,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6343,7 +7058,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6352,6 +7067,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6373,7 +7091,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.DesiredState |= (TaskState(b) & 0x7F) << shift + m.DesiredState |= TaskState(b&0x7F) << shift if b < 0x80 { break } @@ -6392,7 +7110,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6401,6 +7119,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6423,7 +7144,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6432,6 +7153,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6456,7 +7180,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6465,6 +7189,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6489,7 +7216,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6498,6 +7225,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6522,7 +7252,7 @@ func (m *Task) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6531,6 +7261,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6539,6 +7272,42 @@ func (m *Task) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 16: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field JobIteration", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowObjects + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthObjects + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.JobIteration == nil { + m.JobIteration = &Version{} + } + if err := m.JobIteration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipObjects(dAtA[iNdEx:]) @@ -6548,6 +7317,9 @@ func (m *Task) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6575,7 +7347,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6603,7 +7375,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6612,6 +7384,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6636,7 +7411,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6646,6 +7421,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6665,7 +7443,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6675,6 +7453,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6694,7 +7475,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6703,6 +7484,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6723,7 +7507,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6740,7 +7524,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6750,6 +7534,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthObjects + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -6766,7 +7553,7 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6776,6 +7563,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthObjects + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -6807,6 +7597,9 @@ func (m *NetworkAttachment) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6834,7 +7627,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6862,7 +7655,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6872,6 +7665,9 @@ func (m *Network) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6891,7 +7687,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6900,6 +7696,9 @@ func (m *Network) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6921,7 +7720,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6930,6 +7729,9 @@ func (m *Network) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6951,7 +7753,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6960,6 +7762,9 @@ func (m *Network) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6984,7 +7789,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6993,6 +7798,9 @@ func (m *Network) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7017,7 +7825,7 @@ func (m *Network) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7032,6 +7840,9 @@ func (m *Network) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7059,7 +7870,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7087,7 +7898,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7097,6 +7908,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7116,7 +7930,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7125,6 +7939,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7146,7 +7963,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7155,6 +7972,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7176,7 +7996,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7185,6 +8005,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7206,7 +8029,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7215,6 +8038,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7237,7 +8063,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.EncryptionKeyLamportClock |= (uint64(b) & 0x7F) << shift + m.EncryptionKeyLamportClock |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7256,7 +8082,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7265,6 +8091,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7285,7 +8114,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7302,7 +8131,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7312,6 +8141,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthObjects + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -7328,7 +8160,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - mapmsglen |= (int(b) & 0x7F) << shift + mapmsglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7337,7 +8169,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postmsgIndex := iNdEx + mapmsglen - if mapmsglen < 0 { + if postmsgIndex < 0 { return ErrInvalidLengthObjects } if postmsgIndex > l { @@ -7379,7 +8211,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7388,6 +8220,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7410,7 +8245,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7430,7 +8265,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7440,6 +8275,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7459,7 +8297,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SubnetSize |= (uint32(b) & 0x7F) << shift + m.SubnetSize |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -7478,7 +8316,7 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.VXLANUDPPort |= (uint32(b) & 0x7F) << shift + m.VXLANUDPPort |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -7492,6 +8330,9 @@ func (m *Cluster) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7519,7 +8360,7 @@ func (m *Secret) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7547,7 +8388,7 @@ func (m *Secret) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7557,6 +8398,9 @@ func (m *Secret) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7576,7 +8420,7 @@ func (m *Secret) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7585,6 +8429,9 @@ func (m *Secret) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7606,7 +8453,7 @@ func (m *Secret) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7615,6 +8462,9 @@ func (m *Secret) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7636,7 +8486,7 @@ func (m *Secret) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7651,6 +8501,9 @@ func (m *Secret) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7678,7 +8531,7 @@ func (m *Config) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7706,7 +8559,7 @@ func (m *Config) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7716,6 +8569,9 @@ func (m *Config) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7735,7 +8591,7 @@ func (m *Config) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7744,6 +8600,9 @@ func (m *Config) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7765,7 +8624,7 @@ func (m *Config) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7774,6 +8633,9 @@ func (m *Config) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7790,6 +8652,9 @@ func (m *Config) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -7817,7 +8682,7 @@ func (m *Resource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7845,7 +8710,7 @@ func (m *Resource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7855,6 +8720,9 @@ func (m *Resource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7874,7 +8742,7 @@ func (m *Resource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7883,6 +8751,9 @@ func (m *Resource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7904,7 +8775,7 @@ func (m *Resource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7913,6 +8784,9 @@ func (m *Resource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7934,7 +8808,7 @@ func (m *Resource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -7944,6 +8818,9 @@ func (m *Resource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -7963,7 +8840,7 @@ func (m *Resource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -7972,11 +8849,14 @@ func (m *Resource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Payload == nil { - m.Payload = &google_protobuf4.Any{} + m.Payload = &types.Any{} } if err := m.Payload.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -7991,6 +8871,9 @@ func (m *Resource) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8018,7 +8901,7 @@ func (m *Extension) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8046,7 +8929,7 @@ func (m *Extension) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8056,6 +8939,9 @@ func (m *Extension) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8075,7 +8961,7 @@ func (m *Extension) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -8084,6 +8970,9 @@ func (m *Extension) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8105,7 +8994,7 @@ func (m *Extension) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -8114,6 +9003,9 @@ func (m *Extension) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8135,7 +9027,7 @@ func (m *Extension) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8145,6 +9037,9 @@ func (m *Extension) Unmarshal(dAtA []byte) error { return ErrInvalidLengthObjects } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthObjects + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8159,6 +9054,9 @@ func (m *Extension) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthObjects } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthObjects + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8225,10 +9123,13 @@ func skipObjects(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthObjects } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthObjects + } return iNdEx, nil case 3: for { @@ -8257,6 +9158,9 @@ func skipObjects(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthObjects + } } return iNdEx, nil case 4: @@ -8275,112 +9179,3 @@ var ( ErrInvalidLengthObjects = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowObjects = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/objects.proto", fileDescriptorObjects) } - -var fileDescriptorObjects = []byte{ - // 1643 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x73, 0x23, 0x47, - 0x15, 0xdf, 0x91, 0x67, 0xf5, 0xf1, 0xf4, 0xc1, 0xd2, 0x31, 0x66, 0x56, 0x18, 0xc9, 0x28, 0x15, - 0x6a, 0x2b, 0xb5, 0x25, 0x87, 0x25, 0x80, 0xd7, 0x10, 0x12, 0xc9, 0x32, 0x1b, 0x55, 0xb2, 0x59, - 0x57, 0x3b, 0x71, 0x72, 0x1b, 0x5a, 0x33, 0x6d, 0xed, 0xa0, 0xd1, 0xf4, 0xd4, 0x74, 0x4b, 0x41, - 0x9c, 0x38, 0x9b, 0x3f, 0xc0, 0x37, 0x0e, 0xc0, 0x3f, 0xc1, 0x85, 0x03, 0x07, 0x6a, 0xb9, 0x71, - 0xa2, 0x38, 0xb9, 0x58, 0xfd, 0x17, 0xdc, 0xa8, 0xee, 0xe9, 0x91, 0xc6, 0xd6, 0xf8, 0x8b, 0xda, - 0x72, 0x71, 0x72, 0x7f, 0xfc, 0x7e, 0xaf, 0xdf, 0x7b, 0xf3, 0xbe, 0x2c, 0x78, 0x3c, 0xf4, 0xc4, - 0xcb, 0xc9, 0xa0, 0xed, 0xb0, 0xf1, 0xb6, 0xcb, 0x9c, 0x11, 0x8d, 0xb6, 0xf9, 0xd7, 0x24, 0x1a, - 0x8f, 0x3c, 0xb1, 0x4d, 0x42, 0x6f, 0x9b, 0x0d, 0x7e, 0x45, 0x1d, 0xc1, 0xdb, 0x61, 0xc4, 0x04, - 0x43, 0x28, 0x86, 0xb4, 0x13, 0x48, 0x7b, 0xfa, 0x83, 0xfa, 0xbb, 0xd7, 0x48, 0x10, 0xb3, 0x90, - 0x6a, 0xfe, 0xb5, 0x58, 0x1e, 0x52, 0x27, 0xc1, 0x36, 0x87, 0x8c, 0x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0xf0, 0xbf, 0x01, 0x00, - 0x00, 0xff, 0xff, 0xc3, 0x37, 0x09, 0x2f, 0x94, 0x14, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/objects.proto b/vendor/github.com/docker/swarmkit/api/objects.proto index b91c27ef2d..4baf58af0a 100644 --- a/vendor/github.com/docker/swarmkit/api/objects.proto +++ b/vendor/github.com/docker/swarmkit/api/objects.proto @@ -127,6 +127,10 @@ message Service { // progress. UpdateStatus update_status = 5; + // JobStatus contains the status of a Service that is in one of the Job + // modes. It is absent on Replicated and Global services. + JobStatus job_status = 12; + // PendingDelete indicates that this service's deletion has been requested. // Services, as well as all service-level resources, can only be deleted // after all of the service's containers have properly shut down. @@ -261,6 +265,10 @@ message Task { Driver log_driver = 13; repeated GenericResource assigned_generic_resources = 15; + + // JobIteration is the iteration number of the Job-mode Service that this + // task belongs to. + Version job_iteration = 16; } // NetworkAttachment specifies the network parameters of attachment to diff --git a/vendor/github.com/docker/swarmkit/api/raft.pb.go b/vendor/github.com/docker/swarmkit/api/raft.pb.go index a32a6001b9..16fb0b0c8e 100644 --- a/vendor/github.com/docker/swarmkit/api/raft.pb.go +++ b/vendor/github.com/docker/swarmkit/api/raft.pb.go @@ -3,36 +3,36 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import raftpb "github.com/coreos/etcd/raft/raftpb" - -// skipping weak import gogoproto "github.com/gogo/protobuf/gogoproto" -// skipping weak import docker_protobuf_plugin "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + raftpb "github.com/coreos/etcd/raft/raftpb" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + proto "github.com/gogo/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + // StoreActionKind defines the operation to take on the store for the target of // a storage action. type StoreActionKind int32 @@ -50,6 +50,7 @@ var StoreActionKind_name = map[int32]string{ 2: "STORE_ACTION_UPDATE", 3: "STORE_ACTION_REMOVE", } + var StoreActionKind_value = map[string]int32{ "UNKNOWN": 0, "STORE_ACTION_CREATE": 1, @@ -60,7 +61,10 @@ var StoreActionKind_value = map[string]int32{ func (x StoreActionKind) String() string { return proto.EnumName(StoreActionKind_name, int32(x)) } -func (StoreActionKind) EnumDescriptor() ([]byte, []int) { return fileDescriptorRaft, []int{0} } + +func (StoreActionKind) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{0} +} type RaftMember struct { // RaftID specifies the internal ID used by the manager in a raft context, it can never be modified @@ -71,112 +75,448 @@ type RaftMember struct { // Addr specifies the address of the member Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` // Status provides the current status of the manager from the perspective of another manager. - Status RaftMemberStatus `protobuf:"bytes,4,opt,name=status" json:"status"` + Status RaftMemberStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status"` } -func (m *RaftMember) Reset() { *m = RaftMember{} } -func (*RaftMember) ProtoMessage() {} -func (*RaftMember) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{0} } +func (m *RaftMember) Reset() { *m = RaftMember{} } +func (*RaftMember) ProtoMessage() {} +func (*RaftMember) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{0} +} +func (m *RaftMember) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RaftMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RaftMember.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RaftMember) XXX_Merge(src proto.Message) { + xxx_messageInfo_RaftMember.Merge(m, src) +} +func (m *RaftMember) XXX_Size() int { + return m.Size() +} +func (m *RaftMember) XXX_DiscardUnknown() { + xxx_messageInfo_RaftMember.DiscardUnknown(m) +} + +var xxx_messageInfo_RaftMember proto.InternalMessageInfo type JoinRequest struct { // Addr specifies the address of the member Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` } -func (m *JoinRequest) Reset() { *m = JoinRequest{} } -func (*JoinRequest) ProtoMessage() {} -func (*JoinRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{1} } +func (m *JoinRequest) Reset() { *m = JoinRequest{} } +func (*JoinRequest) ProtoMessage() {} +func (*JoinRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{1} +} +func (m *JoinRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *JoinRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_JoinRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *JoinRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_JoinRequest.Merge(m, src) +} +func (m *JoinRequest) XXX_Size() int { + return m.Size() +} +func (m *JoinRequest) XXX_DiscardUnknown() { + xxx_messageInfo_JoinRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_JoinRequest proto.InternalMessageInfo type JoinResponse struct { // RaftID is the ID assigned to the new member. RaftID uint64 `protobuf:"varint,1,opt,name=raft_id,json=raftId,proto3" json:"raft_id,omitempty"` // Members is the membership set of the cluster. - Members []*RaftMember `protobuf:"bytes,2,rep,name=members" json:"members,omitempty"` + Members []*RaftMember `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` // RemovedMembers is a list of members that have been removed from // the cluster, so the new node can avoid communicating with them. - RemovedMembers []uint64 `protobuf:"varint,3,rep,name=removed_members,json=removedMembers" json:"removed_members,omitempty"` + RemovedMembers []uint64 `protobuf:"varint,3,rep,name=removed_members,json=removedMembers,proto3" json:"removed_members,omitempty"` } -func (m *JoinResponse) Reset() { *m = JoinResponse{} } -func (*JoinResponse) ProtoMessage() {} -func (*JoinResponse) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{2} } +func (m *JoinResponse) Reset() { *m = JoinResponse{} } +func (*JoinResponse) ProtoMessage() {} +func (*JoinResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{2} +} +func (m *JoinResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *JoinResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_JoinResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *JoinResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_JoinResponse.Merge(m, src) +} +func (m *JoinResponse) XXX_Size() int { + return m.Size() +} +func (m *JoinResponse) XXX_DiscardUnknown() { + xxx_messageInfo_JoinResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_JoinResponse proto.InternalMessageInfo type LeaveRequest struct { - Node *RaftMember `protobuf:"bytes,1,opt,name=node" json:"node,omitempty"` + Node *RaftMember `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` } -func (m *LeaveRequest) Reset() { *m = LeaveRequest{} } -func (*LeaveRequest) ProtoMessage() {} -func (*LeaveRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{3} } +func (m *LeaveRequest) Reset() { *m = LeaveRequest{} } +func (*LeaveRequest) ProtoMessage() {} +func (*LeaveRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{3} +} +func (m *LeaveRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LeaveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LeaveRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LeaveRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_LeaveRequest.Merge(m, src) +} +func (m *LeaveRequest) XXX_Size() int { + return m.Size() +} +func (m *LeaveRequest) XXX_DiscardUnknown() { + xxx_messageInfo_LeaveRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_LeaveRequest proto.InternalMessageInfo type LeaveResponse struct { } -func (m *LeaveResponse) Reset() { *m = LeaveResponse{} } -func (*LeaveResponse) ProtoMessage() {} -func (*LeaveResponse) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{4} } - -type ProcessRaftMessageRequest struct { - Message *raftpb.Message `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` +func (m *LeaveResponse) Reset() { *m = LeaveResponse{} } +func (*LeaveResponse) ProtoMessage() {} +func (*LeaveResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{4} +} +func (m *LeaveResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *LeaveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_LeaveResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *LeaveResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_LeaveResponse.Merge(m, src) +} +func (m *LeaveResponse) XXX_Size() int { + return m.Size() +} +func (m *LeaveResponse) XXX_DiscardUnknown() { + xxx_messageInfo_LeaveResponse.DiscardUnknown(m) } -func (m *ProcessRaftMessageRequest) Reset() { *m = ProcessRaftMessageRequest{} } -func (*ProcessRaftMessageRequest) ProtoMessage() {} -func (*ProcessRaftMessageRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{5} } +var xxx_messageInfo_LeaveResponse proto.InternalMessageInfo + +type ProcessRaftMessageRequest struct { + Message *raftpb.Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` +} + +func (m *ProcessRaftMessageRequest) Reset() { *m = ProcessRaftMessageRequest{} } +func (*ProcessRaftMessageRequest) ProtoMessage() {} +func (*ProcessRaftMessageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{5} +} +func (m *ProcessRaftMessageRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProcessRaftMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProcessRaftMessageRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ProcessRaftMessageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProcessRaftMessageRequest.Merge(m, src) +} +func (m *ProcessRaftMessageRequest) XXX_Size() int { + return m.Size() +} +func (m *ProcessRaftMessageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ProcessRaftMessageRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ProcessRaftMessageRequest proto.InternalMessageInfo type ProcessRaftMessageResponse struct { } -func (m *ProcessRaftMessageResponse) Reset() { *m = ProcessRaftMessageResponse{} } -func (*ProcessRaftMessageResponse) ProtoMessage() {} -func (*ProcessRaftMessageResponse) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{6} } +func (m *ProcessRaftMessageResponse) Reset() { *m = ProcessRaftMessageResponse{} } +func (*ProcessRaftMessageResponse) ProtoMessage() {} +func (*ProcessRaftMessageResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{6} +} +func (m *ProcessRaftMessageResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ProcessRaftMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ProcessRaftMessageResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ProcessRaftMessageResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ProcessRaftMessageResponse.Merge(m, src) +} +func (m *ProcessRaftMessageResponse) XXX_Size() int { + return m.Size() +} +func (m *ProcessRaftMessageResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ProcessRaftMessageResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ProcessRaftMessageResponse proto.InternalMessageInfo // Raft message streaming request. type StreamRaftMessageRequest struct { - Message *raftpb.Message `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` + Message *raftpb.Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` } -func (m *StreamRaftMessageRequest) Reset() { *m = StreamRaftMessageRequest{} } -func (*StreamRaftMessageRequest) ProtoMessage() {} -func (*StreamRaftMessageRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{7} } +func (m *StreamRaftMessageRequest) Reset() { *m = StreamRaftMessageRequest{} } +func (*StreamRaftMessageRequest) ProtoMessage() {} +func (*StreamRaftMessageRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{7} +} +func (m *StreamRaftMessageRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StreamRaftMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StreamRaftMessageRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StreamRaftMessageRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_StreamRaftMessageRequest.Merge(m, src) +} +func (m *StreamRaftMessageRequest) XXX_Size() int { + return m.Size() +} +func (m *StreamRaftMessageRequest) XXX_DiscardUnknown() { + xxx_messageInfo_StreamRaftMessageRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_StreamRaftMessageRequest proto.InternalMessageInfo // Raft message streaming response. type StreamRaftMessageResponse struct { } -func (m *StreamRaftMessageResponse) Reset() { *m = StreamRaftMessageResponse{} } -func (*StreamRaftMessageResponse) ProtoMessage() {} -func (*StreamRaftMessageResponse) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{8} } +func (m *StreamRaftMessageResponse) Reset() { *m = StreamRaftMessageResponse{} } +func (*StreamRaftMessageResponse) ProtoMessage() {} +func (*StreamRaftMessageResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{8} +} +func (m *StreamRaftMessageResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StreamRaftMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StreamRaftMessageResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StreamRaftMessageResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_StreamRaftMessageResponse.Merge(m, src) +} +func (m *StreamRaftMessageResponse) XXX_Size() int { + return m.Size() +} +func (m *StreamRaftMessageResponse) XXX_DiscardUnknown() { + xxx_messageInfo_StreamRaftMessageResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_StreamRaftMessageResponse proto.InternalMessageInfo type ResolveAddressRequest struct { // raft_id is the ID to resolve to an address. RaftID uint64 `protobuf:"varint,1,opt,name=raft_id,json=raftId,proto3" json:"raft_id,omitempty"` } -func (m *ResolveAddressRequest) Reset() { *m = ResolveAddressRequest{} } -func (*ResolveAddressRequest) ProtoMessage() {} -func (*ResolveAddressRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{9} } +func (m *ResolveAddressRequest) Reset() { *m = ResolveAddressRequest{} } +func (*ResolveAddressRequest) ProtoMessage() {} +func (*ResolveAddressRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{9} +} +func (m *ResolveAddressRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResolveAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResolveAddressRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResolveAddressRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResolveAddressRequest.Merge(m, src) +} +func (m *ResolveAddressRequest) XXX_Size() int { + return m.Size() +} +func (m *ResolveAddressRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ResolveAddressRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ResolveAddressRequest proto.InternalMessageInfo type ResolveAddressResponse struct { // Addr specifies the address of the member Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` } -func (m *ResolveAddressResponse) Reset() { *m = ResolveAddressResponse{} } -func (*ResolveAddressResponse) ProtoMessage() {} -func (*ResolveAddressResponse) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{10} } +func (m *ResolveAddressResponse) Reset() { *m = ResolveAddressResponse{} } +func (*ResolveAddressResponse) ProtoMessage() {} +func (*ResolveAddressResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{10} +} +func (m *ResolveAddressResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResolveAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResolveAddressResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResolveAddressResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResolveAddressResponse.Merge(m, src) +} +func (m *ResolveAddressResponse) XXX_Size() int { + return m.Size() +} +func (m *ResolveAddressResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ResolveAddressResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ResolveAddressResponse proto.InternalMessageInfo // Contains one of many protobuf encoded objects to replicate // over the raft backend with a request ID to track when the // action is effectively applied type InternalRaftRequest struct { ID uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - Action []StoreAction `protobuf:"bytes,2,rep,name=action" json:"action"` + Action []StoreAction `protobuf:"bytes,2,rep,name=action,proto3" json:"action"` } -func (m *InternalRaftRequest) Reset() { *m = InternalRaftRequest{} } -func (*InternalRaftRequest) ProtoMessage() {} -func (*InternalRaftRequest) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{11} } +func (m *InternalRaftRequest) Reset() { *m = InternalRaftRequest{} } +func (*InternalRaftRequest) ProtoMessage() {} +func (*InternalRaftRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{11} +} +func (m *InternalRaftRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *InternalRaftRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_InternalRaftRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *InternalRaftRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_InternalRaftRequest.Merge(m, src) +} +func (m *InternalRaftRequest) XXX_Size() int { + return m.Size() +} +func (m *InternalRaftRequest) XXX_DiscardUnknown() { + xxx_messageInfo_InternalRaftRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_InternalRaftRequest proto.InternalMessageInfo // StoreAction defines a target and operation to apply on the storage system. type StoreAction struct { @@ -194,9 +534,37 @@ type StoreAction struct { Target isStoreAction_Target `protobuf_oneof:"target"` } -func (m *StoreAction) Reset() { *m = StoreAction{} } -func (*StoreAction) ProtoMessage() {} -func (*StoreAction) Descriptor() ([]byte, []int) { return fileDescriptorRaft, []int{12} } +func (m *StoreAction) Reset() { *m = StoreAction{} } +func (*StoreAction) ProtoMessage() {} +func (*StoreAction) Descriptor() ([]byte, []int) { + return fileDescriptor_d2c32e1e3c930c15, []int{12} +} +func (m *StoreAction) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StoreAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StoreAction.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StoreAction) XXX_Merge(src proto.Message) { + xxx_messageInfo_StoreAction.Merge(m, src) +} +func (m *StoreAction) XXX_Size() int { + return m.Size() +} +func (m *StoreAction) XXX_DiscardUnknown() { + xxx_messageInfo_StoreAction.DiscardUnknown(m) +} + +var xxx_messageInfo_StoreAction proto.InternalMessageInfo type isStoreAction_Target interface { isStoreAction_Target() @@ -205,31 +573,31 @@ type isStoreAction_Target interface { } type StoreAction_Node struct { - Node *Node `protobuf:"bytes,2,opt,name=node,oneof"` + Node *Node `protobuf:"bytes,2,opt,name=node,proto3,oneof"` } type StoreAction_Service struct { - Service *Service `protobuf:"bytes,3,opt,name=service,oneof"` + Service *Service `protobuf:"bytes,3,opt,name=service,proto3,oneof"` } type StoreAction_Task struct { - Task *Task `protobuf:"bytes,4,opt,name=task,oneof"` + Task *Task `protobuf:"bytes,4,opt,name=task,proto3,oneof"` } type StoreAction_Network struct { - Network *Network `protobuf:"bytes,5,opt,name=network,oneof"` + Network *Network `protobuf:"bytes,5,opt,name=network,proto3,oneof"` } type StoreAction_Cluster struct { - Cluster *Cluster `protobuf:"bytes,6,opt,name=cluster,oneof"` + Cluster *Cluster `protobuf:"bytes,6,opt,name=cluster,proto3,oneof"` } type StoreAction_Secret struct { - Secret *Secret `protobuf:"bytes,7,opt,name=secret,oneof"` + Secret *Secret `protobuf:"bytes,7,opt,name=secret,proto3,oneof"` } type StoreAction_Resource struct { - Resource *Resource `protobuf:"bytes,8,opt,name=resource,oneof"` + Resource *Resource `protobuf:"bytes,8,opt,name=resource,proto3,oneof"` } type StoreAction_Extension struct { - Extension *Extension `protobuf:"bytes,9,opt,name=extension,oneof"` + Extension *Extension `protobuf:"bytes,9,opt,name=extension,proto3,oneof"` } type StoreAction_Config struct { - Config *Config `protobuf:"bytes,10,opt,name=config,oneof"` + Config *Config `protobuf:"bytes,10,opt,name=config,proto3,oneof"` } func (*StoreAction_Node) isStoreAction_Target() {} @@ -469,47 +837,47 @@ func _StoreAction_OneofSizer(msg proto.Message) (n int) { switch x := m.Target.(type) { case *StoreAction_Node: s := proto.Size(x.Node) - n += proto.SizeVarint(2<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Service: s := proto.Size(x.Service) - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Task: s := proto.Size(x.Task) - n += proto.SizeVarint(4<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Network: s := proto.Size(x.Network) - n += proto.SizeVarint(5<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Cluster: s := proto.Size(x.Cluster) - n += proto.SizeVarint(6<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Secret: s := proto.Size(x.Secret) - n += proto.SizeVarint(7<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Resource: s := proto.Size(x.Resource) - n += proto.SizeVarint(8<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Extension: s := proto.Size(x.Extension) - n += proto.SizeVarint(9<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *StoreAction_Config: s := proto.Size(x.Config) - n += proto.SizeVarint(10<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -520,6 +888,7 @@ func _StoreAction_OneofSizer(msg proto.Message) (n int) { } func init() { + proto.RegisterEnum("docker.swarmkit.v1.StoreActionKind", StoreActionKind_name, StoreActionKind_value) proto.RegisterType((*RaftMember)(nil), "docker.swarmkit.v1.RaftMember") proto.RegisterType((*JoinRequest)(nil), "docker.swarmkit.v1.JoinRequest") proto.RegisterType((*JoinResponse)(nil), "docker.swarmkit.v1.JoinResponse") @@ -533,7 +902,79 @@ func init() { proto.RegisterType((*ResolveAddressResponse)(nil), "docker.swarmkit.v1.ResolveAddressResponse") proto.RegisterType((*InternalRaftRequest)(nil), "docker.swarmkit.v1.InternalRaftRequest") proto.RegisterType((*StoreAction)(nil), "docker.swarmkit.v1.StoreAction") - proto.RegisterEnum("docker.swarmkit.v1.StoreActionKind", StoreActionKind_name, StoreActionKind_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/raft.proto", fileDescriptor_d2c32e1e3c930c15) +} + +var fileDescriptor_d2c32e1e3c930c15 = []byte{ + // 1028 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0x41, 0x73, 0xdb, 0x44, + 0x14, 0xc7, 0x25, 0x5b, 0x75, 0x9a, 0x97, 0x36, 0x09, 0x5b, 0x12, 0x14, 0xb5, 0x28, 0xae, 0xda, + 0x19, 0x9c, 0x90, 0xc8, 0x83, 0x61, 0xa6, 0x4c, 0xa1, 0x87, 0x38, 0xf1, 0x4c, 0x4c, 0x5a, 0xa7, + 0xa3, 0x24, 0xd0, 0x5b, 0x90, 0xa5, 0x8d, 0x2b, 0x1c, 0x6b, 0xcd, 0xee, 0x3a, 0x81, 0x0b, 0xd3, + 0x23, 0xe4, 0xc4, 0x0d, 0x86, 0x99, 0x0e, 0x07, 0x38, 0xf7, 0x03, 0xf0, 0x01, 0x98, 0x0c, 0xa7, + 0xde, 0xe8, 0x29, 0x43, 0x9d, 0x3b, 0x7c, 0x05, 0x66, 0x57, 0x52, 0x12, 0x6c, 0xd9, 0xf1, 0x81, + 0x4b, 0xb2, 0xa3, 0xfd, 0xfd, 0xdf, 0xff, 0xed, 0xee, 0xdb, 0xb7, 0x86, 0x85, 0x46, 0xc0, 0x9f, + 0x76, 0xea, 0xb6, 0x47, 0x5a, 0x45, 0x9f, 0x78, 0x4d, 0x4c, 0x8b, 0xec, 0xd0, 0xa5, 0xad, 0x66, + 0xc0, 0x8b, 0x6e, 0x3b, 0x28, 0x52, 0x77, 0x8f, 0xdb, 0x6d, 0x4a, 0x38, 0x41, 0x28, 0x9a, 0xb7, + 0x93, 0x79, 0xfb, 0xe0, 0x3d, 0x63, 0xe9, 0x12, 0x39, 0xa9, 0x7f, 0x81, 0x3d, 0xce, 0xa2, 0x08, + 0xc6, 0xe2, 0x25, 0x34, 0xff, 0xba, 0x8d, 0x13, 0x76, 0xf9, 0x02, 0xeb, 0x11, 0x8a, 0x09, 0x2b, + 0x62, 0xee, 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d, 0x03, 0x93, 0xff, 0x6d, 0x7c, + 0x68, 0x61, 0x50, 0x39, 0xf7, 0xb5, 0x56, 0x63, 0x71, 0x14, 0x74, 0x68, 0x06, 0xa5, 0x3f, 0x55, + 0x98, 0x3c, 0x7f, 0xb2, 0xd8, 0xd3, 0xa0, 0x8d, 0x3e, 0x07, 0x4d, 0x3c, 0xc8, 0x28, 0xb5, 0x4d, + 0x5e, 0x78, 0xce, 0x8d, 0xfc, 0x60, 0x60, 0xf8, 0x01, 0x78, 0x70, 0x45, 0x3e, 0x89, 0x28, 0x35, + 0xc2, 0xc5, 0x17, 0xd7, 0xb8, 0x3d, 0x84, 0x18, 0x6a, 0x52, 0xbe, 0x7b, 0xfc, 0xda, 0x54, 0x5e, + 0xbd, 0x36, 0x95, 0x67, 0x5d, 0x53, 0x3d, 0xee, 0x9a, 0xea, 0xcb, 0xae, 0xa9, 0xfe, 0xd5, 0x35, + 0xd5, 0xef, 0x4f, 0x4d, 0xe5, 0xe5, 0xa9, 0xa9, 0xbc, 0x3a, 0x35, 0x95, 0x27, 0xd9, 0x27, 0x5a, + 0x3d, 0x27, 0x7f, 0x5d, 0xbd, 0xff, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc9, 0x42, 0x09, 0xd0, + 0x76, 0x0a, 0x00, 0x00, } type authenticatedWrapperRaftServer struct { @@ -613,7 +1054,7 @@ func (m *RaftMember) CopyFrom(src interface{}) { o := src.(*RaftMember) *m = *o - deepcopy.Copy(&m.Status, &o.Status) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Status, &o.Status) } func (m *JoinRequest) Copy() *JoinRequest { @@ -648,7 +1089,7 @@ func (m *JoinResponse) CopyFrom(src interface{}) { m.Members = make([]*RaftMember, len(o.Members)) for i := range m.Members { m.Members[i] = &RaftMember{} - deepcopy.Copy(m.Members[i], o.Members[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Members[i], o.Members[i]) } } @@ -674,7 +1115,7 @@ func (m *LeaveRequest) CopyFrom(src interface{}) { *m = *o if o.Node != nil { m.Node = &RaftMember{} - deepcopy.Copy(m.Node, o.Node) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Node, o.Node) } } @@ -754,7 +1195,7 @@ func (m *InternalRaftRequest) CopyFrom(src interface{}) { if o.Action != nil { m.Action = make([]StoreAction, len(o.Action)) for i := range m.Action { - deepcopy.Copy(&m.Action[i], &o.Action[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Action[i], &o.Action[i]) } } @@ -779,55 +1220,55 @@ func (m *StoreAction) CopyFrom(src interface{}) { v := StoreAction_Node{ Node: &Node{}, } - deepcopy.Copy(v.Node, o.GetNode()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Node, o.GetNode()) m.Target = &v case *StoreAction_Service: v := StoreAction_Service{ Service: &Service{}, } - deepcopy.Copy(v.Service, o.GetService()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Service, o.GetService()) m.Target = &v case *StoreAction_Task: v := StoreAction_Task{ Task: &Task{}, } - deepcopy.Copy(v.Task, o.GetTask()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Task, o.GetTask()) m.Target = &v case *StoreAction_Network: v := StoreAction_Network{ Network: &Network{}, } - deepcopy.Copy(v.Network, o.GetNetwork()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Network, o.GetNetwork()) m.Target = &v case *StoreAction_Cluster: v := StoreAction_Cluster{ Cluster: &Cluster{}, } - deepcopy.Copy(v.Cluster, o.GetCluster()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Cluster, o.GetCluster()) m.Target = &v case *StoreAction_Secret: v := StoreAction_Secret{ Secret: &Secret{}, } - deepcopy.Copy(v.Secret, o.GetSecret()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Secret, o.GetSecret()) m.Target = &v case *StoreAction_Resource: v := StoreAction_Resource{ Resource: &Resource{}, } - deepcopy.Copy(v.Resource, o.GetResource()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Resource, o.GetResource()) m.Target = &v case *StoreAction_Extension: v := StoreAction_Extension{ Extension: &Extension{}, } - deepcopy.Copy(v.Extension, o.GetExtension()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Extension, o.GetExtension()) m.Target = &v case *StoreAction_Config: v := StoreAction_Config{ Config: &Config{}, } - deepcopy.Copy(v.Config, o.GetConfig()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Config, o.GetConfig()) m.Target = &v } } @@ -842,8 +1283,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for Raft service - +// RaftClient is the client API for Raft service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type RaftClient interface { // ProcessRaftMessage sends a raft message to be processed on a raft member, it is // called from the RaftMember willing to send a message to its destination ('To' field) @@ -868,7 +1310,7 @@ func NewRaftClient(cc *grpc.ClientConn) RaftClient { func (c *raftClient) ProcessRaftMessage(ctx context.Context, in *ProcessRaftMessageRequest, opts ...grpc.CallOption) (*ProcessRaftMessageResponse, error) { out := new(ProcessRaftMessageResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Raft/ProcessRaftMessage", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Raft/ProcessRaftMessage", in, out, opts...) if err != nil { return nil, err } @@ -876,7 +1318,7 @@ func (c *raftClient) ProcessRaftMessage(ctx context.Context, in *ProcessRaftMess } func (c *raftClient) StreamRaftMessage(ctx context.Context, opts ...grpc.CallOption) (Raft_StreamRaftMessageClient, error) { - stream, err := grpc.NewClientStream(ctx, &_Raft_serviceDesc.Streams[0], c.cc, "/docker.swarmkit.v1.Raft/StreamRaftMessage", opts...) + stream, err := c.cc.NewStream(ctx, &_Raft_serviceDesc.Streams[0], "/docker.swarmkit.v1.Raft/StreamRaftMessage", opts...) if err != nil { return nil, err } @@ -911,15 +1353,14 @@ func (x *raftStreamRaftMessageClient) CloseAndRecv() (*StreamRaftMessageResponse func (c *raftClient) ResolveAddress(ctx context.Context, in *ResolveAddressRequest, opts ...grpc.CallOption) (*ResolveAddressResponse, error) { out := new(ResolveAddressResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.Raft/ResolveAddress", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.Raft/ResolveAddress", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for Raft service - +// RaftServer is the server API for Raft service. type RaftServer interface { // ProcessRaftMessage sends a raft message to be processed on a raft member, it is // called from the RaftMember willing to send a message to its destination ('To' field) @@ -1023,8 +1464,9 @@ var _Raft_serviceDesc = grpc.ServiceDesc{ Metadata: "github.com/docker/swarmkit/api/raft.proto", } -// Client API for RaftMembership service - +// RaftMembershipClient is the client API for RaftMembership service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type RaftMembershipClient interface { // Join adds a RaftMember to the raft cluster. Join(ctx context.Context, in *JoinRequest, opts ...grpc.CallOption) (*JoinResponse, error) @@ -1042,7 +1484,7 @@ func NewRaftMembershipClient(cc *grpc.ClientConn) RaftMembershipClient { func (c *raftMembershipClient) Join(ctx context.Context, in *JoinRequest, opts ...grpc.CallOption) (*JoinResponse, error) { out := new(JoinResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.RaftMembership/Join", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.RaftMembership/Join", in, out, opts...) if err != nil { return nil, err } @@ -1051,15 +1493,14 @@ func (c *raftMembershipClient) Join(ctx context.Context, in *JoinRequest, opts . func (c *raftMembershipClient) Leave(ctx context.Context, in *LeaveRequest, opts ...grpc.CallOption) (*LeaveResponse, error) { out := new(LeaveResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.RaftMembership/Leave", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.RaftMembership/Leave", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for RaftMembership service - +// RaftMembershipServer is the server API for RaftMembership service. type RaftMembershipServer interface { // Join adds a RaftMember to the raft cluster. Join(context.Context, *JoinRequest) (*JoinResponse, error) @@ -1961,6 +2402,9 @@ func (p *raftProxyRaftMembershipServer) Leave(ctx context.Context, r *LeaveReque } func (m *RaftMember) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.RaftID != 0 { @@ -1980,6 +2424,9 @@ func (m *RaftMember) Size() (n int) { } func (m *JoinRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Addr) @@ -1990,6 +2437,9 @@ func (m *JoinRequest) Size() (n int) { } func (m *JoinResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.RaftID != 0 { @@ -2010,6 +2460,9 @@ func (m *JoinResponse) Size() (n int) { } func (m *LeaveRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Node != nil { @@ -2020,12 +2473,18 @@ func (m *LeaveRequest) Size() (n int) { } func (m *LeaveResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *ProcessRaftMessageRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Message != nil { @@ -2036,12 +2495,18 @@ func (m *ProcessRaftMessageRequest) Size() (n int) { } func (m *ProcessRaftMessageResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *StreamRaftMessageRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Message != nil { @@ -2052,12 +2517,18 @@ func (m *StreamRaftMessageRequest) Size() (n int) { } func (m *StreamRaftMessageResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *ResolveAddressRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.RaftID != 0 { @@ -2067,6 +2538,9 @@ func (m *ResolveAddressRequest) Size() (n int) { } func (m *ResolveAddressResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Addr) @@ -2077,6 +2551,9 @@ func (m *ResolveAddressResponse) Size() (n int) { } func (m *InternalRaftRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.ID != 0 { @@ -2092,6 +2569,9 @@ func (m *InternalRaftRequest) Size() (n int) { } func (m *StoreAction) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Action != 0 { @@ -2104,6 +2584,9 @@ func (m *StoreAction) Size() (n int) { } func (m *StoreAction_Node) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Node != nil { @@ -2113,6 +2596,9 @@ func (m *StoreAction_Node) Size() (n int) { return n } func (m *StoreAction_Service) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Service != nil { @@ -2122,6 +2608,9 @@ func (m *StoreAction_Service) Size() (n int) { return n } func (m *StoreAction_Task) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Task != nil { @@ -2131,6 +2620,9 @@ func (m *StoreAction_Task) Size() (n int) { return n } func (m *StoreAction_Network) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Network != nil { @@ -2140,6 +2632,9 @@ func (m *StoreAction_Network) Size() (n int) { return n } func (m *StoreAction_Cluster) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Cluster != nil { @@ -2149,6 +2644,9 @@ func (m *StoreAction_Cluster) Size() (n int) { return n } func (m *StoreAction_Secret) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Secret != nil { @@ -2158,6 +2656,9 @@ func (m *StoreAction_Secret) Size() (n int) { return n } func (m *StoreAction_Resource) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Resource != nil { @@ -2167,6 +2668,9 @@ func (m *StoreAction_Resource) Size() (n int) { return n } func (m *StoreAction_Extension) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Extension != nil { @@ -2176,6 +2680,9 @@ func (m *StoreAction_Extension) Size() (n int) { return n } func (m *StoreAction_Config) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -2445,7 +2952,7 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2473,7 +2980,7 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RaftID |= (uint64(b) & 0x7F) << shift + m.RaftID |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2492,7 +2999,7 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2502,6 +3009,9 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2521,7 +3031,7 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2531,6 +3041,9 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2550,7 +3063,7 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2559,6 +3072,9 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2575,6 +3091,9 @@ func (m *RaftMember) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2602,7 +3121,7 @@ func (m *JoinRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2630,7 +3149,7 @@ func (m *JoinRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2640,6 +3159,9 @@ func (m *JoinRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2654,6 +3176,9 @@ func (m *JoinRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2681,7 +3206,7 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2709,7 +3234,7 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RaftID |= (uint64(b) & 0x7F) << shift + m.RaftID |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2728,7 +3253,7 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2737,6 +3262,9 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2757,7 +3285,7 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (uint64(b) & 0x7F) << shift + v |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2774,7 +3302,7 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - packedLen |= (int(b) & 0x7F) << shift + packedLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2783,9 +3311,23 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.RemovedMembers) == 0 { + m.RemovedMembers = make([]uint64, 0, elementCount) + } for iNdEx < postIndex { var v uint64 for shift := uint(0); ; shift += 7 { @@ -2797,7 +3339,7 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (uint64(b) & 0x7F) << shift + v |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2816,6 +3358,9 @@ func (m *JoinResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2843,7 +3388,7 @@ func (m *LeaveRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2871,7 +3416,7 @@ func (m *LeaveRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2880,6 +3425,9 @@ func (m *LeaveRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2899,6 +3447,9 @@ func (m *LeaveRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2926,7 +3477,7 @@ func (m *LeaveResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2949,6 +3500,9 @@ func (m *LeaveResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -2976,7 +3530,7 @@ func (m *ProcessRaftMessageRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3004,7 +3558,7 @@ func (m *ProcessRaftMessageRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3013,6 +3567,9 @@ func (m *ProcessRaftMessageRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3032,6 +3589,9 @@ func (m *ProcessRaftMessageRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3059,7 +3619,7 @@ func (m *ProcessRaftMessageResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3082,6 +3642,9 @@ func (m *ProcessRaftMessageResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3109,7 +3672,7 @@ func (m *StreamRaftMessageRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3137,7 +3700,7 @@ func (m *StreamRaftMessageRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3146,6 +3709,9 @@ func (m *StreamRaftMessageRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3165,6 +3731,9 @@ func (m *StreamRaftMessageRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3192,7 +3761,7 @@ func (m *StreamRaftMessageResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3215,6 +3784,9 @@ func (m *StreamRaftMessageResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3242,7 +3814,7 @@ func (m *ResolveAddressRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3270,7 +3842,7 @@ func (m *ResolveAddressRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RaftID |= (uint64(b) & 0x7F) << shift + m.RaftID |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3284,6 +3856,9 @@ func (m *ResolveAddressRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3311,7 +3886,7 @@ func (m *ResolveAddressResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3339,7 +3914,7 @@ func (m *ResolveAddressResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3349,6 +3924,9 @@ func (m *ResolveAddressResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3363,6 +3941,9 @@ func (m *ResolveAddressResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3390,7 +3971,7 @@ func (m *InternalRaftRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3418,7 +3999,7 @@ func (m *InternalRaftRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ID |= (uint64(b) & 0x7F) << shift + m.ID |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3437,7 +4018,7 @@ func (m *InternalRaftRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3446,6 +4027,9 @@ func (m *InternalRaftRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3463,6 +4047,9 @@ func (m *InternalRaftRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3490,7 +4077,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3518,7 +4105,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Action |= (StoreActionKind(b) & 0x7F) << shift + m.Action |= StoreActionKind(b&0x7F) << shift if b < 0x80 { break } @@ -3537,7 +4124,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3546,6 +4133,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3569,7 +4159,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3578,6 +4168,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3601,7 +4194,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3610,6 +4203,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3633,7 +4229,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3642,6 +4238,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3665,7 +4264,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3674,6 +4273,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3697,7 +4299,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3706,6 +4308,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3729,7 +4334,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3738,6 +4343,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3761,7 +4369,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3770,6 +4378,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3793,7 +4404,7 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3802,6 +4413,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { return ErrInvalidLengthRaft } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRaft + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3820,6 +4434,9 @@ func (m *StoreAction) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthRaft } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthRaft + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3886,10 +4503,13 @@ func skipRaft(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthRaft } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthRaft + } return iNdEx, nil case 3: for { @@ -3918,6 +4538,9 @@ func skipRaft(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthRaft + } } return iNdEx, nil case 4: @@ -3936,73 +4559,3 @@ var ( ErrInvalidLengthRaft = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRaft = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/raft.proto", fileDescriptorRaft) } - -var fileDescriptorRaft = []byte{ - // 1015 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x96, 0xc1, 0x6e, 0x1b, 0x45, - 0x18, 0xc7, 0x77, 0xed, 0xad, 0xd3, 0x7c, 0x69, 0x93, 0x30, 0x25, 0x61, 0xb3, 0x2d, 0x8e, 0xbb, - 0x45, 0xc2, 0x09, 0xc9, 0x5a, 0x18, 0xa4, 0xa2, 0x42, 0x0f, 0x71, 0x62, 0x29, 0x26, 0xad, 0x53, - 0x6d, 0x12, 0xe8, 0x2d, 0xac, 0x77, 0x27, 0xee, 0x62, 0x7b, 0xc7, 0xcc, 0x8c, 0x1d, 0xb8, 0xa0, - 0x1e, 0x21, 0x2f, 0x00, 0x42, 0xaa, 0x38, 0xc0, 0xb9, 0x0f, 0xc0, 0x03, 0xa0, 0x88, 0x13, 0x37, - 0x38, 0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x2c, 0x20, 0x31, 0x55, 0xf1, 0x10, 0x02, 0xcd, - 0xf1, 0x3c, 0xaa, 0xa7, 0x05, 0x61, 0xcb, 0x31, 0x2a, 0x41, 0x86, 0x71, 0x87, 0x77, 0x98, 0xae, - 0xe5, 0xd4, 0xfc, 0x5c, 0xf1, 0x2d, 0x6b, 0x74, 0xa7, 0xad, 0xcb, 0x6c, 0x0e, 0x24, 0x5b, 0xd2, - 0xce, 0x2f, 0x56, 0x15, 0x3b, 0x52, 0x9a, 0x77, 0x61, 0xee, 0x63, 0xe2, 0x07, 0x36, 0xfe, 0xa2, - 0x83, 0x19, 0xef, 0xdb, 0xa8, 0x97, 0x36, 0xe6, 0x0f, 0x2a, 0xdc, 0x08, 0x19, 0xd6, 0x26, 0x01, - 0xc3, 0xd3, 0xad, 0xea, 0x03, 0x98, 0x69, 0x49, 0x5b, 0xa6, 0xa7, 0x72, 0xe9, 0xfc, 0x5c, 0x31, - 0x3b, 0x39, 0x3b, 0x3b, 0xc6, 0xd1, 0x3b, 0xb0, 0x40, 0x71, 0x8b, 0x74, 0xb1, 0x77, 0x1c, 0x47, - 0x48, 0xe7, 0xd2, 0x79, 0xad, 0x94, 0x5a, 0x54, 0xec, 0xf9, 0x68, 0x2a, 0x14, 0x31, 0xb3, 0x04, - 0x37, 0x1e, 0x61, 0xa7, 0x8b, 0xe3, 0x05, 0x14, 0x41, 0x13, 0x3b, 0x26, 0x13, 0xbb, 0xda, 0x53, - 0xb2, 0xe6, 0x02, 0xdc, 0x8c, 0x62, 0x84, 0x0b, 0x34, 0x1f, 0xc1, 0xca, 0x13, 0x4a, 0x5c, 0xcc, - 0x58, 0xc8, 0x32, 0xe6, 0xd4, 0xfb, 0x0e, 0x6b, 0x62, 0x61, 0xf2, 0x4b, 0x64, 0xb2, 0x60, 0x85, - 0x65, 0x65, 0xc5, 0x60, 0x3c, 0xff, 0x40, 0x7b, 0xfe, 0x9d, 0xa9, 0x98, 0x77, 0xc0, 0x48, 0x8a, - 0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x5a, 0x46, 0xfe, 0xa2, 0x7a, 0xef, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x3e, - 0x7a, 0x8b, 0xe7, 0x6a, 0x0a, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/resource.pb.go b/vendor/github.com/docker/swarmkit/api/resource.pb.go index 2d4741993e..d68c4bac02 100644 --- a/vendor/github.com/docker/swarmkit/api/resource.pb.go +++ b/vendor/github.com/docker/swarmkit/api/resource.pb.go @@ -3,65 +3,180 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type AttachNetworkRequest struct { - Config *NetworkAttachmentConfig `protobuf:"bytes,1,opt,name=config" json:"config,omitempty"` + Config *NetworkAttachmentConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` ContainerID string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` } -func (m *AttachNetworkRequest) Reset() { *m = AttachNetworkRequest{} } -func (*AttachNetworkRequest) ProtoMessage() {} -func (*AttachNetworkRequest) Descriptor() ([]byte, []int) { return fileDescriptorResource, []int{0} } +func (m *AttachNetworkRequest) Reset() { *m = AttachNetworkRequest{} } +func (*AttachNetworkRequest) ProtoMessage() {} +func (*AttachNetworkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_909455b1b868ddb9, []int{0} +} +func (m *AttachNetworkRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AttachNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AttachNetworkRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AttachNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachNetworkRequest.Merge(m, src) +} +func (m *AttachNetworkRequest) XXX_Size() int { + return m.Size() +} +func (m *AttachNetworkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_AttachNetworkRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_AttachNetworkRequest proto.InternalMessageInfo type AttachNetworkResponse struct { AttachmentID string `protobuf:"bytes,1,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"` } -func (m *AttachNetworkResponse) Reset() { *m = AttachNetworkResponse{} } -func (*AttachNetworkResponse) ProtoMessage() {} -func (*AttachNetworkResponse) Descriptor() ([]byte, []int) { return fileDescriptorResource, []int{1} } +func (m *AttachNetworkResponse) Reset() { *m = AttachNetworkResponse{} } +func (*AttachNetworkResponse) ProtoMessage() {} +func (*AttachNetworkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_909455b1b868ddb9, []int{1} +} +func (m *AttachNetworkResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AttachNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AttachNetworkResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AttachNetworkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_AttachNetworkResponse.Merge(m, src) +} +func (m *AttachNetworkResponse) XXX_Size() int { + return m.Size() +} +func (m *AttachNetworkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_AttachNetworkResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_AttachNetworkResponse proto.InternalMessageInfo type DetachNetworkRequest struct { AttachmentID string `protobuf:"bytes,1,opt,name=attachment_id,json=attachmentId,proto3" json:"attachment_id,omitempty"` } -func (m *DetachNetworkRequest) Reset() { *m = DetachNetworkRequest{} } -func (*DetachNetworkRequest) ProtoMessage() {} -func (*DetachNetworkRequest) Descriptor() ([]byte, []int) { return fileDescriptorResource, []int{2} } +func (m *DetachNetworkRequest) Reset() { *m = DetachNetworkRequest{} } +func (*DetachNetworkRequest) ProtoMessage() {} +func (*DetachNetworkRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_909455b1b868ddb9, []int{2} +} +func (m *DetachNetworkRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DetachNetworkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DetachNetworkRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DetachNetworkRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_DetachNetworkRequest.Merge(m, src) +} +func (m *DetachNetworkRequest) XXX_Size() int { + return m.Size() +} +func (m *DetachNetworkRequest) XXX_DiscardUnknown() { + xxx_messageInfo_DetachNetworkRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_DetachNetworkRequest proto.InternalMessageInfo type DetachNetworkResponse struct { } -func (m *DetachNetworkResponse) Reset() { *m = DetachNetworkResponse{} } -func (*DetachNetworkResponse) ProtoMessage() {} -func (*DetachNetworkResponse) Descriptor() ([]byte, []int) { return fileDescriptorResource, []int{3} } +func (m *DetachNetworkResponse) Reset() { *m = DetachNetworkResponse{} } +func (*DetachNetworkResponse) ProtoMessage() {} +func (*DetachNetworkResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_909455b1b868ddb9, []int{3} +} +func (m *DetachNetworkResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DetachNetworkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DetachNetworkResponse.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DetachNetworkResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_DetachNetworkResponse.Merge(m, src) +} +func (m *DetachNetworkResponse) XXX_Size() int { + return m.Size() +} +func (m *DetachNetworkResponse) XXX_DiscardUnknown() { + xxx_messageInfo_DetachNetworkResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_DetachNetworkResponse proto.InternalMessageInfo func init() { proto.RegisterType((*AttachNetworkRequest)(nil), "docker.swarmkit.v1.AttachNetworkRequest") @@ -70,6 +185,40 @@ func init() { proto.RegisterType((*DetachNetworkResponse)(nil), "docker.swarmkit.v1.DetachNetworkResponse") } +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/resource.proto", fileDescriptor_909455b1b868ddb9) +} + +var fileDescriptor_909455b1b868ddb9 = []byte{ + // 411 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 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0x17, 0x31, 0x02, 0xb3, 0x18, 0x81, 0x79, 0x8c, 0xc0, 0x43, 0x8c, 0xc0, 0xf5, + 0x1a, 0x49, 0xf3, 0x35, 0x92, 0x16, 0x6b, 0x24, 0x0d, 0xf2, 0xc9, 0x4f, 0xfa, 0xeb, 0x29, 0x00, + 0x00, 0xff, 0xff, 0x9d, 0x2f, 0x31, 0x83, 0x64, 0x03, 0x00, 0x00, +} + type authenticatedWrapperResourceAllocatorServer struct { local ResourceAllocatorServer authorize func(context.Context, []string) error @@ -113,7 +262,7 @@ func (m *AttachNetworkRequest) CopyFrom(src interface{}) { *m = *o if o.Config != nil { m.Config = &NetworkAttachmentConfig{} - deepcopy.Copy(m.Config, o.Config) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Config, o.Config) } } @@ -166,8 +315,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for ResourceAllocator service - +// ResourceAllocatorClient is the client API for ResourceAllocator service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type ResourceAllocatorClient interface { AttachNetwork(ctx context.Context, in *AttachNetworkRequest, opts ...grpc.CallOption) (*AttachNetworkResponse, error) DetachNetwork(ctx context.Context, in *DetachNetworkRequest, opts ...grpc.CallOption) (*DetachNetworkResponse, error) @@ -183,7 +333,7 @@ func NewResourceAllocatorClient(cc *grpc.ClientConn) ResourceAllocatorClient { func (c *resourceAllocatorClient) AttachNetwork(ctx context.Context, in *AttachNetworkRequest, opts ...grpc.CallOption) (*AttachNetworkResponse, error) { out := new(AttachNetworkResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.ResourceAllocator/AttachNetwork", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.ResourceAllocator/AttachNetwork", in, out, opts...) if err != nil { return nil, err } @@ -192,15 +342,14 @@ func (c *resourceAllocatorClient) AttachNetwork(ctx context.Context, in *AttachN func (c *resourceAllocatorClient) DetachNetwork(ctx context.Context, in *DetachNetworkRequest, opts ...grpc.CallOption) (*DetachNetworkResponse, error) { out := new(DetachNetworkResponse) - err := grpc.Invoke(ctx, "/docker.swarmkit.v1.ResourceAllocator/DetachNetwork", in, out, c.cc, opts...) + err := c.cc.Invoke(ctx, "/docker.swarmkit.v1.ResourceAllocator/DetachNetwork", in, out, opts...) if err != nil { return nil, err } return out, nil } -// Server API for ResourceAllocator service - +// ResourceAllocatorServer is the server API for ResourceAllocator service. type ResourceAllocatorServer interface { AttachNetwork(context.Context, *AttachNetworkRequest) (*AttachNetworkResponse, error) DetachNetwork(context.Context, *DetachNetworkRequest) (*DetachNetworkResponse, error) @@ -516,6 +665,9 @@ func (p *raftProxyResourceAllocatorServer) DetachNetwork(ctx context.Context, r } func (m *AttachNetworkRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -530,6 +682,9 @@ func (m *AttachNetworkRequest) Size() (n int) { } func (m *AttachNetworkResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.AttachmentID) @@ -540,6 +695,9 @@ func (m *AttachNetworkResponse) Size() (n int) { } func (m *DetachNetworkRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.AttachmentID) @@ -550,6 +708,9 @@ func (m *DetachNetworkRequest) Size() (n int) { } func (m *DetachNetworkResponse) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n @@ -631,7 +792,7 @@ func (m *AttachNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -659,7 +820,7 @@ func (m *AttachNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -668,6 +829,9 @@ func (m *AttachNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthResource } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthResource + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -692,7 +856,7 @@ func (m *AttachNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -702,6 +866,9 @@ func (m *AttachNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthResource } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthResource + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -716,6 +883,9 @@ func (m *AttachNetworkRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthResource } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthResource + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -743,7 +913,7 @@ func (m *AttachNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -771,7 +941,7 @@ func (m *AttachNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -781,6 +951,9 @@ func (m *AttachNetworkResponse) Unmarshal(dAtA []byte) error { return ErrInvalidLengthResource } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthResource + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -795,6 +968,9 @@ func (m *AttachNetworkResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthResource } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthResource + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -822,7 +998,7 @@ func (m *DetachNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -850,7 +1026,7 @@ func (m *DetachNetworkRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -860,6 +1036,9 @@ func (m *DetachNetworkRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthResource } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthResource + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -874,6 +1053,9 @@ func (m *DetachNetworkRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthResource } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthResource + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -901,7 +1083,7 @@ func (m *DetachNetworkResponse) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -924,6 +1106,9 @@ func (m *DetachNetworkResponse) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthResource } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthResource + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -990,10 +1175,13 @@ func skipResource(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthResource } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthResource + } return iNdEx, nil case 3: for { @@ -1022,6 +1210,9 @@ func skipResource(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthResource + } } return iNdEx, nil case 4: @@ -1040,36 +1231,3 @@ var ( ErrInvalidLengthResource = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowResource = fmt.Errorf("proto: integer overflow") ) - -func init() { - proto.RegisterFile("github.com/docker/swarmkit/api/resource.proto", fileDescriptorResource) -} - -var fileDescriptorResource = []byte{ - // 397 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcf, 0x4e, 0xf2, 0x40, - 0x14, 0xc5, 0x19, 0x16, 0x24, 0xdf, 0x50, 0xf2, 0x69, 0x03, 0x91, 0x90, 0x58, 0x48, 0xdd, 0xa0, - 0x86, 0x36, 0x62, 0x8c, 0x6b, 0xfe, 0x6c, 0xba, 0x90, 0x45, 0x5f, 0xc0, 0x0c, 0xed, 0x50, 0x1a, - 0x68, 0xa7, 0x4e, 0xa7, 0x12, 0x77, 0x6e, 0x5d, 0xb9, 0xf5, 0x1d, 0x4c, 0x7c, 0x0e, 0xe2, 0xca, - 0xa5, 0x2b, 0x22, 0x7d, 0x00, 0x9f, 0xc1, 0xd0, 0x29, 0x10, 0x70, 0xa2, 0xc4, 0x55, 0xa7, 0xd3, - 0x73, 0xce, 0xfd, 0xdd, 0x7b, 0x0b, 0x1b, 0x8e, 0xcb, 0x86, 0x51, 0x5f, 0xb3, 0x88, 0xa7, 0xdb, - 0xc4, 0x1a, 0x61, 0xaa, 0x87, 0x13, 0x44, 0xbd, 0x91, 0xcb, 0x74, 0x14, 0xb8, 0x3a, 0xc5, 0x21, - 0x89, 0xa8, 0x85, 0xb5, 0x80, 0x12, 0x46, 0x64, 0x99, 0x6b, 0xb4, 0xa5, 0x46, 0xbb, 0x3d, 0xab, - 0x9c, 0xfc, 0x12, 0xc1, 0xee, 0x02, 0x1c, 0x72, 0x7f, 0xa5, 0xe8, 0x10, 0x87, 0x24, 0x47, 0x7d, - 0x71, 0x4a, 0x6f, 0x2f, 0x7f, 0x48, 0x48, 0x14, 0xfd, 0x68, 0xa0, 0x07, 0xe3, 0xc8, 0x71,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e4, 0x60, 0xce, 0xb2, 0xc1, 0x2e, 0x66, 0x11, 0x4d, 0x4b, 0xcc, - 0x22, 0x1c, 0xc4, 0x4e, 0x2c, 0xed, 0xf2, 0x74, 0xae, 0x64, 0xde, 0xe7, 0x4a, 0xe6, 0x3e, 0x56, - 0xc0, 0x34, 0x56, 0xc0, 0x5b, 0xac, 0x80, 0x8f, 0x58, 0x01, 0xfd, 0x5c, 0xf2, 0x63, 0x9e, 0x7f, - 0x05, 0x00, 0x00, 0xff, 0xff, 0xc1, 0x7a, 0x29, 0xfc, 0x58, 0x03, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/snapshot.pb.go b/vendor/github.com/docker/swarmkit/api/snapshot.pb.go index 4d6893a904..0add79d543 100644 --- a/vendor/github.com/docker/swarmkit/api/snapshot.pb.go +++ b/vendor/github.com/docker/swarmkit/api/snapshot.pb.go @@ -3,24 +3,27 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" - -// skipping weak import gogoproto "github.com/gogo/protobuf/gogoproto" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + proto "github.com/gogo/protobuf/proto" + io "io" + math "math" + reflect "reflect" + strings "strings" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type Snapshot_Version int32 const ( @@ -31,6 +34,7 @@ const ( var Snapshot_Version_name = map[int32]string{ 0: "V0", } + var Snapshot_Version_value = map[string]int32{ "V0": 0, } @@ -38,50 +42,177 @@ var Snapshot_Version_value = map[string]int32{ func (x Snapshot_Version) String() string { return proto.EnumName(Snapshot_Version_name, int32(x)) } -func (Snapshot_Version) EnumDescriptor() ([]byte, []int) { return fileDescriptorSnapshot, []int{2, 0} } + +func (Snapshot_Version) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_c5cad0b62cecd9af, []int{2, 0} +} // StoreSnapshot is used to store snapshots of the store. type StoreSnapshot struct { - Nodes []*Node `protobuf:"bytes,1,rep,name=nodes" json:"nodes,omitempty"` - Services []*Service `protobuf:"bytes,2,rep,name=services" json:"services,omitempty"` - Networks []*Network `protobuf:"bytes,3,rep,name=networks" json:"networks,omitempty"` - Tasks []*Task `protobuf:"bytes,4,rep,name=tasks" json:"tasks,omitempty"` - Clusters []*Cluster `protobuf:"bytes,5,rep,name=clusters" json:"clusters,omitempty"` - Secrets []*Secret `protobuf:"bytes,6,rep,name=secrets" json:"secrets,omitempty"` - Resources []*Resource `protobuf:"bytes,7,rep,name=resources" json:"resources,omitempty"` - Extensions []*Extension `protobuf:"bytes,8,rep,name=extensions" json:"extensions,omitempty"` - Configs []*Config `protobuf:"bytes,9,rep,name=configs" json:"configs,omitempty"` + Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` + Services []*Service `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"` + Networks []*Network `protobuf:"bytes,3,rep,name=networks,proto3" json:"networks,omitempty"` + Tasks []*Task `protobuf:"bytes,4,rep,name=tasks,proto3" json:"tasks,omitempty"` + Clusters []*Cluster `protobuf:"bytes,5,rep,name=clusters,proto3" json:"clusters,omitempty"` + Secrets []*Secret `protobuf:"bytes,6,rep,name=secrets,proto3" json:"secrets,omitempty"` + Resources []*Resource `protobuf:"bytes,7,rep,name=resources,proto3" json:"resources,omitempty"` + Extensions []*Extension `protobuf:"bytes,8,rep,name=extensions,proto3" json:"extensions,omitempty"` + Configs []*Config `protobuf:"bytes,9,rep,name=configs,proto3" json:"configs,omitempty"` } -func (m *StoreSnapshot) Reset() { *m = StoreSnapshot{} } -func (*StoreSnapshot) ProtoMessage() {} -func (*StoreSnapshot) Descriptor() ([]byte, []int) { return fileDescriptorSnapshot, []int{0} } +func (m *StoreSnapshot) Reset() { *m = StoreSnapshot{} } +func (*StoreSnapshot) ProtoMessage() {} +func (*StoreSnapshot) Descriptor() ([]byte, []int) { + return fileDescriptor_c5cad0b62cecd9af, []int{0} +} +func (m *StoreSnapshot) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StoreSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StoreSnapshot.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StoreSnapshot) XXX_Merge(src proto.Message) { + xxx_messageInfo_StoreSnapshot.Merge(m, src) +} +func (m *StoreSnapshot) XXX_Size() int { + return m.Size() +} +func (m *StoreSnapshot) XXX_DiscardUnknown() { + xxx_messageInfo_StoreSnapshot.DiscardUnknown(m) +} + +var xxx_messageInfo_StoreSnapshot proto.InternalMessageInfo // ClusterSnapshot stores cluster membership information in snapshots. type ClusterSnapshot struct { - Members []*RaftMember `protobuf:"bytes,1,rep,name=members" json:"members,omitempty"` - Removed []uint64 `protobuf:"varint,2,rep,name=removed" json:"removed,omitempty"` + Members []*RaftMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` + Removed []uint64 `protobuf:"varint,2,rep,name=removed,proto3" json:"removed,omitempty"` } -func (m *ClusterSnapshot) Reset() { *m = ClusterSnapshot{} } -func (*ClusterSnapshot) ProtoMessage() {} -func (*ClusterSnapshot) Descriptor() ([]byte, []int) { return fileDescriptorSnapshot, []int{1} } +func (m *ClusterSnapshot) Reset() { *m = ClusterSnapshot{} } +func (*ClusterSnapshot) ProtoMessage() {} +func (*ClusterSnapshot) Descriptor() ([]byte, []int) { + return fileDescriptor_c5cad0b62cecd9af, []int{1} +} +func (m *ClusterSnapshot) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ClusterSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ClusterSnapshot.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ClusterSnapshot) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterSnapshot.Merge(m, src) +} +func (m *ClusterSnapshot) XXX_Size() int { + return m.Size() +} +func (m *ClusterSnapshot) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterSnapshot.DiscardUnknown(m) +} + +var xxx_messageInfo_ClusterSnapshot proto.InternalMessageInfo type Snapshot struct { Version Snapshot_Version `protobuf:"varint,1,opt,name=version,proto3,enum=docker.swarmkit.v1.Snapshot_Version" json:"version,omitempty"` - Membership ClusterSnapshot `protobuf:"bytes,2,opt,name=membership" json:"membership"` - Store StoreSnapshot `protobuf:"bytes,3,opt,name=store" json:"store"` + Membership ClusterSnapshot `protobuf:"bytes,2,opt,name=membership,proto3" json:"membership"` + Store StoreSnapshot `protobuf:"bytes,3,opt,name=store,proto3" json:"store"` } -func (m *Snapshot) Reset() { *m = Snapshot{} } -func (*Snapshot) ProtoMessage() {} -func (*Snapshot) Descriptor() ([]byte, []int) { return fileDescriptorSnapshot, []int{2} } +func (m *Snapshot) Reset() { *m = Snapshot{} } +func (*Snapshot) ProtoMessage() {} +func (*Snapshot) Descriptor() ([]byte, []int) { + return fileDescriptor_c5cad0b62cecd9af, []int{2} +} +func (m *Snapshot) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Snapshot.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Snapshot) XXX_Merge(src proto.Message) { + xxx_messageInfo_Snapshot.Merge(m, src) +} +func (m *Snapshot) XXX_Size() int { + return m.Size() +} +func (m *Snapshot) XXX_DiscardUnknown() { + xxx_messageInfo_Snapshot.DiscardUnknown(m) +} + +var xxx_messageInfo_Snapshot proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.Snapshot_Version", Snapshot_Version_name, Snapshot_Version_value) proto.RegisterType((*StoreSnapshot)(nil), "docker.swarmkit.v1.StoreSnapshot") proto.RegisterType((*ClusterSnapshot)(nil), "docker.swarmkit.v1.ClusterSnapshot") proto.RegisterType((*Snapshot)(nil), "docker.swarmkit.v1.Snapshot") - proto.RegisterEnum("docker.swarmkit.v1.Snapshot_Version", Snapshot_Version_name, Snapshot_Version_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/snapshot.proto", fileDescriptor_c5cad0b62cecd9af) +} + +var fileDescriptor_c5cad0b62cecd9af = []byte{ + // 507 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xcf, 0x6f, 0xd3, 0x30, + 0x14, 0xc7, 0x93, 0xfe, 0x4a, 0xe7, 0x09, 0x18, 0x16, 0x07, 0xab, 0x0c, 0x53, 0xca, 0x0e, 0x45, + 0x82, 0x14, 0x0a, 0x12, 0x08, 0x69, 0x1c, 0x3a, 0x71, 0xe0, 0xc0, 0x0e, 0x2e, 0x9a, 0xb8, 0xa6, + 0xa9, 0xdb, 0x86, 0x90, 0xb8, 0xf2, 0x73, 0x3b, 0x8e, 0xf0, 0x1f, 0xf0, 0x67, 0xf5, 0xb8, 0xe3, + 0x4e, 0x88, 0xb5, 0x07, 0xfe, 0x0d, 0x64, 0x3b, 0x09, 0x95, 0x48, 0xb7, 0x5b, 0x64, 0x7d, 0x3e, + 0xef, 0x7d, 0xed, 0xbc, 0x87, 0x9e, 0x4d, 0x23, 0x35, 0x5b, 0x8c, 0xfc, 0x50, 0x24, 0xbd, 0xb1, + 0x08, 0x63, 0x2e, 0x7b, 0x70, 0x1e, 0xc8, 0x24, 0x8e, 0x54, 0x2f, 0x98, 0x47, 0x3d, 0x48, 0x83, + 0x39, 0xcc, 0x84, 0xf2, 0xe7, 0x52, 0x28, 0x81, 0xb1, 0x65, 0xfc, 0x9c, 0xf1, 0x97, 0x2f, 0x5a, + 0x4f, 0x6f, 0x28, 0x21, 0x46, 0x5f, 0x78, 0xa8, 0xc0, 0x56, 0x68, 0x3d, 0xb9, 0x81, 0x96, 0xc1, + 0x24, 0x6b, 0xd6, 0xba, 0x37, 0x15, 0x53, 0x61, 0x3e, 0x7b, 0xfa, 0xcb, 0x9e, 0x76, 0x7e, 0xd4, + 0xd0, 0xad, 0xa1, 0x12, 0x92, 0x0f, 0xb3, 0x68, 0xd8, 0x47, 0xf5, 0x54, 0x8c, 0x39, 0x10, 0xb7, + 0x5d, 0xed, 0xee, 0xf7, 0x89, 0xff, 0x7f, 0x48, 0xff, 0x54, 0x8c, 0x39, 0xb3, 0x18, 0x7e, 0x8d, + 0x9a, 0xc0, 0xe5, 0x32, 0x0a, 0x39, 0x90, 0x8a, 0x51, 0xee, 0x97, 0x29, 0x43, 0xcb, 0xb0, 0x02, + 0xd6, 0x62, 0xca, 0xd5, 0xb9, 0x90, 0x31, 0x90, 0xea, 0x6e, 0xf1, 0xd4, 0x32, 0xac, 0x80, 0x75, + 0x42, 0x15, 0x40, 0x0c, 0xa4, 0xb6, 0x3b, 0xe1, 0xa7, 0x00, 0x62, 0x66, 0x31, 0xdd, 0x28, 0xfc, + 0xba, 0x00, 0xc5, 0x25, 0x90, 0xfa, 0xee, 0x46, 0x27, 0x96, 0x61, 0x05, 0x8c, 0x5f, 0x21, 0x0f, + 0x78, 0x28, 0xb9, 0x02, 0xd2, 0x30, 0x5e, 0xab, 0xfc, 0x66, 0x1a, 0x61, 0x39, 0x8a, 0xdf, 0xa2, + 0x3d, 0xc9, 0x41, 0x2c, 0xa4, 0x7e, 0x11, 0xcf, 0x78, 0x87, 0x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, 0x57, 0x6b, 0xea, 0x5e, 0xac, 0xa9, 0xfb, 0x7b, 0x4d, 0xdd, 0x9f, 0x1b, 0xea, 0x5c, + 0x6c, 0xa8, 0x73, 0xb9, 0xa1, 0xce, 0xe7, 0xca, 0xa8, 0x61, 0xf6, 0xf0, 0xe5, 0xdf, 0x00, 0x00, + 0x00, 0xff, 0xff, 0x97, 0x4e, 0xfd, 0x2a, 0x3b, 0x04, 0x00, 0x00, } func (m *StoreSnapshot) Copy() *StoreSnapshot { @@ -101,7 +232,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Nodes = make([]*Node, len(o.Nodes)) for i := range m.Nodes { m.Nodes[i] = &Node{} - deepcopy.Copy(m.Nodes[i], o.Nodes[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Nodes[i], o.Nodes[i]) } } @@ -109,7 +240,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Services = make([]*Service, len(o.Services)) for i := range m.Services { m.Services[i] = &Service{} - deepcopy.Copy(m.Services[i], o.Services[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Services[i], o.Services[i]) } } @@ -117,7 +248,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Networks = make([]*Network, len(o.Networks)) for i := range m.Networks { m.Networks[i] = &Network{} - deepcopy.Copy(m.Networks[i], o.Networks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Networks[i], o.Networks[i]) } } @@ -125,7 +256,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Tasks = make([]*Task, len(o.Tasks)) for i := range m.Tasks { m.Tasks[i] = &Task{} - deepcopy.Copy(m.Tasks[i], o.Tasks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Tasks[i], o.Tasks[i]) } } @@ -133,7 +264,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Clusters = make([]*Cluster, len(o.Clusters)) for i := range m.Clusters { m.Clusters[i] = &Cluster{} - deepcopy.Copy(m.Clusters[i], o.Clusters[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Clusters[i], o.Clusters[i]) } } @@ -141,7 +272,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Secrets = make([]*Secret, len(o.Secrets)) for i := range m.Secrets { m.Secrets[i] = &Secret{} - deepcopy.Copy(m.Secrets[i], o.Secrets[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secrets[i], o.Secrets[i]) } } @@ -149,7 +280,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Resources = make([]*Resource, len(o.Resources)) for i := range m.Resources { m.Resources[i] = &Resource{} - deepcopy.Copy(m.Resources[i], o.Resources[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resources[i], o.Resources[i]) } } @@ -157,7 +288,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Extensions = make([]*Extension, len(o.Extensions)) for i := range m.Extensions { m.Extensions[i] = &Extension{} - deepcopy.Copy(m.Extensions[i], o.Extensions[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Extensions[i], o.Extensions[i]) } } @@ -165,7 +296,7 @@ func (m *StoreSnapshot) CopyFrom(src interface{}) { m.Configs = make([]*Config, len(o.Configs)) for i := range m.Configs { m.Configs[i] = &Config{} - deepcopy.Copy(m.Configs[i], o.Configs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Configs[i], o.Configs[i]) } } @@ -188,7 +319,7 @@ func (m *ClusterSnapshot) CopyFrom(src interface{}) { m.Members = make([]*RaftMember, len(o.Members)) for i := range m.Members { m.Members[i] = &RaftMember{} - deepcopy.Copy(m.Members[i], o.Members[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Members[i], o.Members[i]) } } @@ -212,8 +343,8 @@ func (m *Snapshot) CopyFrom(src interface{}) { o := src.(*Snapshot) *m = *o - deepcopy.Copy(&m.Membership, &o.Membership) - deepcopy.Copy(&m.Store, &o.Store) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Membership, &o.Membership) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Store, &o.Store) } func (m *StoreSnapshot) Marshal() (dAtA []byte, err error) { @@ -427,8 +558,10 @@ func encodeVarintSnapshot(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return offset + 1 } - func (m *StoreSnapshot) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Nodes) > 0 { @@ -489,6 +622,9 @@ func (m *StoreSnapshot) Size() (n int) { } func (m *ClusterSnapshot) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Members) > 0 { @@ -506,6 +642,9 @@ func (m *ClusterSnapshot) Size() (n int) { } func (m *Snapshot) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Version != 0 { @@ -595,7 +734,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -623,7 +762,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -632,6 +771,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -654,7 +796,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -663,6 +805,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -685,7 +830,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -694,6 +839,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -716,7 +864,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -725,6 +873,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -747,7 +898,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -756,6 +907,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -778,7 +932,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -787,6 +941,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -809,7 +966,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -818,6 +975,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -840,7 +1000,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -849,6 +1009,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -871,7 +1034,7 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -880,6 +1043,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -897,6 +1063,9 @@ func (m *StoreSnapshot) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSnapshot } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSnapshot + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -924,7 +1093,7 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -952,7 +1121,7 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -961,6 +1130,9 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -981,7 +1153,7 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (uint64(b) & 0x7F) << shift + v |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -998,7 +1170,7 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - packedLen |= (int(b) & 0x7F) << shift + packedLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1007,9 +1179,23 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + packedLen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } + var elementCount int + var count int + for _, integer := range dAtA[iNdEx:postIndex] { + if integer < 128 { + count++ + } + } + elementCount = count + if elementCount != 0 && len(m.Removed) == 0 { + m.Removed = make([]uint64, 0, elementCount) + } for iNdEx < postIndex { var v uint64 for shift := uint(0); ; shift += 7 { @@ -1021,7 +1207,7 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (uint64(b) & 0x7F) << shift + v |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1040,6 +1226,9 @@ func (m *ClusterSnapshot) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSnapshot } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSnapshot + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1067,7 +1256,7 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1095,7 +1284,7 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Version |= (Snapshot_Version(b) & 0x7F) << shift + m.Version |= Snapshot_Version(b&0x7F) << shift if b < 0x80 { break } @@ -1114,7 +1303,7 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1123,6 +1312,9 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1144,7 +1336,7 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1153,6 +1345,9 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSnapshot } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSnapshot + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1169,6 +1364,9 @@ func (m *Snapshot) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSnapshot } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSnapshot + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -1235,10 +1433,13 @@ func skipSnapshot(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthSnapshot } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthSnapshot + } return iNdEx, nil case 3: for { @@ -1267,6 +1468,9 @@ func skipSnapshot(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthSnapshot + } } return iNdEx, nil case 4: @@ -1285,42 +1489,3 @@ var ( ErrInvalidLengthSnapshot = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSnapshot = fmt.Errorf("proto: integer overflow") ) - -func init() { - proto.RegisterFile("github.com/docker/swarmkit/api/snapshot.proto", fileDescriptorSnapshot) -} - -var fileDescriptorSnapshot = []byte{ - // 493 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x93, 0xbf, 0x8f, 0xd3, 0x30, - 0x14, 0xc7, 0x93, 0xf4, 0x47, 0x7a, 0x3e, 0x01, 0x87, 0xc5, 0x60, 0x95, 0x23, 0x94, 0xc2, 0x50, - 0x24, 0x48, 0xa0, 0x20, 0x81, 0x90, 0x8e, 0xa1, 0x27, 0x06, 0x06, 0x6e, 0x70, 0xd1, 0x89, 0x35, - 0x4d, 0xdd, 0x36, 0x84, 0xc4, 0x95, 0x9f, 0xdb, 0x63, 0x84, 0xff, 0xae, 0x23, 0x23, 0x13, 0xe2, - 0xba, 0xf0, 0x6f, 0x20, 0xdb, 0x71, 0xa8, 0x44, 0x7a, 0xb7, 0x45, 0xd6, 0xe7, 0xf3, 0xde, 0xd7, - 0xce, 0x7b, 0xe8, 0xe9, 0x3c, 0x95, 0x8b, 0xd5, 0x24, 0x4c, 0x78, 0x1e, 0x4d, 0x79, 0x92, 0x31, - 0x11, 0xc1, 0x45, 0x2c, 0xf2, 0x2c, 0x95, 0x51, 0xbc, 0x4c, 0x23, 0x28, 0xe2, 0x25, 0x2c, 0xb8, - 0x0c, 0x97, 0x82, 0x4b, 0x8e, 0xb1, 0x61, 0x42, 0xcb, 0x84, 0xeb, 0xe7, 0xdd, 0x27, 0xd7, 0x94, - 0xe0, 0x93, 0xcf, 0x2c, 0x91, 0x60, 0x2a, 0x74, 0x1f, 0x5f, 0x43, 0x8b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xe8, 0x56, 0x79, 0xf7, 0x6a, 0x08, 0x5e, 0x23, 0x3f, 0x67, 0xf9, 0x44, 0xbd, 0x98, - 0x19, 0x83, 0xa0, 0xf6, 0x06, 0xf1, 0x4c, 0x7e, 0xd0, 0x18, 0xb5, 0x38, 0x3e, 0x46, 0xbe, 0x60, - 0x39, 0x5f, 0xb3, 0xa9, 0x9e, 0x86, 0xe6, 0xc8, 0x3b, 0x72, 0xa8, 0x3d, 0xea, 0xff, 0x71, 0x51, - 0xa7, 0x6a, 0xf2, 0x16, 0xf9, 0x6b, 0x26, 0x54, 0x72, 0xe2, 0xf6, 0xdc, 0xc1, 0xcd, 0xe1, 0xa3, - 0xda, 0xe7, 0xb5, 0x3b, 0x73, 0x6e, 0x58, 0x6a, 0x25, 0xfc, 0x1e, 0xa1, 0xb2, 0xeb, 0x22, 0x5d, - 0x12, 0xaf, 0xe7, 0x0e, 0x0e, 0x87, 0x0f, 0xaf, 0xf8, 0xb3, 0xb6, 0xd2, 0xa8, 0xb9, 0xf9, 0x75, - 0xdf, 0xa1, 0x3b, 0x32, 0x3e, 0x41, 0x2d, 0x50, 0x5b, 0x40, 0x1a, 0xba, 0xca, 0x83, 0xda, 0x20, - 0xbb, 0x6b, 0x52, 0xd6, 0x30, 0x56, 0xff, 0x36, 0xf2, 0xcb, 0x74, 0xb8, 0x8d, 0xbc, 0xf3, 0x67, - 0x47, 0xce, 0x88, 0x6c, 0x2e, 0x03, 0xe7, 0xe7, 0x65, 0xe0, 0x7c, 0xdb, 0x06, 0xee, 0x66, 0x1b, - 0xb8, 0x3f, 0xb6, 0x81, 0xfb, 0x7b, 0x1b, 0xb8, 0x9f, 0xbc, 0x49, 0x5b, 0xef, 0xde, 0x8b, 0xbf, - 0x01, 0x00, 0x00, 0xff, 0xff, 0xfd, 0xbe, 0x47, 0xec, 0x2f, 0x04, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/specs.pb.go b/vendor/github.com/docker/swarmkit/api/specs.pb.go index 660e59ca2a..dbfc2ab2e1 100644 --- a/vendor/github.com/docker/swarmkit/api/specs.pb.go +++ b/vendor/github.com/docker/swarmkit/api/specs.pb.go @@ -3,27 +3,30 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import google_protobuf1 "github.com/gogo/protobuf/types" -import google_protobuf4 "github.com/gogo/protobuf/types" -import google_protobuf2 "github.com/gogo/protobuf/types" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import strings "strings" -import reflect "reflect" -import sortkeys "github.com/gogo/protobuf/sortkeys" - -import io "io" +import ( + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + reflect "reflect" + strings "strings" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type NodeSpec_Membership int32 const ( @@ -35,6 +38,7 @@ var NodeSpec_Membership_name = map[int32]string{ 0: "PENDING", 1: "ACCEPTED", } + var NodeSpec_Membership_value = map[string]int32{ "PENDING": 0, "ACCEPTED": 1, @@ -43,7 +47,10 @@ var NodeSpec_Membership_value = map[string]int32{ func (x NodeSpec_Membership) String() string { return proto.EnumName(NodeSpec_Membership_name, int32(x)) } -func (NodeSpec_Membership) EnumDescriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{0, 0} } + +func (NodeSpec_Membership) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{0, 0} +} type NodeSpec_Availability int32 @@ -63,6 +70,7 @@ var NodeSpec_Availability_name = map[int32]string{ 1: "PAUSE", 2: "DRAIN", } + var NodeSpec_Availability_value = map[string]int32{ "ACTIVE": 0, "PAUSE": 1, @@ -72,7 +80,10 @@ var NodeSpec_Availability_value = map[string]int32{ func (x NodeSpec_Availability) String() string { return proto.EnumName(NodeSpec_Availability_name, int32(x)) } -func (NodeSpec_Availability) EnumDescriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{0, 1} } + +func (NodeSpec_Availability) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{0, 1} +} type ContainerSpec_Isolation int32 @@ -90,6 +101,7 @@ var ContainerSpec_Isolation_name = map[int32]string{ 1: "ISOLATION_PROCESS", 2: "ISOLATION_HYPERV", } + var ContainerSpec_Isolation_value = map[string]int32{ "ISOLATION_DEFAULT": 0, "ISOLATION_PROCESS": 1, @@ -99,8 +111,9 @@ var ContainerSpec_Isolation_value = map[string]int32{ func (x ContainerSpec_Isolation) String() string { return proto.EnumName(ContainerSpec_Isolation_name, int32(x)) } + func (ContainerSpec_Isolation) EnumDescriptor() ([]byte, []int) { - return fileDescriptorSpecs, []int{8, 0} + return fileDescriptor_6589acc608f7d4fd, []int{10, 0} } // ResolutionMode specifies the mode of resolution to use for @@ -127,6 +140,7 @@ var EndpointSpec_ResolutionMode_name = map[int32]string{ 0: "VIP", 1: "DNSRR", } + var EndpointSpec_ResolutionMode_value = map[string]int32{ "VIP": 0, "DNSRR": 1, @@ -135,12 +149,13 @@ var EndpointSpec_ResolutionMode_value = map[string]int32{ func (x EndpointSpec_ResolutionMode) String() string { return proto.EnumName(EndpointSpec_ResolutionMode_name, int32(x)) } + func (EndpointSpec_ResolutionMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptorSpecs, []int{9, 0} + return fileDescriptor_6589acc608f7d4fd, []int{11, 0} } type NodeSpec struct { - Annotations Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations"` + Annotations Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations"` // DesiredRole defines the role the node should have. DesiredRole NodeRole `protobuf:"varint,2,opt,name=desired_role,json=desiredRole,proto3,enum=docker.swarmkit.v1.NodeRole" json:"desired_role,omitempty"` // Membership controls the admission of the node into the cluster. @@ -150,9 +165,37 @@ type NodeSpec struct { Availability NodeSpec_Availability `protobuf:"varint,4,opt,name=availability,proto3,enum=docker.swarmkit.v1.NodeSpec_Availability" json:"availability,omitempty"` } -func (m *NodeSpec) Reset() { *m = NodeSpec{} } -func (*NodeSpec) ProtoMessage() {} -func (*NodeSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{0} } +func (m *NodeSpec) Reset() { *m = NodeSpec{} } +func (*NodeSpec) ProtoMessage() {} +func (*NodeSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{0} +} +func (m *NodeSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NodeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NodeSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NodeSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeSpec.Merge(m, src) +} +func (m *NodeSpec) XXX_Size() int { + return m.Size() +} +func (m *NodeSpec) XXX_DiscardUnknown() { + xxx_messageInfo_NodeSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_NodeSpec proto.InternalMessageInfo // ServiceSpec defines the properties of a service. // @@ -161,31 +204,61 @@ func (*NodeSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []in // strategy and restart policy, a number of application-level behaviors can be // defined. type ServiceSpec struct { - Annotations Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations"` + Annotations Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations"` // Task defines the task template this service will spawn. - Task TaskSpec `protobuf:"bytes,2,opt,name=task" json:"task"` + Task TaskSpec `protobuf:"bytes,2,opt,name=task,proto3" json:"task"` // Types that are valid to be assigned to Mode: // *ServiceSpec_Replicated // *ServiceSpec_Global + // *ServiceSpec_ReplicatedJob + // *ServiceSpec_GlobalJob Mode isServiceSpec_Mode `protobuf_oneof:"mode"` // Update contains settings which affect updates. - Update *UpdateConfig `protobuf:"bytes,6,opt,name=update" json:"update,omitempty"` + Update *UpdateConfig `protobuf:"bytes,6,opt,name=update,proto3" json:"update,omitempty"` // Rollback contains settings which affect rollbacks of updates. - Rollback *UpdateConfig `protobuf:"bytes,9,opt,name=rollback" json:"rollback,omitempty"` + Rollback *UpdateConfig `protobuf:"bytes,9,opt,name=rollback,proto3" json:"rollback,omitempty"` // ServiceSpec.Networks has been deprecated and is replaced by // Networks field in Task (TaskSpec.Networks). // This field (ServiceSpec.Networks) is kept for compatibility. // In case TaskSpec.Networks does not exist, ServiceSpec.Networks // is still honored if it exists. - Networks []*NetworkAttachmentConfig `protobuf:"bytes,7,rep,name=networks" json:"networks,omitempty"` + Networks []*NetworkAttachmentConfig `protobuf:"bytes,7,rep,name=networks,proto3" json:"networks,omitempty"` // Deprecated: Do not use. // Service endpoint specifies the user provided configuration // to properly discover and load balance a service. - Endpoint *EndpointSpec `protobuf:"bytes,8,opt,name=endpoint" json:"endpoint,omitempty"` + Endpoint *EndpointSpec `protobuf:"bytes,8,opt,name=endpoint,proto3" json:"endpoint,omitempty"` } -func (m *ServiceSpec) Reset() { *m = ServiceSpec{} } -func (*ServiceSpec) ProtoMessage() {} -func (*ServiceSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{1} } +func (m *ServiceSpec) Reset() { *m = ServiceSpec{} } +func (*ServiceSpec) ProtoMessage() {} +func (*ServiceSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{1} +} +func (m *ServiceSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ServiceSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ServiceSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ServiceSpec.Merge(m, src) +} +func (m *ServiceSpec) XXX_Size() int { + return m.Size() +} +func (m *ServiceSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ServiceSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ServiceSpec proto.InternalMessageInfo type isServiceSpec_Mode interface { isServiceSpec_Mode() @@ -194,14 +267,22 @@ type isServiceSpec_Mode interface { } type ServiceSpec_Replicated struct { - Replicated *ReplicatedService `protobuf:"bytes,3,opt,name=replicated,oneof"` + Replicated *ReplicatedService `protobuf:"bytes,3,opt,name=replicated,proto3,oneof"` } type ServiceSpec_Global struct { - Global *GlobalService `protobuf:"bytes,4,opt,name=global,oneof"` + Global *GlobalService `protobuf:"bytes,4,opt,name=global,proto3,oneof"` +} +type ServiceSpec_ReplicatedJob struct { + ReplicatedJob *ReplicatedJob `protobuf:"bytes,10,opt,name=replicated_job,json=replicatedJob,proto3,oneof"` +} +type ServiceSpec_GlobalJob struct { + GlobalJob *GlobalJob `protobuf:"bytes,11,opt,name=global_job,json=globalJob,proto3,oneof"` } -func (*ServiceSpec_Replicated) isServiceSpec_Mode() {} -func (*ServiceSpec_Global) isServiceSpec_Mode() {} +func (*ServiceSpec_Replicated) isServiceSpec_Mode() {} +func (*ServiceSpec_Global) isServiceSpec_Mode() {} +func (*ServiceSpec_ReplicatedJob) isServiceSpec_Mode() {} +func (*ServiceSpec_GlobalJob) isServiceSpec_Mode() {} func (m *ServiceSpec) GetMode() isServiceSpec_Mode { if m != nil { @@ -224,11 +305,27 @@ func (m *ServiceSpec) GetGlobal() *GlobalService { return nil } +func (m *ServiceSpec) GetReplicatedJob() *ReplicatedJob { + if x, ok := m.GetMode().(*ServiceSpec_ReplicatedJob); ok { + return x.ReplicatedJob + } + return nil +} + +func (m *ServiceSpec) GetGlobalJob() *GlobalJob { + if x, ok := m.GetMode().(*ServiceSpec_GlobalJob); ok { + return x.GlobalJob + } + return nil +} + // XXX_OneofFuncs is for the internal use of the proto package. func (*ServiceSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) { return _ServiceSpec_OneofMarshaler, _ServiceSpec_OneofUnmarshaler, _ServiceSpec_OneofSizer, []interface{}{ (*ServiceSpec_Replicated)(nil), (*ServiceSpec_Global)(nil), + (*ServiceSpec_ReplicatedJob)(nil), + (*ServiceSpec_GlobalJob)(nil), } } @@ -246,6 +343,16 @@ func _ServiceSpec_OneofMarshaler(msg proto.Message, b *proto.Buffer) error { if err := b.EncodeMessage(x.Global); err != nil { return err } + case *ServiceSpec_ReplicatedJob: + _ = b.EncodeVarint(10<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.ReplicatedJob); err != nil { + return err + } + case *ServiceSpec_GlobalJob: + _ = b.EncodeVarint(11<<3 | proto.WireBytes) + if err := b.EncodeMessage(x.GlobalJob); err != nil { + return err + } case nil: default: return fmt.Errorf("ServiceSpec.Mode has unexpected type %T", x) @@ -272,6 +379,22 @@ func _ServiceSpec_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Bu err := b.DecodeMessage(msg) m.Mode = &ServiceSpec_Global{msg} return true, err + case 10: // mode.replicated_job + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(ReplicatedJob) + err := b.DecodeMessage(msg) + m.Mode = &ServiceSpec_ReplicatedJob{msg} + return true, err + case 11: // mode.global_job + if wire != proto.WireBytes { + return true, proto.ErrInternalBadWireType + } + msg := new(GlobalJob) + err := b.DecodeMessage(msg) + m.Mode = &ServiceSpec_GlobalJob{msg} + return true, err default: return false, nil } @@ -283,12 +406,22 @@ func _ServiceSpec_OneofSizer(msg proto.Message) (n int) { switch x := m.Mode.(type) { case *ServiceSpec_Replicated: s := proto.Size(x.Replicated) - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *ServiceSpec_Global: s := proto.Size(x.Global) - n += proto.SizeVarint(4<<3 | proto.WireBytes) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ServiceSpec_ReplicatedJob: + s := proto.Size(x.ReplicatedJob) + n += 1 // tag and wire + n += proto.SizeVarint(uint64(s)) + n += s + case *ServiceSpec_GlobalJob: + s := proto.Size(x.GlobalJob) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -303,17 +436,155 @@ type ReplicatedService struct { Replicas uint64 `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"` } -func (m *ReplicatedService) Reset() { *m = ReplicatedService{} } -func (*ReplicatedService) ProtoMessage() {} -func (*ReplicatedService) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{2} } +func (m *ReplicatedService) Reset() { *m = ReplicatedService{} } +func (*ReplicatedService) ProtoMessage() {} +func (*ReplicatedService) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{2} +} +func (m *ReplicatedService) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ReplicatedService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ReplicatedService.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ReplicatedService) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReplicatedService.Merge(m, src) +} +func (m *ReplicatedService) XXX_Size() int { + return m.Size() +} +func (m *ReplicatedService) XXX_DiscardUnknown() { + xxx_messageInfo_ReplicatedService.DiscardUnknown(m) +} + +var xxx_messageInfo_ReplicatedService proto.InternalMessageInfo // GlobalService represents global service. type GlobalService struct { } -func (m *GlobalService) Reset() { *m = GlobalService{} } -func (*GlobalService) ProtoMessage() {} -func (*GlobalService) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{3} } +func (m *GlobalService) Reset() { *m = GlobalService{} } +func (*GlobalService) ProtoMessage() {} +func (*GlobalService) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{3} +} +func (m *GlobalService) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GlobalService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GlobalService.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GlobalService) XXX_Merge(src proto.Message) { + xxx_messageInfo_GlobalService.Merge(m, src) +} +func (m *GlobalService) XXX_Size() int { + return m.Size() +} +func (m *GlobalService) XXX_DiscardUnknown() { + xxx_messageInfo_GlobalService.DiscardUnknown(m) +} + +var xxx_messageInfo_GlobalService proto.InternalMessageInfo + +// ReplicatedJob is a certain type of one-off job which executes many Tasks in +// parallel until the specified number of Tasks have succeeded. +type ReplicatedJob struct { + // MaxConcurrent indicates the maximum number of Tasks that should be + // executing simultaneously at any given time. + MaxConcurrent uint64 `protobuf:"varint,1,opt,name=max_concurrent,json=maxConcurrent,proto3" json:"max_concurrent,omitempty"` + // TotalCompletions sets the total number of Tasks desired to run to + // completion. This is also the absolute maximum number of Tasks that will + // be executed in parallel. That is, if this number is smaller than + // MaxConcurrent, only this many replicas will run. + TotalCompletions uint64 `protobuf:"varint,2,opt,name=total_completions,json=totalCompletions,proto3" json:"total_completions,omitempty"` +} + +func (m *ReplicatedJob) Reset() { *m = ReplicatedJob{} } +func (*ReplicatedJob) ProtoMessage() {} +func (*ReplicatedJob) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{4} +} +func (m *ReplicatedJob) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ReplicatedJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ReplicatedJob.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ReplicatedJob) XXX_Merge(src proto.Message) { + xxx_messageInfo_ReplicatedJob.Merge(m, src) +} +func (m *ReplicatedJob) XXX_Size() int { + return m.Size() +} +func (m *ReplicatedJob) XXX_DiscardUnknown() { + xxx_messageInfo_ReplicatedJob.DiscardUnknown(m) +} + +var xxx_messageInfo_ReplicatedJob proto.InternalMessageInfo + +// GlobalJob is a type of one-off job which executes one Task on every node +// matching the service's placement constraints. +type GlobalJob struct { +} + +func (m *GlobalJob) Reset() { *m = GlobalJob{} } +func (*GlobalJob) ProtoMessage() {} +func (*GlobalJob) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{5} +} +func (m *GlobalJob) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GlobalJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GlobalJob.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GlobalJob) XXX_Merge(src proto.Message) { + xxx_messageInfo_GlobalJob.Merge(m, src) +} +func (m *GlobalJob) XXX_Size() int { + return m.Size() +} +func (m *GlobalJob) XXX_DiscardUnknown() { + xxx_messageInfo_GlobalJob.DiscardUnknown(m) +} + +var xxx_messageInfo_GlobalJob proto.InternalMessageInfo type TaskSpec struct { // Types that are valid to be assigned to Runtime: @@ -322,18 +593,18 @@ type TaskSpec struct { // *TaskSpec_Generic Runtime isTaskSpec_Runtime `protobuf_oneof:"runtime"` // Resource requirements for the container. - Resources *ResourceRequirements `protobuf:"bytes,2,opt,name=resources" json:"resources,omitempty"` + Resources *ResourceRequirements `protobuf:"bytes,2,opt,name=resources,proto3" json:"resources,omitempty"` // RestartPolicy specifies what to do when a task fails or finishes. - Restart *RestartPolicy `protobuf:"bytes,4,opt,name=restart" json:"restart,omitempty"` + Restart *RestartPolicy `protobuf:"bytes,4,opt,name=restart,proto3" json:"restart,omitempty"` // Placement specifies node selection constraints - Placement *Placement `protobuf:"bytes,5,opt,name=placement" json:"placement,omitempty"` + Placement *Placement `protobuf:"bytes,5,opt,name=placement,proto3" json:"placement,omitempty"` // LogDriver specifies the log driver to use for the task. Any runtime will // direct logs into the specified driver for the duration of the task. - LogDriver *Driver `protobuf:"bytes,6,opt,name=log_driver,json=logDriver" json:"log_driver,omitempty"` + LogDriver *Driver `protobuf:"bytes,6,opt,name=log_driver,json=logDriver,proto3" json:"log_driver,omitempty"` // Networks specifies the list of network attachment // configurations (which specify the network and per-network // aliases) that this task spec is bound to. - Networks []*NetworkAttachmentConfig `protobuf:"bytes,7,rep,name=networks" json:"networks,omitempty"` + Networks []*NetworkAttachmentConfig `protobuf:"bytes,7,rep,name=networks,proto3" json:"networks,omitempty"` // ForceUpdate is a counter that triggers an update even if no relevant // parameters have been changed. We do this to allow forced restarts // using the same reconciliation-based mechanism that performs rolling @@ -347,12 +618,40 @@ type TaskSpec struct { // dispatcher to send the related objects. // // ResourceReferences is a list of ResourceReferences used by the task. - ResourceReferences []ResourceReference `protobuf:"bytes,11,rep,name=resource_references,json=resourceReferences" json:"resource_references"` + ResourceReferences []ResourceReference `protobuf:"bytes,11,rep,name=resource_references,json=resourceReferences,proto3" json:"resource_references"` } -func (m *TaskSpec) Reset() { *m = TaskSpec{} } -func (*TaskSpec) ProtoMessage() {} -func (*TaskSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{4} } +func (m *TaskSpec) Reset() { *m = TaskSpec{} } +func (*TaskSpec) ProtoMessage() {} +func (*TaskSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{6} +} +func (m *TaskSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TaskSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TaskSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TaskSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskSpec.Merge(m, src) +} +func (m *TaskSpec) XXX_Size() int { + return m.Size() +} +func (m *TaskSpec) XXX_DiscardUnknown() { + xxx_messageInfo_TaskSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskSpec proto.InternalMessageInfo type isTaskSpec_Runtime interface { isTaskSpec_Runtime() @@ -361,13 +660,13 @@ type isTaskSpec_Runtime interface { } type TaskSpec_Attachment struct { - Attachment *NetworkAttachmentSpec `protobuf:"bytes,8,opt,name=attachment,oneof"` + Attachment *NetworkAttachmentSpec `protobuf:"bytes,8,opt,name=attachment,proto3,oneof"` } type TaskSpec_Container struct { - Container *ContainerSpec `protobuf:"bytes,1,opt,name=container,oneof"` + Container *ContainerSpec `protobuf:"bytes,1,opt,name=container,proto3,oneof"` } type TaskSpec_Generic struct { - Generic *GenericRuntimeSpec `protobuf:"bytes,10,opt,name=generic,oneof"` + Generic *GenericRuntimeSpec `protobuf:"bytes,10,opt,name=generic,proto3,oneof"` } func (*TaskSpec_Attachment) isTaskSpec_Runtime() {} @@ -475,17 +774,17 @@ func _TaskSpec_OneofSizer(msg proto.Message) (n int) { switch x := m.Runtime.(type) { case *TaskSpec_Attachment: s := proto.Size(x.Attachment) - n += proto.SizeVarint(8<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *TaskSpec_Container: s := proto.Size(x.Container) - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *TaskSpec_Generic: s := proto.Size(x.Generic) - n += proto.SizeVarint(10<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -500,18 +799,74 @@ type ResourceReference struct { ResourceType ResourceType `protobuf:"varint,2,opt,name=resource_type,json=resourceType,proto3,enum=docker.swarmkit.v1.ResourceType" json:"resource_type,omitempty"` } -func (m *ResourceReference) Reset() { *m = ResourceReference{} } -func (*ResourceReference) ProtoMessage() {} -func (*ResourceReference) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{5} } - -type GenericRuntimeSpec struct { - Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` - Payload *google_protobuf4.Any `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"` +func (m *ResourceReference) Reset() { *m = ResourceReference{} } +func (*ResourceReference) ProtoMessage() {} +func (*ResourceReference) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{7} +} +func (m *ResourceReference) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResourceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResourceReference.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResourceReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceReference.Merge(m, src) +} +func (m *ResourceReference) XXX_Size() int { + return m.Size() +} +func (m *ResourceReference) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceReference.DiscardUnknown(m) } -func (m *GenericRuntimeSpec) Reset() { *m = GenericRuntimeSpec{} } -func (*GenericRuntimeSpec) ProtoMessage() {} -func (*GenericRuntimeSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{6} } +var xxx_messageInfo_ResourceReference proto.InternalMessageInfo + +type GenericRuntimeSpec struct { + Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` + Payload *types.Any `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` +} + +func (m *GenericRuntimeSpec) Reset() { *m = GenericRuntimeSpec{} } +func (*GenericRuntimeSpec) ProtoMessage() {} +func (*GenericRuntimeSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{8} +} +func (m *GenericRuntimeSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GenericRuntimeSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GenericRuntimeSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GenericRuntimeSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenericRuntimeSpec.Merge(m, src) +} +func (m *GenericRuntimeSpec) XXX_Size() int { + return m.Size() +} +func (m *GenericRuntimeSpec) XXX_DiscardUnknown() { + xxx_messageInfo_GenericRuntimeSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_GenericRuntimeSpec proto.InternalMessageInfo // NetworkAttachmentSpec specifies runtime parameters required to attach // a container to a network. @@ -521,9 +876,37 @@ type NetworkAttachmentSpec struct { ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` } -func (m *NetworkAttachmentSpec) Reset() { *m = NetworkAttachmentSpec{} } -func (*NetworkAttachmentSpec) ProtoMessage() {} -func (*NetworkAttachmentSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{7} } +func (m *NetworkAttachmentSpec) Reset() { *m = NetworkAttachmentSpec{} } +func (*NetworkAttachmentSpec) ProtoMessage() {} +func (*NetworkAttachmentSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{9} +} +func (m *NetworkAttachmentSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkAttachmentSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkAttachmentSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NetworkAttachmentSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkAttachmentSpec.Merge(m, src) +} +func (m *NetworkAttachmentSpec) XXX_Size() int { + return m.Size() +} +func (m *NetworkAttachmentSpec) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkAttachmentSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkAttachmentSpec proto.InternalMessageInfo // Container specifies runtime parameters for a container. type ContainerSpec struct { @@ -540,25 +923,25 @@ type ContainerSpec struct { // // This field *must* remain compatible with the Labels field of // Annotations. - Labels map[string]string `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Command to run the the container. The first element is a path to the // executable and the following elements are treated as arguments. // // If command is empty, execution will fall back to the image's entrypoint. // // Command should only be used when overriding entrypoint. - Command []string `protobuf:"bytes,3,rep,name=command" json:"command,omitempty"` + Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"` // Args specifies arguments provided to the image's entrypoint. // // If Command and Args are provided, Args will be appended to Command. - Args []string `protobuf:"bytes,4,rep,name=args" json:"args,omitempty"` + Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` // Hostname specifies the hostname that will be set on containers created by docker swarm. // All containers for a given service will have the same hostname Hostname string `protobuf:"bytes,14,opt,name=hostname,proto3" json:"hostname,omitempty"` // Env specifies the environment variables for the container in NAME=VALUE // format. These must be compliant with [IEEE Std // 1003.1-2001](http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html). - Env []string `protobuf:"bytes,5,rep,name=env" json:"env,omitempty"` + Env []string `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"` // Dir defines the working directory to set for the container process. Dir string `protobuf:"bytes,6,opt,name=dir,proto3" json:"dir,omitempty"` // User specifies the user that should be employed to run the container. @@ -568,11 +951,11 @@ type ContainerSpec struct { // `:`. User string `protobuf:"bytes,7,opt,name=user,proto3" json:"user,omitempty"` // Groups specifies supplementary groups available to the user. - Groups []string `protobuf:"bytes,11,rep,name=groups" json:"groups,omitempty"` + Groups []string `protobuf:"bytes,11,rep,name=groups,proto3" json:"groups,omitempty"` // Privileges specifies security configuration/permissions. - Privileges *Privileges `protobuf:"bytes,22,opt,name=privileges" json:"privileges,omitempty"` + Privileges *Privileges `protobuf:"bytes,22,opt,name=privileges,proto3" json:"privileges,omitempty"` // Init declares that a custom init will be running inside the container, if null, use the daemon's configured settings - Init *google_protobuf2.BoolValue `protobuf:"bytes,23,opt,name=init" json:"init,omitempty"` + Init *types.BoolValue `protobuf:"bytes,23,opt,name=init,proto3" json:"init,omitempty"` // TTY declares that a TTY should be attached to the standard streams, // including stdin if it is still open. TTY bool `protobuf:"varint,13,opt,name=tty,proto3" json:"tty,omitempty"` @@ -585,19 +968,19 @@ type ContainerSpec struct { ReadOnly bool `protobuf:"varint,19,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` // StopSignal defines the signal to stop the container. StopSignal string `protobuf:"bytes,20,opt,name=stop_signal,json=stopSignal,proto3" json:"stop_signal,omitempty"` - Mounts []Mount `protobuf:"bytes,8,rep,name=mounts" json:"mounts"` + Mounts []Mount `protobuf:"bytes,8,rep,name=mounts,proto3" json:"mounts"` // StopGracePeriod the grace period for stopping the container before // forcefully killing the container. // Note: Can't use stdduration here because this needs to be nullable. - StopGracePeriod *google_protobuf1.Duration `protobuf:"bytes,9,opt,name=stop_grace_period,json=stopGracePeriod" json:"stop_grace_period,omitempty"` + StopGracePeriod *types.Duration `protobuf:"bytes,9,opt,name=stop_grace_period,json=stopGracePeriod,proto3" json:"stop_grace_period,omitempty"` // PullOptions parameterize the behavior of image pulls. - PullOptions *ContainerSpec_PullOptions `protobuf:"bytes,10,opt,name=pull_options,json=pullOptions" json:"pull_options,omitempty"` + PullOptions *ContainerSpec_PullOptions `protobuf:"bytes,10,opt,name=pull_options,json=pullOptions,proto3" json:"pull_options,omitempty"` // SecretReference contains references to zero or more secrets that // will be exposed to the container. - Secrets []*SecretReference `protobuf:"bytes,12,rep,name=secrets" json:"secrets,omitempty"` + Secrets []*SecretReference `protobuf:"bytes,12,rep,name=secrets,proto3" json:"secrets,omitempty"` // ConfigReference contains references to zero or more configs that // will be exposed to the container. - Configs []*ConfigReference `protobuf:"bytes,21,rep,name=configs" json:"configs,omitempty"` + Configs []*ConfigReference `protobuf:"bytes,21,rep,name=configs,proto3" json:"configs,omitempty"` // Hosts allow additional entries to be specified in /etc/hosts // that associates IP addresses with hostnames. // Detailed documentation is available in: @@ -608,14 +991,14 @@ type ContainerSpec struct { // above. // This is different from `docker run --add-host :` // where format is `:` - Hosts []string `protobuf:"bytes,17,rep,name=hosts" json:"hosts,omitempty"` + Hosts []string `protobuf:"bytes,17,rep,name=hosts,proto3" json:"hosts,omitempty"` // DNSConfig allows one to specify DNS related configuration in resolv.conf - DNSConfig *ContainerSpec_DNSConfig `protobuf:"bytes,15,opt,name=dns_config,json=dnsConfig" json:"dns_config,omitempty"` + DNSConfig *ContainerSpec_DNSConfig `protobuf:"bytes,15,opt,name=dns_config,json=dnsConfig,proto3" json:"dns_config,omitempty"` // Healthcheck describes how to check the container is healthy. If the // container is considered unhealthy, it will be destroyed, its creating // task will exit and a new task will be rescheduled elsewhere. A container // is considered unhealthy after `Retries` number of consecutive failures. - Healthcheck *HealthConfig `protobuf:"bytes,16,opt,name=healthcheck" json:"healthcheck,omitempty"` + Healthcheck *HealthConfig `protobuf:"bytes,16,opt,name=healthcheck,proto3" json:"healthcheck,omitempty"` // Isolation defines the isolation level for windows containers (default, process, hyperv). // Runtimes that don't support it ignore that field Isolation ContainerSpec_Isolation `protobuf:"varint,24,opt,name=isolation,proto3,enum=docker.swarmkit.v1.ContainerSpec_Isolation" json:"isolation,omitempty"` @@ -635,14 +1018,42 @@ type ContainerSpec struct { // documentation at: // // https://docs.docker.com/engine/reference/commandline/run/#configure-namespaced-kernel-parameters-sysctls-at-runtime - Sysctls map[string]string `protobuf:"bytes,26,rep,name=sysctls" json:"sysctls,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Sysctls map[string]string `protobuf:"bytes,26,rep,name=sysctls,proto3" json:"sysctls,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Capabilities is the list of Linux capabilities to be available for container (this overrides the default set of capabilities) - Capabilities []string `protobuf:"bytes,27,rep,name=capabilities" json:"capabilities,omitempty"` + Capabilities []string `protobuf:"bytes,27,rep,name=capabilities,proto3" json:"capabilities,omitempty"` } -func (m *ContainerSpec) Reset() { *m = ContainerSpec{} } -func (*ContainerSpec) ProtoMessage() {} -func (*ContainerSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{8} } +func (m *ContainerSpec) Reset() { *m = ContainerSpec{} } +func (*ContainerSpec) ProtoMessage() {} +func (*ContainerSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{10} +} +func (m *ContainerSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContainerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContainerSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContainerSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerSpec.Merge(m, src) +} +func (m *ContainerSpec) XXX_Size() int { + return m.Size() +} +func (m *ContainerSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainerSpec proto.InternalMessageInfo // PullOptions allows one to parameterize an image pull. type ContainerSpec_PullOptions struct { @@ -656,8 +1067,34 @@ type ContainerSpec_PullOptions struct { func (m *ContainerSpec_PullOptions) Reset() { *m = ContainerSpec_PullOptions{} } func (*ContainerSpec_PullOptions) ProtoMessage() {} func (*ContainerSpec_PullOptions) Descriptor() ([]byte, []int) { - return fileDescriptorSpecs, []int{8, 1} + return fileDescriptor_6589acc608f7d4fd, []int{10, 1} } +func (m *ContainerSpec_PullOptions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContainerSpec_PullOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContainerSpec_PullOptions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContainerSpec_PullOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerSpec_PullOptions.Merge(m, src) +} +func (m *ContainerSpec_PullOptions) XXX_Size() int { + return m.Size() +} +func (m *ContainerSpec_PullOptions) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerSpec_PullOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainerSpec_PullOptions proto.InternalMessageInfo // DNSConfig specifies DNS related configurations in resolver configuration file (resolv.conf) // Detailed documentation is available in: @@ -665,16 +1102,44 @@ func (*ContainerSpec_PullOptions) Descriptor() ([]byte, []int) { // TODO: domain is not supported yet type ContainerSpec_DNSConfig struct { // Nameservers specifies the IP addresses of the name servers - Nameservers []string `protobuf:"bytes,1,rep,name=nameservers" json:"nameservers,omitempty"` + Nameservers []string `protobuf:"bytes,1,rep,name=nameservers,proto3" json:"nameservers,omitempty"` // Search specifies the search list for host-name lookup - Search []string `protobuf:"bytes,2,rep,name=search" json:"search,omitempty"` + Search []string `protobuf:"bytes,2,rep,name=search,proto3" json:"search,omitempty"` // Options allows certain internal resolver variables to be modified - Options []string `protobuf:"bytes,3,rep,name=options" json:"options,omitempty"` + Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` } -func (m *ContainerSpec_DNSConfig) Reset() { *m = ContainerSpec_DNSConfig{} } -func (*ContainerSpec_DNSConfig) ProtoMessage() {} -func (*ContainerSpec_DNSConfig) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{8, 2} } +func (m *ContainerSpec_DNSConfig) Reset() { *m = ContainerSpec_DNSConfig{} } +func (*ContainerSpec_DNSConfig) ProtoMessage() {} +func (*ContainerSpec_DNSConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{10, 2} +} +func (m *ContainerSpec_DNSConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContainerSpec_DNSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContainerSpec_DNSConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContainerSpec_DNSConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerSpec_DNSConfig.Merge(m, src) +} +func (m *ContainerSpec_DNSConfig) XXX_Size() int { + return m.Size() +} +func (m *ContainerSpec_DNSConfig) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerSpec_DNSConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainerSpec_DNSConfig proto.InternalMessageInfo // EndpointSpec defines the properties that can be configured to // access and loadbalance the service. @@ -682,24 +1147,52 @@ type EndpointSpec struct { Mode EndpointSpec_ResolutionMode `protobuf:"varint,1,opt,name=mode,proto3,enum=docker.swarmkit.v1.EndpointSpec_ResolutionMode" json:"mode,omitempty"` // List of exposed ports that this service is accessible from // external to the cluster. - Ports []*PortConfig `protobuf:"bytes,2,rep,name=ports" json:"ports,omitempty"` + Ports []*PortConfig `protobuf:"bytes,2,rep,name=ports,proto3" json:"ports,omitempty"` } -func (m *EndpointSpec) Reset() { *m = EndpointSpec{} } -func (*EndpointSpec) ProtoMessage() {} -func (*EndpointSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{9} } +func (m *EndpointSpec) Reset() { *m = EndpointSpec{} } +func (*EndpointSpec) ProtoMessage() {} +func (*EndpointSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{11} +} +func (m *EndpointSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EndpointSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EndpointSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EndpointSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_EndpointSpec.Merge(m, src) +} +func (m *EndpointSpec) XXX_Size() int { + return m.Size() +} +func (m *EndpointSpec) XXX_DiscardUnknown() { + xxx_messageInfo_EndpointSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_EndpointSpec proto.InternalMessageInfo // NetworkSpec specifies user defined network parameters. type NetworkSpec struct { - Annotations Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations"` + Annotations Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations"` // DriverConfig specific configuration consumed by the network driver. - DriverConfig *Driver `protobuf:"bytes,2,opt,name=driver_config,json=driverConfig" json:"driver_config,omitempty"` + DriverConfig *Driver `protobuf:"bytes,2,opt,name=driver_config,json=driverConfig,proto3" json:"driver_config,omitempty"` // IPv6Enabled enables support for IPv6 on the network. Ipv6Enabled bool `protobuf:"varint,3,opt,name=ipv6_enabled,json=ipv6Enabled,proto3" json:"ipv6_enabled,omitempty"` // internal restricts external access to the network. This may be // accomplished by disabling the default gateway or through other means. Internal bool `protobuf:"varint,4,opt,name=internal,proto3" json:"internal,omitempty"` - IPAM *IPAMOptions `protobuf:"bytes,5,opt,name=ipam" json:"ipam,omitempty"` + IPAM *IPAMOptions `protobuf:"bytes,5,opt,name=ipam,proto3" json:"ipam,omitempty"` // Attachable allows external(to swarm) entities to manually // attach to this network. With this flag enabled, external // entities such as containers running in an worker node in @@ -720,9 +1213,37 @@ type NetworkSpec struct { ConfigFrom isNetworkSpec_ConfigFrom `protobuf_oneof:"config_from"` } -func (m *NetworkSpec) Reset() { *m = NetworkSpec{} } -func (*NetworkSpec) ProtoMessage() {} -func (*NetworkSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{10} } +func (m *NetworkSpec) Reset() { *m = NetworkSpec{} } +func (*NetworkSpec) ProtoMessage() {} +func (*NetworkSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{12} +} +func (m *NetworkSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NetworkSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkSpec.Merge(m, src) +} +func (m *NetworkSpec) XXX_Size() int { + return m.Size() +} +func (m *NetworkSpec) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkSpec proto.InternalMessageInfo type isNetworkSpec_ConfigFrom interface { isNetworkSpec_ConfigFrom() @@ -791,7 +1312,7 @@ func _NetworkSpec_OneofSizer(msg proto.Message) (n int) { // config_from switch x := m.ConfigFrom.(type) { case *NetworkSpec_Network: - n += proto.SizeVarint(8<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.Network))) n += len(x.Network) case nil: @@ -803,32 +1324,60 @@ func _NetworkSpec_OneofSizer(msg proto.Message) (n int) { // ClusterSpec specifies global cluster settings. type ClusterSpec struct { - Annotations Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations"` + Annotations Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations"` // DEPRECATED: AcceptancePolicy defines the certificate issuance policy. // Acceptance policy is no longer customizable, and secrets have been // replaced with join tokens. - AcceptancePolicy AcceptancePolicy `protobuf:"bytes,2,opt,name=acceptance_policy,json=acceptancePolicy" json:"acceptance_policy"` + AcceptancePolicy AcceptancePolicy `protobuf:"bytes,2,opt,name=acceptance_policy,json=acceptancePolicy,proto3" json:"acceptance_policy"` // Deprecated: Do not use. // Orchestration defines cluster-level orchestration settings. - Orchestration OrchestrationConfig `protobuf:"bytes,3,opt,name=orchestration" json:"orchestration"` + Orchestration OrchestrationConfig `protobuf:"bytes,3,opt,name=orchestration,proto3" json:"orchestration"` // Raft defines the cluster's raft settings. - Raft RaftConfig `protobuf:"bytes,4,opt,name=raft" json:"raft"` + Raft RaftConfig `protobuf:"bytes,4,opt,name=raft,proto3" json:"raft"` // Dispatcher defines cluster-level dispatcher settings. - Dispatcher DispatcherConfig `protobuf:"bytes,5,opt,name=dispatcher" json:"dispatcher"` + Dispatcher DispatcherConfig `protobuf:"bytes,5,opt,name=dispatcher,proto3" json:"dispatcher"` // CAConfig defines cluster-level certificate authority settings. - CAConfig CAConfig `protobuf:"bytes,6,opt,name=ca_config,json=caConfig" json:"ca_config"` + CAConfig CAConfig `protobuf:"bytes,6,opt,name=ca_config,json=caConfig,proto3" json:"ca_config"` // TaskDefaults specifies the default values to use for task creation. - TaskDefaults TaskDefaults `protobuf:"bytes,7,opt,name=task_defaults,json=taskDefaults" json:"task_defaults"` + TaskDefaults TaskDefaults `protobuf:"bytes,7,opt,name=task_defaults,json=taskDefaults,proto3" json:"task_defaults"` // EncryptionConfig defines the cluster's encryption settings. - EncryptionConfig EncryptionConfig `protobuf:"bytes,8,opt,name=encryption_config,json=encryptionConfig" json:"encryption_config"` + EncryptionConfig EncryptionConfig `protobuf:"bytes,8,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config"` } -func (m *ClusterSpec) Reset() { *m = ClusterSpec{} } -func (*ClusterSpec) ProtoMessage() {} -func (*ClusterSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{11} } +func (m *ClusterSpec) Reset() { *m = ClusterSpec{} } +func (*ClusterSpec) ProtoMessage() {} +func (*ClusterSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{13} +} +func (m *ClusterSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ClusterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ClusterSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ClusterSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ClusterSpec.Merge(m, src) +} +func (m *ClusterSpec) XXX_Size() int { + return m.Size() +} +func (m *ClusterSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ClusterSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ClusterSpec proto.InternalMessageInfo // SecretSpec specifies a user-provided secret. type SecretSpec struct { - Annotations Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations"` + Annotations Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations"` // Data is the secret payload - the maximum size is 500KB (that is, 500*1024 bytes) Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Templating controls whether and how to evaluate the secret payload as @@ -836,18 +1385,46 @@ type SecretSpec struct { // // The currently recognized values are: // - golang: Go templating - Templating *Driver `protobuf:"bytes,3,opt,name=templating" json:"templating,omitempty"` + Templating *Driver `protobuf:"bytes,3,opt,name=templating,proto3" json:"templating,omitempty"` // Driver is the the secret driver that is used to store the specified secret - Driver *Driver `protobuf:"bytes,4,opt,name=driver" json:"driver,omitempty"` + Driver *Driver `protobuf:"bytes,4,opt,name=driver,proto3" json:"driver,omitempty"` } -func (m *SecretSpec) Reset() { *m = SecretSpec{} } -func (*SecretSpec) ProtoMessage() {} -func (*SecretSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{12} } +func (m *SecretSpec) Reset() { *m = SecretSpec{} } +func (*SecretSpec) ProtoMessage() {} +func (*SecretSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{14} +} +func (m *SecretSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SecretSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SecretSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SecretSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_SecretSpec.Merge(m, src) +} +func (m *SecretSpec) XXX_Size() int { + return m.Size() +} +func (m *SecretSpec) XXX_DiscardUnknown() { + xxx_messageInfo_SecretSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_SecretSpec proto.InternalMessageInfo // ConfigSpec specifies user-provided configuration files. type ConfigSpec struct { - Annotations Annotations `protobuf:"bytes,1,opt,name=annotations" json:"annotations"` + Annotations Annotations `protobuf:"bytes,1,opt,name=annotations,proto3" json:"annotations"` // Data is the config payload - the maximum size is 500KB (that is, 500*1024 bytes) // TODO(aaronl): Do we want to revise this to include multiple payloads in a single // ConfigSpec? Define this to be a tar? etc... @@ -857,23 +1434,59 @@ type ConfigSpec struct { // // The currently recognized values are: // - golang: Go templating - Templating *Driver `protobuf:"bytes,3,opt,name=templating" json:"templating,omitempty"` + Templating *Driver `protobuf:"bytes,3,opt,name=templating,proto3" json:"templating,omitempty"` } -func (m *ConfigSpec) Reset() { *m = ConfigSpec{} } -func (*ConfigSpec) ProtoMessage() {} -func (*ConfigSpec) Descriptor() ([]byte, []int) { return fileDescriptorSpecs, []int{13} } +func (m *ConfigSpec) Reset() { *m = ConfigSpec{} } +func (*ConfigSpec) ProtoMessage() {} +func (*ConfigSpec) Descriptor() ([]byte, []int) { + return fileDescriptor_6589acc608f7d4fd, []int{15} +} +func (m *ConfigSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ConfigSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ConfigSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigSpec.Merge(m, src) +} +func (m *ConfigSpec) XXX_Size() int { + return m.Size() +} +func (m *ConfigSpec) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigSpec proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.NodeSpec_Membership", NodeSpec_Membership_name, NodeSpec_Membership_value) + proto.RegisterEnum("docker.swarmkit.v1.NodeSpec_Availability", NodeSpec_Availability_name, NodeSpec_Availability_value) + proto.RegisterEnum("docker.swarmkit.v1.ContainerSpec_Isolation", ContainerSpec_Isolation_name, ContainerSpec_Isolation_value) + proto.RegisterEnum("docker.swarmkit.v1.EndpointSpec_ResolutionMode", EndpointSpec_ResolutionMode_name, EndpointSpec_ResolutionMode_value) proto.RegisterType((*NodeSpec)(nil), "docker.swarmkit.v1.NodeSpec") proto.RegisterType((*ServiceSpec)(nil), "docker.swarmkit.v1.ServiceSpec") proto.RegisterType((*ReplicatedService)(nil), "docker.swarmkit.v1.ReplicatedService") proto.RegisterType((*GlobalService)(nil), "docker.swarmkit.v1.GlobalService") + proto.RegisterType((*ReplicatedJob)(nil), "docker.swarmkit.v1.ReplicatedJob") + proto.RegisterType((*GlobalJob)(nil), "docker.swarmkit.v1.GlobalJob") proto.RegisterType((*TaskSpec)(nil), "docker.swarmkit.v1.TaskSpec") proto.RegisterType((*ResourceReference)(nil), "docker.swarmkit.v1.ResourceReference") proto.RegisterType((*GenericRuntimeSpec)(nil), "docker.swarmkit.v1.GenericRuntimeSpec") proto.RegisterType((*NetworkAttachmentSpec)(nil), "docker.swarmkit.v1.NetworkAttachmentSpec") proto.RegisterType((*ContainerSpec)(nil), "docker.swarmkit.v1.ContainerSpec") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ContainerSpec.LabelsEntry") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ContainerSpec.SysctlsEntry") proto.RegisterType((*ContainerSpec_PullOptions)(nil), "docker.swarmkit.v1.ContainerSpec.PullOptions") proto.RegisterType((*ContainerSpec_DNSConfig)(nil), "docker.swarmkit.v1.ContainerSpec.DNSConfig") proto.RegisterType((*EndpointSpec)(nil), "docker.swarmkit.v1.EndpointSpec") @@ -881,10 +1494,158 @@ func init() { proto.RegisterType((*ClusterSpec)(nil), "docker.swarmkit.v1.ClusterSpec") proto.RegisterType((*SecretSpec)(nil), "docker.swarmkit.v1.SecretSpec") proto.RegisterType((*ConfigSpec)(nil), "docker.swarmkit.v1.ConfigSpec") - proto.RegisterEnum("docker.swarmkit.v1.NodeSpec_Membership", NodeSpec_Membership_name, NodeSpec_Membership_value) - proto.RegisterEnum("docker.swarmkit.v1.NodeSpec_Availability", NodeSpec_Availability_name, NodeSpec_Availability_value) - proto.RegisterEnum("docker.swarmkit.v1.ContainerSpec_Isolation", ContainerSpec_Isolation_name, ContainerSpec_Isolation_value) - proto.RegisterEnum("docker.swarmkit.v1.EndpointSpec_ResolutionMode", EndpointSpec_ResolutionMode_name, EndpointSpec_ResolutionMode_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/specs.proto", fileDescriptor_6589acc608f7d4fd) +} + +var fileDescriptor_6589acc608f7d4fd = []byte{ + // 2289 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4d, 0x73, 0x23, 0xb7, + 0xd1, 0x26, 0x25, 0x8a, 0x1f, 0x3d, 0xa4, 0x96, 0x82, 0xd7, 0xf6, 0x88, 0x6b, 0x53, 0x34, 0xbd, + 0xf6, 0x2b, 0xdb, 0xf5, 0x52, 0x15, 0xc5, 0xe5, 0xf8, 0x23, 0x4e, 0x42, 0x8a, 0xb4, 0x44, 0xef, + 0xae, 0xc4, 0x02, 0x65, 0x25, 0x5b, 0x95, 0x2a, 0x16, 0x38, 0x03, 0x91, 0x13, 0x0d, 0x07, 0x13, + 0x0c, 0x28, 0x9b, 0xb7, 0x1c, 0x5d, 0xca, 0x25, 0x7f, 0x40, 0xa7, 0x54, 0x4e, 0xb9, 0x24, 0xff, + 0x62, 0x8f, 0x3e, 0x3a, 0x17, 0x55, 0xac, 0xfd, 0x09, 0xb9, 0xe5, 0x92, 0x14, 0x30, 0x98, 0x21, + 0xa9, 0x25, 0x57, 0x9b, 0xca, 0x1e, 0x72, 0x03, 0x7a, 0x9e, 0xa7, 0xd1, 0x0d, 0x74, 0x37, 0x1a, + 0x03, 0xef, 0x0f, 0x1c, 0x31, 0x1c, 0xf7, 0x6b, 0x16, 0x1b, 0xed, 0xd8, 0xcc, 0x3a, 0xa3, 0x7c, + 0x27, 0xf8, 0x9a, 0xf0, 0xd1, 0x99, 0x23, 0x76, 0x88, 0xef, 0xec, 0x04, 0x3e, 0xb5, 0x82, 0x9a, + 0xcf, 0x99, 0x60, 0x08, 0x85, 0x80, 0x5a, 0x04, 0xa8, 0x9d, 0xff, 0xa8, 0x74, 0x1b, 0x5f, 0x4c, + 0x7c, 0xaa, 0xf9, 0xa5, 0xbb, 0x03, 0x36, 0x60, 0x6a, 0xb8, 0x23, 0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c, 0x01, 0x1d, 0xea, 0xd9, 0x8e, 0x37, 0x40, 0xdb, 0x90, 0xad, 0xef, 0xed, 0xb5, 0x3a, 0xc7, + 0xad, 0x66, 0x31, 0x59, 0x2a, 0x5d, 0x5c, 0x56, 0x5e, 0x9b, 0x07, 0xd6, 0x2d, 0x8b, 0xfa, 0x82, + 0xda, 0xa5, 0xd4, 0xb7, 0x7f, 0x2c, 0x27, 0xaa, 0xdf, 0x26, 0x21, 0x3f, 0x6b, 0x04, 0x7a, 0x17, + 0xd2, 0xf5, 0xbd, 0xe3, 0xf6, 0x49, 0xab, 0x98, 0x98, 0xd2, 0x67, 0x11, 0x75, 0x4b, 0x38, 0xe7, + 0x14, 0xdd, 0x87, 0xb5, 0x4e, 0xfd, 0xab, 0x6e, 0xab, 0x98, 0x9c, 0x9a, 0x33, 0x0b, 0xeb, 0x90, + 0x71, 0xa0, 0x50, 0x4d, 0x5c, 0x6f, 0x1f, 0x16, 0x57, 0x16, 0xa3, 0x9a, 0x9c, 0x38, 0x9e, 0x36, + 0xe5, 0xcf, 0x6b, 0x60, 0x74, 0x29, 0x3f, 0x77, 0xac, 0x97, 0x1c, 0x22, 0x1f, 0x41, 0x4a, 0x90, + 0xe0, 0x4c, 0x85, 0x86, 0xb1, 0x38, 0x34, 0x8e, 0x49, 0x70, 0x26, 0x17, 0xd5, 0x74, 0x85, 0x97, + 0x91, 0xc1, 0xa9, 0xef, 0x3a, 0x16, 0x11, 0xd4, 0x56, 0x91, 0x61, 0xec, 0xbe, 0xb3, 0x88, 0x8d, + 0x63, 0x94, 0xb6, 0xff, 0x20, 0x81, 0x67, 0xa8, 0xe8, 0x33, 0x48, 0x0f, 0x5c, 0xd6, 0x27, 0xae, + 0x8a, 0x09, 0x63, 0xf7, 0xad, 0x45, 0x4a, 0xf6, 0x15, 0x62, 0xaa, 0x40, 0x53, 0xd0, 0x97, 0xb0, + 0x3e, 0x55, 0xd5, 0xfb, 0x0d, 0xeb, 0x9b, 0xb0, 0x5c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xc8, 0x80, 0x6a, 0x1b, + 0xc3, 0x09, 0x6a, 0x41, 0xda, 0x25, 0x7d, 0xea, 0xca, 0x5c, 0x91, 0x07, 0xf7, 0xff, 0xb7, 0xa6, + 0x6c, 0xed, 0xa1, 0xc2, 0xb7, 0x3c, 0xc1, 0x27, 0x58, 0x93, 0x91, 0x09, 0x19, 0x8b, 0x8d, 0x46, + 0xc4, 0x93, 0x97, 0xe4, 0xea, 0x76, 0x0e, 0x47, 0x53, 0xb9, 0x33, 0x84, 0x0f, 0x02, 0x33, 0xa5, + 0xc4, 0x6a, 0x2c, 0x6b, 0xe4, 0x90, 0x05, 0xc2, 0x23, 0x23, 0x6a, 0xae, 0x2b, 0x6b, 0xe2, 0x39, + 0x2a, 0xc2, 0x2a, 0xf5, 0xce, 0xcd, 0x35, 0x05, 0x97, 0x43, 0x29, 0xb1, 0x9d, 0x30, 0x11, 0x72, + 0x58, 0x0e, 0xa5, 0xce, 0x71, 0x40, 0xb9, 0x99, 0x09, 0x77, 0x5b, 0x8e, 0xd1, 0x6b, 0x90, 0x1e, + 0x70, 0x36, 0xf6, 0xc3, 0x08, 0xcc, 0x61, 0x3d, 0x93, 0xf7, 0x9d, 0xcf, 0x9d, 0x73, 0xc7, 0xa5, + 0x03, 0x1a, 0x98, 0xaf, 0xa9, 0x83, 0x28, 0x2f, 0xcc, 0xc5, 0x18, 0x85, 0x67, 0x18, 0xa8, 0x06, + 0x29, 0xc7, 0x73, 0x84, 0xf9, 0xba, 0xce, 0xc3, 0x9b, 0x47, 0xd8, 0x60, 0xcc, 0x3d, 0x21, 0xee, + 0x98, 0x62, 0x85, 0x43, 0x9b, 0xb0, 0x2a, 0xc4, 0xc4, 0x2c, 0x54, 0x92, 0xdb, 0xd9, 0x46, 0xe6, + 0xfa, 0x6a, 0x6b, 0xf5, 0xf8, 0xf8, 0x31, 0x96, 0x32, 0xf4, 0x26, 0x00, 0xf3, 0xa9, 0xd7, 0x0b, + 0x84, 0xed, 0x78, 0x26, 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1, 0xbb, + 0x9f, 0x97, 0xb6, 0xf9, 0x8f, 0x61, 0x83, 0xa8, 0xff, 0x27, 0xc4, 0x93, 0xd7, 0xa5, 0x6a, 0xfc, + 0xf5, 0x01, 0xdc, 0x5f, 0xa8, 0x2e, 0x06, 0x87, 0x8f, 0x84, 0x46, 0x5a, 0xea, 0x34, 0x93, 0xb8, + 0x48, 0x6e, 0x7c, 0x41, 0x5d, 0x28, 0x30, 0x6e, 0x0d, 0x69, 0x20, 0xc2, 0x4b, 0x56, 0xff, 0x6f, + 0x58, 0xf8, 0x27, 0xea, 0x68, 0x16, 0xa8, 0xef, 0x96, 0xd0, 0xda, 0x79, 0x1d, 0xe8, 0x63, 0x48, + 0x71, 0x72, 0x1a, 0x3d, 0x62, 0x16, 0x26, 0x09, 0x26, 0xa7, 0x62, 0x4e, 0x85, 0x62, 0xa0, 0x2f, + 0x01, 0x6c, 0x27, 0xf0, 0x89, 0xb0, 0x86, 0x94, 0xeb, 0xc3, 0x5e, 0xe8, 0x62, 0x33, 0x46, 0xcd, + 0x69, 0x99, 0x61, 0xa3, 0x07, 0x90, 0xb3, 0x48, 0x14, 0xae, 0xe9, 0xe5, 0x3f, 0x61, 0xf6, 0xea, + 0x5a, 0x45, 0x51, 0xaa, 0xb8, 0xbe, 0xda, 0xca, 0x46, 0x12, 0x9c, 0xb5, 0x88, 0x0e, 0xdf, 0x07, + 0x50, 0x10, 0x24, 0x38, 0xeb, 0xd9, 0x61, 0x39, 0x0b, 0xc3, 0x64, 0xc9, 0x5d, 0x29, 0xdf, 0xba, + 0xba, 0xec, 0x45, 0xc7, 0x99, 0x17, 0x33, 0x32, 0xf4, 0x4b, 0xd8, 0xa0, 0x9e, 0xc5, 0x27, 0x2a, + 0x58, 0x23, 0x0b, 0xb3, 0xcb, 0x9d, 0x6d, 0xc5, 0xe0, 0x39, 0x67, 0x8b, 0xf4, 0x86, 0xbc, 0xfa, + 0xb7, 0x24, 0x40, 0xd8, 0x9c, 0xbc, 0xdc, 0x00, 0x44, 0x90, 0xb2, 0x89, 0x20, 0x2a, 0xe6, 0xf2, + 0x58, 0x8d, 0xd1, 0xa7, 0x00, 0x82, 0x8e, 0x7c, 0x59, 0x7a, 0xbd, 0x81, 0x0e, 0x9b, 0xe7, 0x95, + 0x83, 0x19, 0x34, 0xda, 0x85, 0xb4, 0x7e, 0x6a, 0xa6, 0x6e, 0xe5, 0x69, 0x64, 0xf5, 0x4f, 0x49, + 0x80, 0xd0, 0xcd, 0xff, 0x69, 0xdf, 0x1a, 0xf7, 0x9f, 0xfc, 0x50, 0x4e, 0x7c, 0xff, 0x43, 0x39, + 0xf1, 0xbb, 0xeb, 0x72, 0xf2, 0xc9, 0x75, 0x39, 0xf9, 0xdd, 0x75, 0x39, 0xf9, 0xf7, 0xeb, 0x72, + 0xf2, 0x0f, 0x4f, 0xcb, 0x89, 0xef, 0x9e, 0x96, 0x13, 0xdf, 0x3f, 0x2d, 0x27, 0xfa, 0x69, 0xd5, + 0xde, 0xfe, 0xf8, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x91, 0x6d, 0x50, 0x31, 0x7b, 0x17, 0x00, + 0x00, } func (m *NodeSpec) Copy() *NodeSpec { @@ -900,7 +1661,7 @@ func (m *NodeSpec) CopyFrom(src interface{}) { o := src.(*NodeSpec) *m = *o - deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) } func (m *ServiceSpec) Copy() *ServiceSpec { @@ -916,27 +1677,27 @@ func (m *ServiceSpec) CopyFrom(src interface{}) { o := src.(*ServiceSpec) *m = *o - deepcopy.Copy(&m.Annotations, &o.Annotations) - deepcopy.Copy(&m.Task, &o.Task) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Task, &o.Task) if o.Update != nil { m.Update = &UpdateConfig{} - deepcopy.Copy(m.Update, o.Update) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Update, o.Update) } if o.Rollback != nil { m.Rollback = &UpdateConfig{} - deepcopy.Copy(m.Rollback, o.Rollback) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Rollback, o.Rollback) } if o.Networks != nil { m.Networks = make([]*NetworkAttachmentConfig, len(o.Networks)) for i := range m.Networks { m.Networks[i] = &NetworkAttachmentConfig{} - deepcopy.Copy(m.Networks[i], o.Networks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Networks[i], o.Networks[i]) } } if o.Endpoint != nil { m.Endpoint = &EndpointSpec{} - deepcopy.Copy(m.Endpoint, o.Endpoint) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Endpoint, o.Endpoint) } if o.Mode != nil { switch o.Mode.(type) { @@ -944,13 +1705,25 @@ func (m *ServiceSpec) CopyFrom(src interface{}) { v := ServiceSpec_Replicated{ Replicated: &ReplicatedService{}, } - deepcopy.Copy(v.Replicated, o.GetReplicated()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Replicated, o.GetReplicated()) m.Mode = &v case *ServiceSpec_Global: v := ServiceSpec_Global{ Global: &GlobalService{}, } - deepcopy.Copy(v.Global, o.GetGlobal()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Global, o.GetGlobal()) + m.Mode = &v + case *ServiceSpec_ReplicatedJob: + v := ServiceSpec_ReplicatedJob{ + ReplicatedJob: &ReplicatedJob{}, + } + github_com_docker_swarmkit_api_deepcopy.Copy(v.ReplicatedJob, o.GetReplicatedJob()) + m.Mode = &v + case *ServiceSpec_GlobalJob: + v := ServiceSpec_GlobalJob{ + GlobalJob: &GlobalJob{}, + } + github_com_docker_swarmkit_api_deepcopy.Copy(v.GlobalJob, o.GetGlobalJob()) m.Mode = &v } } @@ -982,6 +1755,31 @@ func (m *GlobalService) Copy() *GlobalService { } func (m *GlobalService) CopyFrom(src interface{}) {} +func (m *ReplicatedJob) Copy() *ReplicatedJob { + if m == nil { + return nil + } + o := &ReplicatedJob{} + o.CopyFrom(m) + return o +} + +func (m *ReplicatedJob) CopyFrom(src interface{}) { + + o := src.(*ReplicatedJob) + *m = *o +} + +func (m *GlobalJob) Copy() *GlobalJob { + if m == nil { + return nil + } + o := &GlobalJob{} + o.CopyFrom(m) + return o +} + +func (m *GlobalJob) CopyFrom(src interface{}) {} func (m *TaskSpec) Copy() *TaskSpec { if m == nil { return nil @@ -997,32 +1795,32 @@ func (m *TaskSpec) CopyFrom(src interface{}) { *m = *o if o.Resources != nil { m.Resources = &ResourceRequirements{} - deepcopy.Copy(m.Resources, o.Resources) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resources, o.Resources) } if o.Restart != nil { m.Restart = &RestartPolicy{} - deepcopy.Copy(m.Restart, o.Restart) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Restart, o.Restart) } if o.Placement != nil { m.Placement = &Placement{} - deepcopy.Copy(m.Placement, o.Placement) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Placement, o.Placement) } if o.LogDriver != nil { m.LogDriver = &Driver{} - deepcopy.Copy(m.LogDriver, o.LogDriver) + github_com_docker_swarmkit_api_deepcopy.Copy(m.LogDriver, o.LogDriver) } if o.Networks != nil { m.Networks = make([]*NetworkAttachmentConfig, len(o.Networks)) for i := range m.Networks { m.Networks[i] = &NetworkAttachmentConfig{} - deepcopy.Copy(m.Networks[i], o.Networks[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Networks[i], o.Networks[i]) } } if o.ResourceReferences != nil { m.ResourceReferences = make([]ResourceReference, len(o.ResourceReferences)) for i := range m.ResourceReferences { - deepcopy.Copy(&m.ResourceReferences[i], &o.ResourceReferences[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.ResourceReferences[i], &o.ResourceReferences[i]) } } @@ -1032,19 +1830,19 @@ func (m *TaskSpec) CopyFrom(src interface{}) { v := TaskSpec_Attachment{ Attachment: &NetworkAttachmentSpec{}, } - deepcopy.Copy(v.Attachment, o.GetAttachment()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Attachment, o.GetAttachment()) m.Runtime = &v case *TaskSpec_Container: v := TaskSpec_Container{ Container: &ContainerSpec{}, } - deepcopy.Copy(v.Container, o.GetContainer()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Container, o.GetContainer()) m.Runtime = &v case *TaskSpec_Generic: v := TaskSpec_Generic{ Generic: &GenericRuntimeSpec{}, } - deepcopy.Copy(v.Generic, o.GetGeneric()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Generic, o.GetGeneric()) m.Runtime = &v } } @@ -1080,8 +1878,8 @@ func (m *GenericRuntimeSpec) CopyFrom(src interface{}) { o := src.(*GenericRuntimeSpec) *m = *o if o.Payload != nil { - m.Payload = &google_protobuf4.Any{} - deepcopy.Copy(m.Payload, o.Payload) + m.Payload = &types.Any{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Payload, o.Payload) } } @@ -1142,32 +1940,32 @@ func (m *ContainerSpec) CopyFrom(src interface{}) { if o.Privileges != nil { m.Privileges = &Privileges{} - deepcopy.Copy(m.Privileges, o.Privileges) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Privileges, o.Privileges) } if o.Init != nil { - m.Init = &google_protobuf2.BoolValue{} - deepcopy.Copy(m.Init, o.Init) + m.Init = &types.BoolValue{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Init, o.Init) } if o.Mounts != nil { m.Mounts = make([]Mount, len(o.Mounts)) for i := range m.Mounts { - deepcopy.Copy(&m.Mounts[i], &o.Mounts[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Mounts[i], &o.Mounts[i]) } } if o.StopGracePeriod != nil { - m.StopGracePeriod = &google_protobuf1.Duration{} - deepcopy.Copy(m.StopGracePeriod, o.StopGracePeriod) + m.StopGracePeriod = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.StopGracePeriod, o.StopGracePeriod) } if o.PullOptions != nil { m.PullOptions = &ContainerSpec_PullOptions{} - deepcopy.Copy(m.PullOptions, o.PullOptions) + github_com_docker_swarmkit_api_deepcopy.Copy(m.PullOptions, o.PullOptions) } if o.Secrets != nil { m.Secrets = make([]*SecretReference, len(o.Secrets)) for i := range m.Secrets { m.Secrets[i] = &SecretReference{} - deepcopy.Copy(m.Secrets[i], o.Secrets[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secrets[i], o.Secrets[i]) } } @@ -1175,7 +1973,7 @@ func (m *ContainerSpec) CopyFrom(src interface{}) { m.Configs = make([]*ConfigReference, len(o.Configs)) for i := range m.Configs { m.Configs[i] = &ConfigReference{} - deepcopy.Copy(m.Configs[i], o.Configs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Configs[i], o.Configs[i]) } } @@ -1186,11 +1984,11 @@ func (m *ContainerSpec) CopyFrom(src interface{}) { if o.DNSConfig != nil { m.DNSConfig = &ContainerSpec_DNSConfig{} - deepcopy.Copy(m.DNSConfig, o.DNSConfig) + github_com_docker_swarmkit_api_deepcopy.Copy(m.DNSConfig, o.DNSConfig) } if o.Healthcheck != nil { m.Healthcheck = &HealthConfig{} - deepcopy.Copy(m.Healthcheck, o.Healthcheck) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Healthcheck, o.Healthcheck) } if o.Sysctls != nil { m.Sysctls = make(map[string]string, len(o.Sysctls)) @@ -1268,7 +2066,7 @@ func (m *EndpointSpec) CopyFrom(src interface{}) { m.Ports = make([]*PortConfig, len(o.Ports)) for i := range m.Ports { m.Ports[i] = &PortConfig{} - deepcopy.Copy(m.Ports[i], o.Ports[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Ports[i], o.Ports[i]) } } @@ -1287,14 +2085,14 @@ func (m *NetworkSpec) CopyFrom(src interface{}) { o := src.(*NetworkSpec) *m = *o - deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) if o.DriverConfig != nil { m.DriverConfig = &Driver{} - deepcopy.Copy(m.DriverConfig, o.DriverConfig) + github_com_docker_swarmkit_api_deepcopy.Copy(m.DriverConfig, o.DriverConfig) } if o.IPAM != nil { m.IPAM = &IPAMOptions{} - deepcopy.Copy(m.IPAM, o.IPAM) + github_com_docker_swarmkit_api_deepcopy.Copy(m.IPAM, o.IPAM) } if o.ConfigFrom != nil { switch o.ConfigFrom.(type) { @@ -1321,14 +2119,14 @@ func (m *ClusterSpec) CopyFrom(src interface{}) { o := src.(*ClusterSpec) *m = *o - deepcopy.Copy(&m.Annotations, &o.Annotations) - deepcopy.Copy(&m.AcceptancePolicy, &o.AcceptancePolicy) - deepcopy.Copy(&m.Orchestration, &o.Orchestration) - deepcopy.Copy(&m.Raft, &o.Raft) - deepcopy.Copy(&m.Dispatcher, &o.Dispatcher) - deepcopy.Copy(&m.CAConfig, &o.CAConfig) - deepcopy.Copy(&m.TaskDefaults, &o.TaskDefaults) - deepcopy.Copy(&m.EncryptionConfig, &o.EncryptionConfig) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.AcceptancePolicy, &o.AcceptancePolicy) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Orchestration, &o.Orchestration) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Raft, &o.Raft) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Dispatcher, &o.Dispatcher) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.CAConfig, &o.CAConfig) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.TaskDefaults, &o.TaskDefaults) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.EncryptionConfig, &o.EncryptionConfig) } func (m *SecretSpec) Copy() *SecretSpec { @@ -1344,18 +2142,18 @@ func (m *SecretSpec) CopyFrom(src interface{}) { o := src.(*SecretSpec) *m = *o - deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) if o.Data != nil { m.Data = make([]byte, len(o.Data)) copy(m.Data, o.Data) } if o.Templating != nil { m.Templating = &Driver{} - deepcopy.Copy(m.Templating, o.Templating) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Templating, o.Templating) } if o.Driver != nil { m.Driver = &Driver{} - deepcopy.Copy(m.Driver, o.Driver) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Driver, o.Driver) } } @@ -1372,14 +2170,14 @@ func (m *ConfigSpec) CopyFrom(src interface{}) { o := src.(*ConfigSpec) *m = *o - deepcopy.Copy(&m.Annotations, &o.Annotations) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Annotations, &o.Annotations) if o.Data != nil { m.Data = make([]byte, len(o.Data)) copy(m.Data, o.Data) } if o.Templating != nil { m.Templating = &Driver{} - deepcopy.Copy(m.Templating, o.Templating) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Templating, o.Templating) } } @@ -1535,6 +2333,34 @@ func (m *ServiceSpec_Global) MarshalTo(dAtA []byte) (int, error) { } return i, nil } +func (m *ServiceSpec_ReplicatedJob) MarshalTo(dAtA []byte) (int, error) { + i := 0 + if m.ReplicatedJob != nil { + dAtA[i] = 0x52 + i++ + i = encodeVarintSpecs(dAtA, i, uint64(m.ReplicatedJob.Size())) + n10, err := m.ReplicatedJob.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n10 + } + return i, nil +} +func (m *ServiceSpec_GlobalJob) MarshalTo(dAtA []byte) (int, error) { + i := 0 + if m.GlobalJob != nil { + dAtA[i] = 0x5a + i++ + i = encodeVarintSpecs(dAtA, i, uint64(m.GlobalJob.Size())) + n11, err := m.GlobalJob.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n11 + } + return i, nil +} func (m *ReplicatedService) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1576,6 +2402,52 @@ func (m *GlobalService) MarshalTo(dAtA []byte) (int, error) { return i, nil } +func (m *ReplicatedJob) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ReplicatedJob) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + if m.MaxConcurrent != 0 { + dAtA[i] = 0x8 + i++ + i = encodeVarintSpecs(dAtA, i, uint64(m.MaxConcurrent)) + } + if m.TotalCompletions != 0 { + dAtA[i] = 0x10 + i++ + i = encodeVarintSpecs(dAtA, i, uint64(m.TotalCompletions)) + } + return i, nil +} + +func (m *GlobalJob) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *GlobalJob) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + return i, nil +} + func (m *TaskSpec) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -1592,52 +2464,52 @@ func (m *TaskSpec) MarshalTo(dAtA []byte) (int, error) { var l int _ = l if m.Runtime != nil { - nn10, err := m.Runtime.MarshalTo(dAtA[i:]) + nn12, err := m.Runtime.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += nn10 + i += nn12 } if m.Resources != nil { dAtA[i] = 0x12 i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Resources.Size())) - n11, err := m.Resources.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n11 - } - if m.Restart != nil { - dAtA[i] = 0x22 - i++ - i = encodeVarintSpecs(dAtA, i, uint64(m.Restart.Size())) - n12, err := m.Restart.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n12 - } - if m.Placement != nil { - dAtA[i] = 0x2a - i++ - i = encodeVarintSpecs(dAtA, i, uint64(m.Placement.Size())) - n13, err := m.Placement.MarshalTo(dAtA[i:]) + n13, err := m.Resources.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n13 } - if m.LogDriver != nil { - dAtA[i] = 0x32 + if m.Restart != nil { + dAtA[i] = 0x22 i++ - i = encodeVarintSpecs(dAtA, i, uint64(m.LogDriver.Size())) - n14, err := m.LogDriver.MarshalTo(dAtA[i:]) + i = encodeVarintSpecs(dAtA, i, uint64(m.Restart.Size())) + n14, err := m.Restart.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n14 } + if m.Placement != nil { + dAtA[i] = 0x2a + i++ + i = encodeVarintSpecs(dAtA, i, uint64(m.Placement.Size())) + n15, err := m.Placement.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n15 + } + if m.LogDriver != nil { + dAtA[i] = 0x32 + i++ + i = encodeVarintSpecs(dAtA, i, uint64(m.LogDriver.Size())) + n16, err := m.LogDriver.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n16 + } if len(m.Networks) > 0 { for _, msg := range m.Networks { dAtA[i] = 0x3a @@ -1676,11 +2548,11 @@ func (m *TaskSpec_Container) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Container.Size())) - n15, err := m.Container.MarshalTo(dAtA[i:]) + n17, err := m.Container.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n15 + i += n17 } return i, nil } @@ -1690,11 +2562,11 @@ func (m *TaskSpec_Attachment) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x42 i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Attachment.Size())) - n16, err := m.Attachment.MarshalTo(dAtA[i:]) + n18, err := m.Attachment.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n16 + i += n18 } return i, nil } @@ -1704,11 +2576,11 @@ func (m *TaskSpec_Generic) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x52 i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Generic.Size())) - n17, err := m.Generic.MarshalTo(dAtA[i:]) + n19, err := m.Generic.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n17 + i += n19 } return i, nil } @@ -1766,11 +2638,11 @@ func (m *GenericRuntimeSpec) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x12 i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Payload.Size())) - n18, err := m.Payload.MarshalTo(dAtA[i:]) + n20, err := m.Payload.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n18 + i += n20 } return i, nil } @@ -1910,21 +2782,21 @@ func (m *ContainerSpec) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x4a i++ i = encodeVarintSpecs(dAtA, i, uint64(m.StopGracePeriod.Size())) - n19, err := m.StopGracePeriod.MarshalTo(dAtA[i:]) + n21, err := m.StopGracePeriod.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n19 + i += n21 } if m.PullOptions != nil { dAtA[i] = 0x52 i++ i = encodeVarintSpecs(dAtA, i, uint64(m.PullOptions.Size())) - n20, err := m.PullOptions.MarshalTo(dAtA[i:]) + n22, err := m.PullOptions.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n20 + i += n22 } if len(m.Groups) > 0 { for _, s := range m.Groups { @@ -1973,11 +2845,11 @@ func (m *ContainerSpec) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x7a i++ i = encodeVarintSpecs(dAtA, i, uint64(m.DNSConfig.Size())) - n21, err := m.DNSConfig.MarshalTo(dAtA[i:]) + n23, err := m.DNSConfig.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n21 + i += n23 } if m.Healthcheck != nil { dAtA[i] = 0x82 @@ -1985,11 +2857,11 @@ func (m *ContainerSpec) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1 i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Healthcheck.Size())) - n22, err := m.Healthcheck.MarshalTo(dAtA[i:]) + n24, err := m.Healthcheck.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n22 + i += n24 } if len(m.Hosts) > 0 { for _, s := range m.Hosts { @@ -2060,11 +2932,11 @@ func (m *ContainerSpec) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1 i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Privileges.Size())) - n23, err := m.Privileges.MarshalTo(dAtA[i:]) + n25, err := m.Privileges.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n23 + i += n25 } if m.Init != nil { dAtA[i] = 0xba @@ -2072,11 +2944,11 @@ func (m *ContainerSpec) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1 i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Init.Size())) - n24, err := m.Init.MarshalTo(dAtA[i:]) + n26, err := m.Init.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n24 + i += n26 } if m.Isolation != 0 { dAtA[i] = 0xc0 @@ -2273,20 +3145,20 @@ func (m *NetworkSpec) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Annotations.Size())) - n25, err := m.Annotations.MarshalTo(dAtA[i:]) + n27, err := m.Annotations.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n25 + i += n27 if m.DriverConfig != nil { dAtA[i] = 0x12 i++ i = encodeVarintSpecs(dAtA, i, uint64(m.DriverConfig.Size())) - n26, err := m.DriverConfig.MarshalTo(dAtA[i:]) + n28, err := m.DriverConfig.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n26 + i += n28 } if m.Ipv6Enabled { dAtA[i] = 0x18 @@ -2312,11 +3184,11 @@ func (m *NetworkSpec) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x2a i++ i = encodeVarintSpecs(dAtA, i, uint64(m.IPAM.Size())) - n27, err := m.IPAM.MarshalTo(dAtA[i:]) + n29, err := m.IPAM.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n27 + i += n29 } if m.Attachable { dAtA[i] = 0x30 @@ -2339,11 +3211,11 @@ func (m *NetworkSpec) MarshalTo(dAtA []byte) (int, error) { i++ } if m.ConfigFrom != nil { - nn28, err := m.ConfigFrom.MarshalTo(dAtA[i:]) + nn30, err := m.ConfigFrom.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += nn28 + i += nn30 } return i, nil } @@ -2374,67 +3246,67 @@ func (m *ClusterSpec) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Annotations.Size())) - n29, err := m.Annotations.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n29 - dAtA[i] = 0x12 - i++ - i = encodeVarintSpecs(dAtA, i, uint64(m.AcceptancePolicy.Size())) - n30, err := m.AcceptancePolicy.MarshalTo(dAtA[i:]) - if err != nil { - return 0, err - } - i += n30 - dAtA[i] = 0x1a - i++ - i = encodeVarintSpecs(dAtA, i, uint64(m.Orchestration.Size())) - n31, err := m.Orchestration.MarshalTo(dAtA[i:]) + n31, err := m.Annotations.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n31 - dAtA[i] = 0x22 + dAtA[i] = 0x12 i++ - i = encodeVarintSpecs(dAtA, i, uint64(m.Raft.Size())) - n32, err := m.Raft.MarshalTo(dAtA[i:]) + i = encodeVarintSpecs(dAtA, i, uint64(m.AcceptancePolicy.Size())) + n32, err := m.AcceptancePolicy.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n32 - dAtA[i] = 0x2a + dAtA[i] = 0x1a i++ - i = encodeVarintSpecs(dAtA, i, uint64(m.Dispatcher.Size())) - n33, err := m.Dispatcher.MarshalTo(dAtA[i:]) + i = encodeVarintSpecs(dAtA, i, uint64(m.Orchestration.Size())) + n33, err := m.Orchestration.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n33 - dAtA[i] = 0x32 + dAtA[i] = 0x22 i++ - i = encodeVarintSpecs(dAtA, i, uint64(m.CAConfig.Size())) - n34, err := m.CAConfig.MarshalTo(dAtA[i:]) + i = encodeVarintSpecs(dAtA, i, uint64(m.Raft.Size())) + n34, err := m.Raft.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n34 - dAtA[i] = 0x3a + dAtA[i] = 0x2a i++ - i = encodeVarintSpecs(dAtA, i, uint64(m.TaskDefaults.Size())) - n35, err := m.TaskDefaults.MarshalTo(dAtA[i:]) + i = encodeVarintSpecs(dAtA, i, uint64(m.Dispatcher.Size())) + n35, err := m.Dispatcher.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n35 - dAtA[i] = 0x42 + dAtA[i] = 0x32 i++ - i = encodeVarintSpecs(dAtA, i, uint64(m.EncryptionConfig.Size())) - n36, err := m.EncryptionConfig.MarshalTo(dAtA[i:]) + i = encodeVarintSpecs(dAtA, i, uint64(m.CAConfig.Size())) + n36, err := m.CAConfig.MarshalTo(dAtA[i:]) if err != nil { return 0, err } i += n36 + dAtA[i] = 0x3a + i++ + i = encodeVarintSpecs(dAtA, i, uint64(m.TaskDefaults.Size())) + n37, err := m.TaskDefaults.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n37 + dAtA[i] = 0x42 + i++ + i = encodeVarintSpecs(dAtA, i, uint64(m.EncryptionConfig.Size())) + n38, err := m.EncryptionConfig.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n38 return i, nil } @@ -2456,11 +3328,11 @@ func (m *SecretSpec) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Annotations.Size())) - n37, err := m.Annotations.MarshalTo(dAtA[i:]) + n39, err := m.Annotations.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n37 + i += n39 if len(m.Data) > 0 { dAtA[i] = 0x12 i++ @@ -2471,21 +3343,21 @@ func (m *SecretSpec) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Templating.Size())) - n38, err := m.Templating.MarshalTo(dAtA[i:]) + n40, err := m.Templating.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n38 + i += n40 } if m.Driver != nil { dAtA[i] = 0x22 i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Driver.Size())) - n39, err := m.Driver.MarshalTo(dAtA[i:]) + n41, err := m.Driver.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n39 + i += n41 } return i, nil } @@ -2508,11 +3380,11 @@ func (m *ConfigSpec) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0xa i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Annotations.Size())) - n40, err := m.Annotations.MarshalTo(dAtA[i:]) + n42, err := m.Annotations.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n40 + i += n42 if len(m.Data) > 0 { dAtA[i] = 0x12 i++ @@ -2523,11 +3395,11 @@ func (m *ConfigSpec) MarshalTo(dAtA []byte) (int, error) { dAtA[i] = 0x1a i++ i = encodeVarintSpecs(dAtA, i, uint64(m.Templating.Size())) - n41, err := m.Templating.MarshalTo(dAtA[i:]) + n43, err := m.Templating.MarshalTo(dAtA[i:]) if err != nil { return 0, err } - i += n41 + i += n43 } return i, nil } @@ -2541,8 +3413,10 @@ func encodeVarintSpecs(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return offset + 1 } - func (m *NodeSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Annotations.Size() @@ -2560,6 +3434,9 @@ func (m *NodeSpec) Size() (n int) { } func (m *ServiceSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Annotations.Size() @@ -2591,6 +3468,9 @@ func (m *ServiceSpec) Size() (n int) { } func (m *ServiceSpec_Replicated) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Replicated != nil { @@ -2600,6 +3480,9 @@ func (m *ServiceSpec_Replicated) Size() (n int) { return n } func (m *ServiceSpec_Global) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Global != nil { @@ -2608,7 +3491,34 @@ func (m *ServiceSpec_Global) Size() (n int) { } return n } +func (m *ServiceSpec_ReplicatedJob) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ReplicatedJob != nil { + l = m.ReplicatedJob.Size() + n += 1 + l + sovSpecs(uint64(l)) + } + return n +} +func (m *ServiceSpec_GlobalJob) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.GlobalJob != nil { + l = m.GlobalJob.Size() + n += 1 + l + sovSpecs(uint64(l)) + } + return n +} func (m *ReplicatedService) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Replicas != 0 { @@ -2618,12 +3528,42 @@ func (m *ReplicatedService) Size() (n int) { } func (m *GlobalService) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + return n +} + +func (m *ReplicatedJob) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.MaxConcurrent != 0 { + n += 1 + sovSpecs(uint64(m.MaxConcurrent)) + } + if m.TotalCompletions != 0 { + n += 1 + sovSpecs(uint64(m.TotalCompletions)) + } + return n +} + +func (m *GlobalJob) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *TaskSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Runtime != nil { @@ -2664,6 +3604,9 @@ func (m *TaskSpec) Size() (n int) { } func (m *TaskSpec_Container) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Container != nil { @@ -2673,6 +3616,9 @@ func (m *TaskSpec_Container) Size() (n int) { return n } func (m *TaskSpec_Attachment) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Attachment != nil { @@ -2682,6 +3628,9 @@ func (m *TaskSpec_Attachment) Size() (n int) { return n } func (m *TaskSpec_Generic) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Generic != nil { @@ -2691,6 +3640,9 @@ func (m *TaskSpec_Generic) Size() (n int) { return n } func (m *ResourceReference) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ResourceID) @@ -2704,6 +3656,9 @@ func (m *ResourceReference) Size() (n int) { } func (m *GenericRuntimeSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Kind) @@ -2718,6 +3673,9 @@ func (m *GenericRuntimeSpec) Size() (n int) { } func (m *NetworkAttachmentSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ContainerID) @@ -2728,6 +3686,9 @@ func (m *NetworkAttachmentSpec) Size() (n int) { } func (m *ContainerSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Image) @@ -2863,6 +3824,9 @@ func (m *ContainerSpec) Size() (n int) { } func (m *ContainerSpec_PullOptions) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.RegistryAuth) @@ -2873,6 +3837,9 @@ func (m *ContainerSpec_PullOptions) Size() (n int) { } func (m *ContainerSpec_DNSConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Nameservers) > 0 { @@ -2897,6 +3864,9 @@ func (m *ContainerSpec_DNSConfig) Size() (n int) { } func (m *EndpointSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Mode != 0 { @@ -2912,6 +3882,9 @@ func (m *EndpointSpec) Size() (n int) { } func (m *NetworkSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Annotations.Size() @@ -2943,6 +3916,9 @@ func (m *NetworkSpec) Size() (n int) { } func (m *NetworkSpec_Network) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Network) @@ -2950,6 +3926,9 @@ func (m *NetworkSpec_Network) Size() (n int) { return n } func (m *ClusterSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Annotations.Size() @@ -2972,6 +3951,9 @@ func (m *ClusterSpec) Size() (n int) { } func (m *SecretSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Annotations.Size() @@ -2992,6 +3974,9 @@ func (m *SecretSpec) Size() (n int) { } func (m *ConfigSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = m.Annotations.Size() @@ -3069,6 +4054,26 @@ func (this *ServiceSpec_Global) String() string { }, "") return s } +func (this *ServiceSpec_ReplicatedJob) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&ServiceSpec_ReplicatedJob{`, + `ReplicatedJob:` + strings.Replace(fmt.Sprintf("%v", this.ReplicatedJob), "ReplicatedJob", "ReplicatedJob", 1) + `,`, + `}`, + }, "") + return s +} +func (this *ServiceSpec_GlobalJob) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&ServiceSpec_GlobalJob{`, + `GlobalJob:` + strings.Replace(fmt.Sprintf("%v", this.GlobalJob), "GlobalJob", "GlobalJob", 1) + `,`, + `}`, + }, "") + return s +} func (this *ReplicatedService) String() string { if this == nil { return "nil" @@ -3088,6 +4093,26 @@ func (this *GlobalService) String() string { }, "") return s } +func (this *ReplicatedJob) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&ReplicatedJob{`, + `MaxConcurrent:` + fmt.Sprintf("%v", this.MaxConcurrent) + `,`, + `TotalCompletions:` + fmt.Sprintf("%v", this.TotalCompletions) + `,`, + `}`, + }, "") + return s +} +func (this *GlobalJob) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&GlobalJob{`, + `}`, + }, "") + return s +} func (this *TaskSpec) String() string { if this == nil { return "nil" @@ -3152,7 +4177,7 @@ func (this *GenericRuntimeSpec) String() string { } s := strings.Join([]string{`&GenericRuntimeSpec{`, `Kind:` + fmt.Sprintf("%v", this.Kind) + `,`, - `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "google_protobuf4.Any", 1) + `,`, + `Payload:` + strings.Replace(fmt.Sprintf("%v", this.Payload), "Any", "types.Any", 1) + `,`, `}`, }, "") return s @@ -3175,7 +4200,7 @@ func (this *ContainerSpec) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -3185,7 +4210,7 @@ func (this *ContainerSpec) String() string { for k, _ := range this.Sysctls { keysForSysctls = append(keysForSysctls, k) } - sortkeys.Strings(keysForSysctls) + github_com_gogo_protobuf_sortkeys.Strings(keysForSysctls) mapStringForSysctls := "map[string]string{" for _, k := range keysForSysctls { mapStringForSysctls += fmt.Sprintf("%v: %v,", k, this.Sysctls[k]) @@ -3200,7 +4225,7 @@ func (this *ContainerSpec) String() string { `Dir:` + fmt.Sprintf("%v", this.Dir) + `,`, `User:` + fmt.Sprintf("%v", this.User) + `,`, `Mounts:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Mounts), "Mount", "Mount", 1), `&`, ``, 1) + `,`, - `StopGracePeriod:` + strings.Replace(fmt.Sprintf("%v", this.StopGracePeriod), "Duration", "google_protobuf1.Duration", 1) + `,`, + `StopGracePeriod:` + strings.Replace(fmt.Sprintf("%v", this.StopGracePeriod), "Duration", "types.Duration", 1) + `,`, `PullOptions:` + strings.Replace(fmt.Sprintf("%v", this.PullOptions), "ContainerSpec_PullOptions", "ContainerSpec_PullOptions", 1) + `,`, `Groups:` + fmt.Sprintf("%v", this.Groups) + `,`, `Secrets:` + strings.Replace(fmt.Sprintf("%v", this.Secrets), "SecretReference", "SecretReference", 1) + `,`, @@ -3214,7 +4239,7 @@ func (this *ContainerSpec) String() string { `StopSignal:` + fmt.Sprintf("%v", this.StopSignal) + `,`, `Configs:` + strings.Replace(fmt.Sprintf("%v", this.Configs), "ConfigReference", "ConfigReference", 1) + `,`, `Privileges:` + strings.Replace(fmt.Sprintf("%v", this.Privileges), "Privileges", "Privileges", 1) + `,`, - `Init:` + strings.Replace(fmt.Sprintf("%v", this.Init), "BoolValue", "google_protobuf2.BoolValue", 1) + `,`, + `Init:` + strings.Replace(fmt.Sprintf("%v", this.Init), "BoolValue", "types.BoolValue", 1) + `,`, `Isolation:` + fmt.Sprintf("%v", this.Isolation) + `,`, `PidsLimit:` + fmt.Sprintf("%v", this.PidsLimit) + `,`, `Sysctls:` + mapStringForSysctls + `,`, @@ -3348,7 +4373,7 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3376,7 +4401,7 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3385,6 +4410,9 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3406,7 +4434,7 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.DesiredRole |= (NodeRole(b) & 0x7F) << shift + m.DesiredRole |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -3425,7 +4453,7 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Membership |= (NodeSpec_Membership(b) & 0x7F) << shift + m.Membership |= NodeSpec_Membership(b&0x7F) << shift if b < 0x80 { break } @@ -3444,7 +4472,7 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Availability |= (NodeSpec_Availability(b) & 0x7F) << shift + m.Availability |= NodeSpec_Availability(b&0x7F) << shift if b < 0x80 { break } @@ -3458,6 +4486,9 @@ func (m *NodeSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3485,7 +4516,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3513,7 +4544,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3522,6 +4553,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3543,7 +4577,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3552,6 +4586,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3573,7 +4610,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3582,6 +4619,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3605,7 +4645,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3614,6 +4654,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3637,7 +4680,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3646,6 +4689,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3670,7 +4716,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3679,6 +4725,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3701,7 +4750,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3710,6 +4759,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3734,7 +4786,7 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3743,6 +4795,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3753,6 +4808,76 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ReplicatedJob", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSpecs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthSpecs + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &ReplicatedJob{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Mode = &ServiceSpec_ReplicatedJob{v} + iNdEx = postIndex + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field GlobalJob", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSpecs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthSpecs + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := &GlobalJob{} + if err := v.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Mode = &ServiceSpec_GlobalJob{v} + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipSpecs(dAtA[iNdEx:]) @@ -3762,6 +4887,9 @@ func (m *ServiceSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3789,7 +4917,7 @@ func (m *ReplicatedService) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3817,7 +4945,7 @@ func (m *ReplicatedService) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Replicas |= (uint64(b) & 0x7F) << shift + m.Replicas |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3831,6 +4959,9 @@ func (m *ReplicatedService) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3858,7 +4989,7 @@ func (m *GlobalService) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3881,6 +5012,153 @@ func (m *GlobalService) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ReplicatedJob) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSpecs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ReplicatedJob: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReplicatedJob: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxConcurrent", wireType) + } + m.MaxConcurrent = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSpecs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxConcurrent |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field TotalCompletions", wireType) + } + m.TotalCompletions = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSpecs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.TotalCompletions |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipSpecs(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthSpecs + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *GlobalJob) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowSpecs + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: GlobalJob: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: GlobalJob: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + default: + iNdEx = preIndex + skippy, err := skipSpecs(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthSpecs + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3908,7 +5186,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3936,7 +5214,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3945,6 +5223,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3968,7 +5249,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3977,6 +5258,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4001,7 +5285,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4010,6 +5294,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4034,7 +5321,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4043,6 +5330,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4067,7 +5357,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4076,6 +5366,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4100,7 +5393,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4109,6 +5402,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4131,7 +5427,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4140,6 +5436,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4163,7 +5462,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ForceUpdate |= (uint64(b) & 0x7F) << shift + m.ForceUpdate |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4182,7 +5481,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4191,6 +5490,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4214,7 +5516,7 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4223,6 +5525,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4240,6 +5545,9 @@ func (m *TaskSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4267,7 +5575,7 @@ func (m *ResourceReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4295,7 +5603,7 @@ func (m *ResourceReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4305,6 +5613,9 @@ func (m *ResourceReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4324,7 +5635,7 @@ func (m *ResourceReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ResourceType |= (ResourceType(b) & 0x7F) << shift + m.ResourceType |= ResourceType(b&0x7F) << shift if b < 0x80 { break } @@ -4338,6 +5649,9 @@ func (m *ResourceReference) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4365,7 +5679,7 @@ func (m *GenericRuntimeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4393,7 +5707,7 @@ func (m *GenericRuntimeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4403,6 +5717,9 @@ func (m *GenericRuntimeSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4422,7 +5739,7 @@ func (m *GenericRuntimeSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4431,11 +5748,14 @@ func (m *GenericRuntimeSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Payload == nil { - m.Payload = &google_protobuf4.Any{} + m.Payload = &types.Any{} } if err := m.Payload.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -4450,6 +5770,9 @@ func (m *GenericRuntimeSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4477,7 +5800,7 @@ func (m *NetworkAttachmentSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4505,7 +5828,7 @@ func (m *NetworkAttachmentSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4515,6 +5838,9 @@ func (m *NetworkAttachmentSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4529,6 +5855,9 @@ func (m *NetworkAttachmentSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4556,7 +5885,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4584,7 +5913,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4594,6 +5923,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4613,7 +5945,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4622,6 +5954,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4642,7 +5977,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4659,7 +5994,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4669,6 +6004,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthSpecs + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -4685,7 +6023,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4695,6 +6033,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthSpecs + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -4731,7 +6072,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4741,6 +6082,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4760,7 +6104,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4770,6 +6114,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4789,7 +6136,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4799,6 +6146,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4818,7 +6168,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4828,6 +6178,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4847,7 +6200,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4857,6 +6210,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4876,7 +6232,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4885,6 +6241,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4907,7 +6266,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4916,11 +6275,14 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } if m.StopGracePeriod == nil { - m.StopGracePeriod = &google_protobuf1.Duration{} + m.StopGracePeriod = &types.Duration{} } if err := m.StopGracePeriod.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -4940,7 +6302,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4949,6 +6311,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4973,7 +6338,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4983,6 +6348,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5002,7 +6370,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5011,6 +6379,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5033,7 +6404,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5053,7 +6424,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5063,6 +6434,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5082,7 +6456,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5091,6 +6465,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5115,7 +6492,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5124,6 +6501,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5148,7 +6528,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5158,6 +6538,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5177,7 +6560,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5197,7 +6580,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5217,7 +6600,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5227,6 +6610,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5246,7 +6632,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5255,6 +6641,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5277,7 +6666,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5286,6 +6675,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5310,7 +6702,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5319,11 +6711,14 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Init == nil { - m.Init = &google_protobuf2.BoolValue{} + m.Init = &types.BoolValue{} } if err := m.Init.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -5343,7 +6738,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Isolation |= (ContainerSpec_Isolation(b) & 0x7F) << shift + m.Isolation |= ContainerSpec_Isolation(b&0x7F) << shift if b < 0x80 { break } @@ -5362,7 +6757,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PidsLimit |= (int64(b) & 0x7F) << shift + m.PidsLimit |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -5381,7 +6776,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5390,6 +6785,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5410,7 +6808,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5427,7 +6825,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5437,6 +6835,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthSpecs + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -5453,7 +6854,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5463,6 +6864,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthSpecs + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -5499,7 +6903,7 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5509,6 +6913,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5523,6 +6930,9 @@ func (m *ContainerSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5550,7 +6960,7 @@ func (m *ContainerSpec_PullOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5578,7 +6988,7 @@ func (m *ContainerSpec_PullOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5588,6 +6998,9 @@ func (m *ContainerSpec_PullOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5602,6 +7015,9 @@ func (m *ContainerSpec_PullOptions) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5629,7 +7045,7 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5657,7 +7073,7 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5667,6 +7083,9 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5686,7 +7105,7 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5696,6 +7115,9 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5715,7 +7137,7 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5725,6 +7147,9 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5739,6 +7164,9 @@ func (m *ContainerSpec_DNSConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5766,7 +7194,7 @@ func (m *EndpointSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5794,7 +7222,7 @@ func (m *EndpointSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Mode |= (EndpointSpec_ResolutionMode(b) & 0x7F) << shift + m.Mode |= EndpointSpec_ResolutionMode(b&0x7F) << shift if b < 0x80 { break } @@ -5813,7 +7241,7 @@ func (m *EndpointSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5822,6 +7250,9 @@ func (m *EndpointSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5839,6 +7270,9 @@ func (m *EndpointSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -5866,7 +7300,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -5894,7 +7328,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5903,6 +7337,9 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5924,7 +7361,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5933,6 +7370,9 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -5957,7 +7397,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5977,7 +7417,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -5997,7 +7437,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6006,6 +7446,9 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6030,7 +7473,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6050,7 +7493,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6070,7 +7513,7 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6080,6 +7523,9 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6094,6 +7540,9 @@ func (m *NetworkSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6121,7 +7570,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6149,7 +7598,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6158,6 +7607,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6179,7 +7631,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6188,6 +7640,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6209,7 +7664,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6218,6 +7673,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6239,7 +7697,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6248,6 +7706,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6269,7 +7730,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6278,6 +7739,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6299,7 +7763,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6308,6 +7772,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6329,7 +7796,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6338,6 +7805,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6359,7 +7829,7 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6368,6 +7838,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6384,6 +7857,9 @@ func (m *ClusterSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6411,7 +7887,7 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6439,7 +7915,7 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6448,6 +7924,9 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6469,7 +7948,7 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6478,6 +7957,9 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6500,7 +7982,7 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6509,6 +7991,9 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6533,7 +8018,7 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6542,6 +8027,9 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6561,6 +8049,9 @@ func (m *SecretSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6588,7 +8079,7 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -6616,7 +8107,7 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6625,6 +8116,9 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6646,7 +8140,7 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6655,6 +8149,9 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6677,7 +8174,7 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -6686,6 +8183,9 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthSpecs } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthSpecs + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -6705,6 +8205,9 @@ func (m *ConfigSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthSpecs } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthSpecs + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -6771,10 +8274,13 @@ func skipSpecs(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthSpecs } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthSpecs + } return iNdEx, nil case 3: for { @@ -6803,6 +8309,9 @@ func skipSpecs(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthSpecs + } } return iNdEx, nil case 4: @@ -6821,146 +8330,3 @@ var ( ErrInvalidLengthSpecs = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSpecs = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/specs.proto", fileDescriptorSpecs) } - -var fileDescriptorSpecs = []byte{ - // 2178 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0x4f, 0x6f, 0x1b, 0xb9, - 0x15, 0xb7, 0x6c, 0x59, 0x7f, 0x9e, 0xe4, 0x44, 0xe6, 0x26, 0xd9, 0xb1, 0x92, 0xd8, 0x8a, 0x36, - 0x9b, 0x7a, 0x77, 0x51, 0x19, 0x75, 0x17, 0xdb, 0x6c, 0xd2, 0x6d, 0x2b, 0x59, 0x5a, 0x5b, 0x4d, - 0x62, 0x0b, 0x94, 0xe3, 0x36, 0x40, 0x01, 0x81, 0x9e, 0xa1, 0x25, 0xc2, 0xa3, 0xe1, 0x94, 0xa4, - 0x1c, 0xe8, 0xd6, 0xe3, 0xc2, 0xfd, 0x0c, 0x46, 0x0f, 0x45, 0xef, 0xed, 0xb7, 0xc8, 0xb1, 0xc7, - 0xf6, 0x62, 0x74, 0xfd, 0x15, 0x7a, 0xeb, 0xa5, 0x05, 0x39, 0x1c, 0xfd, 0x71, 0xe4, 0x38, 0x45, - 0x73, 0xe8, 0x8d, 0x7c, 0xf3, 0xfb, 0x3d, 0xfe, 0xfb, 0xbd, 0xc7, 0xc7, 0x81, 0xcf, 0xbb, 0x4c, - 0xf5, 0x06, 0x87, 0x15, 0x97, 0xf7, 0x37, 0x3c, 0xee, 0x1e, 0x53, 0xb1, 0x21, 0x5f, 0x13, 0xd1, - 0x3f, 0x66, 0x6a, 0x83, 0x84, 0x6c, 0x43, 0x86, 0xd4, 0x95, 0x95, 0x50, 0x70, 0xc5, 0x11, 0x8a, - 0x00, 0x95, 0x18, 0x50, 0x39, 0xf9, 0x51, 0xf1, 0x3a, 0xbe, 0x1a, 0x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xe2, 0x30, - 0x65, 0x6a, 0xa8, 0x1f, 0xff, 0x27, 0x00, 0x00, 0xff, 0xff, 0x9c, 0x13, 0x42, 0x73, 0x71, 0x16, - 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/specs.proto b/vendor/github.com/docker/swarmkit/api/specs.proto index 6858a30b3e..a0510d5e02 100644 --- a/vendor/github.com/docker/swarmkit/api/specs.proto +++ b/vendor/github.com/docker/swarmkit/api/specs.proto @@ -69,6 +69,8 @@ message ServiceSpec { oneof mode { ReplicatedService replicated = 3; GlobalService global = 4; + ReplicatedJob replicated_job = 10; + GlobalJob global_job = 11; } // Update contains settings which affect updates. @@ -99,6 +101,26 @@ message GlobalService { // Empty message for now. } +// ReplicatedJob is a certain type of one-off job which executes many Tasks in +// parallel until the specified number of Tasks have succeeded. +message ReplicatedJob { + // MaxConcurrent indicates the maximum number of Tasks that should be + // executing simultaneously at any given time. + uint64 max_concurrent = 1; + + // TotalCompletions sets the total number of Tasks desired to run to + // completion. This is also the absolute maximum number of Tasks that will + // be executed in parallel. That is, if this number is smaller than + // MaxConcurrent, only this many replicas will run. + uint64 total_completions = 2; +} + +// GlobalJob is a type of one-off job which executes one Task on every node +// matching the service's placement constraints. +message GlobalJob { + // Empty message for now. +} + message TaskSpec { oneof runtime { NetworkAttachmentSpec attachment = 8; diff --git a/vendor/github.com/docker/swarmkit/api/types.pb.go b/vendor/github.com/docker/swarmkit/api/types.pb.go index 822a69cb83..69f052cefa 100644 --- a/vendor/github.com/docker/swarmkit/api/types.pb.go +++ b/vendor/github.com/docker/swarmkit/api/types.pb.go @@ -3,27 +3,22 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import google_protobuf "github.com/gogo/protobuf/types" -import google_protobuf1 "github.com/gogo/protobuf/types" -import google_protobuf2 "github.com/gogo/protobuf/types" -import _ "github.com/gogo/protobuf/gogoproto" - -import os "os" -import time "time" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import binary "encoding/binary" -import types "github.com/gogo/protobuf/types" - -import strings "strings" -import reflect "reflect" -import sortkeys "github.com/gogo/protobuf/sortkeys" - -import io "io" +import ( + encoding_binary "encoding/binary" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys" + github_com_gogo_protobuf_types "github.com/gogo/protobuf/types" + types "github.com/gogo/protobuf/types" + io "io" + math "math" + os "os" + reflect "reflect" + strings "strings" + time "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -31,6 +26,12 @@ var _ = fmt.Errorf var _ = math.Inf var _ = time.Kitchen +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + type ResourceType int32 const ( @@ -44,6 +45,7 @@ var ResourceType_name = map[int32]string{ 1: "SECRET", 2: "CONFIG", } + var ResourceType_value = map[string]int32{ "TASK": 0, "SECRET": 1, @@ -53,7 +55,10 @@ var ResourceType_value = map[string]int32{ func (x ResourceType) String() string { return proto.EnumName(ResourceType_name, int32(x)) } -func (ResourceType) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{0} } + +func (ResourceType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{0} +} // Only the manager create a NEW task, and move the task to PENDING and ASSIGNED. // Afterward, the manager must rely on the agent to update the task status @@ -105,6 +110,7 @@ var TaskState_name = map[int32]string{ 800: "REMOVE", 832: "ORPHANED", } + var TaskState_value = map[string]int32{ "NEW": 0, "PENDING": 64, @@ -125,7 +131,10 @@ var TaskState_value = map[string]int32{ func (x TaskState) String() string { return proto.EnumName(TaskState_name, int32(x)) } -func (TaskState) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{1} } + +func (TaskState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{1} +} type NodeRole int32 @@ -138,6 +147,7 @@ var NodeRole_name = map[int32]string{ 0: "WORKER", 1: "MANAGER", } + var NodeRole_value = map[string]int32{ "WORKER": 0, "MANAGER": 1, @@ -146,7 +156,10 @@ var NodeRole_value = map[string]int32{ func (x NodeRole) String() string { return proto.EnumName(NodeRole_name, int32(x)) } -func (NodeRole) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{2} } + +func (NodeRole) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{2} +} type RaftMemberStatus_Reachability int32 @@ -166,6 +179,7 @@ var RaftMemberStatus_Reachability_name = map[int32]string{ 1: "UNREACHABLE", 2: "REACHABLE", } + var RaftMemberStatus_Reachability_value = map[string]int32{ "UNKNOWN": 0, "UNREACHABLE": 1, @@ -175,8 +189,9 @@ var RaftMemberStatus_Reachability_value = map[string]int32{ func (x RaftMemberStatus_Reachability) String() string { return proto.EnumName(RaftMemberStatus_Reachability_name, int32(x)) } + func (RaftMemberStatus_Reachability) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{13, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{13, 0} } // TODO(aluzzardi) These should be using `gogoproto.enumvalue_customname`. @@ -199,6 +214,7 @@ var NodeStatus_State_name = map[int32]string{ 2: "READY", 3: "DISCONNECTED", } + var NodeStatus_State_value = map[string]int32{ "UNKNOWN": 0, "DOWN": 1, @@ -209,7 +225,10 @@ var NodeStatus_State_value = map[string]int32{ func (x NodeStatus_State) String() string { return proto.EnumName(NodeStatus_State_name, int32(x)) } -func (NodeStatus_State) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{14, 0} } + +func (NodeStatus_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{14, 0} +} type Mount_MountType int32 @@ -226,6 +245,7 @@ var Mount_MountType_name = map[int32]string{ 2: "TMPFS", 3: "NPIPE", } + var Mount_MountType_value = map[string]int32{ "BIND": 0, "VOLUME": 1, @@ -236,7 +256,10 @@ var Mount_MountType_value = map[string]int32{ func (x Mount_MountType) String() string { return proto.EnumName(Mount_MountType_name, int32(x)) } -func (Mount_MountType) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{16, 0} } + +func (Mount_MountType) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{16, 0} +} // Consistency indicates the tolerable level of file system consistency type Mount_MountConsistency int32 @@ -254,6 +277,7 @@ var Mount_MountConsistency_name = map[int32]string{ 2: "CACHED", 3: "DELEGATED", } + var Mount_MountConsistency_value = map[string]int32{ "DEFAULT": 0, "CONSISTENT": 1, @@ -264,8 +288,9 @@ var Mount_MountConsistency_value = map[string]int32{ func (x Mount_MountConsistency) String() string { return proto.EnumName(Mount_MountConsistency_name, int32(x)) } + func (Mount_MountConsistency) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{16, 1} + return fileDescriptor_0b5eafd0404ded3d, []int{16, 1} } type Mount_BindOptions_MountPropagation int32 @@ -287,6 +312,7 @@ var Mount_BindOptions_MountPropagation_name = map[int32]string{ 4: "RSLAVE", 5: "SLAVE", } + var Mount_BindOptions_MountPropagation_value = map[string]int32{ "RPRIVATE": 0, "PRIVATE": 1, @@ -299,8 +325,9 @@ var Mount_BindOptions_MountPropagation_value = map[string]int32{ func (x Mount_BindOptions_MountPropagation) String() string { return proto.EnumName(Mount_BindOptions_MountPropagation_name, int32(x)) } + func (Mount_BindOptions_MountPropagation) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{16, 0, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{16, 0, 0} } type RestartPolicy_RestartCondition int32 @@ -316,6 +343,7 @@ var RestartPolicy_RestartCondition_name = map[int32]string{ 1: "ON_FAILURE", 2: "ANY", } + var RestartPolicy_RestartCondition_value = map[string]int32{ "NONE": 0, "ON_FAILURE": 1, @@ -325,8 +353,9 @@ var RestartPolicy_RestartCondition_value = map[string]int32{ func (x RestartPolicy_RestartCondition) String() string { return proto.EnumName(RestartPolicy_RestartCondition_name, int32(x)) } + func (RestartPolicy_RestartCondition) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{17, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{17, 0} } type UpdateConfig_FailureAction int32 @@ -342,6 +371,7 @@ var UpdateConfig_FailureAction_name = map[int32]string{ 1: "CONTINUE", 2: "ROLLBACK", } + var UpdateConfig_FailureAction_value = map[string]int32{ "PAUSE": 0, "CONTINUE": 1, @@ -351,8 +381,9 @@ var UpdateConfig_FailureAction_value = map[string]int32{ func (x UpdateConfig_FailureAction) String() string { return proto.EnumName(UpdateConfig_FailureAction_name, int32(x)) } + func (UpdateConfig_FailureAction) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{18, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{18, 0} } // UpdateOrder controls the order of operations when rolling out an @@ -370,6 +401,7 @@ var UpdateConfig_UpdateOrder_name = map[int32]string{ 0: "STOP_FIRST", 1: "START_FIRST", } + var UpdateConfig_UpdateOrder_value = map[string]int32{ "STOP_FIRST": 0, "START_FIRST": 1, @@ -378,8 +410,9 @@ var UpdateConfig_UpdateOrder_value = map[string]int32{ func (x UpdateConfig_UpdateOrder) String() string { return proto.EnumName(UpdateConfig_UpdateOrder_name, int32(x)) } + func (UpdateConfig_UpdateOrder) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{18, 1} + return fileDescriptor_0b5eafd0404ded3d, []int{18, 1} } type UpdateStatus_UpdateState int32 @@ -403,6 +436,7 @@ var UpdateStatus_UpdateState_name = map[int32]string{ 5: "ROLLBACK_PAUSED", 6: "ROLLBACK_COMPLETED", } + var UpdateStatus_UpdateState_value = map[string]int32{ "UNKNOWN": 0, "UPDATING": 1, @@ -416,8 +450,9 @@ var UpdateStatus_UpdateState_value = map[string]int32{ func (x UpdateStatus_UpdateState) String() string { return proto.EnumName(UpdateStatus_UpdateState_name, int32(x)) } + func (UpdateStatus_UpdateState) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{19, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{19, 0} } // AddressFamily specifies the network address family that @@ -435,6 +470,7 @@ var IPAMConfig_AddressFamily_name = map[int32]string{ 4: "IPV4", 6: "IPV6", } + var IPAMConfig_AddressFamily_value = map[string]int32{ "UNKNOWN": 0, "IPV4": 4, @@ -444,8 +480,9 @@ var IPAMConfig_AddressFamily_value = map[string]int32{ func (x IPAMConfig_AddressFamily) String() string { return proto.EnumName(IPAMConfig_AddressFamily_name, int32(x)) } + func (IPAMConfig_AddressFamily) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{24, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{24, 0} } type PortConfig_Protocol int32 @@ -461,6 +498,7 @@ var PortConfig_Protocol_name = map[int32]string{ 1: "UDP", 2: "SCTP", } + var PortConfig_Protocol_value = map[string]int32{ "TCP": 0, "UDP": 1, @@ -470,7 +508,10 @@ var PortConfig_Protocol_value = map[string]int32{ func (x PortConfig_Protocol) String() string { return proto.EnumName(PortConfig_Protocol_name, int32(x)) } -func (PortConfig_Protocol) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{25, 0} } + +func (PortConfig_Protocol) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{25, 0} +} // PublishMode controls how ports are published on the swarm. type PortConfig_PublishMode int32 @@ -489,6 +530,7 @@ var PortConfig_PublishMode_name = map[int32]string{ 0: "INGRESS", 1: "HOST", } + var PortConfig_PublishMode_value = map[string]int32{ "INGRESS": 0, "HOST": 1, @@ -497,8 +539,9 @@ var PortConfig_PublishMode_value = map[string]int32{ func (x PortConfig_PublishMode) String() string { return proto.EnumName(PortConfig_PublishMode_name, int32(x)) } + func (PortConfig_PublishMode) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{25, 1} + return fileDescriptor_0b5eafd0404ded3d, []int{25, 1} } type IssuanceStatus_State int32 @@ -526,6 +569,7 @@ var IssuanceStatus_State_name = map[int32]string{ 4: "FAILED", 5: "ROTATE", } + var IssuanceStatus_State_value = map[string]int32{ "UNKNOWN": 0, "RENEW": 1, @@ -538,7 +582,10 @@ var IssuanceStatus_State_value = map[string]int32{ func (x IssuanceStatus_State) String() string { return proto.EnumName(IssuanceStatus_State_name, int32(x)) } -func (IssuanceStatus_State) EnumDescriptor() ([]byte, []int) { return fileDescriptorTypes, []int{30, 0} } + +func (IssuanceStatus_State) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{30, 0} +} type ExternalCA_CAProtocol int32 @@ -549,6 +596,7 @@ const ( var ExternalCA_CAProtocol_name = map[int32]string{ 0: "CFSSL", } + var ExternalCA_CAProtocol_value = map[string]int32{ "CFSSL": 0, } @@ -556,8 +604,9 @@ var ExternalCA_CAProtocol_value = map[string]int32{ func (x ExternalCA_CAProtocol) String() string { return proto.EnumName(ExternalCA_CAProtocol_name, int32(x)) } + func (ExternalCA_CAProtocol) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{32, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{32, 0} } // Encryption algorithm that can implemented using this key @@ -570,6 +619,7 @@ const ( var EncryptionKey_Algorithm_name = map[int32]string{ 0: "AES_128_GCM", } + var EncryptionKey_Algorithm_value = map[string]int32{ "AES_128_GCM": 0, } @@ -577,8 +627,9 @@ var EncryptionKey_Algorithm_value = map[string]int32{ func (x EncryptionKey_Algorithm) String() string { return proto.EnumName(EncryptionKey_Algorithm_name, int32(x)) } + func (EncryptionKey_Algorithm) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{45, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{45, 0} } type MaybeEncryptedRecord_Algorithm int32 @@ -594,6 +645,7 @@ var MaybeEncryptedRecord_Algorithm_name = map[int32]string{ 1: "SECRETBOX_SALSA20_POLY1305", 2: "FERNET_AES_128_CBC", } + var MaybeEncryptedRecord_Algorithm_value = map[string]int32{ "NONE": 0, "SECRETBOX_SALSA20_POLY1305": 1, @@ -603,8 +655,9 @@ var MaybeEncryptedRecord_Algorithm_value = map[string]int32{ func (x MaybeEncryptedRecord_Algorithm) String() string { return proto.EnumName(MaybeEncryptedRecord_Algorithm_name, int32(x)) } + func (MaybeEncryptedRecord_Algorithm) EnumDescriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{53, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{53, 0} } // Version tracks the last time an object in the store was updated. @@ -612,32 +665,116 @@ type Version struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` } -func (m *Version) Reset() { *m = Version{} } -func (*Version) ProtoMessage() {} -func (*Version) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{0} } +func (m *Version) Reset() { *m = Version{} } +func (*Version) ProtoMessage() {} +func (*Version) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{0} +} +func (m *Version) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Version.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Version) XXX_Merge(src proto.Message) { + xxx_messageInfo_Version.Merge(m, src) +} +func (m *Version) XXX_Size() int { + return m.Size() +} +func (m *Version) XXX_DiscardUnknown() { + xxx_messageInfo_Version.DiscardUnknown(m) +} + +var xxx_messageInfo_Version proto.InternalMessageInfo type IndexEntry struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Val string `protobuf:"bytes,2,opt,name=val,proto3" json:"val,omitempty"` } -func (m *IndexEntry) Reset() { *m = IndexEntry{} } -func (*IndexEntry) ProtoMessage() {} -func (*IndexEntry) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{1} } +func (m *IndexEntry) Reset() { *m = IndexEntry{} } +func (*IndexEntry) ProtoMessage() {} +func (*IndexEntry) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{1} +} +func (m *IndexEntry) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IndexEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IndexEntry.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IndexEntry) XXX_Merge(src proto.Message) { + xxx_messageInfo_IndexEntry.Merge(m, src) +} +func (m *IndexEntry) XXX_Size() int { + return m.Size() +} +func (m *IndexEntry) XXX_DiscardUnknown() { + xxx_messageInfo_IndexEntry.DiscardUnknown(m) +} + +var xxx_messageInfo_IndexEntry proto.InternalMessageInfo // Annotations provide useful information to identify API objects. They are // common to all API specs. type Annotations struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Labels map[string]string `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Indices provides keys and values for indexing this object. // A single key may have multiple values. - Indices []IndexEntry `protobuf:"bytes,4,rep,name=indices" json:"indices"` + Indices []IndexEntry `protobuf:"bytes,4,rep,name=indices,proto3" json:"indices"` } -func (m *Annotations) Reset() { *m = Annotations{} } -func (*Annotations) ProtoMessage() {} -func (*Annotations) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{2} } +func (m *Annotations) Reset() { *m = Annotations{} } +func (*Annotations) ProtoMessage() {} +func (*Annotations) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{2} +} +func (m *Annotations) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Annotations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Annotations.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Annotations) XXX_Merge(src proto.Message) { + xxx_messageInfo_Annotations.Merge(m, src) +} +func (m *Annotations) XXX_Size() int { + return m.Size() +} +func (m *Annotations) XXX_DiscardUnknown() { + xxx_messageInfo_Annotations.DiscardUnknown(m) +} + +var xxx_messageInfo_Annotations proto.InternalMessageInfo // NamedGenericResource represents a "user defined" resource which is defined // as a string. @@ -648,9 +785,37 @@ type NamedGenericResource struct { Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *NamedGenericResource) Reset() { *m = NamedGenericResource{} } -func (*NamedGenericResource) ProtoMessage() {} -func (*NamedGenericResource) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{3} } +func (m *NamedGenericResource) Reset() { *m = NamedGenericResource{} } +func (*NamedGenericResource) ProtoMessage() {} +func (*NamedGenericResource) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{3} +} +func (m *NamedGenericResource) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NamedGenericResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NamedGenericResource.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NamedGenericResource) XXX_Merge(src proto.Message) { + xxx_messageInfo_NamedGenericResource.Merge(m, src) +} +func (m *NamedGenericResource) XXX_Size() int { + return m.Size() +} +func (m *NamedGenericResource) XXX_DiscardUnknown() { + xxx_messageInfo_NamedGenericResource.DiscardUnknown(m) +} + +var xxx_messageInfo_NamedGenericResource proto.InternalMessageInfo // DiscreteGenericResource represents a "user defined" resource which is defined // as an integer @@ -661,9 +826,37 @@ type DiscreteGenericResource struct { Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` } -func (m *DiscreteGenericResource) Reset() { *m = DiscreteGenericResource{} } -func (*DiscreteGenericResource) ProtoMessage() {} -func (*DiscreteGenericResource) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{4} } +func (m *DiscreteGenericResource) Reset() { *m = DiscreteGenericResource{} } +func (*DiscreteGenericResource) ProtoMessage() {} +func (*DiscreteGenericResource) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{4} +} +func (m *DiscreteGenericResource) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DiscreteGenericResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DiscreteGenericResource.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DiscreteGenericResource) XXX_Merge(src proto.Message) { + xxx_messageInfo_DiscreteGenericResource.Merge(m, src) +} +func (m *DiscreteGenericResource) XXX_Size() int { + return m.Size() +} +func (m *DiscreteGenericResource) XXX_DiscardUnknown() { + xxx_messageInfo_DiscreteGenericResource.DiscardUnknown(m) +} + +var xxx_messageInfo_DiscreteGenericResource proto.InternalMessageInfo // GenericResource represents a "user defined" resource which can // be either an integer (e.g: SSD=3) or a string (e.g: SSD=sda1) @@ -674,9 +867,37 @@ type GenericResource struct { Resource isGenericResource_Resource `protobuf_oneof:"resource"` } -func (m *GenericResource) Reset() { *m = GenericResource{} } -func (*GenericResource) ProtoMessage() {} -func (*GenericResource) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{5} } +func (m *GenericResource) Reset() { *m = GenericResource{} } +func (*GenericResource) ProtoMessage() {} +func (*GenericResource) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{5} +} +func (m *GenericResource) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *GenericResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_GenericResource.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *GenericResource) XXX_Merge(src proto.Message) { + xxx_messageInfo_GenericResource.Merge(m, src) +} +func (m *GenericResource) XXX_Size() int { + return m.Size() +} +func (m *GenericResource) XXX_DiscardUnknown() { + xxx_messageInfo_GenericResource.DiscardUnknown(m) +} + +var xxx_messageInfo_GenericResource proto.InternalMessageInfo type isGenericResource_Resource interface { isGenericResource_Resource() @@ -685,10 +906,10 @@ type isGenericResource_Resource interface { } type GenericResource_NamedResourceSpec struct { - NamedResourceSpec *NamedGenericResource `protobuf:"bytes,1,opt,name=named_resource_spec,json=namedResourceSpec,oneof"` + NamedResourceSpec *NamedGenericResource `protobuf:"bytes,1,opt,name=named_resource_spec,json=namedResourceSpec,proto3,oneof"` } type GenericResource_DiscreteResourceSpec struct { - DiscreteResourceSpec *DiscreteGenericResource `protobuf:"bytes,2,opt,name=discrete_resource_spec,json=discreteResourceSpec,oneof"` + DiscreteResourceSpec *DiscreteGenericResource `protobuf:"bytes,2,opt,name=discrete_resource_spec,json=discreteResourceSpec,proto3,oneof"` } func (*GenericResource_NamedResourceSpec) isGenericResource_Resource() {} @@ -774,12 +995,12 @@ func _GenericResource_OneofSizer(msg proto.Message) (n int) { switch x := m.Resource.(type) { case *GenericResource_NamedResourceSpec: s := proto.Size(x.NamedResourceSpec) - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *GenericResource_DiscreteResourceSpec: s := proto.Size(x.DiscreteResourceSpec) - n += proto.SizeVarint(2<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -795,30 +1016,86 @@ type Resources struct { // Amount of memory in bytes. MemoryBytes int64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"` // User specified resource (e.g: bananas=2;apple={red,yellow,green}) - Generic []*GenericResource `protobuf:"bytes,3,rep,name=generic" json:"generic,omitempty"` + Generic []*GenericResource `protobuf:"bytes,3,rep,name=generic,proto3" json:"generic,omitempty"` } -func (m *Resources) Reset() { *m = Resources{} } -func (*Resources) ProtoMessage() {} -func (*Resources) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{6} } +func (m *Resources) Reset() { *m = Resources{} } +func (*Resources) ProtoMessage() {} +func (*Resources) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{6} +} +func (m *Resources) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Resources) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Resources.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Resources) XXX_Merge(src proto.Message) { + xxx_messageInfo_Resources.Merge(m, src) +} +func (m *Resources) XXX_Size() int { + return m.Size() +} +func (m *Resources) XXX_DiscardUnknown() { + xxx_messageInfo_Resources.DiscardUnknown(m) +} + +var xxx_messageInfo_Resources proto.InternalMessageInfo type ResourceRequirements struct { - Limits *Resources `protobuf:"bytes,1,opt,name=limits" json:"limits,omitempty"` - Reservations *Resources `protobuf:"bytes,2,opt,name=reservations" json:"reservations,omitempty"` + Limits *Resources `protobuf:"bytes,1,opt,name=limits,proto3" json:"limits,omitempty"` + Reservations *Resources `protobuf:"bytes,2,opt,name=reservations,proto3" json:"reservations,omitempty"` // Amount of swap in bytes - can only be used together with a memory limit // -1 means unlimited // a null pointer indicates that the default behaviour of granting twice // the memory is maintained - SwapBytes *google_protobuf2.Int64Value `protobuf:"bytes,3,opt,name=swap_bytes,json=swapBytes" json:"swap_bytes,omitempty"` + SwapBytes *types.Int64Value `protobuf:"bytes,3,opt,name=swap_bytes,json=swapBytes,proto3" json:"swap_bytes,omitempty"` // Tune container memory swappiness (0 to 100) - if not specified, defaults // to the container OS's default - generally 60, or the value predefined in // the image; set to -1 to unset a previously set value - MemorySwappiness *google_protobuf2.Int64Value `protobuf:"bytes,4,opt,name=memory_swappiness,json=memorySwappiness" json:"memory_swappiness,omitempty"` + MemorySwappiness *types.Int64Value `protobuf:"bytes,4,opt,name=memory_swappiness,json=memorySwappiness,proto3" json:"memory_swappiness,omitempty"` } -func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} } -func (*ResourceRequirements) ProtoMessage() {} -func (*ResourceRequirements) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{7} } +func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} } +func (*ResourceRequirements) ProtoMessage() {} +func (*ResourceRequirements) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{7} +} +func (m *ResourceRequirements) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ResourceRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ResourceRequirements.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ResourceRequirements) XXX_Merge(src proto.Message) { + xxx_messageInfo_ResourceRequirements.Merge(m, src) +} +func (m *ResourceRequirements) XXX_Size() int { + return m.Size() +} +func (m *ResourceRequirements) XXX_DiscardUnknown() { + xxx_messageInfo_ResourceRequirements.DiscardUnknown(m) +} + +var xxx_messageInfo_ResourceRequirements proto.InternalMessageInfo type Platform struct { // Architecture (e.g. x86_64) @@ -827,9 +1104,37 @@ type Platform struct { OS string `protobuf:"bytes,2,opt,name=os,proto3" json:"os,omitempty"` } -func (m *Platform) Reset() { *m = Platform{} } -func (*Platform) ProtoMessage() {} -func (*Platform) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{8} } +func (m *Platform) Reset() { *m = Platform{} } +func (*Platform) ProtoMessage() {} +func (*Platform) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{8} +} +func (m *Platform) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Platform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Platform.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Platform) XXX_Merge(src proto.Message) { + xxx_messageInfo_Platform.Merge(m, src) +} +func (m *Platform) XXX_Size() int { + return m.Size() +} +func (m *Platform) XXX_DiscardUnknown() { + xxx_messageInfo_Platform.DiscardUnknown(m) +} + +var xxx_messageInfo_Platform proto.InternalMessageInfo // PluginDescription describes an engine plugin. type PluginDescription struct { @@ -841,42 +1146,126 @@ type PluginDescription struct { Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` } -func (m *PluginDescription) Reset() { *m = PluginDescription{} } -func (*PluginDescription) ProtoMessage() {} -func (*PluginDescription) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{9} } +func (m *PluginDescription) Reset() { *m = PluginDescription{} } +func (*PluginDescription) ProtoMessage() {} +func (*PluginDescription) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{9} +} +func (m *PluginDescription) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PluginDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PluginDescription.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PluginDescription) XXX_Merge(src proto.Message) { + xxx_messageInfo_PluginDescription.Merge(m, src) +} +func (m *PluginDescription) XXX_Size() int { + return m.Size() +} +func (m *PluginDescription) XXX_DiscardUnknown() { + xxx_messageInfo_PluginDescription.DiscardUnknown(m) +} + +var xxx_messageInfo_PluginDescription proto.InternalMessageInfo type EngineDescription struct { // Docker daemon version running on the node. EngineVersion string `protobuf:"bytes,1,opt,name=engine_version,json=engineVersion,proto3" json:"engine_version,omitempty"` // Labels attached to the engine. - Labels map[string]string `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // Volume, Network, and Auth plugins - Plugins []PluginDescription `protobuf:"bytes,3,rep,name=plugins" json:"plugins"` + Plugins []PluginDescription `protobuf:"bytes,3,rep,name=plugins,proto3" json:"plugins"` } -func (m *EngineDescription) Reset() { *m = EngineDescription{} } -func (*EngineDescription) ProtoMessage() {} -func (*EngineDescription) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{10} } +func (m *EngineDescription) Reset() { *m = EngineDescription{} } +func (*EngineDescription) ProtoMessage() {} +func (*EngineDescription) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{10} +} +func (m *EngineDescription) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EngineDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EngineDescription.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EngineDescription) XXX_Merge(src proto.Message) { + xxx_messageInfo_EngineDescription.Merge(m, src) +} +func (m *EngineDescription) XXX_Size() int { + return m.Size() +} +func (m *EngineDescription) XXX_DiscardUnknown() { + xxx_messageInfo_EngineDescription.DiscardUnknown(m) +} + +var xxx_messageInfo_EngineDescription proto.InternalMessageInfo type NodeDescription struct { // Hostname of the node as reported by the agent. // This is different from spec.meta.name which is user-defined. Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"` // Platform of the node. - Platform *Platform `protobuf:"bytes,2,opt,name=platform" json:"platform,omitempty"` + Platform *Platform `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` // Total resources on the node. - Resources *Resources `protobuf:"bytes,3,opt,name=resources" json:"resources,omitempty"` + Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"` // Information about the Docker Engine on the node. - Engine *EngineDescription `protobuf:"bytes,4,opt,name=engine" json:"engine,omitempty"` + Engine *EngineDescription `protobuf:"bytes,4,opt,name=engine,proto3" json:"engine,omitempty"` // Information on the node's TLS setup - TLSInfo *NodeTLSInfo `protobuf:"bytes,5,opt,name=tls_info,json=tlsInfo" json:"tls_info,omitempty"` + TLSInfo *NodeTLSInfo `protobuf:"bytes,5,opt,name=tls_info,json=tlsInfo,proto3" json:"tls_info,omitempty"` // FIPS indicates whether the node has FIPS-enabled FIPS bool `protobuf:"varint,6,opt,name=fips,proto3" json:"fips,omitempty"` } -func (m *NodeDescription) Reset() { *m = NodeDescription{} } -func (*NodeDescription) ProtoMessage() {} -func (*NodeDescription) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{11} } +func (m *NodeDescription) Reset() { *m = NodeDescription{} } +func (*NodeDescription) ProtoMessage() {} +func (*NodeDescription) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{11} +} +func (m *NodeDescription) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NodeDescription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NodeDescription.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NodeDescription) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeDescription.Merge(m, src) +} +func (m *NodeDescription) XXX_Size() int { + return m.Size() +} +func (m *NodeDescription) XXX_DiscardUnknown() { + xxx_messageInfo_NodeDescription.DiscardUnknown(m) +} + +var xxx_messageInfo_NodeDescription proto.InternalMessageInfo type NodeTLSInfo struct { // Information about which root certs the node trusts @@ -886,9 +1275,37 @@ type NodeTLSInfo struct { CertIssuerPublicKey []byte `protobuf:"bytes,3,opt,name=cert_issuer_public_key,json=certIssuerPublicKey,proto3" json:"cert_issuer_public_key,omitempty"` } -func (m *NodeTLSInfo) Reset() { *m = NodeTLSInfo{} } -func (*NodeTLSInfo) ProtoMessage() {} -func (*NodeTLSInfo) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{12} } +func (m *NodeTLSInfo) Reset() { *m = NodeTLSInfo{} } +func (*NodeTLSInfo) ProtoMessage() {} +func (*NodeTLSInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{12} +} +func (m *NodeTLSInfo) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NodeTLSInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NodeTLSInfo.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NodeTLSInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeTLSInfo.Merge(m, src) +} +func (m *NodeTLSInfo) XXX_Size() int { + return m.Size() +} +func (m *NodeTLSInfo) XXX_DiscardUnknown() { + xxx_messageInfo_NodeTLSInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_NodeTLSInfo proto.InternalMessageInfo type RaftMemberStatus struct { Leader bool `protobuf:"varint,1,opt,name=leader,proto3" json:"leader,omitempty"` @@ -896,9 +1313,37 @@ type RaftMemberStatus struct { Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` } -func (m *RaftMemberStatus) Reset() { *m = RaftMemberStatus{} } -func (*RaftMemberStatus) ProtoMessage() {} -func (*RaftMemberStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{13} } +func (m *RaftMemberStatus) Reset() { *m = RaftMemberStatus{} } +func (*RaftMemberStatus) ProtoMessage() {} +func (*RaftMemberStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{13} +} +func (m *RaftMemberStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RaftMemberStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RaftMemberStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RaftMemberStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_RaftMemberStatus.Merge(m, src) +} +func (m *RaftMemberStatus) XXX_Size() int { + return m.Size() +} +func (m *RaftMemberStatus) XXX_DiscardUnknown() { + xxx_messageInfo_RaftMemberStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_RaftMemberStatus proto.InternalMessageInfo type NodeStatus struct { State NodeStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=docker.swarmkit.v1.NodeStatus_State" json:"state,omitempty"` @@ -907,9 +1352,37 @@ type NodeStatus struct { Addr string `protobuf:"bytes,3,opt,name=addr,proto3" json:"addr,omitempty"` } -func (m *NodeStatus) Reset() { *m = NodeStatus{} } -func (*NodeStatus) ProtoMessage() {} -func (*NodeStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{14} } +func (m *NodeStatus) Reset() { *m = NodeStatus{} } +func (*NodeStatus) ProtoMessage() {} +func (*NodeStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{14} +} +func (m *NodeStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NodeStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NodeStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NodeStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_NodeStatus.Merge(m, src) +} +func (m *NodeStatus) XXX_Size() int { + return m.Size() +} +func (m *NodeStatus) XXX_DiscardUnknown() { + xxx_messageInfo_NodeStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_NodeStatus proto.InternalMessageInfo type Image struct { // reference is a docker image reference. This can include a rpository, tag @@ -918,9 +1391,37 @@ type Image struct { Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"` } -func (m *Image) Reset() { *m = Image{} } -func (*Image) ProtoMessage() {} -func (*Image) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{15} } +func (m *Image) Reset() { *m = Image{} } +func (*Image) ProtoMessage() {} +func (*Image) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{15} +} +func (m *Image) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Image.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Image) XXX_Merge(src proto.Message) { + xxx_messageInfo_Image.Merge(m, src) +} +func (m *Image) XXX_Size() int { + return m.Size() +} +func (m *Image) XXX_DiscardUnknown() { + xxx_messageInfo_Image.DiscardUnknown(m) +} + +var xxx_messageInfo_Image proto.InternalMessageInfo // Mount describes volume mounts for a container. // @@ -942,21 +1443,49 @@ type Mount struct { // BindOptions configures properties of a bind mount type. // // For mounts of type bind, the source must be an absolute host path. - BindOptions *Mount_BindOptions `protobuf:"bytes,5,opt,name=bind_options,json=bindOptions" json:"bind_options,omitempty"` + BindOptions *Mount_BindOptions `protobuf:"bytes,5,opt,name=bind_options,json=bindOptions,proto3" json:"bind_options,omitempty"` // VolumeOptions configures the properties specific to a volume mount type. // // For mounts of type volume, the source will be used as the volume name. - VolumeOptions *Mount_VolumeOptions `protobuf:"bytes,6,opt,name=volume_options,json=volumeOptions" json:"volume_options,omitempty"` + VolumeOptions *Mount_VolumeOptions `protobuf:"bytes,6,opt,name=volume_options,json=volumeOptions,proto3" json:"volume_options,omitempty"` // TmpfsOptions allows one to set options for mounting a temporary // filesystem. // // The source field will be ignored when using mounts of type tmpfs. - TmpfsOptions *Mount_TmpfsOptions `protobuf:"bytes,7,opt,name=tmpfs_options,json=tmpfsOptions" json:"tmpfs_options,omitempty"` + TmpfsOptions *Mount_TmpfsOptions `protobuf:"bytes,7,opt,name=tmpfs_options,json=tmpfsOptions,proto3" json:"tmpfs_options,omitempty"` } -func (m *Mount) Reset() { *m = Mount{} } -func (*Mount) ProtoMessage() {} -func (*Mount) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{16} } +func (m *Mount) Reset() { *m = Mount{} } +func (*Mount) ProtoMessage() {} +func (*Mount) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{16} +} +func (m *Mount) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Mount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Mount.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Mount) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mount.Merge(m, src) +} +func (m *Mount) XXX_Size() int { + return m.Size() +} +func (m *Mount) XXX_DiscardUnknown() { + xxx_messageInfo_Mount.DiscardUnknown(m) +} + +var xxx_messageInfo_Mount proto.InternalMessageInfo // BindOptions specifies options that are specific to a bind mount. type Mount_BindOptions struct { @@ -966,26 +1495,82 @@ type Mount_BindOptions struct { NonRecursive bool `protobuf:"varint,2,opt,name=nonrecursive,proto3" json:"nonrecursive,omitempty"` } -func (m *Mount_BindOptions) Reset() { *m = Mount_BindOptions{} } -func (*Mount_BindOptions) ProtoMessage() {} -func (*Mount_BindOptions) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{16, 0} } +func (m *Mount_BindOptions) Reset() { *m = Mount_BindOptions{} } +func (*Mount_BindOptions) ProtoMessage() {} +func (*Mount_BindOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{16, 0} +} +func (m *Mount_BindOptions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Mount_BindOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Mount_BindOptions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Mount_BindOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mount_BindOptions.Merge(m, src) +} +func (m *Mount_BindOptions) XXX_Size() int { + return m.Size() +} +func (m *Mount_BindOptions) XXX_DiscardUnknown() { + xxx_messageInfo_Mount_BindOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_Mount_BindOptions proto.InternalMessageInfo // VolumeOptions contains parameters for mounting the volume. type Mount_VolumeOptions struct { // nocopy prevents automatic copying of data to the volume with data from target NoCopy bool `protobuf:"varint,1,opt,name=nocopy,proto3" json:"nocopy,omitempty"` // labels to apply to the volume if creating - Labels map[string]string `protobuf:"bytes,2,rep,name=labels" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Labels map[string]string `protobuf:"bytes,2,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // DriverConfig specifies the options that may be passed to the driver // if the volume is created. // // If this is empty, no volume will be created if the volume is missing. - DriverConfig *Driver `protobuf:"bytes,3,opt,name=driver_config,json=driverConfig" json:"driver_config,omitempty"` + DriverConfig *Driver `protobuf:"bytes,3,opt,name=driver_config,json=driverConfig,proto3" json:"driver_config,omitempty"` } -func (m *Mount_VolumeOptions) Reset() { *m = Mount_VolumeOptions{} } -func (*Mount_VolumeOptions) ProtoMessage() {} -func (*Mount_VolumeOptions) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{16, 1} } +func (m *Mount_VolumeOptions) Reset() { *m = Mount_VolumeOptions{} } +func (*Mount_VolumeOptions) ProtoMessage() {} +func (*Mount_VolumeOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{16, 1} +} +func (m *Mount_VolumeOptions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Mount_VolumeOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Mount_VolumeOptions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Mount_VolumeOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mount_VolumeOptions.Merge(m, src) +} +func (m *Mount_VolumeOptions) XXX_Size() int { + return m.Size() +} +func (m *Mount_VolumeOptions) XXX_DiscardUnknown() { + xxx_messageInfo_Mount_VolumeOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_Mount_VolumeOptions proto.InternalMessageInfo type Mount_TmpfsOptions struct { // Size sets the size of the tmpfs, in bytes. @@ -1003,27 +1588,83 @@ type Mount_TmpfsOptions struct { Options string `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"` } -func (m *Mount_TmpfsOptions) Reset() { *m = Mount_TmpfsOptions{} } -func (*Mount_TmpfsOptions) ProtoMessage() {} -func (*Mount_TmpfsOptions) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{16, 2} } +func (m *Mount_TmpfsOptions) Reset() { *m = Mount_TmpfsOptions{} } +func (*Mount_TmpfsOptions) ProtoMessage() {} +func (*Mount_TmpfsOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{16, 2} +} +func (m *Mount_TmpfsOptions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Mount_TmpfsOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Mount_TmpfsOptions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Mount_TmpfsOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_Mount_TmpfsOptions.Merge(m, src) +} +func (m *Mount_TmpfsOptions) XXX_Size() int { + return m.Size() +} +func (m *Mount_TmpfsOptions) XXX_DiscardUnknown() { + xxx_messageInfo_Mount_TmpfsOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_Mount_TmpfsOptions proto.InternalMessageInfo type RestartPolicy struct { Condition RestartPolicy_RestartCondition `protobuf:"varint,1,opt,name=condition,proto3,enum=docker.swarmkit.v1.RestartPolicy_RestartCondition" json:"condition,omitempty"` // Delay between restart attempts // Note: can't use stdduration because this field needs to be nullable. - Delay *google_protobuf1.Duration `protobuf:"bytes,2,opt,name=delay" json:"delay,omitempty"` + Delay *types.Duration `protobuf:"bytes,2,opt,name=delay,proto3" json:"delay,omitempty"` // MaxAttempts is the maximum number of restarts to attempt on an // instance before giving up. Ignored if 0. MaxAttempts uint64 `protobuf:"varint,3,opt,name=max_attempts,json=maxAttempts,proto3" json:"max_attempts,omitempty"` // Window is the time window used to evaluate the restart policy. // The time window is unbounded if this is 0. // Note: can't use stdduration because this field needs to be nullable. - Window *google_protobuf1.Duration `protobuf:"bytes,4,opt,name=window" json:"window,omitempty"` + Window *types.Duration `protobuf:"bytes,4,opt,name=window,proto3" json:"window,omitempty"` } -func (m *RestartPolicy) Reset() { *m = RestartPolicy{} } -func (*RestartPolicy) ProtoMessage() {} -func (*RestartPolicy) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{17} } +func (m *RestartPolicy) Reset() { *m = RestartPolicy{} } +func (*RestartPolicy) ProtoMessage() {} +func (*RestartPolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{17} +} +func (m *RestartPolicy) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RestartPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RestartPolicy.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RestartPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_RestartPolicy.Merge(m, src) +} +func (m *RestartPolicy) XXX_Size() int { + return m.Size() +} +func (m *RestartPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_RestartPolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_RestartPolicy proto.InternalMessageInfo // UpdateConfig specifies the rate and policy of updates. // TODO(aluzzardi): Consider making this a oneof with RollingStrategy and LockstepStrategy. @@ -1032,7 +1673,7 @@ type UpdateConfig struct { // 0 means unlimited parallelism. Parallelism uint64 `protobuf:"varint,1,opt,name=parallelism,proto3" json:"parallelism,omitempty"` // Amount of time between updates. - Delay time.Duration `protobuf:"bytes,2,opt,name=delay,stdduration" json:"delay"` + Delay time.Duration `protobuf:"bytes,2,opt,name=delay,proto3,stdduration" json:"delay"` // FailureAction is the action to take when an update failures. FailureAction UpdateConfig_FailureAction `protobuf:"varint,3,opt,name=failure_action,json=failureAction,proto3,enum=docker.swarmkit.v1.UpdateConfig_FailureAction" json:"failure_action,omitempty"` // Monitor indicates how long to monitor a task for failure after it is @@ -1042,7 +1683,7 @@ type UpdateConfig struct { // count as a failure. If Monitor is unspecified, a default value will // be used. // Note: can't use stdduration because this field needs to be nullable. - Monitor *google_protobuf1.Duration `protobuf:"bytes,4,opt,name=monitor" json:"monitor,omitempty"` + Monitor *types.Duration `protobuf:"bytes,4,opt,name=monitor,proto3" json:"monitor,omitempty"` // MaxFailureRatio is the fraction of tasks that may fail during // an update before the failure action is invoked. Any task created by // the current update which ends up in one of the states REJECTED, @@ -1061,9 +1702,37 @@ type UpdateConfig struct { Order UpdateConfig_UpdateOrder `protobuf:"varint,6,opt,name=order,proto3,enum=docker.swarmkit.v1.UpdateConfig_UpdateOrder" json:"order,omitempty"` } -func (m *UpdateConfig) Reset() { *m = UpdateConfig{} } -func (*UpdateConfig) ProtoMessage() {} -func (*UpdateConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{18} } +func (m *UpdateConfig) Reset() { *m = UpdateConfig{} } +func (*UpdateConfig) ProtoMessage() {} +func (*UpdateConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{18} +} +func (m *UpdateConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateConfig.Merge(m, src) +} +func (m *UpdateConfig) XXX_Size() int { + return m.Size() +} +func (m *UpdateConfig) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateConfig proto.InternalMessageInfo // UpdateStatus is the status of an update in progress. type UpdateStatus struct { @@ -1073,11 +1742,11 @@ type UpdateStatus struct { State UpdateStatus_UpdateState `protobuf:"varint,1,opt,name=state,proto3,enum=docker.swarmkit.v1.UpdateStatus_UpdateState" json:"state,omitempty"` // StartedAt is the time at which the update was started. // Note: can't use stdtime because this field is nullable. - StartedAt *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=started_at,json=startedAt" json:"started_at,omitempty"` + StartedAt *types.Timestamp `protobuf:"bytes,2,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // CompletedAt is the time at which the update completed successfully, // paused, or finished rolling back. // Note: can't use stdtime because this field is nullable. - CompletedAt *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=completed_at,json=completedAt" json:"completed_at,omitempty"` + CompletedAt *types.Timestamp `protobuf:"bytes,3,opt,name=completed_at,json=completedAt,proto3" json:"completed_at,omitempty"` // Message explains how the update got into its current state. For // example, if the update is paused, it will explain what is preventing // the update from proceeding (typically the failure of a task to start up @@ -1085,9 +1754,37 @@ type UpdateStatus struct { Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` } -func (m *UpdateStatus) Reset() { *m = UpdateStatus{} } -func (*UpdateStatus) ProtoMessage() {} -func (*UpdateStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{19} } +func (m *UpdateStatus) Reset() { *m = UpdateStatus{} } +func (*UpdateStatus) ProtoMessage() {} +func (*UpdateStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{19} +} +func (m *UpdateStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *UpdateStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_UpdateStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *UpdateStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_UpdateStatus.Merge(m, src) +} +func (m *UpdateStatus) XXX_Size() int { + return m.Size() +} +func (m *UpdateStatus) XXX_DiscardUnknown() { + xxx_messageInfo_UpdateStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_UpdateStatus proto.InternalMessageInfo // Container specific status. type ContainerStatus struct { @@ -1096,23 +1793,79 @@ type ContainerStatus struct { ExitCode int32 `protobuf:"varint,3,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"` } -func (m *ContainerStatus) Reset() { *m = ContainerStatus{} } -func (*ContainerStatus) ProtoMessage() {} -func (*ContainerStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{20} } +func (m *ContainerStatus) Reset() { *m = ContainerStatus{} } +func (*ContainerStatus) ProtoMessage() {} +func (*ContainerStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{20} +} +func (m *ContainerStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ContainerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ContainerStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ContainerStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ContainerStatus.Merge(m, src) +} +func (m *ContainerStatus) XXX_Size() int { + return m.Size() +} +func (m *ContainerStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ContainerStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ContainerStatus proto.InternalMessageInfo // PortStatus specifies the actual allocated runtime state of a list // of port configs. type PortStatus struct { - Ports []*PortConfig `protobuf:"bytes,1,rep,name=ports" json:"ports,omitempty"` + Ports []*PortConfig `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` } -func (m *PortStatus) Reset() { *m = PortStatus{} } -func (*PortStatus) ProtoMessage() {} -func (*PortStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{21} } +func (m *PortStatus) Reset() { *m = PortStatus{} } +func (*PortStatus) ProtoMessage() {} +func (*PortStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{21} +} +func (m *PortStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PortStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PortStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PortStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_PortStatus.Merge(m, src) +} +func (m *PortStatus) XXX_Size() int { + return m.Size() +} +func (m *PortStatus) XXX_DiscardUnknown() { + xxx_messageInfo_PortStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_PortStatus proto.InternalMessageInfo type TaskStatus struct { // Note: can't use stdtime because this field is nullable. - Timestamp *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=timestamp" json:"timestamp,omitempty"` + Timestamp *types.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // State expresses the current state of the task. State TaskState `protobuf:"varint,2,opt,name=state,proto3,enum=docker.swarmkit.v1.TaskState" json:"state,omitempty"` // Message reports a message for the task status. This should provide a @@ -1131,7 +1884,7 @@ type TaskStatus struct { // // The following states should report a companion error: // - // FAILED, REJECTED + // FAILED, REJECTED // // In general, messages that should be surfaced to users belong in the // Err field, and notes on routine state transitions belong in Message. @@ -1145,19 +1898,47 @@ type TaskStatus struct { RuntimeStatus isTaskStatus_RuntimeStatus `protobuf_oneof:"runtime_status"` // HostPorts provides a list of ports allocated at the host // level. - PortStatus *PortStatus `protobuf:"bytes,6,opt,name=port_status,json=portStatus" json:"port_status,omitempty"` + PortStatus *PortStatus `protobuf:"bytes,6,opt,name=port_status,json=portStatus,proto3" json:"port_status,omitempty"` // AppliedBy gives the node ID of the manager that applied this task // status update to the Task object. AppliedBy string `protobuf:"bytes,7,opt,name=applied_by,json=appliedBy,proto3" json:"applied_by,omitempty"` // AppliedAt gives a timestamp of when this status update was applied to // the Task object. // Note: can't use stdtime because this field is nullable. - AppliedAt *google_protobuf.Timestamp `protobuf:"bytes,8,opt,name=applied_at,json=appliedAt" json:"applied_at,omitempty"` + AppliedAt *types.Timestamp `protobuf:"bytes,8,opt,name=applied_at,json=appliedAt,proto3" json:"applied_at,omitempty"` } -func (m *TaskStatus) Reset() { *m = TaskStatus{} } -func (*TaskStatus) ProtoMessage() {} -func (*TaskStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{22} } +func (m *TaskStatus) Reset() { *m = TaskStatus{} } +func (*TaskStatus) ProtoMessage() {} +func (*TaskStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{22} +} +func (m *TaskStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TaskStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TaskStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TaskStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskStatus.Merge(m, src) +} +func (m *TaskStatus) XXX_Size() int { + return m.Size() +} +func (m *TaskStatus) XXX_DiscardUnknown() { + xxx_messageInfo_TaskStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskStatus proto.InternalMessageInfo type isTaskStatus_RuntimeStatus interface { isTaskStatus_RuntimeStatus() @@ -1166,7 +1947,7 @@ type isTaskStatus_RuntimeStatus interface { } type TaskStatus_Container struct { - Container *ContainerStatus `protobuf:"bytes,5,opt,name=container,oneof"` + Container *ContainerStatus `protobuf:"bytes,5,opt,name=container,proto3,oneof"` } func (*TaskStatus_Container) isTaskStatus_RuntimeStatus() {} @@ -1230,7 +2011,7 @@ func _TaskStatus_OneofSizer(msg proto.Message) (n int) { switch x := m.RuntimeStatus.(type) { case *TaskStatus_Container: s := proto.Size(x.Container) - n += proto.SizeVarint(5<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -1250,18 +2031,46 @@ type NetworkAttachmentConfig struct { // network ID. Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // Aliases specifies a list of discoverable alternate names for the service on this Target. - Aliases []string `protobuf:"bytes,2,rep,name=aliases" json:"aliases,omitempty"` + Aliases []string `protobuf:"bytes,2,rep,name=aliases,proto3" json:"aliases,omitempty"` // Addresses specifies a list of ipv4 and ipv6 addresses // preferred. If these addresses are not available then the // attachment might fail. - Addresses []string `protobuf:"bytes,3,rep,name=addresses" json:"addresses,omitempty"` + Addresses []string `protobuf:"bytes,3,rep,name=addresses,proto3" json:"addresses,omitempty"` // DriverAttachmentOpts is a map of driver attachment options for the network target - DriverAttachmentOpts map[string]string `protobuf:"bytes,4,rep,name=driver_attachment_opts,json=driverAttachmentOpts" json:"driver_attachment_opts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + DriverAttachmentOpts map[string]string `protobuf:"bytes,4,rep,name=driver_attachment_opts,json=driverAttachmentOpts,proto3" json:"driver_attachment_opts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *NetworkAttachmentConfig) Reset() { *m = NetworkAttachmentConfig{} } -func (*NetworkAttachmentConfig) ProtoMessage() {} -func (*NetworkAttachmentConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{23} } +func (m *NetworkAttachmentConfig) Reset() { *m = NetworkAttachmentConfig{} } +func (*NetworkAttachmentConfig) ProtoMessage() {} +func (*NetworkAttachmentConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{23} +} +func (m *NetworkAttachmentConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *NetworkAttachmentConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_NetworkAttachmentConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *NetworkAttachmentConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_NetworkAttachmentConfig.Merge(m, src) +} +func (m *NetworkAttachmentConfig) XXX_Size() int { + return m.Size() +} +func (m *NetworkAttachmentConfig) XXX_DiscardUnknown() { + xxx_messageInfo_NetworkAttachmentConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_NetworkAttachmentConfig proto.InternalMessageInfo // IPAMConfig specifies parameters for IP Address Management. type IPAMConfig struct { @@ -1277,12 +2086,40 @@ type IPAMConfig struct { // Reserved is a list of address from the master pool that should *not* be // allocated. These addresses may have already been allocated or may be // reserved for another allocation manager. - Reserved map[string]string `protobuf:"bytes,5,rep,name=reserved" json:"reserved,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Reserved map[string]string `protobuf:"bytes,5,rep,name=reserved,proto3" json:"reserved,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *IPAMConfig) Reset() { *m = IPAMConfig{} } -func (*IPAMConfig) ProtoMessage() {} -func (*IPAMConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{24} } +func (m *IPAMConfig) Reset() { *m = IPAMConfig{} } +func (*IPAMConfig) ProtoMessage() {} +func (*IPAMConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{24} +} +func (m *IPAMConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IPAMConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IPAMConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IPAMConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_IPAMConfig.Merge(m, src) +} +func (m *IPAMConfig) XXX_Size() int { + return m.Size() +} +func (m *IPAMConfig) XXX_DiscardUnknown() { + xxx_messageInfo_IPAMConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_IPAMConfig proto.InternalMessageInfo // PortConfig specifies an exposed port which can be // addressed using the given name. This can be later queried @@ -1306,9 +2143,37 @@ type PortConfig struct { PublishMode PortConfig_PublishMode `protobuf:"varint,5,opt,name=publish_mode,json=publishMode,proto3,enum=docker.swarmkit.v1.PortConfig_PublishMode" json:"publish_mode,omitempty"` } -func (m *PortConfig) Reset() { *m = PortConfig{} } -func (*PortConfig) ProtoMessage() {} -func (*PortConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{25} } +func (m *PortConfig) Reset() { *m = PortConfig{} } +func (*PortConfig) ProtoMessage() {} +func (*PortConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{25} +} +func (m *PortConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PortConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PortConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PortConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_PortConfig.Merge(m, src) +} +func (m *PortConfig) XXX_Size() int { + return m.Size() +} +func (m *PortConfig) XXX_DiscardUnknown() { + xxx_messageInfo_PortConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_PortConfig proto.InternalMessageInfo // Driver is a generic driver type to be used throughout the API. For now, a // driver is simply a name and set of options. The field contents depend on the @@ -1316,21 +2181,77 @@ func (*PortConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, [] // have different rules than a volume driver. type Driver struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Options map[string]string `protobuf:"bytes,2,rep,name=options" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Options map[string]string `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *Driver) Reset() { *m = Driver{} } -func (*Driver) ProtoMessage() {} -func (*Driver) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{26} } +func (m *Driver) Reset() { *m = Driver{} } +func (*Driver) ProtoMessage() {} +func (*Driver) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{26} +} +func (m *Driver) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Driver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Driver.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Driver) XXX_Merge(src proto.Message) { + xxx_messageInfo_Driver.Merge(m, src) +} +func (m *Driver) XXX_Size() int { + return m.Size() +} +func (m *Driver) XXX_DiscardUnknown() { + xxx_messageInfo_Driver.DiscardUnknown(m) +} + +var xxx_messageInfo_Driver proto.InternalMessageInfo type IPAMOptions struct { - Driver *Driver `protobuf:"bytes,1,opt,name=driver" json:"driver,omitempty"` - Configs []*IPAMConfig `protobuf:"bytes,3,rep,name=configs" json:"configs,omitempty"` + Driver *Driver `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` + Configs []*IPAMConfig `protobuf:"bytes,3,rep,name=configs,proto3" json:"configs,omitempty"` } -func (m *IPAMOptions) Reset() { *m = IPAMOptions{} } -func (*IPAMOptions) ProtoMessage() {} -func (*IPAMOptions) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{27} } +func (m *IPAMOptions) Reset() { *m = IPAMOptions{} } +func (*IPAMOptions) ProtoMessage() {} +func (*IPAMOptions) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{27} +} +func (m *IPAMOptions) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IPAMOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IPAMOptions.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IPAMOptions) XXX_Merge(src proto.Message) { + xxx_messageInfo_IPAMOptions.Merge(m, src) +} +func (m *IPAMOptions) XXX_Size() int { + return m.Size() +} +func (m *IPAMOptions) XXX_DiscardUnknown() { + xxx_messageInfo_IPAMOptions.DiscardUnknown(m) +} + +var xxx_messageInfo_IPAMOptions proto.InternalMessageInfo // Peer should be used anywhere where we are describing a remote peer. type Peer struct { @@ -1338,40 +2259,152 @@ type Peer struct { Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` } -func (m *Peer) Reset() { *m = Peer{} } -func (*Peer) ProtoMessage() {} -func (*Peer) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{28} } +func (m *Peer) Reset() { *m = Peer{} } +func (*Peer) ProtoMessage() {} +func (*Peer) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{28} +} +func (m *Peer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Peer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Peer) XXX_Merge(src proto.Message) { + xxx_messageInfo_Peer.Merge(m, src) +} +func (m *Peer) XXX_Size() int { + return m.Size() +} +func (m *Peer) XXX_DiscardUnknown() { + xxx_messageInfo_Peer.DiscardUnknown(m) +} + +var xxx_messageInfo_Peer proto.InternalMessageInfo // WeightedPeer should be used anywhere where we are describing a remote peer // with a weight. type WeightedPeer struct { - Peer *Peer `protobuf:"bytes,1,opt,name=peer" json:"peer,omitempty"` + Peer *Peer `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"` Weight int64 `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"` } -func (m *WeightedPeer) Reset() { *m = WeightedPeer{} } -func (*WeightedPeer) ProtoMessage() {} -func (*WeightedPeer) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{29} } +func (m *WeightedPeer) Reset() { *m = WeightedPeer{} } +func (*WeightedPeer) ProtoMessage() {} +func (*WeightedPeer) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{29} +} +func (m *WeightedPeer) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WeightedPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WeightedPeer.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WeightedPeer) XXX_Merge(src proto.Message) { + xxx_messageInfo_WeightedPeer.Merge(m, src) +} +func (m *WeightedPeer) XXX_Size() int { + return m.Size() +} +func (m *WeightedPeer) XXX_DiscardUnknown() { + xxx_messageInfo_WeightedPeer.DiscardUnknown(m) +} + +var xxx_messageInfo_WeightedPeer proto.InternalMessageInfo type IssuanceStatus struct { State IssuanceStatus_State `protobuf:"varint,1,opt,name=state,proto3,enum=docker.swarmkit.v1.IssuanceStatus_State" json:"state,omitempty"` // Err is set if the Certificate Issuance is in an error state. // The following states should report a companion error: - // FAILED + // FAILED Err string `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` } -func (m *IssuanceStatus) Reset() { *m = IssuanceStatus{} } -func (*IssuanceStatus) ProtoMessage() {} -func (*IssuanceStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{30} } - -type AcceptancePolicy struct { - Policies []*AcceptancePolicy_RoleAdmissionPolicy `protobuf:"bytes,1,rep,name=policies" json:"policies,omitempty"` +func (m *IssuanceStatus) Reset() { *m = IssuanceStatus{} } +func (*IssuanceStatus) ProtoMessage() {} +func (*IssuanceStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{30} +} +func (m *IssuanceStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *IssuanceStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_IssuanceStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *IssuanceStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_IssuanceStatus.Merge(m, src) +} +func (m *IssuanceStatus) XXX_Size() int { + return m.Size() +} +func (m *IssuanceStatus) XXX_DiscardUnknown() { + xxx_messageInfo_IssuanceStatus.DiscardUnknown(m) } -func (m *AcceptancePolicy) Reset() { *m = AcceptancePolicy{} } -func (*AcceptancePolicy) ProtoMessage() {} -func (*AcceptancePolicy) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{31} } +var xxx_messageInfo_IssuanceStatus proto.InternalMessageInfo + +type AcceptancePolicy struct { + Policies []*AcceptancePolicy_RoleAdmissionPolicy `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"` +} + +func (m *AcceptancePolicy) Reset() { *m = AcceptancePolicy{} } +func (*AcceptancePolicy) ProtoMessage() {} +func (*AcceptancePolicy) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{31} +} +func (m *AcceptancePolicy) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AcceptancePolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AcceptancePolicy.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AcceptancePolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_AcceptancePolicy.Merge(m, src) +} +func (m *AcceptancePolicy) XXX_Size() int { + return m.Size() +} +func (m *AcceptancePolicy) XXX_DiscardUnknown() { + xxx_messageInfo_AcceptancePolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_AcceptancePolicy proto.InternalMessageInfo type AcceptancePolicy_RoleAdmissionPolicy struct { Role NodeRole `protobuf:"varint,1,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole" json:"role,omitempty"` @@ -1380,14 +2413,40 @@ type AcceptancePolicy_RoleAdmissionPolicy struct { Autoaccept bool `protobuf:"varint,2,opt,name=autoaccept,proto3" json:"autoaccept,omitempty"` // Secret represents a user-provided string that is necessary for new // nodes to join the cluster - Secret *AcceptancePolicy_RoleAdmissionPolicy_Secret `protobuf:"bytes,3,opt,name=secret" json:"secret,omitempty"` + Secret *AcceptancePolicy_RoleAdmissionPolicy_Secret `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` } func (m *AcceptancePolicy_RoleAdmissionPolicy) Reset() { *m = AcceptancePolicy_RoleAdmissionPolicy{} } func (*AcceptancePolicy_RoleAdmissionPolicy) ProtoMessage() {} func (*AcceptancePolicy_RoleAdmissionPolicy) Descriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{31, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{31, 0} } +func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Merge(src proto.Message) { + xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy.Merge(m, src) +} +func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_Size() int { + return m.Size() +} +func (m *AcceptancePolicy_RoleAdmissionPolicy) XXX_DiscardUnknown() { + xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy.DiscardUnknown(m) +} + +var xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy proto.InternalMessageInfo type AcceptancePolicy_RoleAdmissionPolicy_Secret struct { // The actual content (possibly hashed) @@ -1401,8 +2460,34 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Reset() { } func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) ProtoMessage() {} func (*AcceptancePolicy_RoleAdmissionPolicy_Secret) Descriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{31, 0, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{31, 0, 0} } +func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy_Secret.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Merge(src proto.Message) { + xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy_Secret.Merge(m, src) +} +func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_Size() int { + return m.Size() +} +func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) XXX_DiscardUnknown() { + xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy_Secret.DiscardUnknown(m) +} + +var xxx_messageInfo_AcceptancePolicy_RoleAdmissionPolicy_Secret proto.InternalMessageInfo type ExternalCA struct { // Protocol is the protocol used by this external CA. @@ -1411,22 +2496,50 @@ type ExternalCA struct { URL string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` // Options is a set of additional key/value pairs whose interpretation // depends on the specified CA type. - Options map[string]string `protobuf:"bytes,3,rep,name=options" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Options map[string]string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // CACert specifies which root CA is used by this external CA CACert []byte `protobuf:"bytes,4,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"` } -func (m *ExternalCA) Reset() { *m = ExternalCA{} } -func (*ExternalCA) ProtoMessage() {} -func (*ExternalCA) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{32} } +func (m *ExternalCA) Reset() { *m = ExternalCA{} } +func (*ExternalCA) ProtoMessage() {} +func (*ExternalCA) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{32} +} +func (m *ExternalCA) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ExternalCA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ExternalCA.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ExternalCA) XXX_Merge(src proto.Message) { + xxx_messageInfo_ExternalCA.Merge(m, src) +} +func (m *ExternalCA) XXX_Size() int { + return m.Size() +} +func (m *ExternalCA) XXX_DiscardUnknown() { + xxx_messageInfo_ExternalCA.DiscardUnknown(m) +} + +var xxx_messageInfo_ExternalCA proto.InternalMessageInfo type CAConfig struct { // NodeCertExpiry is the duration certificates should be issued for // Note: can't use stdduration because this field needs to be nullable. - NodeCertExpiry *google_protobuf1.Duration `protobuf:"bytes,1,opt,name=node_cert_expiry,json=nodeCertExpiry" json:"node_cert_expiry,omitempty"` + NodeCertExpiry *types.Duration `protobuf:"bytes,1,opt,name=node_cert_expiry,json=nodeCertExpiry,proto3" json:"node_cert_expiry,omitempty"` // ExternalCAs is a list of CAs to which a manager node will make // certificate signing requests for node certificates. - ExternalCAs []*ExternalCA `protobuf:"bytes,2,rep,name=external_cas,json=externalCas" json:"external_cas,omitempty"` + ExternalCAs []*ExternalCA `protobuf:"bytes,2,rep,name=external_cas,json=externalCas,proto3" json:"external_cas,omitempty"` // SigningCACert is the desired CA certificate to be used as the root and // signing CA for the swarm. If not provided, indicates that we are either happy // with the current configuration, or (together with a bump in the ForceRotate value) @@ -1441,9 +2554,37 @@ type CAConfig struct { ForceRotate uint64 `protobuf:"varint,5,opt,name=force_rotate,json=forceRotate,proto3" json:"force_rotate,omitempty"` } -func (m *CAConfig) Reset() { *m = CAConfig{} } -func (*CAConfig) ProtoMessage() {} -func (*CAConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{33} } +func (m *CAConfig) Reset() { *m = CAConfig{} } +func (*CAConfig) ProtoMessage() {} +func (*CAConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{33} +} +func (m *CAConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *CAConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_CAConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *CAConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_CAConfig.Merge(m, src) +} +func (m *CAConfig) XXX_Size() int { + return m.Size() +} +func (m *CAConfig) XXX_DiscardUnknown() { + xxx_messageInfo_CAConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_CAConfig proto.InternalMessageInfo // OrchestrationConfig defines cluster-level orchestration settings. type OrchestrationConfig struct { @@ -1452,9 +2593,37 @@ type OrchestrationConfig struct { TaskHistoryRetentionLimit int64 `protobuf:"varint,1,opt,name=task_history_retention_limit,json=taskHistoryRetentionLimit,proto3" json:"task_history_retention_limit,omitempty"` } -func (m *OrchestrationConfig) Reset() { *m = OrchestrationConfig{} } -func (*OrchestrationConfig) ProtoMessage() {} -func (*OrchestrationConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{34} } +func (m *OrchestrationConfig) Reset() { *m = OrchestrationConfig{} } +func (*OrchestrationConfig) ProtoMessage() {} +func (*OrchestrationConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{34} +} +func (m *OrchestrationConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *OrchestrationConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_OrchestrationConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *OrchestrationConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_OrchestrationConfig.Merge(m, src) +} +func (m *OrchestrationConfig) XXX_Size() int { + return m.Size() +} +func (m *OrchestrationConfig) XXX_DiscardUnknown() { + xxx_messageInfo_OrchestrationConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_OrchestrationConfig proto.InternalMessageInfo // TaskDefaults specifies default values for task creation. type TaskDefaults struct { @@ -1463,24 +2632,80 @@ type TaskDefaults struct { // // If this is changed, only new tasks will pick up the new log driver. // Existing tasks will continue to use the previous default until rescheduled. - LogDriver *Driver `protobuf:"bytes,1,opt,name=log_driver,json=logDriver" json:"log_driver,omitempty"` + LogDriver *Driver `protobuf:"bytes,1,opt,name=log_driver,json=logDriver,proto3" json:"log_driver,omitempty"` } -func (m *TaskDefaults) Reset() { *m = TaskDefaults{} } -func (*TaskDefaults) ProtoMessage() {} -func (*TaskDefaults) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{35} } +func (m *TaskDefaults) Reset() { *m = TaskDefaults{} } +func (*TaskDefaults) ProtoMessage() {} +func (*TaskDefaults) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{35} +} +func (m *TaskDefaults) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TaskDefaults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TaskDefaults.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TaskDefaults) XXX_Merge(src proto.Message) { + xxx_messageInfo_TaskDefaults.Merge(m, src) +} +func (m *TaskDefaults) XXX_Size() int { + return m.Size() +} +func (m *TaskDefaults) XXX_DiscardUnknown() { + xxx_messageInfo_TaskDefaults.DiscardUnknown(m) +} + +var xxx_messageInfo_TaskDefaults proto.InternalMessageInfo // DispatcherConfig defines cluster-level dispatcher settings. type DispatcherConfig struct { // HeartbeatPeriod defines how often agent should send heartbeats to // dispatcher. // Note: can't use stdduration because this field needs to be nullable. - HeartbeatPeriod *google_protobuf1.Duration `protobuf:"bytes,1,opt,name=heartbeat_period,json=heartbeatPeriod" json:"heartbeat_period,omitempty"` + HeartbeatPeriod *types.Duration `protobuf:"bytes,1,opt,name=heartbeat_period,json=heartbeatPeriod,proto3" json:"heartbeat_period,omitempty"` } -func (m *DispatcherConfig) Reset() { *m = DispatcherConfig{} } -func (*DispatcherConfig) ProtoMessage() {} -func (*DispatcherConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{36} } +func (m *DispatcherConfig) Reset() { *m = DispatcherConfig{} } +func (*DispatcherConfig) ProtoMessage() {} +func (*DispatcherConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{36} +} +func (m *DispatcherConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *DispatcherConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_DispatcherConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *DispatcherConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_DispatcherConfig.Merge(m, src) +} +func (m *DispatcherConfig) XXX_Size() int { + return m.Size() +} +func (m *DispatcherConfig) XXX_DiscardUnknown() { + xxx_messageInfo_DispatcherConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_DispatcherConfig proto.InternalMessageInfo // RaftConfig defines raft settings for the cluster. type RaftConfig struct { @@ -1500,9 +2725,37 @@ type RaftConfig struct { ElectionTick uint32 `protobuf:"varint,5,opt,name=election_tick,json=electionTick,proto3" json:"election_tick,omitempty"` } -func (m *RaftConfig) Reset() { *m = RaftConfig{} } -func (*RaftConfig) ProtoMessage() {} -func (*RaftConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{37} } +func (m *RaftConfig) Reset() { *m = RaftConfig{} } +func (*RaftConfig) ProtoMessage() {} +func (*RaftConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{37} +} +func (m *RaftConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RaftConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RaftConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RaftConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_RaftConfig.Merge(m, src) +} +func (m *RaftConfig) XXX_Size() int { + return m.Size() +} +func (m *RaftConfig) XXX_DiscardUnknown() { + xxx_messageInfo_RaftConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_RaftConfig proto.InternalMessageInfo type EncryptionConfig struct { // AutoLockManagers specifies whether or not managers TLS keys and raft data @@ -1511,17 +2764,73 @@ type EncryptionConfig struct { AutoLockManagers bool `protobuf:"varint,1,opt,name=auto_lock_managers,json=autoLockManagers,proto3" json:"auto_lock_managers,omitempty"` } -func (m *EncryptionConfig) Reset() { *m = EncryptionConfig{} } -func (*EncryptionConfig) ProtoMessage() {} -func (*EncryptionConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{38} } +func (m *EncryptionConfig) Reset() { *m = EncryptionConfig{} } +func (*EncryptionConfig) ProtoMessage() {} +func (*EncryptionConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{38} +} +func (m *EncryptionConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EncryptionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EncryptionConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EncryptionConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_EncryptionConfig.Merge(m, src) +} +func (m *EncryptionConfig) XXX_Size() int { + return m.Size() +} +func (m *EncryptionConfig) XXX_DiscardUnknown() { + xxx_messageInfo_EncryptionConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_EncryptionConfig proto.InternalMessageInfo type SpreadOver struct { SpreadDescriptor string `protobuf:"bytes,1,opt,name=spread_descriptor,json=spreadDescriptor,proto3" json:"spread_descriptor,omitempty"` } -func (m *SpreadOver) Reset() { *m = SpreadOver{} } -func (*SpreadOver) ProtoMessage() {} -func (*SpreadOver) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{39} } +func (m *SpreadOver) Reset() { *m = SpreadOver{} } +func (*SpreadOver) ProtoMessage() {} +func (*SpreadOver) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{39} +} +func (m *SpreadOver) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SpreadOver) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SpreadOver.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SpreadOver) XXX_Merge(src proto.Message) { + xxx_messageInfo_SpreadOver.Merge(m, src) +} +func (m *SpreadOver) XXX_Size() int { + return m.Size() +} +func (m *SpreadOver) XXX_DiscardUnknown() { + xxx_messageInfo_SpreadOver.DiscardUnknown(m) +} + +var xxx_messageInfo_SpreadOver proto.InternalMessageInfo type PlacementPreference struct { // Types that are valid to be assigned to Preference: @@ -1529,9 +2838,37 @@ type PlacementPreference struct { Preference isPlacementPreference_Preference `protobuf_oneof:"Preference"` } -func (m *PlacementPreference) Reset() { *m = PlacementPreference{} } -func (*PlacementPreference) ProtoMessage() {} -func (*PlacementPreference) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{40} } +func (m *PlacementPreference) Reset() { *m = PlacementPreference{} } +func (*PlacementPreference) ProtoMessage() {} +func (*PlacementPreference) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{40} +} +func (m *PlacementPreference) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *PlacementPreference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_PlacementPreference.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *PlacementPreference) XXX_Merge(src proto.Message) { + xxx_messageInfo_PlacementPreference.Merge(m, src) +} +func (m *PlacementPreference) XXX_Size() int { + return m.Size() +} +func (m *PlacementPreference) XXX_DiscardUnknown() { + xxx_messageInfo_PlacementPreference.DiscardUnknown(m) +} + +var xxx_messageInfo_PlacementPreference proto.InternalMessageInfo type isPlacementPreference_Preference interface { isPlacementPreference_Preference() @@ -1540,7 +2877,7 @@ type isPlacementPreference_Preference interface { } type PlacementPreference_Spread struct { - Spread *SpreadOver `protobuf:"bytes,1,opt,name=spread,oneof"` + Spread *SpreadOver `protobuf:"bytes,1,opt,name=spread,proto3,oneof"` } func (*PlacementPreference_Spread) isPlacementPreference_Preference() {} @@ -1604,7 +2941,7 @@ func _PlacementPreference_OneofSizer(msg proto.Message) (n int) { switch x := m.Preference.(type) { case *PlacementPreference_Spread: s := proto.Size(x.Spread) - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -1617,22 +2954,50 @@ func _PlacementPreference_OneofSizer(msg proto.Message) (n int) { // Placement specifies task distribution constraints. type Placement struct { // Constraints specifies a set of requirements a node should meet for a task. - Constraints []string `protobuf:"bytes,1,rep,name=constraints" json:"constraints,omitempty"` + Constraints []string `protobuf:"bytes,1,rep,name=constraints,proto3" json:"constraints,omitempty"` // Preferences provide a way to make the scheduler aware of factors // such as topology. They are provided in order from highest to lowest // precedence. - Preferences []*PlacementPreference `protobuf:"bytes,2,rep,name=preferences" json:"preferences,omitempty"` + Preferences []*PlacementPreference `protobuf:"bytes,2,rep,name=preferences,proto3" json:"preferences,omitempty"` // Platforms stores all the platforms that the image can run on. // This field is used in the platform filter for scheduling. If empty, // then the platform filter is off, meaning there are no scheduling restrictions. - Platforms []*Platform `protobuf:"bytes,3,rep,name=platforms" json:"platforms,omitempty"` + Platforms []*Platform `protobuf:"bytes,3,rep,name=platforms,proto3" json:"platforms,omitempty"` // MaxReplicas specifies the limit for maximum number of replicas running on one node. MaxReplicas uint64 `protobuf:"varint,4,opt,name=max_replicas,json=maxReplicas,proto3" json:"max_replicas,omitempty"` } -func (m *Placement) Reset() { *m = Placement{} } -func (*Placement) ProtoMessage() {} -func (*Placement) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{41} } +func (m *Placement) Reset() { *m = Placement{} } +func (*Placement) ProtoMessage() {} +func (*Placement) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{41} +} +func (m *Placement) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Placement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Placement.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Placement) XXX_Merge(src proto.Message) { + xxx_messageInfo_Placement.Merge(m, src) +} +func (m *Placement) XXX_Size() int { + return m.Size() +} +func (m *Placement) XXX_DiscardUnknown() { + xxx_messageInfo_Placement.DiscardUnknown(m) +} + +var xxx_messageInfo_Placement proto.InternalMessageInfo // JoinToken contains the join tokens for workers and managers. type JoinTokens struct { @@ -1642,9 +3007,37 @@ type JoinTokens struct { Manager string `protobuf:"bytes,2,opt,name=manager,proto3" json:"manager,omitempty"` } -func (m *JoinTokens) Reset() { *m = JoinTokens{} } -func (*JoinTokens) ProtoMessage() {} -func (*JoinTokens) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{42} } +func (m *JoinTokens) Reset() { *m = JoinTokens{} } +func (*JoinTokens) ProtoMessage() {} +func (*JoinTokens) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{42} +} +func (m *JoinTokens) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *JoinTokens) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_JoinTokens.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *JoinTokens) XXX_Merge(src proto.Message) { + xxx_messageInfo_JoinTokens.Merge(m, src) +} +func (m *JoinTokens) XXX_Size() int { + return m.Size() +} +func (m *JoinTokens) XXX_DiscardUnknown() { + xxx_messageInfo_JoinTokens.DiscardUnknown(m) +} + +var xxx_messageInfo_JoinTokens proto.InternalMessageInfo type RootCA struct { // CAKey is the root CA private key. @@ -1654,31 +3047,87 @@ type RootCA struct { // CACertHash is the digest of the CA Certificate. CACertHash string `protobuf:"bytes,3,opt,name=ca_cert_hash,json=caCertHash,proto3" json:"ca_cert_hash,omitempty"` // JoinTokens contains the join tokens for workers and managers. - JoinTokens JoinTokens `protobuf:"bytes,4,opt,name=join_tokens,json=joinTokens" json:"join_tokens"` + JoinTokens JoinTokens `protobuf:"bytes,4,opt,name=join_tokens,json=joinTokens,proto3" json:"join_tokens"` // RootRotation contains the new root cert and key we want to rotate to - if this is nil, we are not in the // middle of a root rotation - RootRotation *RootRotation `protobuf:"bytes,5,opt,name=root_rotation,json=rootRotation" json:"root_rotation,omitempty"` + RootRotation *RootRotation `protobuf:"bytes,5,opt,name=root_rotation,json=rootRotation,proto3" json:"root_rotation,omitempty"` // LastForcedRotation matches the Cluster Spec's CAConfig's ForceRotation counter. // It indicates when the current CA cert and key were generated (or updated). LastForcedRotation uint64 `protobuf:"varint,6,opt,name=last_forced_rotation,json=lastForcedRotation,proto3" json:"last_forced_rotation,omitempty"` } -func (m *RootCA) Reset() { *m = RootCA{} } -func (*RootCA) ProtoMessage() {} -func (*RootCA) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{43} } +func (m *RootCA) Reset() { *m = RootCA{} } +func (*RootCA) ProtoMessage() {} +func (*RootCA) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{43} +} +func (m *RootCA) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RootCA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RootCA.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RootCA) XXX_Merge(src proto.Message) { + xxx_messageInfo_RootCA.Merge(m, src) +} +func (m *RootCA) XXX_Size() int { + return m.Size() +} +func (m *RootCA) XXX_DiscardUnknown() { + xxx_messageInfo_RootCA.DiscardUnknown(m) +} + +var xxx_messageInfo_RootCA proto.InternalMessageInfo type Certificate struct { Role NodeRole `protobuf:"varint,1,opt,name=role,proto3,enum=docker.swarmkit.v1.NodeRole" json:"role,omitempty"` CSR []byte `protobuf:"bytes,2,opt,name=csr,proto3" json:"csr,omitempty"` - Status IssuanceStatus `protobuf:"bytes,3,opt,name=status" json:"status"` + Status IssuanceStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status"` Certificate []byte `protobuf:"bytes,4,opt,name=certificate,proto3" json:"certificate,omitempty"` // CN represents the node ID. CN string `protobuf:"bytes,5,opt,name=cn,proto3" json:"cn,omitempty"` } -func (m *Certificate) Reset() { *m = Certificate{} } -func (*Certificate) ProtoMessage() {} -func (*Certificate) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{44} } +func (m *Certificate) Reset() { *m = Certificate{} } +func (*Certificate) ProtoMessage() {} +func (*Certificate) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{44} +} +func (m *Certificate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Certificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Certificate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Certificate) XXX_Merge(src proto.Message) { + xxx_messageInfo_Certificate.Merge(m, src) +} +func (m *Certificate) XXX_Size() int { + return m.Size() +} +func (m *Certificate) XXX_DiscardUnknown() { + xxx_messageInfo_Certificate.DiscardUnknown(m) +} + +var xxx_messageInfo_Certificate proto.InternalMessageInfo // Symmetric keys to encrypt inter-agent communication. type EncryptionKey struct { @@ -1692,9 +3141,37 @@ type EncryptionKey struct { LamportTime uint64 `protobuf:"varint,4,opt,name=lamport_time,json=lamportTime,proto3" json:"lamport_time,omitempty"` } -func (m *EncryptionKey) Reset() { *m = EncryptionKey{} } -func (*EncryptionKey) ProtoMessage() {} -func (*EncryptionKey) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{45} } +func (m *EncryptionKey) Reset() { *m = EncryptionKey{} } +func (*EncryptionKey) ProtoMessage() {} +func (*EncryptionKey) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{45} +} +func (m *EncryptionKey) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *EncryptionKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_EncryptionKey.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *EncryptionKey) XXX_Merge(src proto.Message) { + xxx_messageInfo_EncryptionKey.Merge(m, src) +} +func (m *EncryptionKey) XXX_Size() int { + return m.Size() +} +func (m *EncryptionKey) XXX_DiscardUnknown() { + xxx_messageInfo_EncryptionKey.DiscardUnknown(m) +} + +var xxx_messageInfo_EncryptionKey proto.InternalMessageInfo // ManagerStatus provides informations about the state of a manager in the cluster. type ManagerStatus struct { @@ -1709,9 +3186,37 @@ type ManagerStatus struct { Reachability RaftMemberStatus_Reachability `protobuf:"varint,4,opt,name=reachability,proto3,enum=docker.swarmkit.v1.RaftMemberStatus_Reachability" json:"reachability,omitempty"` } -func (m *ManagerStatus) Reset() { *m = ManagerStatus{} } -func (*ManagerStatus) ProtoMessage() {} -func (*ManagerStatus) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{46} } +func (m *ManagerStatus) Reset() { *m = ManagerStatus{} } +func (*ManagerStatus) ProtoMessage() {} +func (*ManagerStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{46} +} +func (m *ManagerStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ManagerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ManagerStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ManagerStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManagerStatus.Merge(m, src) +} +func (m *ManagerStatus) XXX_Size() int { + return m.Size() +} +func (m *ManagerStatus) XXX_DiscardUnknown() { + xxx_messageInfo_ManagerStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_ManagerStatus proto.InternalMessageInfo // FileTarget represents a specific target that is backed by a file type FileTarget struct { @@ -1725,9 +3230,37 @@ type FileTarget struct { Mode os.FileMode `protobuf:"varint,4,opt,name=mode,proto3,customtype=os.FileMode" json:"mode"` } -func (m *FileTarget) Reset() { *m = FileTarget{} } -func (*FileTarget) ProtoMessage() {} -func (*FileTarget) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{47} } +func (m *FileTarget) Reset() { *m = FileTarget{} } +func (*FileTarget) ProtoMessage() {} +func (*FileTarget) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{47} +} +func (m *FileTarget) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *FileTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_FileTarget.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *FileTarget) XXX_Merge(src proto.Message) { + xxx_messageInfo_FileTarget.Merge(m, src) +} +func (m *FileTarget) XXX_Size() int { + return m.Size() +} +func (m *FileTarget) XXX_DiscardUnknown() { + xxx_messageInfo_FileTarget.DiscardUnknown(m) +} + +var xxx_messageInfo_FileTarget proto.InternalMessageInfo // RuntimeTarget represents that this secret is _not_ mounted into the // container, but is used for some other purpose by the container runtime. @@ -1736,9 +3269,37 @@ func (*FileTarget) Descriptor() ([]byte, []int) { return fileDescriptorTypes, [] type RuntimeTarget struct { } -func (m *RuntimeTarget) Reset() { *m = RuntimeTarget{} } -func (*RuntimeTarget) ProtoMessage() {} -func (*RuntimeTarget) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{48} } +func (m *RuntimeTarget) Reset() { *m = RuntimeTarget{} } +func (*RuntimeTarget) ProtoMessage() {} +func (*RuntimeTarget) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{48} +} +func (m *RuntimeTarget) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RuntimeTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RuntimeTarget.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RuntimeTarget) XXX_Merge(src proto.Message) { + xxx_messageInfo_RuntimeTarget.Merge(m, src) +} +func (m *RuntimeTarget) XXX_Size() int { + return m.Size() +} +func (m *RuntimeTarget) XXX_DiscardUnknown() { + xxx_messageInfo_RuntimeTarget.DiscardUnknown(m) +} + +var xxx_messageInfo_RuntimeTarget proto.InternalMessageInfo // SecretReference is the linkage between a service and a secret that it uses. type SecretReference struct { @@ -1756,9 +3317,37 @@ type SecretReference struct { Target isSecretReference_Target `protobuf_oneof:"target"` } -func (m *SecretReference) Reset() { *m = SecretReference{} } -func (*SecretReference) ProtoMessage() {} -func (*SecretReference) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{49} } +func (m *SecretReference) Reset() { *m = SecretReference{} } +func (*SecretReference) ProtoMessage() {} +func (*SecretReference) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{49} +} +func (m *SecretReference) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SecretReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SecretReference.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SecretReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_SecretReference.Merge(m, src) +} +func (m *SecretReference) XXX_Size() int { + return m.Size() +} +func (m *SecretReference) XXX_DiscardUnknown() { + xxx_messageInfo_SecretReference.DiscardUnknown(m) +} + +var xxx_messageInfo_SecretReference proto.InternalMessageInfo type isSecretReference_Target interface { isSecretReference_Target() @@ -1767,7 +3356,7 @@ type isSecretReference_Target interface { } type SecretReference_File struct { - File *FileTarget `protobuf:"bytes,3,opt,name=file,oneof"` + File *FileTarget `protobuf:"bytes,3,opt,name=file,proto3,oneof"` } func (*SecretReference_File) isSecretReference_Target() {} @@ -1831,7 +3420,7 @@ func _SecretReference_OneofSizer(msg proto.Message) (n int) { switch x := m.Target.(type) { case *SecretReference_File: s := proto.Size(x.File) - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -1857,9 +3446,37 @@ type ConfigReference struct { Target isConfigReference_Target `protobuf_oneof:"target"` } -func (m *ConfigReference) Reset() { *m = ConfigReference{} } -func (*ConfigReference) ProtoMessage() {} -func (*ConfigReference) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{50} } +func (m *ConfigReference) Reset() { *m = ConfigReference{} } +func (*ConfigReference) ProtoMessage() {} +func (*ConfigReference) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{50} +} +func (m *ConfigReference) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ConfigReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ConfigReference.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ConfigReference) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConfigReference.Merge(m, src) +} +func (m *ConfigReference) XXX_Size() int { + return m.Size() +} +func (m *ConfigReference) XXX_DiscardUnknown() { + xxx_messageInfo_ConfigReference.DiscardUnknown(m) +} + +var xxx_messageInfo_ConfigReference proto.InternalMessageInfo type isConfigReference_Target interface { isConfigReference_Target() @@ -1868,10 +3485,10 @@ type isConfigReference_Target interface { } type ConfigReference_File struct { - File *FileTarget `protobuf:"bytes,3,opt,name=file,oneof"` + File *FileTarget `protobuf:"bytes,3,opt,name=file,proto3,oneof"` } type ConfigReference_Runtime struct { - Runtime *RuntimeTarget `protobuf:"bytes,4,opt,name=runtime,oneof"` + Runtime *RuntimeTarget `protobuf:"bytes,4,opt,name=runtime,proto3,oneof"` } func (*ConfigReference_File) isConfigReference_Target() {} @@ -1957,12 +3574,12 @@ func _ConfigReference_OneofSizer(msg proto.Message) (n int) { switch x := m.Target.(type) { case *ConfigReference_File: s := proto.Size(x.File) - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *ConfigReference_Runtime: s := proto.Size(x.Runtime) - n += proto.SizeVarint(4<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -1978,12 +3595,40 @@ type BlacklistedCertificate struct { // Expiry is the latest known expiration time of a certificate that // was issued for the given CN. // Note: can't use stdtime because this field is nullable. - Expiry *google_protobuf.Timestamp `protobuf:"bytes,1,opt,name=expiry" json:"expiry,omitempty"` + Expiry *types.Timestamp `protobuf:"bytes,1,opt,name=expiry,proto3" json:"expiry,omitempty"` } -func (m *BlacklistedCertificate) Reset() { *m = BlacklistedCertificate{} } -func (*BlacklistedCertificate) ProtoMessage() {} -func (*BlacklistedCertificate) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{51} } +func (m *BlacklistedCertificate) Reset() { *m = BlacklistedCertificate{} } +func (*BlacklistedCertificate) ProtoMessage() {} +func (*BlacklistedCertificate) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{51} +} +func (m *BlacklistedCertificate) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *BlacklistedCertificate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_BlacklistedCertificate.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *BlacklistedCertificate) XXX_Merge(src proto.Message) { + xxx_messageInfo_BlacklistedCertificate.Merge(m, src) +} +func (m *BlacklistedCertificate) XXX_Size() int { + return m.Size() +} +func (m *BlacklistedCertificate) XXX_DiscardUnknown() { + xxx_messageInfo_BlacklistedCertificate.DiscardUnknown(m) +} + +var xxx_messageInfo_BlacklistedCertificate proto.InternalMessageInfo // HealthConfig holds configuration settings for the HEALTHCHECK feature. type HealthConfig struct { @@ -1994,26 +3639,54 @@ type HealthConfig struct { // {"NONE"} : disable healthcheck // {"CMD", args...} : exec arguments directly // {"CMD-SHELL", command} : run command with system's default shell - Test []string `protobuf:"bytes,1,rep,name=test" json:"test,omitempty"` + Test []string `protobuf:"bytes,1,rep,name=test,proto3" json:"test,omitempty"` // Interval is the time to wait between checks. Zero means inherit. // Note: can't use stdduration because this field needs to be nullable. - Interval *google_protobuf1.Duration `protobuf:"bytes,2,opt,name=interval" json:"interval,omitempty"` + Interval *types.Duration `protobuf:"bytes,2,opt,name=interval,proto3" json:"interval,omitempty"` // Timeout is the time to wait before considering the check to have hung. // Zero means inherit. // Note: can't use stdduration because this field needs to be nullable. - Timeout *google_protobuf1.Duration `protobuf:"bytes,3,opt,name=timeout" json:"timeout,omitempty"` + Timeout *types.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // Retries is the number of consecutive failures needed to consider a // container as unhealthy. Zero means inherit. Retries int32 `protobuf:"varint,4,opt,name=retries,proto3" json:"retries,omitempty"` // Start period is the period for container initialization during // which health check failures will note count towards the maximum // number of retries. - StartPeriod *google_protobuf1.Duration `protobuf:"bytes,5,opt,name=start_period,json=startPeriod" json:"start_period,omitempty"` + StartPeriod *types.Duration `protobuf:"bytes,5,opt,name=start_period,json=startPeriod,proto3" json:"start_period,omitempty"` } -func (m *HealthConfig) Reset() { *m = HealthConfig{} } -func (*HealthConfig) ProtoMessage() {} -func (*HealthConfig) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{52} } +func (m *HealthConfig) Reset() { *m = HealthConfig{} } +func (*HealthConfig) ProtoMessage() {} +func (*HealthConfig) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{52} +} +func (m *HealthConfig) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *HealthConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_HealthConfig.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *HealthConfig) XXX_Merge(src proto.Message) { + xxx_messageInfo_HealthConfig.Merge(m, src) +} +func (m *HealthConfig) XXX_Size() int { + return m.Size() +} +func (m *HealthConfig) XXX_DiscardUnknown() { + xxx_messageInfo_HealthConfig.DiscardUnknown(m) +} + +var xxx_messageInfo_HealthConfig proto.InternalMessageInfo type MaybeEncryptedRecord struct { Algorithm MaybeEncryptedRecord_Algorithm `protobuf:"varint,1,opt,name=algorithm,proto3,enum=docker.swarmkit.v1.MaybeEncryptedRecord_Algorithm" json:"algorithm,omitempty"` @@ -2021,9 +3694,37 @@ type MaybeEncryptedRecord struct { Nonce []byte `protobuf:"bytes,3,opt,name=nonce,proto3" json:"nonce,omitempty"` } -func (m *MaybeEncryptedRecord) Reset() { *m = MaybeEncryptedRecord{} } -func (*MaybeEncryptedRecord) ProtoMessage() {} -func (*MaybeEncryptedRecord) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{53} } +func (m *MaybeEncryptedRecord) Reset() { *m = MaybeEncryptedRecord{} } +func (*MaybeEncryptedRecord) ProtoMessage() {} +func (*MaybeEncryptedRecord) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{53} +} +func (m *MaybeEncryptedRecord) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MaybeEncryptedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MaybeEncryptedRecord.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MaybeEncryptedRecord) XXX_Merge(src proto.Message) { + xxx_messageInfo_MaybeEncryptedRecord.Merge(m, src) +} +func (m *MaybeEncryptedRecord) XXX_Size() int { + return m.Size() +} +func (m *MaybeEncryptedRecord) XXX_DiscardUnknown() { + xxx_messageInfo_MaybeEncryptedRecord.DiscardUnknown(m) +} + +var xxx_messageInfo_MaybeEncryptedRecord proto.InternalMessageInfo type RootRotation struct { CACert []byte `protobuf:"bytes,1,opt,name=ca_cert,json=caCert,proto3" json:"ca_cert,omitempty"` @@ -2032,19 +3733,75 @@ type RootRotation struct { CrossSignedCACert []byte `protobuf:"bytes,3,opt,name=cross_signed_ca_cert,json=crossSignedCaCert,proto3" json:"cross_signed_ca_cert,omitempty"` } -func (m *RootRotation) Reset() { *m = RootRotation{} } -func (*RootRotation) ProtoMessage() {} -func (*RootRotation) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{54} } +func (m *RootRotation) Reset() { *m = RootRotation{} } +func (*RootRotation) ProtoMessage() {} +func (*RootRotation) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{54} +} +func (m *RootRotation) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *RootRotation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_RootRotation.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *RootRotation) XXX_Merge(src proto.Message) { + xxx_messageInfo_RootRotation.Merge(m, src) +} +func (m *RootRotation) XXX_Size() int { + return m.Size() +} +func (m *RootRotation) XXX_DiscardUnknown() { + xxx_messageInfo_RootRotation.DiscardUnknown(m) +} + +var xxx_messageInfo_RootRotation proto.InternalMessageInfo // Privileges specifies security configuration/permissions. type Privileges struct { - CredentialSpec *Privileges_CredentialSpec `protobuf:"bytes,1,opt,name=credential_spec,json=credentialSpec" json:"credential_spec,omitempty"` - SELinuxContext *Privileges_SELinuxContext `protobuf:"bytes,2,opt,name=selinux_context,json=selinuxContext" json:"selinux_context,omitempty"` + CredentialSpec *Privileges_CredentialSpec `protobuf:"bytes,1,opt,name=credential_spec,json=credentialSpec,proto3" json:"credential_spec,omitempty"` + SELinuxContext *Privileges_SELinuxContext `protobuf:"bytes,2,opt,name=selinux_context,json=selinuxContext,proto3" json:"selinux_context,omitempty"` } -func (m *Privileges) Reset() { *m = Privileges{} } -func (*Privileges) ProtoMessage() {} -func (*Privileges) Descriptor() ([]byte, []int) { return fileDescriptorTypes, []int{55} } +func (m *Privileges) Reset() { *m = Privileges{} } +func (*Privileges) ProtoMessage() {} +func (*Privileges) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{55} +} +func (m *Privileges) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Privileges) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Privileges.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Privileges) XXX_Merge(src proto.Message) { + xxx_messageInfo_Privileges.Merge(m, src) +} +func (m *Privileges) XXX_Size() int { + return m.Size() +} +func (m *Privileges) XXX_DiscardUnknown() { + xxx_messageInfo_Privileges.DiscardUnknown(m) +} + +var xxx_messageInfo_Privileges proto.InternalMessageInfo // CredentialSpec for managed service account (Windows only). type Privileges_CredentialSpec struct { @@ -2058,8 +3815,34 @@ type Privileges_CredentialSpec struct { func (m *Privileges_CredentialSpec) Reset() { *m = Privileges_CredentialSpec{} } func (*Privileges_CredentialSpec) ProtoMessage() {} func (*Privileges_CredentialSpec) Descriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{55, 0} + return fileDescriptor_0b5eafd0404ded3d, []int{55, 0} } +func (m *Privileges_CredentialSpec) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Privileges_CredentialSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Privileges_CredentialSpec.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Privileges_CredentialSpec) XXX_Merge(src proto.Message) { + xxx_messageInfo_Privileges_CredentialSpec.Merge(m, src) +} +func (m *Privileges_CredentialSpec) XXX_Size() int { + return m.Size() +} +func (m *Privileges_CredentialSpec) XXX_DiscardUnknown() { + xxx_messageInfo_Privileges_CredentialSpec.DiscardUnknown(m) +} + +var xxx_messageInfo_Privileges_CredentialSpec proto.InternalMessageInfo type isPrivileges_CredentialSpec_Source interface { isPrivileges_CredentialSpec_Source() @@ -2172,15 +3955,15 @@ func _Privileges_CredentialSpec_OneofSizer(msg proto.Message) (n int) { // source switch x := m.Source.(type) { case *Privileges_CredentialSpec_File: - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.File))) n += len(x.File) case *Privileges_CredentialSpec_Registry: - n += proto.SizeVarint(2<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.Registry))) n += len(x.Registry) case *Privileges_CredentialSpec_Config: - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.Config))) n += len(x.Config) case nil: @@ -2202,13 +3985,106 @@ type Privileges_SELinuxContext struct { func (m *Privileges_SELinuxContext) Reset() { *m = Privileges_SELinuxContext{} } func (*Privileges_SELinuxContext) ProtoMessage() {} func (*Privileges_SELinuxContext) Descriptor() ([]byte, []int) { - return fileDescriptorTypes, []int{55, 1} + return fileDescriptor_0b5eafd0404ded3d, []int{55, 1} +} +func (m *Privileges_SELinuxContext) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Privileges_SELinuxContext) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Privileges_SELinuxContext.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Privileges_SELinuxContext) XXX_Merge(src proto.Message) { + xxx_messageInfo_Privileges_SELinuxContext.Merge(m, src) +} +func (m *Privileges_SELinuxContext) XXX_Size() int { + return m.Size() +} +func (m *Privileges_SELinuxContext) XXX_DiscardUnknown() { + xxx_messageInfo_Privileges_SELinuxContext.DiscardUnknown(m) } +var xxx_messageInfo_Privileges_SELinuxContext proto.InternalMessageInfo + +// JobStatus indicates the status of a Service that is in one of the Job modes. +type JobStatus struct { + // JobIteration is the count of how many times the Job has been excecuted, + // successfully or otherwise. "Executed" refers to the job as a whole being + // started, not to the individual Tasks being launched. This is used to + // disambiguate which Tasks belong to which iteration of a Job. + JobIteration Version `protobuf:"bytes,1,opt,name=job_iteration,json=jobIteration,proto3" json:"job_iteration"` + // LastExecution is the time that the job was last executed. This is set by + // the orchestrator in the same transaction that JobIteration is incremented. + // While time is a fungible concept in distributed systems like Swarmkit, + // this value gives us a best-effort attempt to prevent weird behavior like + // newly added nodes executing long-forgotten jobs. + LastExecution *types.Timestamp `protobuf:"bytes,2,opt,name=last_execution,json=lastExecution,proto3" json:"last_execution,omitempty"` +} + +func (m *JobStatus) Reset() { *m = JobStatus{} } +func (*JobStatus) ProtoMessage() {} +func (*JobStatus) Descriptor() ([]byte, []int) { + return fileDescriptor_0b5eafd0404ded3d, []int{56} +} +func (m *JobStatus) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *JobStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_JobStatus.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *JobStatus) XXX_Merge(src proto.Message) { + xxx_messageInfo_JobStatus.Merge(m, src) +} +func (m *JobStatus) XXX_Size() int { + return m.Size() +} +func (m *JobStatus) XXX_DiscardUnknown() { + xxx_messageInfo_JobStatus.DiscardUnknown(m) +} + +var xxx_messageInfo_JobStatus proto.InternalMessageInfo + func init() { + proto.RegisterEnum("docker.swarmkit.v1.ResourceType", ResourceType_name, ResourceType_value) + proto.RegisterEnum("docker.swarmkit.v1.TaskState", TaskState_name, TaskState_value) + proto.RegisterEnum("docker.swarmkit.v1.NodeRole", NodeRole_name, NodeRole_value) + proto.RegisterEnum("docker.swarmkit.v1.RaftMemberStatus_Reachability", RaftMemberStatus_Reachability_name, RaftMemberStatus_Reachability_value) + proto.RegisterEnum("docker.swarmkit.v1.NodeStatus_State", NodeStatus_State_name, NodeStatus_State_value) + proto.RegisterEnum("docker.swarmkit.v1.Mount_MountType", Mount_MountType_name, Mount_MountType_value) + proto.RegisterEnum("docker.swarmkit.v1.Mount_MountConsistency", Mount_MountConsistency_name, Mount_MountConsistency_value) + proto.RegisterEnum("docker.swarmkit.v1.Mount_BindOptions_MountPropagation", Mount_BindOptions_MountPropagation_name, Mount_BindOptions_MountPropagation_value) + proto.RegisterEnum("docker.swarmkit.v1.RestartPolicy_RestartCondition", RestartPolicy_RestartCondition_name, RestartPolicy_RestartCondition_value) + proto.RegisterEnum("docker.swarmkit.v1.UpdateConfig_FailureAction", UpdateConfig_FailureAction_name, UpdateConfig_FailureAction_value) + proto.RegisterEnum("docker.swarmkit.v1.UpdateConfig_UpdateOrder", UpdateConfig_UpdateOrder_name, UpdateConfig_UpdateOrder_value) + proto.RegisterEnum("docker.swarmkit.v1.UpdateStatus_UpdateState", UpdateStatus_UpdateState_name, UpdateStatus_UpdateState_value) + proto.RegisterEnum("docker.swarmkit.v1.IPAMConfig_AddressFamily", IPAMConfig_AddressFamily_name, IPAMConfig_AddressFamily_value) + proto.RegisterEnum("docker.swarmkit.v1.PortConfig_Protocol", PortConfig_Protocol_name, PortConfig_Protocol_value) + proto.RegisterEnum("docker.swarmkit.v1.PortConfig_PublishMode", PortConfig_PublishMode_name, PortConfig_PublishMode_value) + proto.RegisterEnum("docker.swarmkit.v1.IssuanceStatus_State", IssuanceStatus_State_name, IssuanceStatus_State_value) + proto.RegisterEnum("docker.swarmkit.v1.ExternalCA_CAProtocol", ExternalCA_CAProtocol_name, ExternalCA_CAProtocol_value) + proto.RegisterEnum("docker.swarmkit.v1.EncryptionKey_Algorithm", EncryptionKey_Algorithm_name, EncryptionKey_Algorithm_value) + proto.RegisterEnum("docker.swarmkit.v1.MaybeEncryptedRecord_Algorithm", MaybeEncryptedRecord_Algorithm_name, MaybeEncryptedRecord_Algorithm_value) proto.RegisterType((*Version)(nil), "docker.swarmkit.v1.Version") proto.RegisterType((*IndexEntry)(nil), "docker.swarmkit.v1.IndexEntry") proto.RegisterType((*Annotations)(nil), "docker.swarmkit.v1.Annotations") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.Annotations.LabelsEntry") proto.RegisterType((*NamedGenericResource)(nil), "docker.swarmkit.v1.NamedGenericResource") proto.RegisterType((*DiscreteGenericResource)(nil), "docker.swarmkit.v1.DiscreteGenericResource") proto.RegisterType((*GenericResource)(nil), "docker.swarmkit.v1.GenericResource") @@ -2217,6 +4093,7 @@ func init() { proto.RegisterType((*Platform)(nil), "docker.swarmkit.v1.Platform") proto.RegisterType((*PluginDescription)(nil), "docker.swarmkit.v1.PluginDescription") proto.RegisterType((*EngineDescription)(nil), "docker.swarmkit.v1.EngineDescription") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.EngineDescription.LabelsEntry") proto.RegisterType((*NodeDescription)(nil), "docker.swarmkit.v1.NodeDescription") proto.RegisterType((*NodeTLSInfo)(nil), "docker.swarmkit.v1.NodeTLSInfo") proto.RegisterType((*RaftMemberStatus)(nil), "docker.swarmkit.v1.RaftMemberStatus") @@ -2225,6 +4102,7 @@ func init() { proto.RegisterType((*Mount)(nil), "docker.swarmkit.v1.Mount") proto.RegisterType((*Mount_BindOptions)(nil), "docker.swarmkit.v1.Mount.BindOptions") proto.RegisterType((*Mount_VolumeOptions)(nil), "docker.swarmkit.v1.Mount.VolumeOptions") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.Mount.VolumeOptions.LabelsEntry") proto.RegisterType((*Mount_TmpfsOptions)(nil), "docker.swarmkit.v1.Mount.TmpfsOptions") proto.RegisterType((*RestartPolicy)(nil), "docker.swarmkit.v1.RestartPolicy") proto.RegisterType((*UpdateConfig)(nil), "docker.swarmkit.v1.UpdateConfig") @@ -2233,9 +4111,12 @@ func init() { proto.RegisterType((*PortStatus)(nil), "docker.swarmkit.v1.PortStatus") proto.RegisterType((*TaskStatus)(nil), "docker.swarmkit.v1.TaskStatus") proto.RegisterType((*NetworkAttachmentConfig)(nil), "docker.swarmkit.v1.NetworkAttachmentConfig") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.NetworkAttachmentConfig.DriverAttachmentOptsEntry") proto.RegisterType((*IPAMConfig)(nil), "docker.swarmkit.v1.IPAMConfig") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.IPAMConfig.ReservedEntry") proto.RegisterType((*PortConfig)(nil), "docker.swarmkit.v1.PortConfig") proto.RegisterType((*Driver)(nil), "docker.swarmkit.v1.Driver") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.Driver.OptionsEntry") proto.RegisterType((*IPAMOptions)(nil), "docker.swarmkit.v1.IPAMOptions") proto.RegisterType((*Peer)(nil), "docker.swarmkit.v1.Peer") proto.RegisterType((*WeightedPeer)(nil), "docker.swarmkit.v1.WeightedPeer") @@ -2244,6 +4125,7 @@ func init() { proto.RegisterType((*AcceptancePolicy_RoleAdmissionPolicy)(nil), "docker.swarmkit.v1.AcceptancePolicy.RoleAdmissionPolicy") proto.RegisterType((*AcceptancePolicy_RoleAdmissionPolicy_Secret)(nil), "docker.swarmkit.v1.AcceptancePolicy.RoleAdmissionPolicy.Secret") proto.RegisterType((*ExternalCA)(nil), "docker.swarmkit.v1.ExternalCA") + proto.RegisterMapType((map[string]string)(nil), "docker.swarmkit.v1.ExternalCA.OptionsEntry") proto.RegisterType((*CAConfig)(nil), "docker.swarmkit.v1.CAConfig") proto.RegisterType((*OrchestrationConfig)(nil), "docker.swarmkit.v1.OrchestrationConfig") proto.RegisterType((*TaskDefaults)(nil), "docker.swarmkit.v1.TaskDefaults") @@ -2269,25 +4151,350 @@ func init() { proto.RegisterType((*Privileges)(nil), "docker.swarmkit.v1.Privileges") proto.RegisterType((*Privileges_CredentialSpec)(nil), "docker.swarmkit.v1.Privileges.CredentialSpec") proto.RegisterType((*Privileges_SELinuxContext)(nil), "docker.swarmkit.v1.Privileges.SELinuxContext") - proto.RegisterEnum("docker.swarmkit.v1.ResourceType", ResourceType_name, ResourceType_value) - proto.RegisterEnum("docker.swarmkit.v1.TaskState", TaskState_name, TaskState_value) - proto.RegisterEnum("docker.swarmkit.v1.NodeRole", NodeRole_name, NodeRole_value) - proto.RegisterEnum("docker.swarmkit.v1.RaftMemberStatus_Reachability", RaftMemberStatus_Reachability_name, RaftMemberStatus_Reachability_value) - proto.RegisterEnum("docker.swarmkit.v1.NodeStatus_State", NodeStatus_State_name, NodeStatus_State_value) - proto.RegisterEnum("docker.swarmkit.v1.Mount_MountType", Mount_MountType_name, Mount_MountType_value) - proto.RegisterEnum("docker.swarmkit.v1.Mount_MountConsistency", Mount_MountConsistency_name, Mount_MountConsistency_value) - proto.RegisterEnum("docker.swarmkit.v1.Mount_BindOptions_MountPropagation", Mount_BindOptions_MountPropagation_name, Mount_BindOptions_MountPropagation_value) - proto.RegisterEnum("docker.swarmkit.v1.RestartPolicy_RestartCondition", RestartPolicy_RestartCondition_name, RestartPolicy_RestartCondition_value) - proto.RegisterEnum("docker.swarmkit.v1.UpdateConfig_FailureAction", UpdateConfig_FailureAction_name, UpdateConfig_FailureAction_value) - proto.RegisterEnum("docker.swarmkit.v1.UpdateConfig_UpdateOrder", UpdateConfig_UpdateOrder_name, UpdateConfig_UpdateOrder_value) - proto.RegisterEnum("docker.swarmkit.v1.UpdateStatus_UpdateState", UpdateStatus_UpdateState_name, UpdateStatus_UpdateState_value) - proto.RegisterEnum("docker.swarmkit.v1.IPAMConfig_AddressFamily", IPAMConfig_AddressFamily_name, IPAMConfig_AddressFamily_value) - proto.RegisterEnum("docker.swarmkit.v1.PortConfig_Protocol", PortConfig_Protocol_name, PortConfig_Protocol_value) - proto.RegisterEnum("docker.swarmkit.v1.PortConfig_PublishMode", PortConfig_PublishMode_name, PortConfig_PublishMode_value) - proto.RegisterEnum("docker.swarmkit.v1.IssuanceStatus_State", IssuanceStatus_State_name, IssuanceStatus_State_value) - proto.RegisterEnum("docker.swarmkit.v1.ExternalCA_CAProtocol", ExternalCA_CAProtocol_name, ExternalCA_CAProtocol_value) - proto.RegisterEnum("docker.swarmkit.v1.EncryptionKey_Algorithm", EncryptionKey_Algorithm_name, EncryptionKey_Algorithm_value) - proto.RegisterEnum("docker.swarmkit.v1.MaybeEncryptedRecord_Algorithm", MaybeEncryptedRecord_Algorithm_name, MaybeEncryptedRecord_Algorithm_value) + proto.RegisterType((*JobStatus)(nil), "docker.swarmkit.v1.JobStatus") +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/types.proto", fileDescriptor_0b5eafd0404ded3d) +} + +var fileDescriptor_0b5eafd0404ded3d = []byte{ + // 5345 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x3a, 0x4b, 0x6c, 0x24, 0x49, + 0x56, 0xae, 0x72, 0x55, 0xb9, 0xea, 0x55, 0xd9, 0xce, 0x8e, 0xf6, 0xf6, 0xb8, 0x6b, 0x7a, 0x6c, + 0x4f, 0xce, 0xf4, 0xce, 0xec, 0xec, 0xe0, 0xfe, 0xcd, 0x8e, 0x7a, 0x66, 0x98, 0x9d, 0xa9, 0x4f, + 0xba, 0x5d, 0xdb, 0x76, 0x55, 0x29, 0xaa, 0xdc, 0xbd, 0x8b, 0x04, 0x49, 0x3a, 0x33, 0x5c, 0xce, + 0x76, 0x56, 0x46, 0x92, 0x99, 0x65, 0x77, 0xb1, 0x20, 0xe6, 0x04, 0xc8, 0x27, 0xb8, 0x2c, 0xbb, + 0x42, 0x96, 0x90, 0xe0, 0xc6, 0x81, 0x03, 0x07, 0x16, 0x4e, 0x83, 0x84, 0xd0, 0x8a, 0x0b, 0xbb, + 0x20, 0xc1, 0x0a, 0x90, 0x61, 0xbc, 0x12, 0x37, 0x04, 0x17, 0xc4, 0x85, 0x03, 0x8a, 0x4f, 0x66, + 0xa5, 0xab, 0xd3, 0xf6, 0xcc, 0x2e, 0x17, 0xbb, 0xe2, 0xfd, 0xf2, 0xc5, 0x8b, 0x17, 0x2f, 0xde, + 0x7b, 0x11, 0xf0, 0xd6, 0xc0, 0x0e, 0xf7, 0x47, 0xbb, 0xeb, 0x26, 0x1d, 0xde, 0xb1, 0xa8, 0x79, + 0x40, 0xfc, 0x3b, 0xc1, 0x91, 0xe1, 0x0f, 0x0f, 0xec, 0xf0, 0x8e, 0xe1, 0xd9, 0x77, 0xc2, 0xb1, + 0x47, 0x82, 0x75, 0xcf, 0x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xf1, 0x58, 0xc9, 0xaa, 0xeb, 0x50, + 0x4e, 0x48, 0x43, 0x0b, 0x00, 0xbd, 0x7e, 0xa7, 0xab, 0x6f, 0xb4, 0x70, 0xaf, 0x2f, 0x32, 0xd3, + 0x5e, 0xbf, 0x86, 0xfb, 0x12, 0x90, 0x51, 0xff, 0x33, 0x1b, 0xad, 0xa8, 0x4c, 0x46, 0xeb, 0xe7, + 0x93, 0xd1, 0x4b, 0x94, 0x97, 0xe9, 0xe8, 0x64, 0x10, 0x27, 0xa5, 0xef, 0x01, 0x70, 0xc7, 0x21, + 0x96, 0x6e, 0x84, 0x72, 0xe1, 0xab, 0x2f, 0x18, 0xb9, 0x1f, 0x75, 0x02, 0x71, 0x49, 0x52, 0xd7, + 0x42, 0xf4, 0x21, 0x54, 0x4c, 0x3a, 0xf4, 0x1c, 0x22, 0x99, 0x67, 0xaf, 0x64, 0x2e, 0xc7, 0xf4, + 0xb5, 0x30, 0x99, 0x0e, 0xe7, 0xce, 0x27, 0xec, 0xbf, 0x99, 0x89, 0x2c, 0x93, 0x92, 0x01, 0x57, + 0xa0, 0xb8, 0xd3, 0x6d, 0xd6, 0xfa, 0xad, 0xf6, 0x23, 0x25, 0x83, 0x00, 0x0a, 0xdc, 0xd4, 0x4d, + 0x25, 0xcb, 0x32, 0xf7, 0x46, 0x67, 0xbb, 0xbb, 0xa5, 0xf1, 0x88, 0x85, 0x96, 0x40, 0x89, 0x8c, + 0xad, 0x73, 0x43, 0x6a, 0x4d, 0x25, 0x87, 0xae, 0xc3, 0x62, 0x0c, 0x95, 0x9c, 0x79, 0x74, 0x03, + 0x50, 0x0c, 0x9c, 0x88, 0x28, 0xa8, 0xbf, 0x0e, 0x8b, 0x0d, 0xea, 0x86, 0x86, 0xed, 0xc6, 0x55, + 0xcd, 0x7d, 0x36, 0x69, 0x09, 0xd2, 0x6d, 0xd9, 0x21, 0xab, 0x2f, 0x9e, 0x9d, 0xae, 0x96, 0x63, + 0xd2, 0x56, 0x93, 0x67, 0xa1, 0x72, 0x60, 0xb1, 0xfd, 0xeb, 0xd9, 0x16, 0x37, 0x6e, 0xbe, 0x3e, + 0x77, 0x76, 0xba, 0x3a, 0xdb, 0x6d, 0x35, 0x31, 0x83, 0xa1, 0x97, 0xa1, 0x44, 0x9e, 0xdb, 0xa1, + 0x6e, 0xb2, 0x53, 0x8d, 0x19, 0x30, 0x8f, 0x8b, 0x0c, 0xd0, 0xa0, 0x16, 0x51, 0xeb, 0x00, 0x5d, + 0xea, 0x87, 0xf2, 0xcb, 0xef, 0x40, 0xde, 0xa3, 0x3e, 0xef, 0xe9, 0x5c, 0xd8, 0x69, 0x64, 0xe4, + 0xc2, 0x51, 0xb1, 0x20, 0x56, 0xbf, 0x37, 0x0b, 0xd0, 0x37, 0x82, 0x03, 0x29, 0xe4, 0x21, 0x94, + 0xe2, 0xae, 0xae, 0x6c, 0x0e, 0x5d, 0xba, 0xda, 0x31, 0x31, 0x7a, 0x10, 0x39, 0x9b, 0xa8, 0xd7, + 0x52, 0xcb, 0xea, 0xe8, 0x43, 0x69, 0x25, 0xcf, 0xf9, 0xa2, 0x8c, 0x25, 0x09, 0xc4, 0xf7, 0xe5, + 0xca, 0xb3, 0x9f, 0xa8, 0xc1, 0x8f, 0x05, 0x61, 0x34, 0x99, 0xa8, 0xa7, 0xb6, 0xc3, 0xa6, 0x56, + 0x64, 0x73, 0x06, 0x4f, 0xf8, 0xd0, 0x47, 0x50, 0x66, 0xf3, 0xd6, 0x03, 0x8e, 0x93, 0x39, 0xfa, + 0x85, 0xa6, 0x12, 0x12, 0x30, 0x78, 0x13, 0x2b, 0xbf, 0x02, 0x60, 0x78, 0x9e, 0x63, 0x13, 0x4b, + 0xdf, 0x1d, 0xf3, 0xa4, 0xbc, 0x84, 0x4b, 0x12, 0x52, 0x1f, 0xb3, 0xed, 0x12, 0xa1, 0x8d, 0x90, + 0x17, 0x26, 0x57, 0x18, 0x50, 0x52, 0xd7, 0xc2, 0xba, 0x02, 0x0b, 0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0xca, 0x34, 0x41, 0x7d, 0x21, 0x1b, 0xdd, 0x85, 0xf9, 0x73, 0xf3, 0x7c, 0xa1, 0x81, 0xd0, + 0xea, 0x3e, 0x79, 0x47, 0xc9, 0xc9, 0x5f, 0xef, 0x2a, 0x05, 0xf5, 0xaf, 0x67, 0x45, 0xa0, 0x91, + 0x56, 0x4d, 0xbf, 0x2d, 0x29, 0x72, 0xef, 0x36, 0xa9, 0x23, 0x03, 0xc0, 0x1b, 0x97, 0xc7, 0x1f, + 0x56, 0x47, 0x72, 0x72, 0x1c, 0x33, 0xa2, 0x55, 0x28, 0x0b, 0x2f, 0xd6, 0xd9, 0x86, 0xe3, 0x66, + 0x9d, 0xc7, 0x20, 0x40, 0x8c, 0x13, 0xdd, 0x86, 0x05, 0xde, 0x70, 0x0a, 0xf6, 0x89, 0x25, 0x68, + 0x72, 0x9c, 0x66, 0x3e, 0x86, 0x72, 0xb2, 0x6d, 0xa8, 0x48, 0x80, 0xce, 0xab, 0x81, 0x3c, 0x57, + 0xe8, 0xad, 0xab, 0x14, 0x12, 0x2c, 0xbc, 0x48, 0x28, 0x7b, 0x93, 0x81, 0xfa, 0xcb, 0x50, 0x8c, + 0x94, 0x45, 0xcb, 0x30, 0xdb, 0x6f, 0x74, 0x95, 0x99, 0xea, 0xe2, 0xf1, 0xc9, 0x5a, 0x39, 0x02, + 0xf7, 0x1b, 0x5d, 0x86, 0xd9, 0x69, 0x76, 0x95, 0xcc, 0x79, 0xcc, 0x4e, 0xb3, 0x8b, 0xaa, 0x90, + 0xeb, 0x35, 0xfa, 0xdd, 0x28, 0x3f, 0x8b, 0x50, 0x0c, 0x56, 0xcd, 0xb1, 0xfc, 0x4c, 0xdd, 0x83, + 0x72, 0xe2, 0xeb, 0xe8, 0x35, 0x98, 0x6b, 0xb5, 0x1f, 0x61, 0xad, 0xd7, 0x53, 0x66, 0x44, 0x79, + 0x90, 0xc0, 0xb6, 0xdc, 0x01, 0x5b, 0x3b, 0xf4, 0x0a, 0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0x99, 0xeb, 0xb5, 0x88, 0x05, 0x4f, 0xb8, + 0xa3, 0xd4, 0x40, 0x3c, 0x8b, 0xe0, 0xa9, 0xc1, 0xab, 0x50, 0x71, 0x8c, 0x21, 0xef, 0x3f, 0x85, + 0xf6, 0x90, 0x44, 0x9b, 0x41, 0xc2, 0xfa, 0xf6, 0x90, 0xa8, 0x2a, 0x94, 0x62, 0x61, 0x68, 0x11, + 0xca, 0x35, 0xad, 0xa7, 0xdf, 0xbb, 0xff, 0x50, 0x7f, 0xd4, 0xd8, 0x56, 0x66, 0x64, 0xfa, 0xfa, + 0x67, 0x19, 0x98, 0x97, 0x11, 0x4b, 0x96, 0x04, 0xaf, 0xc1, 0x9c, 0x6f, 0xec, 0x85, 0x51, 0xd1, + 0x92, 0x13, 0x5e, 0xcd, 0x0e, 0x01, 0x56, 0xb4, 0x30, 0x54, 0x7a, 0xd1, 0x92, 0x78, 0x83, 0x31, + 0x7b, 0xe9, 0x1b, 0x8c, 0xdc, 0xff, 0xcb, 0x1b, 0x0c, 0xf5, 0x37, 0x00, 0x36, 0x6c, 0x87, 0xf4, + 0x45, 0xab, 0x2a, 0xad, 0x04, 0x65, 0x69, 0x9e, 0x6c, 0x85, 0x46, 0x69, 0x5e, 0xab, 0x89, 0x19, + 0x8c, 0xa1, 0x06, 0xb6, 0x25, 0x37, 0x23, 0x47, 0x3d, 0x62, 0xa8, 0x81, 0x6d, 0xc5, 0xd7, 0x7e, + 0xb9, 0x2b, 0xae, 0xfd, 0xd4, 0x45, 0x98, 0xc7, 0xa2, 0xc7, 0x26, 0x74, 0x50, 0x4f, 0x32, 0xb0, + 0x28, 0xf3, 0xdd, 0x38, 0x64, 0x7f, 0x05, 0x4a, 0x22, 0xf5, 0x9d, 0x14, 0x81, 0xfc, 0x21, 0x82, + 0xa0, 0x6b, 0x35, 0x71, 0x51, 0xa0, 0x5b, 0x16, 0x5a, 0x85, 0xb2, 0x24, 0x4d, 0x3c, 0xef, 0x02, + 0x01, 0x6a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0xf9, + 0x81, 0x58, 0x66, 0xfd, 0xf5, 0x1f, 0x7c, 0xb6, 0x32, 0xf3, 0xe3, 0xcf, 0x56, 0x66, 0x3e, 0x39, + 0x5b, 0xc9, 0xfc, 0xe0, 0x6c, 0x25, 0xf3, 0xc3, 0xb3, 0x95, 0xcc, 0xbf, 0x9d, 0xad, 0x64, 0x7e, + 0xe7, 0x27, 0x2b, 0x33, 0x3f, 0xfc, 0xc9, 0xca, 0xcc, 0x8f, 0x7f, 0xb2, 0x32, 0xb3, 0x5b, 0xe0, + 0x4e, 0xff, 0xe0, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xde, 0x15, 0x00, 0xb1, 0xc6, 0x34, 0x00, + 0x00, } func (m *Version) Copy() *Version { @@ -2343,7 +4550,7 @@ func (m *Annotations) CopyFrom(src interface{}) { if o.Indices != nil { m.Indices = make([]IndexEntry, len(o.Indices)) for i := range m.Indices { - deepcopy.Copy(&m.Indices[i], &o.Indices[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Indices[i], &o.Indices[i]) } } @@ -2398,13 +4605,13 @@ func (m *GenericResource) CopyFrom(src interface{}) { v := GenericResource_NamedResourceSpec{ NamedResourceSpec: &NamedGenericResource{}, } - deepcopy.Copy(v.NamedResourceSpec, o.GetNamedResourceSpec()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.NamedResourceSpec, o.GetNamedResourceSpec()) m.Resource = &v case *GenericResource_DiscreteResourceSpec: v := GenericResource_DiscreteResourceSpec{ DiscreteResourceSpec: &DiscreteGenericResource{}, } - deepcopy.Copy(v.DiscreteResourceSpec, o.GetDiscreteResourceSpec()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.DiscreteResourceSpec, o.GetDiscreteResourceSpec()) m.Resource = &v } } @@ -2428,7 +4635,7 @@ func (m *Resources) CopyFrom(src interface{}) { m.Generic = make([]*GenericResource, len(o.Generic)) for i := range m.Generic { m.Generic[i] = &GenericResource{} - deepcopy.Copy(m.Generic[i], o.Generic[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Generic[i], o.Generic[i]) } } @@ -2449,19 +4656,19 @@ func (m *ResourceRequirements) CopyFrom(src interface{}) { *m = *o if o.Limits != nil { m.Limits = &Resources{} - deepcopy.Copy(m.Limits, o.Limits) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Limits, o.Limits) } if o.Reservations != nil { m.Reservations = &Resources{} - deepcopy.Copy(m.Reservations, o.Reservations) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Reservations, o.Reservations) } if o.SwapBytes != nil { - m.SwapBytes = &google_protobuf2.Int64Value{} - deepcopy.Copy(m.SwapBytes, o.SwapBytes) + m.SwapBytes = &types.Int64Value{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.SwapBytes, o.SwapBytes) } if o.MemorySwappiness != nil { - m.MemorySwappiness = &google_protobuf2.Int64Value{} - deepcopy.Copy(m.MemorySwappiness, o.MemorySwappiness) + m.MemorySwappiness = &types.Int64Value{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.MemorySwappiness, o.MemorySwappiness) } } @@ -2518,7 +4725,7 @@ func (m *EngineDescription) CopyFrom(src interface{}) { if o.Plugins != nil { m.Plugins = make([]PluginDescription, len(o.Plugins)) for i := range m.Plugins { - deepcopy.Copy(&m.Plugins[i], &o.Plugins[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Plugins[i], &o.Plugins[i]) } } @@ -2539,19 +4746,19 @@ func (m *NodeDescription) CopyFrom(src interface{}) { *m = *o if o.Platform != nil { m.Platform = &Platform{} - deepcopy.Copy(m.Platform, o.Platform) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Platform, o.Platform) } if o.Resources != nil { m.Resources = &Resources{} - deepcopy.Copy(m.Resources, o.Resources) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Resources, o.Resources) } if o.Engine != nil { m.Engine = &EngineDescription{} - deepcopy.Copy(m.Engine, o.Engine) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Engine, o.Engine) } if o.TLSInfo != nil { m.TLSInfo = &NodeTLSInfo{} - deepcopy.Copy(m.TLSInfo, o.TLSInfo) + github_com_docker_swarmkit_api_deepcopy.Copy(m.TLSInfo, o.TLSInfo) } } @@ -2642,15 +4849,15 @@ func (m *Mount) CopyFrom(src interface{}) { *m = *o if o.BindOptions != nil { m.BindOptions = &Mount_BindOptions{} - deepcopy.Copy(m.BindOptions, o.BindOptions) + github_com_docker_swarmkit_api_deepcopy.Copy(m.BindOptions, o.BindOptions) } if o.VolumeOptions != nil { m.VolumeOptions = &Mount_VolumeOptions{} - deepcopy.Copy(m.VolumeOptions, o.VolumeOptions) + github_com_docker_swarmkit_api_deepcopy.Copy(m.VolumeOptions, o.VolumeOptions) } if o.TmpfsOptions != nil { m.TmpfsOptions = &Mount_TmpfsOptions{} - deepcopy.Copy(m.TmpfsOptions, o.TmpfsOptions) + github_com_docker_swarmkit_api_deepcopy.Copy(m.TmpfsOptions, o.TmpfsOptions) } } @@ -2691,7 +4898,7 @@ func (m *Mount_VolumeOptions) CopyFrom(src interface{}) { if o.DriverConfig != nil { m.DriverConfig = &Driver{} - deepcopy.Copy(m.DriverConfig, o.DriverConfig) + github_com_docker_swarmkit_api_deepcopy.Copy(m.DriverConfig, o.DriverConfig) } } @@ -2724,12 +4931,12 @@ func (m *RestartPolicy) CopyFrom(src interface{}) { o := src.(*RestartPolicy) *m = *o if o.Delay != nil { - m.Delay = &google_protobuf1.Duration{} - deepcopy.Copy(m.Delay, o.Delay) + m.Delay = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Delay, o.Delay) } if o.Window != nil { - m.Window = &google_protobuf1.Duration{} - deepcopy.Copy(m.Window, o.Window) + m.Window = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Window, o.Window) } } @@ -2746,10 +4953,10 @@ func (m *UpdateConfig) CopyFrom(src interface{}) { o := src.(*UpdateConfig) *m = *o - deepcopy.Copy(&m.Delay, &o.Delay) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Delay, &o.Delay) if o.Monitor != nil { - m.Monitor = &google_protobuf1.Duration{} - deepcopy.Copy(m.Monitor, o.Monitor) + m.Monitor = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Monitor, o.Monitor) } } @@ -2767,12 +4974,12 @@ func (m *UpdateStatus) CopyFrom(src interface{}) { o := src.(*UpdateStatus) *m = *o if o.StartedAt != nil { - m.StartedAt = &google_protobuf.Timestamp{} - deepcopy.Copy(m.StartedAt, o.StartedAt) + m.StartedAt = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.StartedAt, o.StartedAt) } if o.CompletedAt != nil { - m.CompletedAt = &google_protobuf.Timestamp{} - deepcopy.Copy(m.CompletedAt, o.CompletedAt) + m.CompletedAt = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.CompletedAt, o.CompletedAt) } } @@ -2808,7 +5015,7 @@ func (m *PortStatus) CopyFrom(src interface{}) { m.Ports = make([]*PortConfig, len(o.Ports)) for i := range m.Ports { m.Ports[i] = &PortConfig{} - deepcopy.Copy(m.Ports[i], o.Ports[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Ports[i], o.Ports[i]) } } @@ -2828,16 +5035,16 @@ func (m *TaskStatus) CopyFrom(src interface{}) { o := src.(*TaskStatus) *m = *o if o.Timestamp != nil { - m.Timestamp = &google_protobuf.Timestamp{} - deepcopy.Copy(m.Timestamp, o.Timestamp) + m.Timestamp = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Timestamp, o.Timestamp) } if o.PortStatus != nil { m.PortStatus = &PortStatus{} - deepcopy.Copy(m.PortStatus, o.PortStatus) + github_com_docker_swarmkit_api_deepcopy.Copy(m.PortStatus, o.PortStatus) } if o.AppliedAt != nil { - m.AppliedAt = &google_protobuf.Timestamp{} - deepcopy.Copy(m.AppliedAt, o.AppliedAt) + m.AppliedAt = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.AppliedAt, o.AppliedAt) } if o.RuntimeStatus != nil { switch o.RuntimeStatus.(type) { @@ -2845,7 +5052,7 @@ func (m *TaskStatus) CopyFrom(src interface{}) { v := TaskStatus_Container{ Container: &ContainerStatus{}, } - deepcopy.Copy(v.Container, o.GetContainer()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Container, o.GetContainer()) m.RuntimeStatus = &v } } @@ -2958,13 +5165,13 @@ func (m *IPAMOptions) CopyFrom(src interface{}) { *m = *o if o.Driver != nil { m.Driver = &Driver{} - deepcopy.Copy(m.Driver, o.Driver) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Driver, o.Driver) } if o.Configs != nil { m.Configs = make([]*IPAMConfig, len(o.Configs)) for i := range m.Configs { m.Configs[i] = &IPAMConfig{} - deepcopy.Copy(m.Configs[i], o.Configs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Configs[i], o.Configs[i]) } } @@ -3000,7 +5207,7 @@ func (m *WeightedPeer) CopyFrom(src interface{}) { *m = *o if o.Peer != nil { m.Peer = &Peer{} - deepcopy.Copy(m.Peer, o.Peer) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Peer, o.Peer) } } @@ -3036,7 +5243,7 @@ func (m *AcceptancePolicy) CopyFrom(src interface{}) { m.Policies = make([]*AcceptancePolicy_RoleAdmissionPolicy, len(o.Policies)) for i := range m.Policies { m.Policies[i] = &AcceptancePolicy_RoleAdmissionPolicy{} - deepcopy.Copy(m.Policies[i], o.Policies[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Policies[i], o.Policies[i]) } } @@ -3057,7 +5264,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) CopyFrom(src interface{}) { *m = *o if o.Secret != nil { m.Secret = &AcceptancePolicy_RoleAdmissionPolicy_Secret{} - deepcopy.Copy(m.Secret, o.Secret) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Secret, o.Secret) } } @@ -3120,14 +5327,14 @@ func (m *CAConfig) CopyFrom(src interface{}) { o := src.(*CAConfig) *m = *o if o.NodeCertExpiry != nil { - m.NodeCertExpiry = &google_protobuf1.Duration{} - deepcopy.Copy(m.NodeCertExpiry, o.NodeCertExpiry) + m.NodeCertExpiry = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.NodeCertExpiry, o.NodeCertExpiry) } if o.ExternalCAs != nil { m.ExternalCAs = make([]*ExternalCA, len(o.ExternalCAs)) for i := range m.ExternalCAs { m.ExternalCAs[i] = &ExternalCA{} - deepcopy.Copy(m.ExternalCAs[i], o.ExternalCAs[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ExternalCAs[i], o.ExternalCAs[i]) } } @@ -3171,7 +5378,7 @@ func (m *TaskDefaults) CopyFrom(src interface{}) { *m = *o if o.LogDriver != nil { m.LogDriver = &Driver{} - deepcopy.Copy(m.LogDriver, o.LogDriver) + github_com_docker_swarmkit_api_deepcopy.Copy(m.LogDriver, o.LogDriver) } } @@ -3189,8 +5396,8 @@ func (m *DispatcherConfig) CopyFrom(src interface{}) { o := src.(*DispatcherConfig) *m = *o if o.HeartbeatPeriod != nil { - m.HeartbeatPeriod = &google_protobuf1.Duration{} - deepcopy.Copy(m.HeartbeatPeriod, o.HeartbeatPeriod) + m.HeartbeatPeriod = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.HeartbeatPeriod, o.HeartbeatPeriod) } } @@ -3258,7 +5465,7 @@ func (m *PlacementPreference) CopyFrom(src interface{}) { v := PlacementPreference_Spread{ Spread: &SpreadOver{}, } - deepcopy.Copy(v.Spread, o.GetSpread()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Spread, o.GetSpread()) m.Preference = &v } } @@ -3287,7 +5494,7 @@ func (m *Placement) CopyFrom(src interface{}) { m.Preferences = make([]*PlacementPreference, len(o.Preferences)) for i := range m.Preferences { m.Preferences[i] = &PlacementPreference{} - deepcopy.Copy(m.Preferences[i], o.Preferences[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Preferences[i], o.Preferences[i]) } } @@ -3295,7 +5502,7 @@ func (m *Placement) CopyFrom(src interface{}) { m.Platforms = make([]*Platform, len(o.Platforms)) for i := range m.Platforms { m.Platforms[i] = &Platform{} - deepcopy.Copy(m.Platforms[i], o.Platforms[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Platforms[i], o.Platforms[i]) } } @@ -3337,10 +5544,10 @@ func (m *RootCA) CopyFrom(src interface{}) { m.CACert = make([]byte, len(o.CACert)) copy(m.CACert, o.CACert) } - deepcopy.Copy(&m.JoinTokens, &o.JoinTokens) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.JoinTokens, &o.JoinTokens) if o.RootRotation != nil { m.RootRotation = &RootRotation{} - deepcopy.Copy(m.RootRotation, o.RootRotation) + github_com_docker_swarmkit_api_deepcopy.Copy(m.RootRotation, o.RootRotation) } } @@ -3361,7 +5568,7 @@ func (m *Certificate) CopyFrom(src interface{}) { m.CSR = make([]byte, len(o.CSR)) copy(m.CSR, o.CSR) } - deepcopy.Copy(&m.Status, &o.Status) + github_com_docker_swarmkit_api_deepcopy.Copy(&m.Status, &o.Status) if o.Certificate != nil { m.Certificate = make([]byte, len(o.Certificate)) copy(m.Certificate, o.Certificate) @@ -3446,7 +5653,7 @@ func (m *SecretReference) CopyFrom(src interface{}) { v := SecretReference_File{ File: &FileTarget{}, } - deepcopy.Copy(v.File, o.GetFile()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.File, o.GetFile()) m.Target = &v } } @@ -3472,13 +5679,13 @@ func (m *ConfigReference) CopyFrom(src interface{}) { v := ConfigReference_File{ File: &FileTarget{}, } - deepcopy.Copy(v.File, o.GetFile()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.File, o.GetFile()) m.Target = &v case *ConfigReference_Runtime: v := ConfigReference_Runtime{ Runtime: &RuntimeTarget{}, } - deepcopy.Copy(v.Runtime, o.GetRuntime()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Runtime, o.GetRuntime()) m.Target = &v } } @@ -3499,8 +5706,8 @@ func (m *BlacklistedCertificate) CopyFrom(src interface{}) { o := src.(*BlacklistedCertificate) *m = *o if o.Expiry != nil { - m.Expiry = &google_protobuf.Timestamp{} - deepcopy.Copy(m.Expiry, o.Expiry) + m.Expiry = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Expiry, o.Expiry) } } @@ -3523,16 +5730,16 @@ func (m *HealthConfig) CopyFrom(src interface{}) { } if o.Interval != nil { - m.Interval = &google_protobuf1.Duration{} - deepcopy.Copy(m.Interval, o.Interval) + m.Interval = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Interval, o.Interval) } if o.Timeout != nil { - m.Timeout = &google_protobuf1.Duration{} - deepcopy.Copy(m.Timeout, o.Timeout) + m.Timeout = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.Timeout, o.Timeout) } if o.StartPeriod != nil { - m.StartPeriod = &google_protobuf1.Duration{} - deepcopy.Copy(m.StartPeriod, o.StartPeriod) + m.StartPeriod = &types.Duration{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.StartPeriod, o.StartPeriod) } } @@ -3601,11 +5808,11 @@ func (m *Privileges) CopyFrom(src interface{}) { *m = *o if o.CredentialSpec != nil { m.CredentialSpec = &Privileges_CredentialSpec{} - deepcopy.Copy(m.CredentialSpec, o.CredentialSpec) + github_com_docker_swarmkit_api_deepcopy.Copy(m.CredentialSpec, o.CredentialSpec) } if o.SELinuxContext != nil { m.SELinuxContext = &Privileges_SELinuxContext{} - deepcopy.Copy(m.SELinuxContext, o.SELinuxContext) + github_com_docker_swarmkit_api_deepcopy.Copy(m.SELinuxContext, o.SELinuxContext) } } @@ -3659,6 +5866,26 @@ func (m *Privileges_SELinuxContext) CopyFrom(src interface{}) { *m = *o } +func (m *JobStatus) Copy() *JobStatus { + if m == nil { + return nil + } + o := &JobStatus{} + o.CopyFrom(m) + return o +} + +func (m *JobStatus) CopyFrom(src interface{}) { + + o := src.(*JobStatus) + *m = *o + github_com_docker_swarmkit_api_deepcopy.Copy(&m.JobIteration, &o.JobIteration) + if o.LastExecution != nil { + m.LastExecution = &types.Timestamp{} + github_com_docker_swarmkit_api_deepcopy.Copy(m.LastExecution, o.LastExecution) + } +} + func (m *Version) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -4568,8 +6795,8 @@ func (m *UpdateConfig) MarshalTo(dAtA []byte) (int, error) { } dAtA[i] = 0x12 i++ - i = encodeVarintTypes(dAtA, i, uint64(types.SizeOfStdDuration(m.Delay))) - n18, err := types.StdDurationMarshalTo(m.Delay, dAtA[i:]) + i = encodeVarintTypes(dAtA, i, uint64(github_com_gogo_protobuf_types.SizeOfStdDuration(m.Delay))) + n18, err := github_com_gogo_protobuf_types.StdDurationMarshalTo(m.Delay, dAtA[i:]) if err != nil { return 0, err } @@ -4592,7 +6819,7 @@ func (m *UpdateConfig) MarshalTo(dAtA []byte) (int, error) { if m.MaxFailureRatio != 0 { dAtA[i] = 0x2d i++ - binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.MaxFailureRatio)))) + encoding_binary.LittleEndian.PutUint32(dAtA[i:], uint32(math.Float32bits(float32(m.MaxFailureRatio)))) i += 4 } if m.Order != 0 { @@ -6344,6 +8571,42 @@ func (m *Privileges_SELinuxContext) MarshalTo(dAtA []byte) (int, error) { return i, nil } +func (m *JobStatus) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalTo(dAtA) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *JobStatus) MarshalTo(dAtA []byte) (int, error) { + var i int + _ = i + var l int + _ = l + dAtA[i] = 0xa + i++ + i = encodeVarintTypes(dAtA, i, uint64(m.JobIteration.Size())) + n50, err := m.JobIteration.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n50 + if m.LastExecution != nil { + dAtA[i] = 0x12 + i++ + i = encodeVarintTypes(dAtA, i, uint64(m.LastExecution.Size())) + n51, err := m.LastExecution.MarshalTo(dAtA[i:]) + if err != nil { + return 0, err + } + i += n51 + } + return i, nil +} + func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { for v >= 1<<7 { dAtA[offset] = uint8(v&0x7f | 0x80) @@ -6353,8 +8616,10 @@ func encodeVarintTypes(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return offset + 1 } - func (m *Version) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Index != 0 { @@ -6364,6 +8629,9 @@ func (m *Version) Size() (n int) { } func (m *IndexEntry) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Key) @@ -6378,6 +8646,9 @@ func (m *IndexEntry) Size() (n int) { } func (m *Annotations) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -6402,6 +8673,9 @@ func (m *Annotations) Size() (n int) { } func (m *NamedGenericResource) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Kind) @@ -6416,6 +8690,9 @@ func (m *NamedGenericResource) Size() (n int) { } func (m *DiscreteGenericResource) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Kind) @@ -6429,6 +8706,9 @@ func (m *DiscreteGenericResource) Size() (n int) { } func (m *GenericResource) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Resource != nil { @@ -6438,6 +8718,9 @@ func (m *GenericResource) Size() (n int) { } func (m *GenericResource_NamedResourceSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.NamedResourceSpec != nil { @@ -6447,6 +8730,9 @@ func (m *GenericResource_NamedResourceSpec) Size() (n int) { return n } func (m *GenericResource_DiscreteResourceSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.DiscreteResourceSpec != nil { @@ -6456,6 +8742,9 @@ func (m *GenericResource_DiscreteResourceSpec) Size() (n int) { return n } func (m *Resources) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.NanoCPUs != 0 { @@ -6474,6 +8763,9 @@ func (m *Resources) Size() (n int) { } func (m *ResourceRequirements) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Limits != nil { @@ -6496,6 +8788,9 @@ func (m *ResourceRequirements) Size() (n int) { } func (m *Platform) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Architecture) @@ -6510,6 +8805,9 @@ func (m *Platform) Size() (n int) { } func (m *PluginDescription) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Type) @@ -6524,6 +8822,9 @@ func (m *PluginDescription) Size() (n int) { } func (m *EngineDescription) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.EngineVersion) @@ -6548,6 +8849,9 @@ func (m *EngineDescription) Size() (n int) { } func (m *NodeDescription) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Hostname) @@ -6577,6 +8881,9 @@ func (m *NodeDescription) Size() (n int) { } func (m *NodeTLSInfo) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.TrustRoot) @@ -6595,6 +8902,9 @@ func (m *NodeTLSInfo) Size() (n int) { } func (m *RaftMemberStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Leader { @@ -6611,6 +8921,9 @@ func (m *RaftMemberStatus) Size() (n int) { } func (m *NodeStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.State != 0 { @@ -6628,6 +8941,9 @@ func (m *NodeStatus) Size() (n int) { } func (m *Image) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Reference) @@ -6638,6 +8954,9 @@ func (m *Image) Size() (n int) { } func (m *Mount) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Type != 0 { @@ -6673,6 +8992,9 @@ func (m *Mount) Size() (n int) { } func (m *Mount_BindOptions) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Propagation != 0 { @@ -6685,6 +9007,9 @@ func (m *Mount_BindOptions) Size() (n int) { } func (m *Mount_VolumeOptions) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.NoCopy { @@ -6706,6 +9031,9 @@ func (m *Mount_VolumeOptions) Size() (n int) { } func (m *Mount_TmpfsOptions) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.SizeBytes != 0 { @@ -6722,6 +9050,9 @@ func (m *Mount_TmpfsOptions) Size() (n int) { } func (m *RestartPolicy) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Condition != 0 { @@ -6742,12 +9073,15 @@ func (m *RestartPolicy) Size() (n int) { } func (m *UpdateConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Parallelism != 0 { n += 1 + sovTypes(uint64(m.Parallelism)) } - l = types.SizeOfStdDuration(m.Delay) + l = github_com_gogo_protobuf_types.SizeOfStdDuration(m.Delay) n += 1 + l + sovTypes(uint64(l)) if m.FailureAction != 0 { n += 1 + sovTypes(uint64(m.FailureAction)) @@ -6766,6 +9100,9 @@ func (m *UpdateConfig) Size() (n int) { } func (m *UpdateStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.State != 0 { @@ -6787,6 +9124,9 @@ func (m *UpdateStatus) Size() (n int) { } func (m *ContainerStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ContainerID) @@ -6803,6 +9143,9 @@ func (m *ContainerStatus) Size() (n int) { } func (m *PortStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Ports) > 0 { @@ -6815,6 +9158,9 @@ func (m *PortStatus) Size() (n int) { } func (m *TaskStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Timestamp != nil { @@ -6851,6 +9197,9 @@ func (m *TaskStatus) Size() (n int) { } func (m *TaskStatus_Container) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Container != nil { @@ -6860,6 +9209,9 @@ func (m *TaskStatus_Container) Size() (n int) { return n } func (m *NetworkAttachmentConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Target) @@ -6890,6 +9242,9 @@ func (m *NetworkAttachmentConfig) Size() (n int) { } func (m *IPAMConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Family != 0 { @@ -6919,6 +9274,9 @@ func (m *IPAMConfig) Size() (n int) { } func (m *PortConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -6941,6 +9299,9 @@ func (m *PortConfig) Size() (n int) { } func (m *Driver) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -6959,6 +9320,9 @@ func (m *Driver) Size() (n int) { } func (m *IPAMOptions) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Driver != nil { @@ -6975,6 +9339,9 @@ func (m *IPAMOptions) Size() (n int) { } func (m *Peer) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -6989,6 +9356,9 @@ func (m *Peer) Size() (n int) { } func (m *WeightedPeer) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Peer != nil { @@ -7002,6 +9372,9 @@ func (m *WeightedPeer) Size() (n int) { } func (m *IssuanceStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.State != 0 { @@ -7015,6 +9388,9 @@ func (m *IssuanceStatus) Size() (n int) { } func (m *AcceptancePolicy) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Policies) > 0 { @@ -7027,6 +9403,9 @@ func (m *AcceptancePolicy) Size() (n int) { } func (m *AcceptancePolicy_RoleAdmissionPolicy) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Role != 0 { @@ -7043,6 +9422,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Size() (n int) { } func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Data) @@ -7057,6 +9439,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Size() (n int) { } func (m *ExternalCA) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Protocol != 0 { @@ -7082,6 +9467,9 @@ func (m *ExternalCA) Size() (n int) { } func (m *CAConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.NodeCertExpiry != nil { @@ -7109,6 +9497,9 @@ func (m *CAConfig) Size() (n int) { } func (m *OrchestrationConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.TaskHistoryRetentionLimit != 0 { @@ -7118,6 +9509,9 @@ func (m *OrchestrationConfig) Size() (n int) { } func (m *TaskDefaults) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.LogDriver != nil { @@ -7128,6 +9522,9 @@ func (m *TaskDefaults) Size() (n int) { } func (m *DispatcherConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.HeartbeatPeriod != nil { @@ -7138,6 +9535,9 @@ func (m *DispatcherConfig) Size() (n int) { } func (m *RaftConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.SnapshotInterval != 0 { @@ -7159,6 +9559,9 @@ func (m *RaftConfig) Size() (n int) { } func (m *EncryptionConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.AutoLockManagers { @@ -7168,6 +9571,9 @@ func (m *EncryptionConfig) Size() (n int) { } func (m *SpreadOver) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SpreadDescriptor) @@ -7178,6 +9584,9 @@ func (m *SpreadOver) Size() (n int) { } func (m *PlacementPreference) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Preference != nil { @@ -7187,6 +9596,9 @@ func (m *PlacementPreference) Size() (n int) { } func (m *PlacementPreference_Spread) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Spread != nil { @@ -7196,6 +9608,9 @@ func (m *PlacementPreference_Spread) Size() (n int) { return n } func (m *Placement) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Constraints) > 0 { @@ -7223,6 +9638,9 @@ func (m *Placement) Size() (n int) { } func (m *JoinTokens) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Worker) @@ -7237,6 +9655,9 @@ func (m *JoinTokens) Size() (n int) { } func (m *RootCA) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.CAKey) @@ -7264,6 +9685,9 @@ func (m *RootCA) Size() (n int) { } func (m *Certificate) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Role != 0 { @@ -7287,6 +9711,9 @@ func (m *Certificate) Size() (n int) { } func (m *EncryptionKey) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Subsystem) @@ -7307,6 +9734,9 @@ func (m *EncryptionKey) Size() (n int) { } func (m *ManagerStatus) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.RaftID != 0 { @@ -7326,6 +9756,9 @@ func (m *ManagerStatus) Size() (n int) { } func (m *FileTarget) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -7347,12 +9780,18 @@ func (m *FileTarget) Size() (n int) { } func (m *RuntimeTarget) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l return n } func (m *SecretReference) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.SecretID) @@ -7370,6 +9809,9 @@ func (m *SecretReference) Size() (n int) { } func (m *SecretReference_File) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.File != nil { @@ -7379,6 +9821,9 @@ func (m *SecretReference_File) Size() (n int) { return n } func (m *ConfigReference) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ConfigID) @@ -7396,6 +9841,9 @@ func (m *ConfigReference) Size() (n int) { } func (m *ConfigReference_File) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.File != nil { @@ -7405,6 +9853,9 @@ func (m *ConfigReference_File) Size() (n int) { return n } func (m *ConfigReference_Runtime) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Runtime != nil { @@ -7414,6 +9865,9 @@ func (m *ConfigReference_Runtime) Size() (n int) { return n } func (m *BlacklistedCertificate) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Expiry != nil { @@ -7424,6 +9878,9 @@ func (m *BlacklistedCertificate) Size() (n int) { } func (m *HealthConfig) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Test) > 0 { @@ -7451,6 +9908,9 @@ func (m *HealthConfig) Size() (n int) { } func (m *MaybeEncryptedRecord) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Algorithm != 0 { @@ -7468,6 +9928,9 @@ func (m *MaybeEncryptedRecord) Size() (n int) { } func (m *RootRotation) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.CACert) @@ -7486,6 +9949,9 @@ func (m *RootRotation) Size() (n int) { } func (m *Privileges) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.CredentialSpec != nil { @@ -7500,6 +9966,9 @@ func (m *Privileges) Size() (n int) { } func (m *Privileges_CredentialSpec) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Source != nil { @@ -7509,6 +9978,9 @@ func (m *Privileges_CredentialSpec) Size() (n int) { } func (m *Privileges_CredentialSpec_File) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.File) @@ -7516,6 +9988,9 @@ func (m *Privileges_CredentialSpec_File) Size() (n int) { return n } func (m *Privileges_CredentialSpec_Registry) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Registry) @@ -7523,6 +9998,9 @@ func (m *Privileges_CredentialSpec_Registry) Size() (n int) { return n } func (m *Privileges_CredentialSpec_Config) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Config) @@ -7530,6 +10008,9 @@ func (m *Privileges_CredentialSpec_Config) Size() (n int) { return n } func (m *Privileges_SELinuxContext) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Disable { @@ -7554,6 +10035,21 @@ func (m *Privileges_SELinuxContext) Size() (n int) { return n } +func (m *JobStatus) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = m.JobIteration.Size() + n += 1 + l + sovTypes(uint64(l)) + if m.LastExecution != nil { + l = m.LastExecution.Size() + n += 1 + l + sovTypes(uint64(l)) + } + return n +} + func sovTypes(x uint64) (n int) { for { n++ @@ -7596,7 +10092,7 @@ func (this *Annotations) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -7681,8 +10177,8 @@ func (this *ResourceRequirements) String() string { s := strings.Join([]string{`&ResourceRequirements{`, `Limits:` + strings.Replace(fmt.Sprintf("%v", this.Limits), "Resources", "Resources", 1) + `,`, `Reservations:` + strings.Replace(fmt.Sprintf("%v", this.Reservations), "Resources", "Resources", 1) + `,`, - `SwapBytes:` + strings.Replace(fmt.Sprintf("%v", this.SwapBytes), "Int64Value", "google_protobuf2.Int64Value", 1) + `,`, - `MemorySwappiness:` + strings.Replace(fmt.Sprintf("%v", this.MemorySwappiness), "Int64Value", "google_protobuf2.Int64Value", 1) + `,`, + `SwapBytes:` + strings.Replace(fmt.Sprintf("%v", this.SwapBytes), "Int64Value", "types.Int64Value", 1) + `,`, + `MemorySwappiness:` + strings.Replace(fmt.Sprintf("%v", this.MemorySwappiness), "Int64Value", "types.Int64Value", 1) + `,`, `}`, }, "") return s @@ -7717,7 +10213,7 @@ func (this *EngineDescription) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -7828,7 +10324,7 @@ func (this *Mount_VolumeOptions) String() string { for k, _ := range this.Labels { keysForLabels = append(keysForLabels, k) } - sortkeys.Strings(keysForLabels) + github_com_gogo_protobuf_sortkeys.Strings(keysForLabels) mapStringForLabels := "map[string]string{" for _, k := range keysForLabels { mapStringForLabels += fmt.Sprintf("%v: %v,", k, this.Labels[k]) @@ -7860,9 +10356,9 @@ func (this *RestartPolicy) String() string { } s := strings.Join([]string{`&RestartPolicy{`, `Condition:` + fmt.Sprintf("%v", this.Condition) + `,`, - `Delay:` + strings.Replace(fmt.Sprintf("%v", this.Delay), "Duration", "google_protobuf1.Duration", 1) + `,`, + `Delay:` + strings.Replace(fmt.Sprintf("%v", this.Delay), "Duration", "types.Duration", 1) + `,`, `MaxAttempts:` + fmt.Sprintf("%v", this.MaxAttempts) + `,`, - `Window:` + strings.Replace(fmt.Sprintf("%v", this.Window), "Duration", "google_protobuf1.Duration", 1) + `,`, + `Window:` + strings.Replace(fmt.Sprintf("%v", this.Window), "Duration", "types.Duration", 1) + `,`, `}`, }, "") return s @@ -7873,9 +10369,9 @@ func (this *UpdateConfig) String() string { } s := strings.Join([]string{`&UpdateConfig{`, `Parallelism:` + fmt.Sprintf("%v", this.Parallelism) + `,`, - `Delay:` + strings.Replace(strings.Replace(this.Delay.String(), "Duration", "google_protobuf1.Duration", 1), `&`, ``, 1) + `,`, + `Delay:` + strings.Replace(strings.Replace(this.Delay.String(), "Duration", "types.Duration", 1), `&`, ``, 1) + `,`, `FailureAction:` + fmt.Sprintf("%v", this.FailureAction) + `,`, - `Monitor:` + strings.Replace(fmt.Sprintf("%v", this.Monitor), "Duration", "google_protobuf1.Duration", 1) + `,`, + `Monitor:` + strings.Replace(fmt.Sprintf("%v", this.Monitor), "Duration", "types.Duration", 1) + `,`, `MaxFailureRatio:` + fmt.Sprintf("%v", this.MaxFailureRatio) + `,`, `Order:` + fmt.Sprintf("%v", this.Order) + `,`, `}`, @@ -7888,8 +10384,8 @@ func (this *UpdateStatus) String() string { } s := strings.Join([]string{`&UpdateStatus{`, `State:` + fmt.Sprintf("%v", this.State) + `,`, - `StartedAt:` + strings.Replace(fmt.Sprintf("%v", this.StartedAt), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, - `CompletedAt:` + strings.Replace(fmt.Sprintf("%v", this.CompletedAt), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `StartedAt:` + strings.Replace(fmt.Sprintf("%v", this.StartedAt), "Timestamp", "types.Timestamp", 1) + `,`, + `CompletedAt:` + strings.Replace(fmt.Sprintf("%v", this.CompletedAt), "Timestamp", "types.Timestamp", 1) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, `}`, }, "") @@ -7922,14 +10418,14 @@ func (this *TaskStatus) String() string { return "nil" } s := strings.Join([]string{`&TaskStatus{`, - `Timestamp:` + strings.Replace(fmt.Sprintf("%v", this.Timestamp), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `Timestamp:` + strings.Replace(fmt.Sprintf("%v", this.Timestamp), "Timestamp", "types.Timestamp", 1) + `,`, `State:` + fmt.Sprintf("%v", this.State) + `,`, `Message:` + fmt.Sprintf("%v", this.Message) + `,`, `Err:` + fmt.Sprintf("%v", this.Err) + `,`, `RuntimeStatus:` + fmt.Sprintf("%v", this.RuntimeStatus) + `,`, `PortStatus:` + strings.Replace(fmt.Sprintf("%v", this.PortStatus), "PortStatus", "PortStatus", 1) + `,`, `AppliedBy:` + fmt.Sprintf("%v", this.AppliedBy) + `,`, - `AppliedAt:` + strings.Replace(fmt.Sprintf("%v", this.AppliedAt), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `AppliedAt:` + strings.Replace(fmt.Sprintf("%v", this.AppliedAt), "Timestamp", "types.Timestamp", 1) + `,`, `}`, }, "") return s @@ -7952,7 +10448,7 @@ func (this *NetworkAttachmentConfig) String() string { for k, _ := range this.DriverAttachmentOpts { keysForDriverAttachmentOpts = append(keysForDriverAttachmentOpts, k) } - sortkeys.Strings(keysForDriverAttachmentOpts) + github_com_gogo_protobuf_sortkeys.Strings(keysForDriverAttachmentOpts) mapStringForDriverAttachmentOpts := "map[string]string{" for _, k := range keysForDriverAttachmentOpts { mapStringForDriverAttachmentOpts += fmt.Sprintf("%v: %v,", k, this.DriverAttachmentOpts[k]) @@ -7975,7 +10471,7 @@ func (this *IPAMConfig) String() string { for k, _ := range this.Reserved { keysForReserved = append(keysForReserved, k) } - sortkeys.Strings(keysForReserved) + github_com_gogo_protobuf_sortkeys.Strings(keysForReserved) mapStringForReserved := "map[string]string{" for _, k := range keysForReserved { mapStringForReserved += fmt.Sprintf("%v: %v,", k, this.Reserved[k]) @@ -8013,7 +10509,7 @@ func (this *Driver) String() string { for k, _ := range this.Options { keysForOptions = append(keysForOptions, k) } - sortkeys.Strings(keysForOptions) + github_com_gogo_protobuf_sortkeys.Strings(keysForOptions) mapStringForOptions := "map[string]string{" for _, k := range keysForOptions { mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k]) @@ -8111,7 +10607,7 @@ func (this *ExternalCA) String() string { for k, _ := range this.Options { keysForOptions = append(keysForOptions, k) } - sortkeys.Strings(keysForOptions) + github_com_gogo_protobuf_sortkeys.Strings(keysForOptions) mapStringForOptions := "map[string]string{" for _, k := range keysForOptions { mapStringForOptions += fmt.Sprintf("%v: %v,", k, this.Options[k]) @@ -8131,7 +10627,7 @@ func (this *CAConfig) String() string { return "nil" } s := strings.Join([]string{`&CAConfig{`, - `NodeCertExpiry:` + strings.Replace(fmt.Sprintf("%v", this.NodeCertExpiry), "Duration", "google_protobuf1.Duration", 1) + `,`, + `NodeCertExpiry:` + strings.Replace(fmt.Sprintf("%v", this.NodeCertExpiry), "Duration", "types.Duration", 1) + `,`, `ExternalCAs:` + strings.Replace(fmt.Sprintf("%v", this.ExternalCAs), "ExternalCA", "ExternalCA", 1) + `,`, `SigningCACert:` + fmt.Sprintf("%v", this.SigningCACert) + `,`, `SigningCAKey:` + fmt.Sprintf("%v", this.SigningCAKey) + `,`, @@ -8165,7 +10661,7 @@ func (this *DispatcherConfig) String() string { return "nil" } s := strings.Join([]string{`&DispatcherConfig{`, - `HeartbeatPeriod:` + strings.Replace(fmt.Sprintf("%v", this.HeartbeatPeriod), "Duration", "google_protobuf1.Duration", 1) + `,`, + `HeartbeatPeriod:` + strings.Replace(fmt.Sprintf("%v", this.HeartbeatPeriod), "Duration", "types.Duration", 1) + `,`, `}`, }, "") return s @@ -8384,7 +10880,7 @@ func (this *BlacklistedCertificate) String() string { return "nil" } s := strings.Join([]string{`&BlacklistedCertificate{`, - `Expiry:` + strings.Replace(fmt.Sprintf("%v", this.Expiry), "Timestamp", "google_protobuf.Timestamp", 1) + `,`, + `Expiry:` + strings.Replace(fmt.Sprintf("%v", this.Expiry), "Timestamp", "types.Timestamp", 1) + `,`, `}`, }, "") return s @@ -8395,10 +10891,10 @@ func (this *HealthConfig) String() string { } s := strings.Join([]string{`&HealthConfig{`, `Test:` + fmt.Sprintf("%v", this.Test) + `,`, - `Interval:` + strings.Replace(fmt.Sprintf("%v", this.Interval), "Duration", "google_protobuf1.Duration", 1) + `,`, - `Timeout:` + strings.Replace(fmt.Sprintf("%v", this.Timeout), "Duration", "google_protobuf1.Duration", 1) + `,`, + `Interval:` + strings.Replace(fmt.Sprintf("%v", this.Interval), "Duration", "types.Duration", 1) + `,`, + `Timeout:` + strings.Replace(fmt.Sprintf("%v", this.Timeout), "Duration", "types.Duration", 1) + `,`, `Retries:` + fmt.Sprintf("%v", this.Retries) + `,`, - `StartPeriod:` + strings.Replace(fmt.Sprintf("%v", this.StartPeriod), "Duration", "google_protobuf1.Duration", 1) + `,`, + `StartPeriod:` + strings.Replace(fmt.Sprintf("%v", this.StartPeriod), "Duration", "types.Duration", 1) + `,`, `}`, }, "") return s @@ -8492,6 +10988,17 @@ func (this *Privileges_SELinuxContext) String() string { }, "") return s } +func (this *JobStatus) String() string { + if this == nil { + return "nil" + } + s := strings.Join([]string{`&JobStatus{`, + `JobIteration:` + strings.Replace(strings.Replace(this.JobIteration.String(), "Version", "Version", 1), `&`, ``, 1) + `,`, + `LastExecution:` + strings.Replace(fmt.Sprintf("%v", this.LastExecution), "Timestamp", "types.Timestamp", 1) + `,`, + `}`, + }, "") + return s +} func valueToStringTypes(v interface{}) string { rv := reflect.ValueOf(v) if rv.IsNil() { @@ -8515,7 +11022,7 @@ func (m *Version) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8543,7 +11050,7 @@ func (m *Version) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Index |= (uint64(b) & 0x7F) << shift + m.Index |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8557,6 +11064,9 @@ func (m *Version) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8584,7 +11094,7 @@ func (m *IndexEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8612,7 +11122,7 @@ func (m *IndexEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8622,6 +11132,9 @@ func (m *IndexEntry) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8641,7 +11154,7 @@ func (m *IndexEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8651,6 +11164,9 @@ func (m *IndexEntry) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8665,6 +11181,9 @@ func (m *IndexEntry) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8692,7 +11211,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8720,7 +11239,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8730,6 +11249,9 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8749,7 +11271,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -8758,6 +11280,9 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8778,7 +11303,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8795,7 +11320,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8805,6 +11330,9 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -8821,7 +11349,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8831,6 +11359,9 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -8867,7 +11398,7 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -8876,6 +11407,9 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8893,6 +11427,9 @@ func (m *Annotations) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -8920,7 +11457,7 @@ func (m *NamedGenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8948,7 +11485,7 @@ func (m *NamedGenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8958,6 +11495,9 @@ func (m *NamedGenericResource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -8977,7 +11517,7 @@ func (m *NamedGenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -8987,6 +11527,9 @@ func (m *NamedGenericResource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9001,6 +11544,9 @@ func (m *NamedGenericResource) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9028,7 +11574,7 @@ func (m *DiscreteGenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9056,7 +11602,7 @@ func (m *DiscreteGenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9066,6 +11612,9 @@ func (m *DiscreteGenericResource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9085,7 +11634,7 @@ func (m *DiscreteGenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Value |= (int64(b) & 0x7F) << shift + m.Value |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -9099,6 +11648,9 @@ func (m *DiscreteGenericResource) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9126,7 +11678,7 @@ func (m *GenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9154,7 +11706,7 @@ func (m *GenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9163,6 +11715,9 @@ func (m *GenericResource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9186,7 +11741,7 @@ func (m *GenericResource) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9195,6 +11750,9 @@ func (m *GenericResource) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9213,6 +11771,9 @@ func (m *GenericResource) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9240,7 +11801,7 @@ func (m *Resources) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9268,7 +11829,7 @@ func (m *Resources) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.NanoCPUs |= (int64(b) & 0x7F) << shift + m.NanoCPUs |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -9287,7 +11848,7 @@ func (m *Resources) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MemoryBytes |= (int64(b) & 0x7F) << shift + m.MemoryBytes |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -9306,7 +11867,7 @@ func (m *Resources) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9315,6 +11876,9 @@ func (m *Resources) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9332,6 +11896,9 @@ func (m *Resources) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9359,7 +11926,7 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9387,7 +11954,7 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9396,6 +11963,9 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9420,7 +11990,7 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9429,6 +11999,9 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9453,7 +12026,7 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9462,11 +12035,14 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.SwapBytes == nil { - m.SwapBytes = &google_protobuf2.Int64Value{} + m.SwapBytes = &types.Int64Value{} } if err := m.SwapBytes.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9486,7 +12062,7 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9495,11 +12071,14 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.MemorySwappiness == nil { - m.MemorySwappiness = &google_protobuf2.Int64Value{} + m.MemorySwappiness = &types.Int64Value{} } if err := m.MemorySwappiness.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -9514,6 +12093,9 @@ func (m *ResourceRequirements) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9541,7 +12123,7 @@ func (m *Platform) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9569,7 +12151,7 @@ func (m *Platform) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9579,6 +12161,9 @@ func (m *Platform) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9598,7 +12183,7 @@ func (m *Platform) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9608,6 +12193,9 @@ func (m *Platform) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9622,6 +12210,9 @@ func (m *Platform) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9649,7 +12240,7 @@ func (m *PluginDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9677,7 +12268,7 @@ func (m *PluginDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9687,6 +12278,9 @@ func (m *PluginDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9706,7 +12300,7 @@ func (m *PluginDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9716,6 +12310,9 @@ func (m *PluginDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9730,6 +12327,9 @@ func (m *PluginDescription) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9757,7 +12357,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9785,7 +12385,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9795,6 +12395,9 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9814,7 +12417,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9823,6 +12426,9 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9843,7 +12449,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9860,7 +12466,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9870,6 +12476,9 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -9886,7 +12495,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -9896,6 +12505,9 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -9932,7 +12544,7 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -9941,6 +12553,9 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -9958,6 +12573,9 @@ func (m *EngineDescription) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -9985,7 +12603,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10013,7 +12631,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10023,6 +12641,9 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10042,7 +12663,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10051,6 +12672,9 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10075,7 +12699,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10084,6 +12708,9 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10108,7 +12735,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10117,6 +12744,9 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10141,7 +12771,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10150,6 +12780,9 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10174,7 +12807,7 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10189,6 +12822,9 @@ func (m *NodeDescription) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10216,7 +12852,7 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10244,7 +12880,7 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10253,6 +12889,9 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10275,7 +12914,7 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10284,6 +12923,9 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10306,7 +12948,7 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10315,6 +12957,9 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10332,6 +12977,9 @@ func (m *NodeTLSInfo) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10359,7 +13007,7 @@ func (m *RaftMemberStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10387,7 +13035,7 @@ func (m *RaftMemberStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10407,7 +13055,7 @@ func (m *RaftMemberStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Reachability |= (RaftMemberStatus_Reachability(b) & 0x7F) << shift + m.Reachability |= RaftMemberStatus_Reachability(b&0x7F) << shift if b < 0x80 { break } @@ -10426,7 +13074,7 @@ func (m *RaftMemberStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10436,6 +13084,9 @@ func (m *RaftMemberStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10450,6 +13101,9 @@ func (m *RaftMemberStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10477,7 +13131,7 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10505,7 +13159,7 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= (NodeStatus_State(b) & 0x7F) << shift + m.State |= NodeStatus_State(b&0x7F) << shift if b < 0x80 { break } @@ -10524,7 +13178,7 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10534,6 +13188,9 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10553,7 +13210,7 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10563,6 +13220,9 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10577,6 +13237,9 @@ func (m *NodeStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10604,7 +13267,7 @@ func (m *Image) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10632,7 +13295,7 @@ func (m *Image) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10642,6 +13305,9 @@ func (m *Image) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10656,6 +13322,9 @@ func (m *Image) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10683,7 +13352,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10711,7 +13380,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Type |= (Mount_MountType(b) & 0x7F) << shift + m.Type |= Mount_MountType(b&0x7F) << shift if b < 0x80 { break } @@ -10730,7 +13399,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10740,6 +13409,9 @@ func (m *Mount) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10759,7 +13431,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10769,6 +13441,9 @@ func (m *Mount) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10788,7 +13463,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10808,7 +13483,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10817,6 +13492,9 @@ func (m *Mount) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10841,7 +13519,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10850,6 +13528,9 @@ func (m *Mount) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10874,7 +13555,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -10883,6 +13564,9 @@ func (m *Mount) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -10907,7 +13591,7 @@ func (m *Mount) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Consistency |= (Mount_MountConsistency(b) & 0x7F) << shift + m.Consistency |= Mount_MountConsistency(b&0x7F) << shift if b < 0x80 { break } @@ -10921,6 +13605,9 @@ func (m *Mount) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -10948,7 +13635,7 @@ func (m *Mount_BindOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -10976,7 +13663,7 @@ func (m *Mount_BindOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Propagation |= (Mount_BindOptions_MountPropagation(b) & 0x7F) << shift + m.Propagation |= Mount_BindOptions_MountPropagation(b&0x7F) << shift if b < 0x80 { break } @@ -10995,7 +13682,7 @@ func (m *Mount_BindOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11010,6 +13697,9 @@ func (m *Mount_BindOptions) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11037,7 +13727,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11065,7 +13755,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11085,7 +13775,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11094,6 +13784,9 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11114,7 +13807,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11131,7 +13824,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11141,6 +13834,9 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -11157,7 +13853,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11167,6 +13863,9 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -11203,7 +13902,7 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11212,6 +13911,9 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11231,6 +13933,9 @@ func (m *Mount_VolumeOptions) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11258,7 +13963,7 @@ func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11286,7 +13991,7 @@ func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SizeBytes |= (int64(b) & 0x7F) << shift + m.SizeBytes |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -11305,7 +14010,7 @@ func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Mode |= (os.FileMode(b) & 0x7F) << shift + m.Mode |= os.FileMode(b&0x7F) << shift if b < 0x80 { break } @@ -11324,7 +14029,7 @@ func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11334,6 +14039,9 @@ func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11348,6 +14056,9 @@ func (m *Mount_TmpfsOptions) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11375,7 +14086,7 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11403,7 +14114,7 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Condition |= (RestartPolicy_RestartCondition(b) & 0x7F) << shift + m.Condition |= RestartPolicy_RestartCondition(b&0x7F) << shift if b < 0x80 { break } @@ -11422,7 +14133,7 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11431,11 +14142,14 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Delay == nil { - m.Delay = &google_protobuf1.Duration{} + m.Delay = &types.Duration{} } if err := m.Delay.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11455,7 +14169,7 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MaxAttempts |= (uint64(b) & 0x7F) << shift + m.MaxAttempts |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11474,7 +14188,7 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11483,11 +14197,14 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Window == nil { - m.Window = &google_protobuf1.Duration{} + m.Window = &types.Duration{} } if err := m.Window.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11502,6 +14219,9 @@ func (m *RestartPolicy) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11529,7 +14249,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11557,7 +14277,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Parallelism |= (uint64(b) & 0x7F) << shift + m.Parallelism |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11576,7 +14296,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11585,10 +14305,13 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } - if err := types.StdDurationUnmarshal(&m.Delay, dAtA[iNdEx:postIndex]); err != nil { + if err := github_com_gogo_protobuf_types.StdDurationUnmarshal(&m.Delay, dAtA[iNdEx:postIndex]); err != nil { return err } iNdEx = postIndex @@ -11606,7 +14329,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.FailureAction |= (UpdateConfig_FailureAction(b) & 0x7F) << shift + m.FailureAction |= UpdateConfig_FailureAction(b&0x7F) << shift if b < 0x80 { break } @@ -11625,7 +14348,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11634,11 +14357,14 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Monitor == nil { - m.Monitor = &google_protobuf1.Duration{} + m.Monitor = &types.Duration{} } if err := m.Monitor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11652,7 +14378,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { if (iNdEx + 4) > l { return io.ErrUnexpectedEOF } - v = uint32(binary.LittleEndian.Uint32(dAtA[iNdEx:])) + v = uint32(encoding_binary.LittleEndian.Uint32(dAtA[iNdEx:])) iNdEx += 4 m.MaxFailureRatio = float32(math.Float32frombits(v)) case 6: @@ -11669,7 +14395,7 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Order |= (UpdateConfig_UpdateOrder(b) & 0x7F) << shift + m.Order |= UpdateConfig_UpdateOrder(b&0x7F) << shift if b < 0x80 { break } @@ -11683,6 +14409,9 @@ func (m *UpdateConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11710,7 +14439,7 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11738,7 +14467,7 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= (UpdateStatus_UpdateState(b) & 0x7F) << shift + m.State |= UpdateStatus_UpdateState(b&0x7F) << shift if b < 0x80 { break } @@ -11757,7 +14486,7 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11766,11 +14495,14 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.StartedAt == nil { - m.StartedAt = &google_protobuf.Timestamp{} + m.StartedAt = &types.Timestamp{} } if err := m.StartedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11790,7 +14522,7 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -11799,11 +14531,14 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.CompletedAt == nil { - m.CompletedAt = &google_protobuf.Timestamp{} + m.CompletedAt = &types.Timestamp{} } if err := m.CompletedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -11823,7 +14558,7 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11833,6 +14568,9 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11847,6 +14585,9 @@ func (m *UpdateStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11874,7 +14615,7 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11902,7 +14643,7 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -11912,6 +14653,9 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -11931,7 +14675,7 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PID |= (int32(b) & 0x7F) << shift + m.PID |= int32(b&0x7F) << shift if b < 0x80 { break } @@ -11950,7 +14694,7 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ExitCode |= (int32(b) & 0x7F) << shift + m.ExitCode |= int32(b&0x7F) << shift if b < 0x80 { break } @@ -11964,6 +14708,9 @@ func (m *ContainerStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -11991,7 +14738,7 @@ func (m *PortStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12019,7 +14766,7 @@ func (m *PortStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12028,6 +14775,9 @@ func (m *PortStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12045,6 +14795,9 @@ func (m *PortStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12072,7 +14825,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12100,7 +14853,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12109,11 +14862,14 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Timestamp == nil { - m.Timestamp = &google_protobuf.Timestamp{} + m.Timestamp = &types.Timestamp{} } if err := m.Timestamp.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12133,7 +14889,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= (TaskState(b) & 0x7F) << shift + m.State |= TaskState(b&0x7F) << shift if b < 0x80 { break } @@ -12152,7 +14908,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12162,6 +14918,9 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12181,7 +14940,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12191,6 +14950,9 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12210,7 +14972,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12219,6 +14981,9 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12242,7 +15007,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12251,6 +15016,9 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12275,7 +15043,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12285,6 +15053,9 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12304,7 +15075,7 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12313,11 +15084,14 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.AppliedAt == nil { - m.AppliedAt = &google_protobuf.Timestamp{} + m.AppliedAt = &types.Timestamp{} } if err := m.AppliedAt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -12332,6 +15106,9 @@ func (m *TaskStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12359,7 +15136,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12387,7 +15164,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12397,6 +15174,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12416,7 +15196,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12426,6 +15206,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12445,7 +15228,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12455,6 +15238,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12474,7 +15260,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12483,6 +15269,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12503,7 +15292,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12520,7 +15309,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12530,6 +15319,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -12546,7 +15338,7 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12556,6 +15348,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -12587,6 +15382,9 @@ func (m *NetworkAttachmentConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12614,7 +15412,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12642,7 +15440,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Family |= (IPAMConfig_AddressFamily(b) & 0x7F) << shift + m.Family |= IPAMConfig_AddressFamily(b&0x7F) << shift if b < 0x80 { break } @@ -12661,7 +15459,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12671,6 +15469,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12690,7 +15491,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12700,6 +15501,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12719,7 +15523,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12729,6 +15533,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12748,7 +15555,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -12757,6 +15564,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12777,7 +15587,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12794,7 +15604,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12804,6 +15614,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -12820,7 +15633,7 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12830,6 +15643,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -12861,6 +15677,9 @@ func (m *IPAMConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -12888,7 +15707,7 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12916,7 +15735,7 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -12926,6 +15745,9 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -12945,7 +15767,7 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Protocol |= (PortConfig_Protocol(b) & 0x7F) << shift + m.Protocol |= PortConfig_Protocol(b&0x7F) << shift if b < 0x80 { break } @@ -12964,7 +15786,7 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TargetPort |= (uint32(b) & 0x7F) << shift + m.TargetPort |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -12983,7 +15805,7 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PublishedPort |= (uint32(b) & 0x7F) << shift + m.PublishedPort |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -13002,7 +15824,7 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.PublishMode |= (PortConfig_PublishMode(b) & 0x7F) << shift + m.PublishMode |= PortConfig_PublishMode(b&0x7F) << shift if b < 0x80 { break } @@ -13016,6 +15838,9 @@ func (m *PortConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13043,7 +15868,7 @@ func (m *Driver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13071,7 +15896,7 @@ func (m *Driver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13081,6 +15906,9 @@ func (m *Driver) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13100,7 +15928,7 @@ func (m *Driver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13109,6 +15937,9 @@ func (m *Driver) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13129,7 +15960,7 @@ func (m *Driver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13146,7 +15977,7 @@ func (m *Driver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13156,6 +15987,9 @@ func (m *Driver) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -13172,7 +16006,7 @@ func (m *Driver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13182,6 +16016,9 @@ func (m *Driver) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -13213,6 +16050,9 @@ func (m *Driver) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13240,7 +16080,7 @@ func (m *IPAMOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13268,7 +16108,7 @@ func (m *IPAMOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13277,6 +16117,9 @@ func (m *IPAMOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13301,7 +16144,7 @@ func (m *IPAMOptions) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13310,6 +16153,9 @@ func (m *IPAMOptions) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13327,6 +16173,9 @@ func (m *IPAMOptions) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13354,7 +16203,7 @@ func (m *Peer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13382,7 +16231,7 @@ func (m *Peer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13392,6 +16241,9 @@ func (m *Peer) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13411,7 +16263,7 @@ func (m *Peer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13421,6 +16273,9 @@ func (m *Peer) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13435,6 +16290,9 @@ func (m *Peer) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13462,7 +16320,7 @@ func (m *WeightedPeer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13490,7 +16348,7 @@ func (m *WeightedPeer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13499,6 +16357,9 @@ func (m *WeightedPeer) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13523,7 +16384,7 @@ func (m *WeightedPeer) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Weight |= (int64(b) & 0x7F) << shift + m.Weight |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -13537,6 +16398,9 @@ func (m *WeightedPeer) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13564,7 +16428,7 @@ func (m *IssuanceStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13592,7 +16456,7 @@ func (m *IssuanceStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.State |= (IssuanceStatus_State(b) & 0x7F) << shift + m.State |= IssuanceStatus_State(b&0x7F) << shift if b < 0x80 { break } @@ -13611,7 +16475,7 @@ func (m *IssuanceStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13621,6 +16485,9 @@ func (m *IssuanceStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13635,6 +16502,9 @@ func (m *IssuanceStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13662,7 +16532,7 @@ func (m *AcceptancePolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13690,7 +16560,7 @@ func (m *AcceptancePolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13699,6 +16569,9 @@ func (m *AcceptancePolicy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13716,6 +16589,9 @@ func (m *AcceptancePolicy) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13743,7 +16619,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13771,7 +16647,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Role |= (NodeRole(b) & 0x7F) << shift + m.Role |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -13790,7 +16666,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13810,7 +16686,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13819,6 +16695,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13838,6 +16717,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13865,7 +16747,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(dAtA []byte) err } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13893,7 +16775,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(dAtA []byte) err } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -13902,6 +16784,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(dAtA []byte) err return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13924,7 +16809,7 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(dAtA []byte) err } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -13934,6 +16819,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(dAtA []byte) err return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -13948,6 +16836,9 @@ func (m *AcceptancePolicy_RoleAdmissionPolicy_Secret) Unmarshal(dAtA []byte) err if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -13975,7 +16866,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14003,7 +16894,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Protocol |= (ExternalCA_CAProtocol(b) & 0x7F) << shift + m.Protocol |= ExternalCA_CAProtocol(b&0x7F) << shift if b < 0x80 { break } @@ -14022,7 +16913,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14032,6 +16923,9 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14051,7 +16945,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14060,6 +16954,9 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14080,7 +16977,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14097,7 +16994,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapkey |= (uint64(b) & 0x7F) << shift + stringLenmapkey |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14107,6 +17004,9 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapkey := iNdEx + intStringLenmapkey + if postStringIndexmapkey < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapkey > l { return io.ErrUnexpectedEOF } @@ -14123,7 +17023,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLenmapvalue |= (uint64(b) & 0x7F) << shift + stringLenmapvalue |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14133,6 +17033,9 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postStringIndexmapvalue := iNdEx + intStringLenmapvalue + if postStringIndexmapvalue < 0 { + return ErrInvalidLengthTypes + } if postStringIndexmapvalue > l { return io.ErrUnexpectedEOF } @@ -14169,7 +17072,7 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14178,6 +17081,9 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14195,6 +17101,9 @@ func (m *ExternalCA) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14222,7 +17131,7 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14250,7 +17159,7 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14259,11 +17168,14 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.NodeCertExpiry == nil { - m.NodeCertExpiry = &google_protobuf1.Duration{} + m.NodeCertExpiry = &types.Duration{} } if err := m.NodeCertExpiry.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14283,7 +17195,7 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14292,6 +17204,9 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14314,7 +17229,7 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14323,6 +17238,9 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14345,7 +17263,7 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14354,6 +17272,9 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14376,7 +17297,7 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ForceRotate |= (uint64(b) & 0x7F) << shift + m.ForceRotate |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14390,6 +17311,9 @@ func (m *CAConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14417,7 +17341,7 @@ func (m *OrchestrationConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14445,7 +17369,7 @@ func (m *OrchestrationConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.TaskHistoryRetentionLimit |= (int64(b) & 0x7F) << shift + m.TaskHistoryRetentionLimit |= int64(b&0x7F) << shift if b < 0x80 { break } @@ -14459,6 +17383,9 @@ func (m *OrchestrationConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14486,7 +17413,7 @@ func (m *TaskDefaults) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14514,7 +17441,7 @@ func (m *TaskDefaults) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14523,6 +17450,9 @@ func (m *TaskDefaults) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14542,6 +17472,9 @@ func (m *TaskDefaults) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14569,7 +17502,7 @@ func (m *DispatcherConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14597,7 +17530,7 @@ func (m *DispatcherConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14606,11 +17539,14 @@ func (m *DispatcherConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.HeartbeatPeriod == nil { - m.HeartbeatPeriod = &google_protobuf1.Duration{} + m.HeartbeatPeriod = &types.Duration{} } if err := m.HeartbeatPeriod.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -14625,6 +17561,9 @@ func (m *DispatcherConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14652,7 +17591,7 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14680,7 +17619,7 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.SnapshotInterval |= (uint64(b) & 0x7F) << shift + m.SnapshotInterval |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14699,7 +17638,7 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.KeepOldSnapshots |= (uint64(b) & 0x7F) << shift + m.KeepOldSnapshots |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14718,7 +17657,7 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.LogEntriesForSlowFollowers |= (uint64(b) & 0x7F) << shift + m.LogEntriesForSlowFollowers |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14737,7 +17676,7 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.HeartbeatTick |= (uint32(b) & 0x7F) << shift + m.HeartbeatTick |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -14756,7 +17695,7 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.ElectionTick |= (uint32(b) & 0x7F) << shift + m.ElectionTick |= uint32(b&0x7F) << shift if b < 0x80 { break } @@ -14770,6 +17709,9 @@ func (m *RaftConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14797,7 +17739,7 @@ func (m *EncryptionConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14825,7 +17767,7 @@ func (m *EncryptionConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14840,6 +17782,9 @@ func (m *EncryptionConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14867,7 +17812,7 @@ func (m *SpreadOver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14895,7 +17840,7 @@ func (m *SpreadOver) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14905,6 +17850,9 @@ func (m *SpreadOver) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -14919,6 +17867,9 @@ func (m *SpreadOver) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -14946,7 +17897,7 @@ func (m *PlacementPreference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -14974,7 +17925,7 @@ func (m *PlacementPreference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -14983,6 +17934,9 @@ func (m *PlacementPreference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15001,6 +17955,9 @@ func (m *PlacementPreference) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15028,7 +17985,7 @@ func (m *Placement) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15056,7 +18013,7 @@ func (m *Placement) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15066,6 +18023,9 @@ func (m *Placement) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15085,7 +18045,7 @@ func (m *Placement) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15094,6 +18054,9 @@ func (m *Placement) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15116,7 +18079,7 @@ func (m *Placement) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15125,6 +18088,9 @@ func (m *Placement) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15147,7 +18113,7 @@ func (m *Placement) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.MaxReplicas |= (uint64(b) & 0x7F) << shift + m.MaxReplicas |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15161,6 +18127,9 @@ func (m *Placement) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15188,7 +18157,7 @@ func (m *JoinTokens) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15216,7 +18185,7 @@ func (m *JoinTokens) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15226,6 +18195,9 @@ func (m *JoinTokens) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15245,7 +18217,7 @@ func (m *JoinTokens) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15255,6 +18227,9 @@ func (m *JoinTokens) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15269,6 +18244,9 @@ func (m *JoinTokens) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15296,7 +18274,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15324,7 +18302,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15333,6 +18311,9 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15355,7 +18336,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15364,6 +18345,9 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15386,7 +18370,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15396,6 +18380,9 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15415,7 +18402,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15424,6 +18411,9 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15445,7 +18435,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15454,6 +18444,9 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15478,7 +18471,7 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.LastForcedRotation |= (uint64(b) & 0x7F) << shift + m.LastForcedRotation |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15492,6 +18485,9 @@ func (m *RootCA) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15519,7 +18515,7 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15547,7 +18543,7 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Role |= (NodeRole(b) & 0x7F) << shift + m.Role |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -15566,7 +18562,7 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15575,6 +18571,9 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15597,7 +18596,7 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15606,6 +18605,9 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15627,7 +18629,7 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15636,6 +18638,9 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15658,7 +18663,7 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15668,6 +18673,9 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15682,6 +18690,9 @@ func (m *Certificate) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15709,7 +18720,7 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15737,7 +18748,7 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15747,6 +18758,9 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15766,7 +18780,7 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Algorithm |= (EncryptionKey_Algorithm(b) & 0x7F) << shift + m.Algorithm |= EncryptionKey_Algorithm(b&0x7F) << shift if b < 0x80 { break } @@ -15785,7 +18799,7 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15794,6 +18808,9 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15816,7 +18833,7 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.LamportTime |= (uint64(b) & 0x7F) << shift + m.LamportTime |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15830,6 +18847,9 @@ func (m *EncryptionKey) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15857,7 +18877,7 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15885,7 +18905,7 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.RaftID |= (uint64(b) & 0x7F) << shift + m.RaftID |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15904,7 +18924,7 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -15914,6 +18934,9 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -15933,7 +18956,7 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -15953,7 +18976,7 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Reachability |= (RaftMemberStatus_Reachability(b) & 0x7F) << shift + m.Reachability |= RaftMemberStatus_Reachability(b&0x7F) << shift if b < 0x80 { break } @@ -15967,6 +18990,9 @@ func (m *ManagerStatus) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -15994,7 +19020,7 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16022,7 +19048,7 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16032,6 +19058,9 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16051,7 +19080,7 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16061,6 +19090,9 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16080,7 +19112,7 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16090,6 +19122,9 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16109,7 +19144,7 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Mode |= (os.FileMode(b) & 0x7F) << shift + m.Mode |= os.FileMode(b&0x7F) << shift if b < 0x80 { break } @@ -16123,6 +19158,9 @@ func (m *FileTarget) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16150,7 +19188,7 @@ func (m *RuntimeTarget) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16173,6 +19211,9 @@ func (m *RuntimeTarget) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16200,7 +19241,7 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16228,7 +19269,7 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16238,6 +19279,9 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16257,7 +19301,7 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16267,6 +19311,9 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16286,7 +19333,7 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16295,6 +19342,9 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16313,6 +19363,9 @@ func (m *SecretReference) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16340,7 +19393,7 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16368,7 +19421,7 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16378,6 +19431,9 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16397,7 +19453,7 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16407,6 +19463,9 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16426,7 +19485,7 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16435,6 +19494,9 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16458,7 +19520,7 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16467,6 +19529,9 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16485,6 +19550,9 @@ func (m *ConfigReference) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16512,7 +19580,7 @@ func (m *BlacklistedCertificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16540,7 +19608,7 @@ func (m *BlacklistedCertificate) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16549,11 +19617,14 @@ func (m *BlacklistedCertificate) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Expiry == nil { - m.Expiry = &google_protobuf.Timestamp{} + m.Expiry = &types.Timestamp{} } if err := m.Expiry.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16568,6 +19639,9 @@ func (m *BlacklistedCertificate) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16595,7 +19669,7 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16623,7 +19697,7 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16633,6 +19707,9 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16652,7 +19729,7 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16661,11 +19738,14 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Interval == nil { - m.Interval = &google_protobuf1.Duration{} + m.Interval = &types.Duration{} } if err := m.Interval.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16685,7 +19765,7 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16694,11 +19774,14 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.Timeout == nil { - m.Timeout = &google_protobuf1.Duration{} + m.Timeout = &types.Duration{} } if err := m.Timeout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16718,7 +19801,7 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Retries |= (int32(b) & 0x7F) << shift + m.Retries |= int32(b&0x7F) << shift if b < 0x80 { break } @@ -16737,7 +19820,7 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16746,11 +19829,14 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } if m.StartPeriod == nil { - m.StartPeriod = &google_protobuf1.Duration{} + m.StartPeriod = &types.Duration{} } if err := m.StartPeriod.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { return err @@ -16765,6 +19851,9 @@ func (m *HealthConfig) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16792,7 +19881,7 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16820,7 +19909,7 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Algorithm |= (MaybeEncryptedRecord_Algorithm(b) & 0x7F) << shift + m.Algorithm |= MaybeEncryptedRecord_Algorithm(b&0x7F) << shift if b < 0x80 { break } @@ -16839,7 +19928,7 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16848,6 +19937,9 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16870,7 +19962,7 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16879,6 +19971,9 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16896,6 +19991,9 @@ func (m *MaybeEncryptedRecord) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -16923,7 +20021,7 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -16951,7 +20049,7 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16960,6 +20058,9 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -16982,7 +20083,7 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -16991,6 +20092,9 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17013,7 +20117,7 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - byteLen |= (int(b) & 0x7F) << shift + byteLen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17022,6 +20126,9 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17039,6 +20146,9 @@ func (m *RootRotation) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17066,7 +20176,7 @@ func (m *Privileges) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17094,7 +20204,7 @@ func (m *Privileges) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17103,6 +20213,9 @@ func (m *Privileges) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17127,7 +20240,7 @@ func (m *Privileges) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17136,6 +20249,9 @@ func (m *Privileges) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17155,6 +20271,9 @@ func (m *Privileges) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17182,7 +20301,7 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17210,7 +20329,7 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17220,6 +20339,9 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17239,7 +20361,7 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17249,6 +20371,9 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17268,7 +20393,7 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17278,6 +20403,9 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17292,6 +20420,9 @@ func (m *Privileges_CredentialSpec) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17319,7 +20450,7 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17347,7 +20478,7 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -17367,7 +20498,7 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17377,6 +20508,9 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17396,7 +20530,7 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17406,6 +20540,9 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17425,7 +20562,7 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17435,6 +20572,9 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17454,7 +20594,7 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -17464,6 +20604,9 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { return ErrInvalidLengthTypes } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTypes + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -17478,6 +20621,131 @@ func (m *Privileges_SELinuxContext) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthTypes } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *JobStatus) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTypes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: JobStatus: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: JobStatus: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field JobIteration", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTypes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTypes + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.JobIteration.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field LastExecution", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTypes + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTypes + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTypes + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.LastExecution == nil { + m.LastExecution = &types.Timestamp{} + } + if err := m.LastExecution.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipTypes(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthTypes + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthTypes + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -17544,10 +20812,13 @@ func skipTypes(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthTypes } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthTypes + } return iNdEx, nil case 3: for { @@ -17576,6 +20847,9 @@ func skipTypes(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthTypes + } } return iNdEx, nil case 4: @@ -17594,339 +20868,3 @@ var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/types.proto", fileDescriptorTypes) } - -var fileDescriptorTypes = []byte{ - // 5274 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x5a, 0x4d, 0x70, 0x23, 0x49, - 0x56, 0xb6, 0x64, 0x49, 0x96, 0x9e, 0x64, 0xbb, 0x9c, 0xed, 0xed, 0x71, 0x6b, 0x7a, 0x6c, 0x4d, - 0xcd, 0xcc, 0xce, 0x6c, 0xef, 0xa0, 0xfe, 0x9b, 0x9d, 0xe8, 0x99, 0x61, 0x76, 0x46, 0x7f, 0x6e, - 0x6b, 0xdb, 0x96, 0x14, 0x29, 0xb9, 0x7b, 0x97, 0x08, 0x28, 0xca, 0x55, 0x69, 0xb9, 0xc6, 0xa5, - 0xca, 0xa2, 0xaa, 0x64, 0xb7, 0x58, 0x08, 0xe6, 0x04, 0x84, 0x6f, 0x5c, 0x96, 0xdd, 0x20, 0x1c, - 0x41, 0x04, 0xdc, 0x38, 0x70, 0xe0, 0xc0, 0xc2, 0x69, 0x88, 0x20, 0x88, 0x0d, 0x2e, 0xb0, 0x10, - 0x01, 0x1b, 0x40, 0x18, 0xc6, 0x07, 0x6e, 0x04, 0x5c, 0x08, 0x2e, 0x1c, 0x88, 0xfc, 0xa9, 0x52, - 0x59, 0x5d, 0xb6, 0x67, 0x76, 0xb9, 0xd8, 0xca, 0xf7, 0xbe, 0xf7, 0x32, 0xf3, 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1d, 0xae, - 0x68, 0x74, 0x99, 0x0c, 0x16, 0xa2, 0xea, 0xbb, 0xb0, 0x78, 0x61, 0x12, 0x2c, 0x34, 0xeb, 0xd5, - 0x76, 0xfb, 0x2d, 0x65, 0x0e, 0x95, 0x20, 0xdf, 0xe8, 0x76, 0x06, 0xed, 0xce, 0x2e, 0x8b, 0x2d, - 0x4b, 0x90, 0xc7, 0xdd, 0xed, 0xed, 0x7a, 0xad, 0xf1, 0x44, 0x49, 0xab, 0x55, 0x28, 0xc6, 0xb4, - 0xa1, 0x25, 0x80, 0xfe, 0xa0, 0xdb, 0xd3, 0x36, 0xdb, 0xb8, 0x3f, 0x10, 0x91, 0x69, 0x7f, 0x50, - 0xc3, 0x03, 0x49, 0x48, 0xa9, 0xff, 0x99, 0x0e, 0x57, 0x54, 0x06, 0xa3, 0xf5, 0x8b, 0xc1, 0xe8, - 0x15, 0x83, 0x97, 0xe1, 0xe8, 0xb4, 0x11, 0x05, 0xa5, 0xef, 0x01, 0xf0, 0x8d, 0x43, 0x4c, 0x4d, - 0x0f, 0xe4, 0xc2, 0x97, 0x5f, 0x30, 0xf2, 0x20, 0xac, 0x04, 0xe2, 0x82, 0x44, 0xd7, 0x02, 0xf4, - 0x21, 0x94, 0x0c, 0x3a, 0x72, 0x6d, 0x22, 0x85, 0xe7, 0xaf, 0x15, 0x2e, 0x46, 0xf8, 0x5a, 0x10, - 0x0f, 0x87, 0x33, 0x17, 0x03, 0xf6, 0xdf, 0x4c, 0x85, 0x96, 0x49, 0x88, 0x80, 0x4b, 0x90, 0xdf, - 0xed, 0x35, 0x6b, 0x83, 0x76, 0xe7, 0xb1, 0x92, 0x42, 0x00, 0x39, 0x6e, 0xea, 0xa6, 0x92, 0x66, - 0x91, 0x7b, 0xa3, 0xbb, 0xd3, 0xdb, 0x6e, 0x71, 0x8f, 0x85, 0x56, 0x41, 0x09, 0x8d, 0xad, 0x71, - 0x43, 0xb6, 0x9a, 0x4a, 0x06, 0xdd, 0x80, 0x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0xd4, 0x54, - 0x42, 0x03, 0x06, 0x77, 0x6a, 0xe5, 0x57, 0x00, 0x74, 0xd7, 0xb5, 0x2d, 0x62, 0x6a, 0x7b, 0x13, - 0x1e, 0xdd, 0x17, 0x70, 0x41, 0x52, 0xea, 0x13, 0x76, 0x5c, 0x42, 0xb6, 0x1e, 0xf0, 0x88, 0xfd, - 0x1a, 0x03, 0x4a, 0x74, 0x2d, 0xa8, 0x2b, 0xb0, 0xe4, 0x8d, 0x1d, 0x66, 0x50, 0x39, 0x3a, 0xf5, - 0x8f, 0xd3, 0xf0, 0x52, 0x87, 0x04, 0xc7, 0xd4, 0x3b, 0xac, 0x05, 0x81, 0x6e, 0x1c, 0x8c, 0x88, - 0x23, 0x97, 0x2f, 0x96, 0x44, 0xa5, 0x2e, 0x24, 0x51, 0x6b, 0xb0, 0xa0, 0xdb, 0x96, 0xee, 0x13, - 0x11, 0xfa, 0x15, 0x70, 0xd8, 0x64, 0xa9, 0x1e, 0x4b, 0x1c, 0x89, 0xef, 0x13, 0x51, 0xe9, 0x61, - 0x03, 0x0f, 0x09, 0xe8, 0xbb, 0x70, 0x53, 0x06, 0x79, 0x7a, 0xd4, 0x15, 0x4b, 0x62, 0xc2, 0xc2, - 0x75, 0x2b, 0x31, 0x93, 0x4d, 0x1e, 0x9c, 0x8c, 0x02, 0xa7, 0xe4, 0xae, 0x1b, 0xc8, 0x98, 0x72, - 0xd5, 0x4c, 0x60, 0x95, 0x1f, 0xc3, 0xad, 0x4b, 0x45, 0xbe, 0x54, 0x25, 0xe9, 0xef, 0xd3, 0x00, - 0xed, 0x5e, 0x6d, 0x47, 0x1a, 0xa9, 0x09, 0xb9, 0x7d, 0x7d, 0x64, 0xd9, 0x93, 0xab, 0x3c, 0xe0, - 0x14, 0x5f, 0xad, 0x09, 0x73, 0x6c, 0x72, 0x19, 0x2c, 0x65, 0x79, 0x1e, 0x3b, 0xde, 0x73, 0x48, - 0x10, 0xe5, 0xb1, 0xbc, 0xc5, 0x86,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 0xbe, 0x3e, - 0xf7, 0x93, 0xcf, 0xd7, 0xe7, 0x3e, 0x3d, 0x5f, 0x4f, 0xfd, 0xe8, 0x7c, 0x3d, 0xf5, 0xb7, 0xe7, - 0xeb, 0xa9, 0x7f, 0x3b, 0x5f, 0x4f, 0xed, 0xe5, 0xf8, 0x75, 0xf3, 0xf0, 0xff, 0x02, 0x00, 0x00, - 0xff, 0xff, 0x6e, 0xf6, 0x47, 0x4c, 0x21, 0x34, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/api/types.proto b/vendor/github.com/docker/swarmkit/api/types.proto index 0eb97c4bbe..bdd1972ca9 100644 --- a/vendor/github.com/docker/swarmkit/api/types.proto +++ b/vendor/github.com/docker/swarmkit/api/types.proto @@ -1115,3 +1115,19 @@ message Privileges { } SELinuxContext selinux_context = 2 [(gogoproto.customname) = "SELinuxContext"]; } + +// JobStatus indicates the status of a Service that is in one of the Job modes. +message JobStatus { + // JobIteration is the count of how many times the Job has been excecuted, + // successfully or otherwise. "Executed" refers to the job as a whole being + // started, not to the individual Tasks being launched. This is used to + // disambiguate which Tasks belong to which iteration of a Job. + Version job_iteration = 1 [(gogoproto.nullable) = false]; + + // LastExecution is the time that the job was last executed. This is set by + // the orchestrator in the same transaction that JobIteration is incremented. + // While time is a fungible concept in distributed systems like Swarmkit, + // this value gives us a best-effort attempt to prevent weird behavior like + // newly added nodes executing long-forgotten jobs. + google.protobuf.Timestamp last_execution = 2; +} diff --git a/vendor/github.com/docker/swarmkit/api/watch.pb.go b/vendor/github.com/docker/swarmkit/api/watch.pb.go index 9d152514cc..c3b7b75c4b 100644 --- a/vendor/github.com/docker/swarmkit/api/watch.pb.go +++ b/vendor/github.com/docker/swarmkit/api/watch.pb.go @@ -3,34 +3,37 @@ package api -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import _ "github.com/gogo/protobuf/gogoproto" -import _ "github.com/docker/swarmkit/protobuf/plugin" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import context "golang.org/x/net/context" -import grpc "google.golang.org/grpc" - -import raftselector "github.com/docker/swarmkit/manager/raftselector" -import codes "google.golang.org/grpc/codes" -import status "google.golang.org/grpc/status" -import metadata "google.golang.org/grpc/metadata" -import peer "google.golang.org/grpc/peer" -import rafttime "time" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + context "context" + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + raftselector "github.com/docker/swarmkit/manager/raftselector" + _ "github.com/docker/swarmkit/protobuf/plugin" + _ "github.com/gogo/protobuf/gogoproto" + proto "github.com/gogo/protobuf/proto" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + metadata "google.golang.org/grpc/metadata" + peer "google.golang.org/grpc/peer" + status "google.golang.org/grpc/status" + io "io" + math "math" + reflect "reflect" + strings "strings" + rafttime "time" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package + // WatchActionKind distinguishes between creations, updates, and removals. It // is structured as a bitmap so multiple kinds of events can be requested with // a mask. @@ -49,6 +52,7 @@ var WatchActionKind_name = map[int32]string{ 2: "WATCH_ACTION_UPDATE", 4: "WATCH_ACTION_REMOVE", } + var WatchActionKind_value = map[string]int32{ "WATCH_ACTION_UNKNOWN": 0, "WATCH_ACTION_CREATE": 1, @@ -59,7 +63,10 @@ var WatchActionKind_value = map[string]int32{ func (x WatchActionKind) String() string { return proto.EnumName(WatchActionKind_name, int32(x)) } -func (WatchActionKind) EnumDescriptor() ([]byte, []int) { return fileDescriptorWatch, []int{0} } + +func (WatchActionKind) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{0} +} type Object struct { // Types that are valid to be assigned to Object: @@ -75,9 +82,37 @@ type Object struct { Object isObject_Object `protobuf_oneof:"Object"` } -func (m *Object) Reset() { *m = Object{} } -func (*Object) ProtoMessage() {} -func (*Object) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{0} } +func (m *Object) Reset() { *m = Object{} } +func (*Object) ProtoMessage() {} +func (*Object) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{0} +} +func (m *Object) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_Object.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *Object) XXX_Merge(src proto.Message) { + xxx_messageInfo_Object.Merge(m, src) +} +func (m *Object) XXX_Size() int { + return m.Size() +} +func (m *Object) XXX_DiscardUnknown() { + xxx_messageInfo_Object.DiscardUnknown(m) +} + +var xxx_messageInfo_Object proto.InternalMessageInfo type isObject_Object interface { isObject_Object() @@ -86,31 +121,31 @@ type isObject_Object interface { } type Object_Node struct { - Node *Node `protobuf:"bytes,1,opt,name=node,oneof"` + Node *Node `protobuf:"bytes,1,opt,name=node,proto3,oneof"` } type Object_Service struct { - Service *Service `protobuf:"bytes,2,opt,name=service,oneof"` + Service *Service `protobuf:"bytes,2,opt,name=service,proto3,oneof"` } type Object_Network struct { - Network *Network `protobuf:"bytes,3,opt,name=network,oneof"` + Network *Network `protobuf:"bytes,3,opt,name=network,proto3,oneof"` } type Object_Task struct { - Task *Task `protobuf:"bytes,4,opt,name=task,oneof"` + Task *Task `protobuf:"bytes,4,opt,name=task,proto3,oneof"` } type Object_Cluster struct { - Cluster *Cluster `protobuf:"bytes,5,opt,name=cluster,oneof"` + Cluster *Cluster `protobuf:"bytes,5,opt,name=cluster,proto3,oneof"` } type Object_Secret struct { - Secret *Secret `protobuf:"bytes,6,opt,name=secret,oneof"` + Secret *Secret `protobuf:"bytes,6,opt,name=secret,proto3,oneof"` } type Object_Resource struct { - Resource *Resource `protobuf:"bytes,7,opt,name=resource,oneof"` + Resource *Resource `protobuf:"bytes,7,opt,name=resource,proto3,oneof"` } type Object_Extension struct { - Extension *Extension `protobuf:"bytes,8,opt,name=extension,oneof"` + Extension *Extension `protobuf:"bytes,8,opt,name=extension,proto3,oneof"` } type Object_Config struct { - Config *Config `protobuf:"bytes,9,opt,name=config,oneof"` + Config *Config `protobuf:"bytes,9,opt,name=config,proto3,oneof"` } func (*Object_Node) isObject_Object() {} @@ -350,47 +385,47 @@ func _Object_OneofSizer(msg proto.Message) (n int) { switch x := m.Object.(type) { case *Object_Node: s := proto.Size(x.Node) - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Service: s := proto.Size(x.Service) - n += proto.SizeVarint(2<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Network: s := proto.Size(x.Network) - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Task: s := proto.Size(x.Task) - n += proto.SizeVarint(4<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Cluster: s := proto.Size(x.Cluster) - n += proto.SizeVarint(5<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Secret: s := proto.Size(x.Secret) - n += proto.SizeVarint(6<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Resource: s := proto.Size(x.Resource) - n += proto.SizeVarint(7<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Extension: s := proto.Size(x.Extension) - n += proto.SizeVarint(8<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *Object_Config: s := proto.Size(x.Config) - n += proto.SizeVarint(9<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case nil: @@ -407,9 +442,37 @@ type SelectBySlot struct { Slot uint64 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"` } -func (m *SelectBySlot) Reset() { *m = SelectBySlot{} } -func (*SelectBySlot) ProtoMessage() {} -func (*SelectBySlot) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{1} } +func (m *SelectBySlot) Reset() { *m = SelectBySlot{} } +func (*SelectBySlot) ProtoMessage() {} +func (*SelectBySlot) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{1} +} +func (m *SelectBySlot) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SelectBySlot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SelectBySlot.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SelectBySlot) XXX_Merge(src proto.Message) { + xxx_messageInfo_SelectBySlot.Merge(m, src) +} +func (m *SelectBySlot) XXX_Size() int { + return m.Size() +} +func (m *SelectBySlot) XXX_DiscardUnknown() { + xxx_messageInfo_SelectBySlot.DiscardUnknown(m) +} + +var xxx_messageInfo_SelectBySlot proto.InternalMessageInfo type SelectByCustom struct { Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"` @@ -417,9 +480,37 @@ type SelectByCustom struct { Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` } -func (m *SelectByCustom) Reset() { *m = SelectByCustom{} } -func (*SelectByCustom) ProtoMessage() {} -func (*SelectByCustom) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{2} } +func (m *SelectByCustom) Reset() { *m = SelectByCustom{} } +func (*SelectByCustom) ProtoMessage() {} +func (*SelectByCustom) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{2} +} +func (m *SelectByCustom) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SelectByCustom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SelectByCustom.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SelectByCustom) XXX_Merge(src proto.Message) { + xxx_messageInfo_SelectByCustom.Merge(m, src) +} +func (m *SelectByCustom) XXX_Size() int { + return m.Size() +} +func (m *SelectByCustom) XXX_DiscardUnknown() { + xxx_messageInfo_SelectByCustom.DiscardUnknown(m) +} + +var xxx_messageInfo_SelectByCustom proto.InternalMessageInfo type SelectBy struct { // TODO(aaronl): Are all of these things we want to expose in @@ -446,9 +537,37 @@ type SelectBy struct { By isSelectBy_By `protobuf_oneof:"By"` } -func (m *SelectBy) Reset() { *m = SelectBy{} } -func (*SelectBy) ProtoMessage() {} -func (*SelectBy) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{3} } +func (m *SelectBy) Reset() { *m = SelectBy{} } +func (*SelectBy) ProtoMessage() {} +func (*SelectBy) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{3} +} +func (m *SelectBy) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *SelectBy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_SelectBy.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *SelectBy) XXX_Merge(src proto.Message) { + xxx_messageInfo_SelectBy.Merge(m, src) +} +func (m *SelectBy) XXX_Size() int { + return m.Size() +} +func (m *SelectBy) XXX_DiscardUnknown() { + xxx_messageInfo_SelectBy.DiscardUnknown(m) +} + +var xxx_messageInfo_SelectBy proto.InternalMessageInfo type isSelectBy_By interface { isSelectBy_By() @@ -469,10 +588,10 @@ type SelectBy_NamePrefix struct { NamePrefix string `protobuf:"bytes,4,opt,name=name_prefix,json=namePrefix,proto3,oneof"` } type SelectBy_Custom struct { - Custom *SelectByCustom `protobuf:"bytes,5,opt,name=custom,oneof"` + Custom *SelectByCustom `protobuf:"bytes,5,opt,name=custom,proto3,oneof"` } type SelectBy_CustomPrefix struct { - CustomPrefix *SelectByCustom `protobuf:"bytes,6,opt,name=custom_prefix,json=customPrefix,oneof"` + CustomPrefix *SelectByCustom `protobuf:"bytes,6,opt,name=custom_prefix,json=customPrefix,proto3,oneof"` } type SelectBy_ServiceID struct { ServiceID string `protobuf:"bytes,7,opt,name=service_id,json=serviceId,proto3,oneof"` @@ -481,7 +600,7 @@ type SelectBy_NodeID struct { NodeID string `protobuf:"bytes,8,opt,name=node_id,json=nodeId,proto3,oneof"` } type SelectBy_Slot struct { - Slot *SelectBySlot `protobuf:"bytes,9,opt,name=slot,oneof"` + Slot *SelectBySlot `protobuf:"bytes,9,opt,name=slot,proto3,oneof"` } type SelectBy_DesiredState struct { DesiredState TaskState `protobuf:"varint,10,opt,name=desired_state,json=desiredState,proto3,enum=docker.swarmkit.v1.TaskState,oneof"` @@ -856,67 +975,67 @@ func _SelectBy_OneofSizer(msg proto.Message) (n int) { // By switch x := m.By.(type) { case *SelectBy_ID: - n += proto.SizeVarint(1<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.ID))) n += len(x.ID) case *SelectBy_IDPrefix: - n += proto.SizeVarint(2<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.IDPrefix))) n += len(x.IDPrefix) case *SelectBy_Name: - n += proto.SizeVarint(3<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.Name))) n += len(x.Name) case *SelectBy_NamePrefix: - n += proto.SizeVarint(4<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.NamePrefix))) n += len(x.NamePrefix) case *SelectBy_Custom: s := proto.Size(x.Custom) - n += proto.SizeVarint(5<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *SelectBy_CustomPrefix: s := proto.Size(x.CustomPrefix) - n += proto.SizeVarint(6<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *SelectBy_ServiceID: - n += proto.SizeVarint(7<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.ServiceID))) n += len(x.ServiceID) case *SelectBy_NodeID: - n += proto.SizeVarint(8<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.NodeID))) n += len(x.NodeID) case *SelectBy_Slot: s := proto.Size(x.Slot) - n += proto.SizeVarint(9<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(s)) n += s case *SelectBy_DesiredState: - n += proto.SizeVarint(10<<3 | proto.WireVarint) + n += 1 // tag and wire n += proto.SizeVarint(uint64(x.DesiredState)) case *SelectBy_Role: - n += proto.SizeVarint(11<<3 | proto.WireVarint) + n += 1 // tag and wire n += proto.SizeVarint(uint64(x.Role)) case *SelectBy_Membership: - n += proto.SizeVarint(12<<3 | proto.WireVarint) + n += 1 // tag and wire n += proto.SizeVarint(uint64(x.Membership)) case *SelectBy_ReferencedNetworkID: - n += proto.SizeVarint(13<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.ReferencedNetworkID))) n += len(x.ReferencedNetworkID) case *SelectBy_ReferencedSecretID: - n += proto.SizeVarint(14<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.ReferencedSecretID))) n += len(x.ReferencedSecretID) case *SelectBy_ReferencedConfigID: - n += proto.SizeVarint(16<<3 | proto.WireBytes) + n += 2 // tag and wire n += proto.SizeVarint(uint64(len(x.ReferencedConfigID))) n += len(x.ReferencedConfigID) case *SelectBy_Kind: - n += proto.SizeVarint(15<<3 | proto.WireBytes) + n += 1 // tag and wire n += proto.SizeVarint(uint64(len(x.Kind))) n += len(x.Kind) case nil: @@ -930,13 +1049,13 @@ type WatchRequest struct { // Multiple entries are combined using OR logic - i.e. if an event // matches all of the selectors specified in any single watch entry, // the event will be sent to the client. - Entries []*WatchRequest_WatchEntry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"` + Entries []*WatchRequest_WatchEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // ResumeFrom provides an version to resume the watch from, if non-nil. // The watch will return changes since this version, and continue to // return new changes afterwards. Watch will return an error if the // server has compacted its log and no longer has complete history to // this point. - ResumeFrom *Version `protobuf:"bytes,2,opt,name=resume_from,json=resumeFrom" json:"resume_from,omitempty"` + ResumeFrom *Version `protobuf:"bytes,2,opt,name=resume_from,json=resumeFrom,proto3" json:"resume_from,omitempty"` // IncludeOldObject causes WatchMessages to include a copy of the // previous version of the object on updates. Note that only live // changes will include the old object (not historical changes @@ -944,9 +1063,37 @@ type WatchRequest struct { IncludeOldObject bool `protobuf:"varint,3,opt,name=include_old_object,json=includeOldObject,proto3" json:"include_old_object,omitempty"` } -func (m *WatchRequest) Reset() { *m = WatchRequest{} } -func (*WatchRequest) ProtoMessage() {} -func (*WatchRequest) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{4} } +func (m *WatchRequest) Reset() { *m = WatchRequest{} } +func (*WatchRequest) ProtoMessage() {} +func (*WatchRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{4} +} +func (m *WatchRequest) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchRequest.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WatchRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchRequest.Merge(m, src) +} +func (m *WatchRequest) XXX_Size() int { + return m.Size() +} +func (m *WatchRequest) XXX_DiscardUnknown() { + xxx_messageInfo_WatchRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchRequest proto.InternalMessageInfo type WatchRequest_WatchEntry struct { // Kind can contain a builtin type such as "node", "secret", etc. or @@ -957,26 +1104,82 @@ type WatchRequest_WatchEntry struct { Action WatchActionKind `protobuf:"varint,2,opt,name=action,proto3,enum=docker.swarmkit.v1.WatchActionKind" json:"action,omitempty"` // Filters are combined using AND logic - an event must match // all of them to pass the filter. - Filters []*SelectBy `protobuf:"bytes,3,rep,name=filters" json:"filters,omitempty"` + Filters []*SelectBy `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"` } -func (m *WatchRequest_WatchEntry) Reset() { *m = WatchRequest_WatchEntry{} } -func (*WatchRequest_WatchEntry) ProtoMessage() {} -func (*WatchRequest_WatchEntry) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{4, 0} } +func (m *WatchRequest_WatchEntry) Reset() { *m = WatchRequest_WatchEntry{} } +func (*WatchRequest_WatchEntry) ProtoMessage() {} +func (*WatchRequest_WatchEntry) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{4, 0} +} +func (m *WatchRequest_WatchEntry) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchRequest_WatchEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchRequest_WatchEntry.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WatchRequest_WatchEntry) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchRequest_WatchEntry.Merge(m, src) +} +func (m *WatchRequest_WatchEntry) XXX_Size() int { + return m.Size() +} +func (m *WatchRequest_WatchEntry) XXX_DiscardUnknown() { + xxx_messageInfo_WatchRequest_WatchEntry.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchRequest_WatchEntry proto.InternalMessageInfo // WatchMessage is the type of the stream that's returned to the client by // Watch. Note that the first item of this stream will always be a WatchMessage // with a nil Object, to signal that the stream has started. type WatchMessage struct { - Events []*WatchMessage_Event `protobuf:"bytes,1,rep,name=events" json:"events,omitempty"` + Events []*WatchMessage_Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // Index versions this change to the data store. It can be used to // resume the watch from this point. - Version *Version `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"` + Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` } -func (m *WatchMessage) Reset() { *m = WatchMessage{} } -func (*WatchMessage) ProtoMessage() {} -func (*WatchMessage) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{5} } +func (m *WatchMessage) Reset() { *m = WatchMessage{} } +func (*WatchMessage) ProtoMessage() {} +func (*WatchMessage) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{5} +} +func (m *WatchMessage) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchMessage.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WatchMessage) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchMessage.Merge(m, src) +} +func (m *WatchMessage) XXX_Size() int { + return m.Size() +} +func (m *WatchMessage) XXX_DiscardUnknown() { + xxx_messageInfo_WatchMessage.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchMessage proto.InternalMessageInfo type WatchMessage_Event struct { // Action (create/update/delete) @@ -984,18 +1187,47 @@ type WatchMessage_Event struct { // mark transaction boundaries. Action WatchActionKind `protobuf:"varint,1,opt,name=action,proto3,enum=docker.swarmkit.v1.WatchActionKind" json:"action,omitempty"` // Matched object - Object *Object `protobuf:"bytes,2,opt,name=object" json:"object,omitempty"` + Object *Object `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // For updates, OldObject will optionally be included in the // watch message, containing the previous version of the // object, if IncludeOldObject was set in WatchRequest. - OldObject *Object `protobuf:"bytes,3,opt,name=old_object,json=oldObject" json:"old_object,omitempty"` + OldObject *Object `protobuf:"bytes,3,opt,name=old_object,json=oldObject,proto3" json:"old_object,omitempty"` } -func (m *WatchMessage_Event) Reset() { *m = WatchMessage_Event{} } -func (*WatchMessage_Event) ProtoMessage() {} -func (*WatchMessage_Event) Descriptor() ([]byte, []int) { return fileDescriptorWatch, []int{5, 0} } +func (m *WatchMessage_Event) Reset() { *m = WatchMessage_Event{} } +func (*WatchMessage_Event) ProtoMessage() {} +func (*WatchMessage_Event) Descriptor() ([]byte, []int) { + return fileDescriptor_da25266013800cd9, []int{5, 0} +} +func (m *WatchMessage_Event) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchMessage_Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchMessage_Event.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WatchMessage_Event) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchMessage_Event.Merge(m, src) +} +func (m *WatchMessage_Event) XXX_Size() int { + return m.Size() +} +func (m *WatchMessage_Event) XXX_DiscardUnknown() { + xxx_messageInfo_WatchMessage_Event.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchMessage_Event proto.InternalMessageInfo func init() { + proto.RegisterEnum("docker.swarmkit.v1.WatchActionKind", WatchActionKind_name, WatchActionKind_value) proto.RegisterType((*Object)(nil), "docker.swarmkit.v1.Object") proto.RegisterType((*SelectBySlot)(nil), "docker.swarmkit.v1.SelectBySlot") proto.RegisterType((*SelectByCustom)(nil), "docker.swarmkit.v1.SelectByCustom") @@ -1004,7 +1236,89 @@ func init() { proto.RegisterType((*WatchRequest_WatchEntry)(nil), "docker.swarmkit.v1.WatchRequest.WatchEntry") proto.RegisterType((*WatchMessage)(nil), "docker.swarmkit.v1.WatchMessage") proto.RegisterType((*WatchMessage_Event)(nil), "docker.swarmkit.v1.WatchMessage.Event") - proto.RegisterEnum("docker.swarmkit.v1.WatchActionKind", WatchActionKind_name, WatchActionKind_value) +} + +func init() { + proto.RegisterFile("github.com/docker/swarmkit/api/watch.proto", fileDescriptor_da25266013800cd9) +} + +var fileDescriptor_da25266013800cd9 = []byte{ + // 1199 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0xbd, 0x73, 0x1b, 0xc5, + 0x1b, 0xc7, 0xef, 0x14, 0xf9, 0x24, 0x3d, 0xb6, 0x13, 0xcf, 0xc6, 0x49, 0xee, 0xa7, 0x5f, 0x90, + 0x85, 0x78, 0xcb, 0x24, 0x41, 0x06, 0x13, 0x92, 0x01, 0x02, 0x33, 0x96, 0x2c, 0x46, 0x22, 0xe3, + 0x97, 0x59, 0xdb, 0x49, 0xa9, 0x39, 0xdf, 0x3d, 0x56, 0x0e, 0xdf, 0xdd, 0x8a, 0xbd, 0x93, 0x1d, + 0x77, 0x14, 0x14, 0x4c, 0x2a, 0x1a, 0x66, 0x68, 0x52, 0x41, 0x4d, 0x43, 0x07, 0xff, 0x40, 0x86, + 0x2a, 0x65, 0x68, 0x3c, 0x44, 0xe9, 0x28, 0xf8, 0x0b, 0x28, 0x98, 0x7d, 0x39, 0xdb, 0x51, 0x4e, + 0x36, 0xa9, 0xb4, 0xb7, 0xf7, 0xf9, 0x3e, 0xfb, 0xec, 0xf3, 0x76, 0x82, 0xab, 0x3d, 0x3f, 0xb9, + 0x3f, 0xd8, 0xaa, 0xbb, 0x2c, 0x9c, 0xf7, 0x98, 0xbb, 0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72, 0xf9, 0xe1, 0xa3, 0xea, 0xc5, 0x11, 0x7c, 0x33, 0xda, + 0x89, 0xd8, 0x9e, 0x70, 0xfc, 0xfc, 0x0b, 0xaa, 0x26, 0x6d, 0x2d, 0x6e, 0xb4, 0x66, 0xcc, 0xf2, + 0xff, 0x1e, 0x3e, 0xaa, 0x5e, 0x18, 0x11, 0x35, 0x39, 0xaa, 0xc9, 0xf4, 0xa2, 0x66, 0x73, 0x6d, + 0x49, 0x68, 0x72, 0x99, 0x9a, 0xcd, 0xbe, 0x97, 0xa5, 0xa1, 0xad, 0xe5, 0xd5, 0xbb, 0xad, 0x99, + 0x7c, 0xa6, 0x86, 0x62, 0xc8, 0x76, 0xb1, 0x7c, 0xe9, 0xdb, 0x1f, 0x2b, 0xc6, 0xaf, 0x3f, 0x55, + 0x46, 0xaf, 0xba, 0x10, 0xc2, 0x84, 0xdc, 0x22, 0x5e, 0xba, 0xa8, 0x9e, 0xd6, 0x88, 0xe5, 0xea, + 0x69, 0xf5, 0x54, 0xbb, 0xf0, 0xfb, 0xcf, 0x7f, 0xff, 0x90, 0x3b, 0x07, 0xd3, 0x92, 0x78, 0x37, + 0x74, 0x22, 0xa7, 0x87, 0xfc, 0x3d, 0xb3, 0xf1, 0xe6, 0xe3, 0x67, 0x15, 0xe3, 0xe9, 0xb3, 0x8a, + 0xf1, 0xf5, 0xb0, 0x62, 0x3e, 0x1e, 0x56, 0xcc, 0x27, 0xc3, 0x8a, 0xf9, 0xe7, 0xb0, 0x62, 0x7e, + 0xf7, 0xbc, 0x62, 0x3c, 0x79, 0x5e, 0x31, 0x9e, 0x3e, 0xaf, 0x18, 0x5b, 0x96, 0xfc, 0x33, 0xf9, + 0xc1, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x96, 0x4e, 0x58, 0x61, 0x63, 0x0b, 0x00, 0x00, } type authenticatedWrapperWatchServer struct { @@ -1046,55 +1360,55 @@ func (m *Object) CopyFrom(src interface{}) { v := Object_Node{ Node: &Node{}, } - deepcopy.Copy(v.Node, o.GetNode()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Node, o.GetNode()) m.Object = &v case *Object_Service: v := Object_Service{ Service: &Service{}, } - deepcopy.Copy(v.Service, o.GetService()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Service, o.GetService()) m.Object = &v case *Object_Network: v := Object_Network{ Network: &Network{}, } - deepcopy.Copy(v.Network, o.GetNetwork()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Network, o.GetNetwork()) m.Object = &v case *Object_Task: v := Object_Task{ Task: &Task{}, } - deepcopy.Copy(v.Task, o.GetTask()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Task, o.GetTask()) m.Object = &v case *Object_Cluster: v := Object_Cluster{ Cluster: &Cluster{}, } - deepcopy.Copy(v.Cluster, o.GetCluster()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Cluster, o.GetCluster()) m.Object = &v case *Object_Secret: v := Object_Secret{ Secret: &Secret{}, } - deepcopy.Copy(v.Secret, o.GetSecret()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Secret, o.GetSecret()) m.Object = &v case *Object_Resource: v := Object_Resource{ Resource: &Resource{}, } - deepcopy.Copy(v.Resource, o.GetResource()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Resource, o.GetResource()) m.Object = &v case *Object_Extension: v := Object_Extension{ Extension: &Extension{}, } - deepcopy.Copy(v.Extension, o.GetExtension()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Extension, o.GetExtension()) m.Object = &v case *Object_Config: v := Object_Config{ Config: &Config{}, } - deepcopy.Copy(v.Config, o.GetConfig()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Config, o.GetConfig()) m.Object = &v } } @@ -1170,13 +1484,13 @@ func (m *SelectBy) CopyFrom(src interface{}) { v := SelectBy_Custom{ Custom: &SelectByCustom{}, } - deepcopy.Copy(v.Custom, o.GetCustom()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Custom, o.GetCustom()) m.By = &v case *SelectBy_CustomPrefix: v := SelectBy_CustomPrefix{ CustomPrefix: &SelectByCustom{}, } - deepcopy.Copy(v.CustomPrefix, o.GetCustomPrefix()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.CustomPrefix, o.GetCustomPrefix()) m.By = &v case *SelectBy_ServiceID: v := SelectBy_ServiceID{ @@ -1192,7 +1506,7 @@ func (m *SelectBy) CopyFrom(src interface{}) { v := SelectBy_Slot{ Slot: &SelectBySlot{}, } - deepcopy.Copy(v.Slot, o.GetSlot()) + github_com_docker_swarmkit_api_deepcopy.Copy(v.Slot, o.GetSlot()) m.By = &v case *SelectBy_DesiredState: v := SelectBy_DesiredState{ @@ -1251,13 +1565,13 @@ func (m *WatchRequest) CopyFrom(src interface{}) { m.Entries = make([]*WatchRequest_WatchEntry, len(o.Entries)) for i := range m.Entries { m.Entries[i] = &WatchRequest_WatchEntry{} - deepcopy.Copy(m.Entries[i], o.Entries[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Entries[i], o.Entries[i]) } } if o.ResumeFrom != nil { m.ResumeFrom = &Version{} - deepcopy.Copy(m.ResumeFrom, o.ResumeFrom) + github_com_docker_swarmkit_api_deepcopy.Copy(m.ResumeFrom, o.ResumeFrom) } } @@ -1278,7 +1592,7 @@ func (m *WatchRequest_WatchEntry) CopyFrom(src interface{}) { m.Filters = make([]*SelectBy, len(o.Filters)) for i := range m.Filters { m.Filters[i] = &SelectBy{} - deepcopy.Copy(m.Filters[i], o.Filters[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Filters[i], o.Filters[i]) } } @@ -1301,13 +1615,13 @@ func (m *WatchMessage) CopyFrom(src interface{}) { m.Events = make([]*WatchMessage_Event, len(o.Events)) for i := range m.Events { m.Events[i] = &WatchMessage_Event{} - deepcopy.Copy(m.Events[i], o.Events[i]) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Events[i], o.Events[i]) } } if o.Version != nil { m.Version = &Version{} - deepcopy.Copy(m.Version, o.Version) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Version, o.Version) } } @@ -1326,11 +1640,11 @@ func (m *WatchMessage_Event) CopyFrom(src interface{}) { *m = *o if o.Object != nil { m.Object = &Object{} - deepcopy.Copy(m.Object, o.Object) + github_com_docker_swarmkit_api_deepcopy.Copy(m.Object, o.Object) } if o.OldObject != nil { m.OldObject = &Object{} - deepcopy.Copy(m.OldObject, o.OldObject) + github_com_docker_swarmkit_api_deepcopy.Copy(m.OldObject, o.OldObject) } } @@ -1342,8 +1656,9 @@ var _ grpc.ClientConn // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion4 -// Client API for Watch service - +// WatchClient is the client API for Watch service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type WatchClient interface { // Watch starts a stream that returns any changes to objects that match // the specified selectors. When the stream begins, it immediately sends @@ -1362,7 +1677,7 @@ func NewWatchClient(cc *grpc.ClientConn) WatchClient { } func (c *watchClient) Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (Watch_WatchClient, error) { - stream, err := grpc.NewClientStream(ctx, &_Watch_serviceDesc.Streams[0], c.cc, "/docker.swarmkit.v1.Watch/Watch", opts...) + stream, err := c.cc.NewStream(ctx, &_Watch_serviceDesc.Streams[0], "/docker.swarmkit.v1.Watch/Watch", opts...) if err != nil { return nil, err } @@ -1393,8 +1708,7 @@ func (x *watchWatchClient) Recv() (*WatchMessage, error) { return m, nil } -// Server API for Watch service - +// WatchServer is the server API for Watch service. type WatchServer interface { // Watch starts a stream that returns any changes to objects that match // the specified selectors. When the stream begins, it immediately sends @@ -2137,6 +2451,9 @@ func (p *raftProxyWatchServer) Watch(r *WatchRequest, stream Watch_WatchServer) } func (m *Object) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Object != nil { @@ -2146,6 +2463,9 @@ func (m *Object) Size() (n int) { } func (m *Object_Node) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Node != nil { @@ -2155,6 +2475,9 @@ func (m *Object_Node) Size() (n int) { return n } func (m *Object_Service) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Service != nil { @@ -2164,6 +2487,9 @@ func (m *Object_Service) Size() (n int) { return n } func (m *Object_Network) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Network != nil { @@ -2173,6 +2499,9 @@ func (m *Object_Network) Size() (n int) { return n } func (m *Object_Task) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Task != nil { @@ -2182,6 +2511,9 @@ func (m *Object_Task) Size() (n int) { return n } func (m *Object_Cluster) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Cluster != nil { @@ -2191,6 +2523,9 @@ func (m *Object_Cluster) Size() (n int) { return n } func (m *Object_Secret) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Secret != nil { @@ -2200,6 +2535,9 @@ func (m *Object_Secret) Size() (n int) { return n } func (m *Object_Resource) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Resource != nil { @@ -2209,6 +2547,9 @@ func (m *Object_Resource) Size() (n int) { return n } func (m *Object_Extension) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Extension != nil { @@ -2218,6 +2559,9 @@ func (m *Object_Extension) Size() (n int) { return n } func (m *Object_Config) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Config != nil { @@ -2227,6 +2571,9 @@ func (m *Object_Config) Size() (n int) { return n } func (m *SelectBySlot) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -2240,6 +2587,9 @@ func (m *SelectBySlot) Size() (n int) { } func (m *SelectByCustom) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Kind) @@ -2258,6 +2608,9 @@ func (m *SelectByCustom) Size() (n int) { } func (m *SelectBy) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.By != nil { @@ -2267,6 +2620,9 @@ func (m *SelectBy) Size() (n int) { } func (m *SelectBy_ID) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ID) @@ -2274,6 +2630,9 @@ func (m *SelectBy_ID) Size() (n int) { return n } func (m *SelectBy_IDPrefix) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.IDPrefix) @@ -2281,6 +2640,9 @@ func (m *SelectBy_IDPrefix) Size() (n int) { return n } func (m *SelectBy_Name) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Name) @@ -2288,6 +2650,9 @@ func (m *SelectBy_Name) Size() (n int) { return n } func (m *SelectBy_NamePrefix) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NamePrefix) @@ -2295,6 +2660,9 @@ func (m *SelectBy_NamePrefix) Size() (n int) { return n } func (m *SelectBy_Custom) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Custom != nil { @@ -2304,6 +2672,9 @@ func (m *SelectBy_Custom) Size() (n int) { return n } func (m *SelectBy_CustomPrefix) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.CustomPrefix != nil { @@ -2313,6 +2684,9 @@ func (m *SelectBy_CustomPrefix) Size() (n int) { return n } func (m *SelectBy_ServiceID) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ServiceID) @@ -2320,6 +2694,9 @@ func (m *SelectBy_ServiceID) Size() (n int) { return n } func (m *SelectBy_NodeID) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.NodeID) @@ -2327,6 +2704,9 @@ func (m *SelectBy_NodeID) Size() (n int) { return n } func (m *SelectBy_Slot) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Slot != nil { @@ -2336,24 +2716,36 @@ func (m *SelectBy_Slot) Size() (n int) { return n } func (m *SelectBy_DesiredState) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l n += 1 + sovWatch(uint64(m.DesiredState)) return n } func (m *SelectBy_Role) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l n += 1 + sovWatch(uint64(m.Role)) return n } func (m *SelectBy_Membership) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l n += 1 + sovWatch(uint64(m.Membership)) return n } func (m *SelectBy_ReferencedNetworkID) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ReferencedNetworkID) @@ -2361,6 +2753,9 @@ func (m *SelectBy_ReferencedNetworkID) Size() (n int) { return n } func (m *SelectBy_ReferencedSecretID) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ReferencedSecretID) @@ -2368,6 +2763,9 @@ func (m *SelectBy_ReferencedSecretID) Size() (n int) { return n } func (m *SelectBy_Kind) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Kind) @@ -2375,6 +2773,9 @@ func (m *SelectBy_Kind) Size() (n int) { return n } func (m *SelectBy_ReferencedConfigID) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.ReferencedConfigID) @@ -2382,6 +2783,9 @@ func (m *SelectBy_ReferencedConfigID) Size() (n int) { return n } func (m *WatchRequest) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Entries) > 0 { @@ -2401,6 +2805,9 @@ func (m *WatchRequest) Size() (n int) { } func (m *WatchRequest_WatchEntry) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l l = len(m.Kind) @@ -2420,6 +2827,9 @@ func (m *WatchRequest_WatchEntry) Size() (n int) { } func (m *WatchMessage) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Events) > 0 { @@ -2436,6 +2846,9 @@ func (m *WatchMessage) Size() (n int) { } func (m *WatchMessage_Event) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.Action != 0 { @@ -2828,7 +3241,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -2856,7 +3269,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2865,6 +3278,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2888,7 +3304,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2897,6 +3313,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2920,7 +3339,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2929,6 +3348,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2952,7 +3374,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2961,6 +3383,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -2984,7 +3409,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -2993,6 +3418,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3016,7 +3444,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3025,6 +3453,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3048,7 +3479,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3057,6 +3488,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3080,7 +3514,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3089,6 +3523,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3112,7 +3549,7 @@ func (m *Object) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3121,6 +3558,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3139,6 +3579,9 @@ func (m *Object) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3166,7 +3609,7 @@ func (m *SelectBySlot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3194,7 +3637,7 @@ func (m *SelectBySlot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3204,6 +3647,9 @@ func (m *SelectBySlot) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3223,7 +3669,7 @@ func (m *SelectBySlot) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Slot |= (uint64(b) & 0x7F) << shift + m.Slot |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3237,6 +3683,9 @@ func (m *SelectBySlot) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3264,7 +3713,7 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3292,7 +3741,7 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3302,6 +3751,9 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3321,7 +3773,7 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3331,6 +3783,9 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3350,7 +3805,7 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3360,6 +3815,9 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3374,6 +3832,9 @@ func (m *SelectByCustom) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3401,7 +3862,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3429,7 +3890,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3439,6 +3900,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3458,7 +3922,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3468,6 +3932,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3487,7 +3954,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3497,6 +3964,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3516,7 +3986,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3526,6 +3996,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3545,7 +4018,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3554,6 +4027,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3577,7 +4053,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3586,6 +4062,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3609,7 +4088,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3619,6 +4098,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3638,7 +4120,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3648,6 +4130,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3667,7 +4152,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3676,6 +4161,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3699,7 +4187,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (TaskState(b) & 0x7F) << shift + v |= TaskState(b&0x7F) << shift if b < 0x80 { break } @@ -3719,7 +4207,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (NodeRole(b) & 0x7F) << shift + v |= NodeRole(b&0x7F) << shift if b < 0x80 { break } @@ -3739,7 +4227,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (NodeSpec_Membership(b) & 0x7F) << shift + v |= NodeSpec_Membership(b&0x7F) << shift if b < 0x80 { break } @@ -3759,7 +4247,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3769,6 +4257,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3788,7 +4279,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3798,6 +4289,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3817,7 +4311,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3827,6 +4321,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3846,7 +4343,7 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3856,6 +4353,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3870,6 +4370,9 @@ func (m *SelectBy) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -3897,7 +4400,7 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -3925,7 +4428,7 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3934,6 +4437,9 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3956,7 +4462,7 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -3965,6 +4471,9 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -3989,7 +4498,7 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4004,6 +4513,9 @@ func (m *WatchRequest) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4031,7 +4543,7 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4059,7 +4571,7 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4069,6 +4581,9 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4088,7 +4603,7 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Action |= (WatchActionKind(b) & 0x7F) << shift + m.Action |= WatchActionKind(b&0x7F) << shift if b < 0x80 { break } @@ -4107,7 +4622,7 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4116,6 +4631,9 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4133,6 +4651,9 @@ func (m *WatchRequest_WatchEntry) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4160,7 +4681,7 @@ func (m *WatchMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4188,7 +4709,7 @@ func (m *WatchMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4197,6 +4718,9 @@ func (m *WatchMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4219,7 +4743,7 @@ func (m *WatchMessage) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4228,6 +4752,9 @@ func (m *WatchMessage) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4247,6 +4774,9 @@ func (m *WatchMessage) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4274,7 +4804,7 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -4302,7 +4832,7 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - m.Action |= (WatchActionKind(b) & 0x7F) << shift + m.Action |= WatchActionKind(b&0x7F) << shift if b < 0x80 { break } @@ -4321,7 +4851,7 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4330,6 +4860,9 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4354,7 +4887,7 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -4363,6 +4896,9 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { return ErrInvalidLengthWatch } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthWatch + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -4382,6 +4918,9 @@ func (m *WatchMessage_Event) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthWatch } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthWatch + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } @@ -4448,10 +4987,13 @@ func skipWatch(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthWatch } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthWatch + } return iNdEx, nil case 3: for { @@ -4480,6 +5022,9 @@ func skipWatch(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthWatch + } } return iNdEx, nil case 4: @@ -4498,84 +5043,3 @@ var ( ErrInvalidLengthWatch = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowWatch = fmt.Errorf("proto: integer overflow") ) - -func init() { proto.RegisterFile("github.com/docker/swarmkit/api/watch.proto", fileDescriptorWatch) } - -var fileDescriptorWatch = []byte{ - // 1186 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x96, 0xbd, 0x73, 0x1b, 0xc5, - 0x1b, 0xc7, 0x75, 0x8a, 0x7c, 0x92, 0x1e, 0xdb, 0x89, 0x67, 0xe3, 0x24, 0xf7, 0xd3, 0x2f, 0xc8, - 0x42, 0x0c, 0x90, 0x49, 0x82, 0x0c, 0x26, 0x24, 0x03, 0x04, 0x66, 0x2c, 0x59, 0x8c, 0x44, 0xc6, - 0x2f, 0xb3, 0xb6, 0x93, 0x52, 0x73, 0xbe, 0x7b, 0xac, 0x1c, 0xba, 0xbb, 0x15, 0x7b, 0x27, 0x39, - 0xee, 0x28, 0x28, 0x98, 0xf4, 0xcc, 0xd0, 0xa4, 0x82, 0x9a, 0x86, 0x0e, 0xfe, 0x81, 0x0c, 0x15, - 0x25, 0x34, 0x1a, 0xa2, 0x92, 0x82, 0xbf, 0x80, 0x82, 0xd9, 0x97, 0xf3, 0x8b, 0x72, 0xb2, 0x49, - 0xa5, 0xbd, 0xbd, 0xcf, 0xf7, 0xd9, 0x67, 0x9f, 0xb7, 0x13, 0xdc, 0xec, 0x7a, 0xf1, 0xe3, 0xc1, - 0x5e, 0xcd, 0x61, 0xc1, 0xb2, 0xcb, 0x9c, 0x1e, 0xf2, 0xe5, 0xe8, 0xc0, 0xe6, 0x41, 0xcf, 0x8b, - 0x97, 0xed, 0xbe, 0xb7, 0x7c, 0x60, 0xc7, 0xce, 0xe3, 0x5a, 0x9f, 0xb3, 0x98, 0x11, 0xa2, 0x80, - 0x5a, 0x02, 0xd4, 0x86, 0xef, 0x95, 0xce, 0xd3, 0x47, 0x7d, 0x74, 0x22, 0xa5, 0x2f, 0xdd, 0x3e, - 0x87, 0x65, 0x7b, 0x5f, 0xa0, 0x13, 0x27, 0xf4, 0x79, 0x96, 0xe3, 0xc3, 0x3e, 0x26, 0xec, 0x62, - 0x97, 0x75, 0x99, 0x5c, 0x2e, 0x8b, 0x95, 0xde, 0xbd, 0x77, 0x86, 0x05, 0x49, 0xec, 0x0d, 0xf6, - 0x97, 0xfb, 0xfe, 0xa0, 0xeb, 0x85, 0xfa, 0x47, 0x09, 0xab, 0x5f, 0xe7, 0xc0, 0xdc, 0x94, 0xce, - 0x90, 0x1a, 0xe4, 0x42, 0xe6, 0xa2, 0x65, 0x54, 0x8c, 0x1b, 0xb3, 0x2b, 0x56, 0xed, 0xe5, 0x10, - 0xd4, 0x36, 0x98, 0x8b, 0xad, 0x0c, 0x95, 0x1c, 0xb9, 0x07, 0xf9, 0x08, 0xf9, 0xd0, 0x73, 0xd0, - 0xca, 0x4a, 0xc9, 0xff, 0xd3, 0x24, 0xdb, 0x0a, 0x69, 0x65, 0x68, 0x42, 0x0b, 0x61, 0x88, 0xf1, - 0x01, 0xe3, 0x3d, 0xeb, 0xc2, 0x74, 0xe1, 0x86, 0x42, 0x84, 0x50, 0xd3, 0xc2, 0xc3, 0xd8, 0x8e, - 0x7a, 0x56, 0x6e, 0xba, 0x87, 0x3b, 0x76, 0x24, 0x24, 0x92, 0x13, 0x07, 0x39, 0xfe, 0x20, 0x8a, - 0x91, 0x5b, 0x33, 0xd3, 0x0f, 0x6a, 0x28, 0x44, 0x1c, 0xa4, 0x69, 0x72, 0x07, 0xcc, 0x08, 0x1d, - 0x8e, 0xb1, 0x65, 0x4a, 0x5d, 0x29, 0xfd, 0x66, 0x82, 0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 0x29, 0x55, 0x83, 0x36, 0x57, 0x77, 0x9a, 0x0b, 0x46, 0xe9, 0x7f, - 0x4f, 0x9f, 0x55, 0xae, 0x4c, 0x88, 0x1a, 0x1c, 0xd5, 0x64, 0x3a, 0xad, 0xd9, 0xdd, 0x5a, 0x13, - 0x9a, 0x6c, 0xaa, 0x66, 0xb7, 0xef, 0xa6, 0x69, 0x68, 0x73, 0x7d, 0xf3, 0x61, 0x73, 0x21, 0x97, - 0xaa, 0xa1, 0x18, 0xb0, 0x21, 0x96, 0xae, 0x7d, 0xf3, 0x7d, 0x39, 0xf3, 0xf3, 0x0f, 0xe5, 0xc9, - 0xab, 0xae, 0x04, 0x30, 0x23, 0xb7, 0x88, 0x9b, 0x2c, 0x2a, 0xe7, 0x35, 0x62, 0xa9, 0x72, 0x5e, - 0x3d, 0x55, 0xaf, 0xfc, 0xfa, 0xe3, 0xdf, 0xdf, 0x65, 0x2f, 0xc1, 0xbc, 0x24, 0xde, 0x09, 0xec, - 0xd0, 0xee, 0x22, 0x7f, 0xd7, 0xa8, 0x5b, 0xcf, 0x5f, 0x94, 0x33, 0xbf, 0xbf, 0x28, 0x67, 0xbe, - 0x1a, 0x97, 0x8d, 0xe7, 0xe3, 0xb2, 0xf1, 0xdb, 0xb8, 0x6c, 0xfc, 0x39, 0x2e, 0x1b, 0x7b, 0xa6, - 0xfc, 0x03, 0xf9, 0xfe, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xe6, 0x76, 0x89, 0xef, 0x57, 0x0b, - 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/protobuf/plugin/plugin.pb.go b/vendor/github.com/docker/swarmkit/protobuf/plugin/plugin.pb.go index 0d08eb6eb3..5923859722 100644 --- a/vendor/github.com/docker/swarmkit/protobuf/plugin/plugin.pb.go +++ b/vendor/github.com/docker/swarmkit/protobuf/plugin/plugin.pb.go @@ -1,30 +1,19 @@ // Code generated by protoc-gen-gogo. DO NOT EDIT. // source: github.com/docker/swarmkit/protobuf/plugin/plugin.proto -/* - Package plugin is a generated protocol buffer package. - - It is generated from these files: - github.com/docker/swarmkit/protobuf/plugin/plugin.proto - - It has these top-level messages: - WatchSelectors - StoreObject - TLSAuthorization -*/ package plugin -import proto "github.com/gogo/protobuf/proto" -import fmt "fmt" -import math "math" -import google_protobuf "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" - -import deepcopy "github.com/docker/swarmkit/api/deepcopy" - -import strings "strings" -import reflect "reflect" - -import io "io" +import ( + fmt "fmt" + github_com_docker_swarmkit_api_deepcopy "github.com/docker/swarmkit/api/deepcopy" + github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto" + proto "github.com/gogo/protobuf/proto" + descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" + io "io" + math "math" + reflect "reflect" + strings "strings" +) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal @@ -54,22 +43,76 @@ type WatchSelectors struct { Role *bool `protobuf:"varint,11,opt,name=role" json:"role,omitempty"` Membership *bool `protobuf:"varint,12,opt,name=membership" json:"membership,omitempty"` // supported by: resource - Kind *bool `protobuf:"varint,13,opt,name=kind" json:"kind,omitempty"` - XXX_unrecognized []byte `json:"-"` + Kind *bool `protobuf:"varint,13,opt,name=kind" json:"kind,omitempty"` } -func (m *WatchSelectors) Reset() { *m = WatchSelectors{} } -func (*WatchSelectors) ProtoMessage() {} -func (*WatchSelectors) Descriptor() ([]byte, []int) { return fileDescriptorPlugin, []int{0} } +func (m *WatchSelectors) Reset() { *m = WatchSelectors{} } +func (*WatchSelectors) ProtoMessage() {} +func (*WatchSelectors) Descriptor() ([]byte, []int) { + return fileDescriptor_3708583e03e1c1e3, []int{0} +} +func (m *WatchSelectors) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *WatchSelectors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_WatchSelectors.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *WatchSelectors) XXX_Merge(src proto.Message) { + xxx_messageInfo_WatchSelectors.Merge(m, src) +} +func (m *WatchSelectors) XXX_Size() int { + return m.Size() +} +func (m *WatchSelectors) XXX_DiscardUnknown() { + xxx_messageInfo_WatchSelectors.DiscardUnknown(m) +} + +var xxx_messageInfo_WatchSelectors proto.InternalMessageInfo type StoreObject struct { - WatchSelectors *WatchSelectors `protobuf:"bytes,1,req,name=watch_selectors,json=watchSelectors" json:"watch_selectors,omitempty"` - XXX_unrecognized []byte `json:"-"` + WatchSelectors *WatchSelectors `protobuf:"bytes,1,req,name=watch_selectors,json=watchSelectors" json:"watch_selectors,omitempty"` } -func (m *StoreObject) Reset() { *m = StoreObject{} } -func (*StoreObject) ProtoMessage() {} -func (*StoreObject) Descriptor() ([]byte, []int) { return fileDescriptorPlugin, []int{1} } +func (m *StoreObject) Reset() { *m = StoreObject{} } +func (*StoreObject) ProtoMessage() {} +func (*StoreObject) Descriptor() ([]byte, []int) { + return fileDescriptor_3708583e03e1c1e3, []int{1} +} +func (m *StoreObject) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *StoreObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_StoreObject.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *StoreObject) XXX_Merge(src proto.Message) { + xxx_messageInfo_StoreObject.Merge(m, src) +} +func (m *StoreObject) XXX_Size() int { + return m.Size() +} +func (m *StoreObject) XXX_DiscardUnknown() { + xxx_messageInfo_StoreObject.DiscardUnknown(m) +} + +var xxx_messageInfo_StoreObject proto.InternalMessageInfo type TLSAuthorization struct { // Roles contains the acceptable TLS OU roles for the handler. @@ -77,16 +120,43 @@ type TLSAuthorization struct { // Insecure is set to true if this method does not require // authorization. NOTE: Specifying both "insecure" and a nonempty // list of roles is invalid. This would fail at codegen time. - Insecure *bool `protobuf:"varint,2,opt,name=insecure" json:"insecure,omitempty"` - XXX_unrecognized []byte `json:"-"` + Insecure *bool `protobuf:"varint,2,opt,name=insecure" json:"insecure,omitempty"` } -func (m *TLSAuthorization) Reset() { *m = TLSAuthorization{} } -func (*TLSAuthorization) ProtoMessage() {} -func (*TLSAuthorization) Descriptor() ([]byte, []int) { return fileDescriptorPlugin, []int{2} } +func (m *TLSAuthorization) Reset() { *m = TLSAuthorization{} } +func (*TLSAuthorization) ProtoMessage() {} +func (*TLSAuthorization) Descriptor() ([]byte, []int) { + return fileDescriptor_3708583e03e1c1e3, []int{2} +} +func (m *TLSAuthorization) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *TLSAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_TLSAuthorization.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalTo(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *TLSAuthorization) XXX_Merge(src proto.Message) { + xxx_messageInfo_TLSAuthorization.Merge(m, src) +} +func (m *TLSAuthorization) XXX_Size() int { + return m.Size() +} +func (m *TLSAuthorization) XXX_DiscardUnknown() { + xxx_messageInfo_TLSAuthorization.DiscardUnknown(m) +} + +var xxx_messageInfo_TLSAuthorization proto.InternalMessageInfo var E_Deepcopy = &proto.ExtensionDesc{ - ExtendedType: (*google_protobuf.MessageOptions)(nil), + ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*bool)(nil), Field: 70000, Name: "docker.protobuf.plugin.deepcopy", @@ -95,20 +165,20 @@ var E_Deepcopy = &proto.ExtensionDesc{ } var E_StoreObject = &proto.ExtensionDesc{ - ExtendedType: (*google_protobuf.MessageOptions)(nil), + ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*StoreObject)(nil), Field: 70001, Name: "docker.protobuf.plugin.store_object", - Tag: "bytes,70001,opt,name=store_object,json=storeObject", + Tag: "bytes,70001,opt,name=store_object", Filename: "github.com/docker/swarmkit/protobuf/plugin/plugin.proto", } var E_TlsAuthorization = &proto.ExtensionDesc{ - ExtendedType: (*google_protobuf.MethodOptions)(nil), + ExtendedType: (*descriptor.MethodOptions)(nil), ExtensionType: (*TLSAuthorization)(nil), Field: 73626345, Name: "docker.protobuf.plugin.tls_authorization", - Tag: "bytes,73626345,opt,name=tls_authorization,json=tlsAuthorization", + Tag: "bytes,73626345,opt,name=tls_authorization", Filename: "github.com/docker/swarmkit/protobuf/plugin/plugin.proto", } @@ -121,6 +191,51 @@ func init() { proto.RegisterExtension(E_TlsAuthorization) } +func init() { + proto.RegisterFile("github.com/docker/swarmkit/protobuf/plugin/plugin.proto", fileDescriptor_3708583e03e1c1e3) +} + +var fileDescriptor_3708583e03e1c1e3 = []byte{ + // 588 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x41, 0x6f, 0xd3, 0x4c, + 0x10, 0x8d, 0xd3, 0x36, 0x4d, 0x26, 0x69, 0xbf, 0x7e, 0x2b, 0x54, 0x59, 0x3d, 0x38, 0x55, 0x83, + 0x50, 0x90, 0x90, 0x23, 0xf5, 0x82, 0x94, 0x1b, 0x25, 0x97, 0x48, 0x40, 0x91, 0x83, 0xc4, 0x8d, + 0xc8, 0xf1, 0x4e, 0x93, 0xa5, 0x8e, 0xd7, 0xda, 0x5d, 0xd3, 0xc2, 0x89, 0x3f, 0x80, 0xc4, 0x95, + 0x2b, 0xbf, 0xa6, 0xc7, 0x1e, 0x7b, 0x8a, 0xa8, 0x23, 0x0e, 0xdc, 0xe0, 0x1f, 0xa0, 0xdd, 0x75, + 0x1a, 0x82, 0x5a, 0x71, 0xf2, 0xcc, 0x9b, 0xf7, 0x66, 0xe6, 0xed, 0x18, 0x1e, 0x8f, 0x99, 0x9a, + 0x64, 0x23, 0x3f, 0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 0x31, + 0x1e, 0xa7, 0xba, 0xbb, 0x74, 0x7f, 0x7e, 0x35, 0x77, 0xef, 0xae, 0x2b, 0x91, 0x61, 0x70, 0x23, + 0xec, 0x32, 0x68, 0x48, 0x6d, 0x75, 0xc8, 0xad, 0xd7, 0x7f, 0x36, 0xfa, 0x65, 0x1a, 0xd5, 0x0f, + 0x5b, 0x77, 0x79, 0xff, 0xe3, 0xe5, 0x82, 0xba, 0x5c, 0x26, 0xdd, 0x73, 0xf8, 0x5f, 0xc5, 0x72, + 0x18, 0xae, 0xd8, 0xf6, 0x6e, 0x99, 0xa7, 0x26, 0x9c, 0x2e, 0xc6, 0xfd, 0xf8, 0xfe, 0xa9, 0x65, + 0xe6, 0xb5, 0xef, 0x9a, 0xf7, 0xf7, 0x4b, 0x06, 0x3b, 0x2a, 0x96, 0x2b, 0xc8, 0xd1, 0xfd, 0x8b, + 0x6b, 0xaf, 0x74, 0x75, 0xed, 0x95, 0x3e, 0xe6, 0x9e, 0x73, 0x91, 0x7b, 0xce, 0x65, 0xee, 0x39, + 0xdf, 0x72, 0xcf, 0xf9, 0x3c, 0xf7, 0x4a, 0x97, 0x73, 0xaf, 0x74, 0x35, 0xf7, 0x4a, 0xbf, 0x03, + 0x00, 0x00, 0xff, 0xff, 0x0f, 0x50, 0xb9, 0xa3, 0x05, 0x04, 0x00, 0x00, +} + func (m *WatchSelectors) Copy() *WatchSelectors { if m == nil { return nil @@ -151,7 +266,7 @@ func (m *StoreObject) CopyFrom(src interface{}) { *m = *o if o.WatchSelectors != nil { m.WatchSelectors = &WatchSelectors{} - deepcopy.Copy(m.WatchSelectors, o.WatchSelectors) + github_com_docker_swarmkit_api_deepcopy.Copy(m.WatchSelectors, o.WatchSelectors) } } @@ -320,9 +435,6 @@ func (m *WatchSelectors) MarshalTo(dAtA []byte) (int, error) { } i++ } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } return i, nil } @@ -342,7 +454,7 @@ func (m *StoreObject) MarshalTo(dAtA []byte) (int, error) { var l int _ = l if m.WatchSelectors == nil { - return 0, proto.NewRequiredNotSetError("watch_selectors") + return 0, github_com_gogo_protobuf_proto.NewRequiredNotSetError("watch_selectors") } else { dAtA[i] = 0xa i++ @@ -353,9 +465,6 @@ func (m *StoreObject) MarshalTo(dAtA []byte) (int, error) { } i += n1 } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } return i, nil } @@ -399,9 +508,6 @@ func (m *TLSAuthorization) MarshalTo(dAtA []byte) (int, error) { } i++ } - if m.XXX_unrecognized != nil { - i += copy(dAtA[i:], m.XXX_unrecognized) - } return i, nil } @@ -414,8 +520,10 @@ func encodeVarintPlugin(dAtA []byte, offset int, v uint64) int { dAtA[offset] = uint8(v) return offset + 1 } - func (m *WatchSelectors) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.ID != nil { @@ -457,26 +565,26 @@ func (m *WatchSelectors) Size() (n int) { if m.Kind != nil { n += 2 } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } return n } func (m *StoreObject) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if m.WatchSelectors != nil { l = m.WatchSelectors.Size() n += 1 + l + sovPlugin(uint64(l)) } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } return n } func (m *TLSAuthorization) Size() (n int) { + if m == nil { + return 0 + } var l int _ = l if len(m.Roles) > 0 { @@ -488,9 +596,6 @@ func (m *TLSAuthorization) Size() (n int) { if m.Insecure != nil { n += 2 } - if m.XXX_unrecognized != nil { - n += len(m.XXX_unrecognized) - } return n } @@ -525,7 +630,6 @@ func (this *WatchSelectors) String() string { `Role:` + valueToStringPlugin(this.Role) + `,`, `Membership:` + valueToStringPlugin(this.Membership) + `,`, `Kind:` + valueToStringPlugin(this.Kind) + `,`, - `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s @@ -536,7 +640,6 @@ func (this *StoreObject) String() string { } s := strings.Join([]string{`&StoreObject{`, `WatchSelectors:` + strings.Replace(fmt.Sprintf("%v", this.WatchSelectors), "WatchSelectors", "WatchSelectors", 1) + `,`, - `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s @@ -548,7 +651,6 @@ func (this *TLSAuthorization) String() string { s := strings.Join([]string{`&TLSAuthorization{`, `Roles:` + fmt.Sprintf("%v", this.Roles) + `,`, `Insecure:` + valueToStringPlugin(this.Insecure) + `,`, - `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`, `}`, }, "") return s @@ -576,7 +678,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -604,7 +706,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -625,7 +727,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -646,7 +748,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -667,7 +769,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -688,7 +790,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -709,7 +811,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -730,7 +832,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -751,7 +853,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -772,7 +874,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -793,7 +895,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -814,7 +916,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -835,7 +937,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -856,7 +958,7 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -872,10 +974,12 @@ func (m *WatchSelectors) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthPlugin } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthPlugin + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } @@ -901,7 +1005,7 @@ func (m *StoreObject) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -929,7 +1033,7 @@ func (m *StoreObject) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - msglen |= (int(b) & 0x7F) << shift + msglen |= int(b&0x7F) << shift if b < 0x80 { break } @@ -938,6 +1042,9 @@ func (m *StoreObject) Unmarshal(dAtA []byte) error { return ErrInvalidLengthPlugin } postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthPlugin + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -958,15 +1065,17 @@ func (m *StoreObject) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthPlugin } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthPlugin + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } if hasFields[0]&uint64(0x00000001) == 0 { - return proto.NewRequiredNotSetError("watch_selectors") + return github_com_gogo_protobuf_proto.NewRequiredNotSetError("watch_selectors") } if iNdEx > l { @@ -989,7 +1098,7 @@ func (m *TLSAuthorization) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - wire |= (uint64(b) & 0x7F) << shift + wire |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1017,7 +1126,7 @@ func (m *TLSAuthorization) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - stringLen |= (uint64(b) & 0x7F) << shift + stringLen |= uint64(b&0x7F) << shift if b < 0x80 { break } @@ -1027,6 +1136,9 @@ func (m *TLSAuthorization) Unmarshal(dAtA []byte) error { return ErrInvalidLengthPlugin } postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthPlugin + } if postIndex > l { return io.ErrUnexpectedEOF } @@ -1046,7 +1158,7 @@ func (m *TLSAuthorization) Unmarshal(dAtA []byte) error { } b := dAtA[iNdEx] iNdEx++ - v |= (int(b) & 0x7F) << shift + v |= int(b&0x7F) << shift if b < 0x80 { break } @@ -1062,10 +1174,12 @@ func (m *TLSAuthorization) Unmarshal(dAtA []byte) error { if skippy < 0 { return ErrInvalidLengthPlugin } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthPlugin + } if (iNdEx + skippy) > l { return io.ErrUnexpectedEOF } - m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...) iNdEx += skippy } } @@ -1129,10 +1243,13 @@ func skipPlugin(dAtA []byte) (n int, err error) { break } } - iNdEx += length if length < 0 { return 0, ErrInvalidLengthPlugin } + iNdEx += length + if iNdEx < 0 { + return 0, ErrInvalidLengthPlugin + } return iNdEx, nil case 3: for { @@ -1161,6 +1278,9 @@ func skipPlugin(dAtA []byte) (n int, err error) { return 0, err } iNdEx = start + next + if iNdEx < 0 { + return 0, ErrInvalidLengthPlugin + } } return iNdEx, nil case 4: @@ -1179,47 +1299,3 @@ var ( ErrInvalidLengthPlugin = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPlugin = fmt.Errorf("proto: integer overflow") ) - -func init() { - proto.RegisterFile("github.com/docker/swarmkit/protobuf/plugin/plugin.proto", fileDescriptorPlugin) -} - -var fileDescriptorPlugin = []byte{ - // 575 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0xc1, 0x6e, 0xd3, 0x4c, - 0x10, 0xae, 0xd3, 0x36, 0x4d, 0x26, 0x69, 0xff, 0xfe, 0x2b, 0x54, 0xad, 0x7a, 0x70, 0xaa, 0x46, - 0x42, 0x41, 0x42, 0x8e, 0xd4, 0x0b, 0x52, 0x6e, 0x94, 0x5c, 0x22, 0x01, 0x45, 0x0e, 0x12, 0x37, - 0x22, 0xc7, 0x3b, 0x4d, 0x96, 0x3a, 0x5e, 0x6b, 0x77, 0x4d, 0x0a, 0x27, 0x5e, 0x80, 0x07, 0xe0, - 0xca, 0xd3, 0xf4, 0xc8, 0x91, 0x53, 0x44, 0x2d, 0x71, 0xe0, 0x06, 0x6f, 0x80, 0x76, 0xd7, 0x69, - 0x08, 0x6a, 0xc5, 0xc9, 0x33, 0xdf, 0x7c, 0xdf, 0xcc, 0x7c, 0x3b, 0x86, 0x47, 0x13, 0xae, 0xa7, - 0xf9, 0x38, 0x88, 0xc5, 0xac, 0xcb, 0x44, 0x7c, 0x81, 0xb2, 0xab, 0xe6, 0x91, 0x9c, 0x5d, 0x70, - 0xdd, 0xcd, 0xa4, 0xd0, 0x62, 0x9c, 0x9f, 0x77, 0xb3, 0x24, 0x9f, 0xf0, 0xb4, 0xfc, 0x04, 0x16, - 0x26, 0x07, 0x8e, 0x1d, 0x2c, 0x49, 0x81, 0xab, 0x1e, 0x1e, 0x4d, 0x84, 0x98, 0x24, 0xb8, 0x12, - 0x33, 0x54, 0xb1, 0xe4, 0x99, 0x16, 0x25, 0xf7, 0xf8, 0xd3, 0x26, 0xec, 0xbd, 0x8a, 0x74, 0x3c, - 0x1d, 0x62, 0x82, 0xb1, 0x16, 0x52, 0x91, 0x03, 0xa8, 0x70, 0x46, 0xbd, 0x23, 0xaf, 0x53, 0x3b, - 0xad, 0x16, 0x8b, 0x56, 0x65, 0xd0, 0x0f, 0x2b, 0x9c, 0x91, 0x07, 0x50, 0xe7, 0x6c, 0x94, 0x49, - 0x3c, 0xe7, 0x97, 0xb4, 0x62, 0xcb, 0xcd, 0x62, 0xd1, 0xaa, 0x0d, 0xfa, 0x2f, 0x2c, 0x16, 0xd6, - 0x38, 0x73, 0x11, 0x21, 0xb0, 0x95, 0x46, 0x33, 0xa4, 0x9b, 0x86, 0x15, 0xda, 0x98, 0xb4, 0xa0, - 0x61,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9c, 0xeb, 0xa9, 0x90, 0xfc, 0x7d, 0xa4, 0xb9, - 0x48, 0xc9, 0x3d, 0xd8, 0x36, 0xfb, 0x9a, 0xd6, 0x9b, 0x9d, 0x7a, 0xe8, 0x12, 0x72, 0x08, 0x35, - 0x9e, 0x2a, 0x8c, 0x73, 0x89, 0xee, 0xf2, 0xe1, 0x4d, 0xde, 0x7b, 0x02, 0x35, 0x86, 0x98, 0xc5, - 0x22, 0x7b, 0x47, 0x5a, 0x81, 0xfb, 0xe1, 0x56, 0x9b, 0x3c, 0x43, 0xa5, 0xa2, 0x09, 0x9e, 0x65, - 0xa6, 0xbb, 0xa2, 0x3f, 0x3f, 0xdb, 0xbb, 0xf7, 0xb6, 0xb4, 0xcc, 0x31, 0xbc, 0x11, 0xf6, 0x38, - 0x34, 0x95, 0xb1, 0x3a, 0x12, 0xce, 0xeb, 0x3f, 0x1b, 0xfd, 0xb2, 0x8d, 0x1a, 0x27, 0xed, 0xbb, - 0xbc, 0xff, 0xf1, 0x72, 0x61, 0x43, 0xad, 0x92, 0xde, 0x25, 0xfc, 0xaf, 0x13, 0x35, 0x8a, 0xd6, - 0x6c, 0xfb, 0xb7, 0xcc, 0xd3, 0x53, 0xc1, 0x96, 0xe3, 0x7e, 0x7c, 0xff, 0xd8, 0xb6, 0xf3, 0x3a, - 0x77, 0xcd, 0xfb, 0xfb, 0x25, 0xc3, 0x7d, 0x9d, 0xa8, 0x35, 0xe4, 0x94, 0x5e, 0x5d, 0xfb, 0x1b, - 0x5f, 0xaf, 0xfd, 0x8d, 0x0f, 0x85, 0xef, 0x5d, 0x15, 0xbe, 0xf7, 0xa5, 0xf0, 0xbd, 0x6f, 0x85, - 0xef, 0xfd, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xb3, 0x99, 0x7d, 0xfb, 0xf9, 0x03, 0x00, 0x00, -} diff --git a/vendor/github.com/docker/swarmkit/vendor.conf b/vendor/github.com/docker/swarmkit/vendor.conf index 7bd653bc58..1220bc9f1e 100644 --- a/vendor/github.com/docker/swarmkit/vendor.conf +++ b/vendor/github.com/docker/swarmkit/vendor.conf @@ -8,10 +8,10 @@ # In >=1.11, those errors were brought back but the string had changed again. # After updating GRPC, if integration test failures occur, verify that the # string matching there is correct. -google.golang.org/grpc 7a6a684ca69eb4cae85ad0a484f2e531598c047b # v1.12.2 -github.com/gogo/protobuf v1.0.0 -github.com/golang/protobuf v1.1.0 -github.com/matttproud/golang_protobuf_extensions v1.0.0 +google.golang.org/grpc 25c4f928eaa6d96443009bd842389fb4fa48664e # v1.20.1 +github.com/gogo/protobuf ba06b47c162d49f2af050fb4c75bcbc86a159d5c # v1.2.1 +github.com/golang/protobuf aa810b61a9c79d51363740d207bb46cf8e620ed5 # v1.2.0 +github.com/matttproud/golang_protobuf_extensions c12348ce28de40eed0136aa2b644d0ee0650e56c # v1.0.1 google.golang.org/genproto 694d95ba50e67b2e363f3483057db5d4910c18f9 # metrics @@ -31,37 +31,46 @@ github.com/docker/distribution 0d3efadf0154c2b8a4e7b6621fff9809655cc580 github.com/docker/docker 827cb09f87964ed38b46502f22a585f2ed4a78e1 github.com/docker/go-connections 7395e3f8aa162843a74ed6d48e79627d9792ac55 # v0.4.0 github.com/docker/go-events 9461782956ad83b30282bf90e31fa6a70c255ba9 -github.com/docker/go-units 9e638d38cf6977a37a8ea0078f3ee75a7cdb2dd1 +github.com/docker/go-units 519db1ee28dcc9fd2474ae59fca29a810482bfb1 # v0.4.0 github.com/docker/libkv 458977154600b9f23984d9f4b82e79570b5ae12b -github.com/docker/libnetwork 1a06131fb8a047d919f7deaf02a4c414d7884b83 -github.com/opencontainers/runc 96ec2177ae841256168fcf76954f7177af9446eb +github.com/docker/libnetwork 09cdcc8c0eab3946c2d70e8f6225b05baf1e90d1 +github.com/opencontainers/runc 425e105d5a03fabd737a126ad93d62a9eeede87f # v1.0.0-rc8 github.com/opencontainers/go-digest v1.0.0-rc1 github.com/opencontainers/image-spec v1.0.1 -github.com/ishidawataru/sctp 07191f837fedd2f13d1ec7b5f885f0f3ec54b1cb +github.com/ishidawataru/sctp 6e2cb1366111dcf547c13531e3a263a067715847 -github.com/davecgh/go-spew 8991bc29aa16c548c550c7ff78260e27b9ab7c73 # v1.1.1 -github.com/Microsoft/go-winio v0.4.11 -github.com/sirupsen/logrus v1.0.6 -github.com/beorn7/perks 3a771d992973f24aa725d07868b467d1ddfceaf +github.com/davecgh/go-spew 8991bc29aa16c548c550c7ff78260e27b9ab7c73 # v1.1.1 +github.com/Microsoft/go-winio 6c72808b55902eae4c5943626030429ff20f3b63 # v0.4.14 +github.com/sirupsen/logrus 8bdbc7bcc01dcbb8ec23dc8a28e332258d25251f # v1.4.1 +github.com/beorn7/perks 37c8de3658fcb183f997c4e13e8337516ab753e6 # v1.0.1 github.com/cloudflare/cfssl 1.3.2 -github.com/dustin/go-humanize 8929fe90cee4b2cb9deb468b51fb34eba64d1bf0 +github.com/dustin/go-humanize 9f541cc9db5d55bce703bd99987c9d5cb8eea45e # v1.0.0 github.com/fernet/fernet-go 9eac43b88a5efb8651d24de9b68e87567e029736 github.com/google/certificate-transparency-go v1.0.20 github.com/hashicorp/go-immutable-radix 826af9ccf0feeee615d546d69b11f8e98da8c8f1 git://github.com/tonistiigi/go-immutable-radix.git github.com/hashicorp/go-memdb cb9a474f84cc5e41b273b20c6927680b2a8776ad -github.com/hashicorp/golang-lru 0fb14efe8c47ae851c0034ed7a448854d3d34cf3 +github.com/hashicorp/golang-lru 7087cb70de9f7a8bc0a10c375cb0d2280a8edf9c # v0.5.1 github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75 github.com/phayes/permbits f7e3ac5e859d0b919c5068d581cc4c5d4f4f9bc5 code.cloudfoundry.org/clock 02e53af36e6c978af692887ed449b74026d76fec -github.com/pkg/errors 645ef00459ed84a119197bfb8d8205042c6df63d +github.com/pkg/errors ba968bfe8b2f7e042a574c888954fccecfa385b4 # v0.8.1 github.com/pmezard/go-difflib 792786c7400a136282c1664665ae0a8db921c6c2 # v1.0.0 github.com/rcrowley/go-metrics 51425a2415d21afadfd55cd93432c0bc69e9598d github.com/spf13/cobra 8e91712f174ced10270cf66615e0a9127e7c4de5 github.com/spf13/pflag 7f60f83a2c81bc3c3c0d5297f61ddfa68da9d3b7 github.com/stretchr/testify ffdc059bfe9ce6a4e144ba849dbedead332c6053 # v1.3.0 -go.etcd.io/bbolt v1.3.1-etcd.8 -golang.org/x/crypto b7391e95e576cacdcdd422573063bc057239113d -golang.org/x/net a680a1efc54dd51c040b3b5ce4939ea3cf2ea0d1 -golang.org/x/sys 90868a75fefd03942536221d7c0e2f84ec62a668 +go.etcd.io/bbolt a0458a2b35708eef59eb5f620ceb3cd1c01a824d # v1.3.3 +golang.org/x/crypto 88737f569e3a9c7ab309cdc09a07fe7fc87233c3 +golang.org/x/net f3200d17e092c607f615320ecaad13d87ad9a2b3 +golang.org/x/sys 9eafafc0a87e0fd0aeeba439a4573537970c44c7 golang.org/x/text f21a4dfb5e38f5895301dc265a8def02365cc3d0 # v0.3.0 golang.org/x/time fbb02b2291d28baffd63558aa44b4b56f178d650 + +# ginkgo is used for testing in some places in the code. this is it and its +# sub-dependencies. +github.com/onsi/ginkgo v1.8.0 +github.com/onsi/gomega v1.5.0 +gopkg.in/yaml.v2 v2.2.1 +github.com/hpcloud/tail v1.0.0 +gopkg.in/fsnotify.v1 v1.4.7 +gopkg.in/tomb.v1 v1 diff --git a/vendor/github.com/google/shlex/go.mod b/vendor/github.com/google/shlex/go.mod new file mode 100644 index 0000000000..0ab3bce7f1 --- /dev/null +++ b/vendor/github.com/google/shlex/go.mod @@ -0,0 +1,3 @@ +module github.com/google/shlex + +go 1.13 diff --git a/vendor/github.com/opencontainers/runc/README.md b/vendor/github.com/opencontainers/runc/README.md index 11fa4138b4..a806f2729a 100644 --- a/vendor/github.com/opencontainers/runc/README.md +++ b/vendor/github.com/opencontainers/runc/README.md @@ -16,9 +16,13 @@ This means that `runc` 1.0.0 should implement the 1.0 version of the specificati You can find official releases of `runc` on the [release](https://github.com/opencontainers/runc/releases) page. +Currently, the following features are not considered to be production-ready: + +* Support for cgroup v2 + ## Security -Reporting process and disclosure communications are outlined in [/org/security](https://github.com/opencontainers/org/blob/master/security/) +The reporting process and disclosure communications are outlined in [/org/security](https://github.com/opencontainers/org/blob/master/security/). ## Building @@ -229,7 +233,14 @@ runc delete mycontainerid This allows higher level systems to augment the containers creation logic with setup of various settings after the container is created and/or before it is deleted. For example, the container's network stack is commonly set up after `create` but before `start`. #### Rootless containers -`runc` has the ability to run containers without root privileges. This is called `rootless`. You need to pass some parameters to `runc` in order to run rootless containers. See below and compare with the previous version. Run the following commands as an ordinary user: +`runc` has the ability to run containers without root privileges. This is called `rootless`. You need to pass some parameters to `runc` in order to run rootless containers. See below and compare with the previous version. + +**Note:** In order to use this feature, "User Namespaces" must be compiled and enabled in your kernel. There are various ways to do this depending on your distribution: +- Confirm `CONFIG_USER_NS=y` is set in your kernel configuration (normally found in `/proc/config.gz`) +- Arch/Debian: `echo 1 > /proc/sys/kernel/unprivileged_userns_clone` +- RHEL/CentOS 7: `echo 28633 > /proc/sys/user/max_user_namespaces` + +Run the following commands as an ordinary user: ```bash # Same as the first example mkdir ~/mycontainer diff --git a/vendor/github.com/opencontainers/runc/vendor.conf b/vendor/github.com/opencontainers/runc/vendor.conf index a29764cd73..dd51785e6b 100644 --- a/vendor/github.com/opencontainers/runc/vendor.conf +++ b/vendor/github.com/opencontainers/runc/vendor.conf @@ -26,3 +26,6 @@ golang.org/x/sys 9eafafc0a87e0fd0aeeba439a4573537970c44c7 # console dependencies github.com/containerd/console 0650fd9eeb50bab4fc99dceb9f2e14cf58f36e7f github.com/pkg/errors ba968bfe8b2f7e042a574c888954fccecfa385b4 # v0.8.1 + +# ebpf dependencies +github.com/cilium/ebpf 95b36a581eed7b0f127306ed1d16cc0ddc06cf67 diff --git a/vendor/github.com/tonistiigi/fsutil/diff.go b/vendor/github.com/tonistiigi/fsutil/diff.go index acad9f4f22..1cbc32b306 100644 --- a/vendor/github.com/tonistiigi/fsutil/diff.go +++ b/vendor/github.com/tonistiigi/fsutil/diff.go @@ -5,6 +5,7 @@ import ( "hash" "os" + "github.com/pkg/errors" "github.com/tonistiigi/fsutil/types" ) @@ -25,9 +26,14 @@ func GetWalkerFn(root string) walkerFn { return err } + stat, ok := f.Sys().(*types.Stat) + if !ok { + return errors.Errorf("%T invalid file without stat information", f.Sys()) + } + p := ¤tPath{ path: path, - f: f, + stat: stat, } select { diff --git a/vendor/github.com/tonistiigi/fsutil/diff_containerd.go b/vendor/github.com/tonistiigi/fsutil/diff_containerd.go index e63ee916a6..370271523b 100644 --- a/vendor/github.com/tonistiigi/fsutil/diff_containerd.go +++ b/vendor/github.com/tonistiigi/fsutil/diff_containerd.go @@ -37,12 +37,12 @@ type ChangeFunc func(ChangeKind, string, os.FileInfo, error) error type currentPath struct { path string - f os.FileInfo + stat *types.Stat // fullPath string } // doubleWalkDiff walks both directories to create a diff -func doubleWalkDiff(ctx context.Context, changeFn ChangeFunc, a, b walkerFn) (err error) { +func doubleWalkDiff(ctx context.Context, changeFn ChangeFunc, a, b walkerFn, filter FilterFunc) (err error) { g, ctx := errgroup.WithContext(ctx) var ( @@ -86,14 +86,22 @@ func doubleWalkDiff(ctx context.Context, changeFn ChangeFunc, a, b walkerFn) (er continue } - var f os.FileInfo - k, p := pathChange(f1, f2) + var f *types.Stat + var f2copy *currentPath + if f2 != nil { + statCopy := *f2.stat + if filter != nil { + filter(f2.path, &statCopy) + } + f2copy = ¤tPath{path: f2.path, stat: &statCopy} + } + k, p := pathChange(f1, f2copy) switch k { case ChangeKindAdd: if rmdir != "" { rmdir = "" } - f = f2.f + f = f2.stat f2 = nil case ChangeKindDelete: // Check if this file is already removed by being @@ -101,30 +109,30 @@ func doubleWalkDiff(ctx context.Context, changeFn ChangeFunc, a, b walkerFn) (er if rmdir != "" && strings.HasPrefix(f1.path, rmdir) { f1 = nil continue - } else if rmdir == "" && f1.f.IsDir() { + } else if rmdir == "" && f1.stat.IsDir() { rmdir = f1.path + string(os.PathSeparator) } else if rmdir != "" { rmdir = "" } f1 = nil case ChangeKindModify: - same, err := sameFile(f1, f2) + same, err := sameFile(f1, f2copy) if err != nil { return err } - if f1.f.IsDir() && !f2.f.IsDir() { + if f1.stat.IsDir() && !f2copy.stat.IsDir() { rmdir = f1.path + string(os.PathSeparator) } else if rmdir != "" { rmdir = "" } - f = f2.f + f = f2.stat f1 = nil f2 = nil if same { continue loop0 } } - if err := changeFn(k, p, f, nil); err != nil { + if err := changeFn(k, p, &StatInfo{f}, nil); err != nil { return err } } @@ -159,28 +167,17 @@ func pathChange(lower, upper *currentPath) (ChangeKind, string) { func sameFile(f1, f2 *currentPath) (same bool, retErr error) { // If not a directory also check size, modtime, and content - if !f1.f.IsDir() { - if f1.f.Size() != f2.f.Size() { + if !f1.stat.IsDir() { + if f1.stat.Size_ != f2.stat.Size_ { return false, nil } - t1 := f1.f.ModTime() - t2 := f2.f.ModTime() - if t1.UnixNano() != t2.UnixNano() { + if f1.stat.ModTime != f2.stat.ModTime { return false, nil } } - ls1, ok := f1.f.Sys().(*types.Stat) - if !ok { - return false, nil - } - ls2, ok := f2.f.Sys().(*types.Stat) - if !ok { - return false, nil - } - - return compareStat(ls1, ls2) + return compareStat(f1.stat, f2.stat) } // compareStat returns whether the stats are equivalent, diff --git a/vendor/github.com/tonistiigi/fsutil/diskwriter.go b/vendor/github.com/tonistiigi/fsutil/diskwriter.go index 79a1673b78..70323c88c9 100644 --- a/vendor/github.com/tonistiigi/fsutil/diskwriter.go +++ b/vendor/github.com/tonistiigi/fsutil/diskwriter.go @@ -194,7 +194,7 @@ func (dw *DiskWriter) HandleChange(kind ChangeKind, p string, fi os.FileInfo, er if isRegularFile { if dw.opt.AsyncDataCb != nil { - dw.requestAsyncFileData(p, destPath, fi) + dw.requestAsyncFileData(p, destPath, fi, &statCopy) } } else { return dw.processChange(kind, p, fi, nil) @@ -203,7 +203,7 @@ func (dw *DiskWriter) HandleChange(kind ChangeKind, p string, fi os.FileInfo, er return nil } -func (dw *DiskWriter) requestAsyncFileData(p, dest string, fi os.FileInfo) { +func (dw *DiskWriter) requestAsyncFileData(p, dest string, fi os.FileInfo, st *types.Stat) { // todo: limit worker threads dw.eg.Go(func() error { if err := dw.processChange(ChangeKindAdd, p, fi, &lazyFileWriter{ @@ -211,7 +211,7 @@ func (dw *DiskWriter) requestAsyncFileData(p, dest string, fi os.FileInfo) { }); err != nil { return err } - return chtimes(dest, fi.ModTime().UnixNano()) // TODO: parent dirs + return chtimes(dest, st.ModTime) // TODO: parent dirs }) } diff --git a/vendor/github.com/tonistiigi/fsutil/receive.go b/vendor/github.com/tonistiigi/fsutil/receive.go index 4de7ec5f0b..0210dcdb1a 100644 --- a/vendor/github.com/tonistiigi/fsutil/receive.go +++ b/vendor/github.com/tonistiigi/fsutil/receive.go @@ -133,7 +133,7 @@ func (r *receiver) run(ctx context.Context) error { if !r.merge { destWalker = GetWalkerFn(r.dest) } - err := doubleWalkDiff(ctx, dw.HandleChange, destWalker, w.fill) + err := doubleWalkDiff(ctx, dw.HandleChange, destWalker, w.fill, r.filter) if err != nil { return err } @@ -180,11 +180,11 @@ func (r *receiver) run(ctx context.Context) error { r.mu.Unlock() } i++ - cp := ¤tPath{path: p.Stat.Path, f: &StatInfo{p.Stat}} - if err := r.orderValidator.HandleChange(ChangeKindAdd, cp.path, cp.f, nil); err != nil { + cp := ¤tPath{path: p.Stat.Path, stat: p.Stat} + if err := r.orderValidator.HandleChange(ChangeKindAdd, cp.path, &StatInfo{cp.stat}, nil); err != nil { return err } - if err := r.hlValidator.HandleChange(ChangeKindAdd, cp.path, cp.f, nil); err != nil { + if err := r.hlValidator.HandleChange(ChangeKindAdd, cp.path, &StatInfo{cp.stat}, nil); err != nil { return err } if err := w.update(cp); err != nil { diff --git a/vendor/github.com/tonistiigi/fsutil/types/stat.go b/vendor/github.com/tonistiigi/fsutil/types/stat.go new file mode 100644 index 0000000000..b79fd2bd76 --- /dev/null +++ b/vendor/github.com/tonistiigi/fsutil/types/stat.go @@ -0,0 +1,7 @@ +package types + +import "os" + +func (s Stat) IsDir() bool { + return os.FileMode(s.Mode).IsDir() +}