|
|
@@ -0,0 +1,1712 @@
|
|
|
+// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
+// versions:
|
|
|
+// protoc-gen-go v1.21.0
|
|
|
+// protoc v3.11.4
|
|
|
+// source: containers/v1/containers.proto
|
|
|
+
|
|
|
+package v1
|
|
|
+
|
|
|
+import (
|
|
|
+ context "context"
|
|
|
+ proto "github.com/golang/protobuf/proto"
|
|
|
+ empty "github.com/golang/protobuf/ptypes/empty"
|
|
|
+ grpc "google.golang.org/grpc"
|
|
|
+ codes "google.golang.org/grpc/codes"
|
|
|
+ status "google.golang.org/grpc/status"
|
|
|
+ protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
+ protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
+ reflect "reflect"
|
|
|
+ sync "sync"
|
|
|
+)
|
|
|
+
|
|
|
+const (
|
|
|
+ // Verify that this generated code is sufficiently up-to-date.
|
|
|
+ _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
|
+ // Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
|
+ _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
+)
|
|
|
+
|
|
|
+// This is a compile-time assertion that a sufficiently up-to-date version
|
|
|
+// of the legacy proto package is being used.
|
|
|
+const _ = proto.ProtoPackageIsVersion4
|
|
|
+
|
|
|
+type Container struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
+ Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
|
|
|
+ Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
|
|
|
+ CpuTime uint64 `protobuf:"varint,4,opt,name=cpu_time,json=cpuTime,proto3" json:"cpu_time,omitempty"`
|
|
|
+ MemoryUsage uint64 `protobuf:"varint,5,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"`
|
|
|
+ MemoryLimit uint64 `protobuf:"varint,6,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
|
|
|
+ PidsCurrent uint64 `protobuf:"varint,7,opt,name=pids_current,json=pidsCurrent,proto3" json:"pids_current,omitempty"`
|
|
|
+ PidsLimit uint64 `protobuf:"varint,8,opt,name=pids_limit,json=pidsLimit,proto3" json:"pids_limit,omitempty"`
|
|
|
+ Labels []string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Container) Reset() {
|
|
|
+ *x = Container{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[0]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Container) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*Container) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *Container) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[0]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use Container.ProtoReflect.Descriptor instead.
|
|
|
+func (*Container) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{0}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Container) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Container) GetImage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Image
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Container) GetStatus() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Status
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Container) GetCpuTime() uint64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.CpuTime
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Container) GetMemoryUsage() uint64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MemoryUsage
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Container) GetMemoryLimit() uint64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.MemoryLimit
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Container) GetPidsCurrent() uint64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.PidsCurrent
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Container) GetPidsLimit() uint64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.PidsLimit
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Container) GetLabels() []string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Labels
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type CreateRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
+ Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
|
|
|
+ Env []string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty"`
|
|
|
+ Tty bool `protobuf:"varint,4,opt,name=tty,proto3" json:"tty,omitempty"`
|
|
|
+ Image string `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"`
|
|
|
+ Hostname string `protobuf:"bytes,6,opt,name=hostname,proto3" json:"hostname,omitempty"`
|
|
|
+ Networks []string `protobuf:"bytes,7,rep,name=networks,proto3" json:"networks,omitempty"`
|
|
|
+ Snapshotter string `protobuf:"bytes,8,opt,name=snapshotter,proto3" json:"snapshotter,omitempty"`
|
|
|
+ Logger string `protobuf:"bytes,9,opt,name=logger,proto3" json:"logger,omitempty"`
|
|
|
+ Profile string `protobuf:"bytes,10,opt,name=profile,proto3" json:"profile,omitempty"`
|
|
|
+ RestartStatus string `protobuf:"bytes,11,opt,name=restart_status,json=restartStatus,proto3" json:"restart_status,omitempty"`
|
|
|
+ Mounts []*Mount `protobuf:"bytes,12,rep,name=mounts,proto3" json:"mounts,omitempty"`
|
|
|
+ WorkingDir string `protobuf:"bytes,13,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
|
|
|
+ Labels []string `protobuf:"bytes,14,rep,name=labels,proto3" json:"labels,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) Reset() {
|
|
|
+ *x = CreateRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[1]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*CreateRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *CreateRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[1]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*CreateRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{1}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetArgs() []string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Args
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetEnv() []string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Env
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetTty() bool {
|
|
|
+ if x != nil {
|
|
|
+ return x.Tty
|
|
|
+ }
|
|
|
+ return false
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetImage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Image
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetHostname() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Hostname
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetNetworks() []string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Networks
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetSnapshotter() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Snapshotter
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetLogger() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Logger
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetProfile() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Profile
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetRestartStatus() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.RestartStatus
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetMounts() []*Mount {
|
|
|
+ if x != nil {
|
|
|
+ return x.Mounts
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetWorkingDir() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.WorkingDir
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateRequest) GetLabels() []string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Labels
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type Mount struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
+ Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
|
|
|
+ Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
|
|
|
+ Options []string `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Mount) Reset() {
|
|
|
+ *x = Mount{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[2]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Mount) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*Mount) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *Mount) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[2]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use Mount.ProtoReflect.Descriptor instead.
|
|
|
+func (*Mount) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{2}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Mount) GetType() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Type
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Mount) GetSource() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Source
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Mount) GetDestination() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Destination
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *Mount) GetOptions() []string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Options
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type CreateResponse struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateResponse) Reset() {
|
|
|
+ *x = CreateResponse{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[3]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *CreateResponse) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*CreateResponse) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *CreateResponse) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[3]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
|
|
|
+func (*CreateResponse) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{3}
|
|
|
+}
|
|
|
+
|
|
|
+type UpdateRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
+ Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateRequest) Reset() {
|
|
|
+ *x = UpdateRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[4]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*UpdateRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *UpdateRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[4]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*UpdateRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{4}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateRequest) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateRequest) GetImage() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Image
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type UpdateResponse struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateResponse) Reset() {
|
|
|
+ *x = UpdateResponse{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[5]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *UpdateResponse) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*UpdateResponse) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *UpdateResponse) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[5]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
|
|
|
+func (*UpdateResponse) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{5}
|
|
|
+}
|
|
|
+
|
|
|
+type DeleteRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
+ Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteRequest) Reset() {
|
|
|
+ *x = DeleteRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[6]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*DeleteRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *DeleteRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[6]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*DeleteRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{6}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteRequest) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *DeleteRequest) GetForce() bool {
|
|
|
+ if x != nil {
|
|
|
+ return x.Force
|
|
|
+ }
|
|
|
+ return false
|
|
|
+}
|
|
|
+
|
|
|
+type StartRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
+ StreamId string `protobuf:"bytes,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *StartRequest) Reset() {
|
|
|
+ *x = StartRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[7]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *StartRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*StartRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *StartRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[7]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*StartRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{7}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *StartRequest) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *StartRequest) GetStreamId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.StreamId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type StartResponse struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+}
|
|
|
+
|
|
|
+func (x *StartResponse) Reset() {
|
|
|
+ *x = StartResponse{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[8]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *StartResponse) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*StartResponse) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *StartResponse) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[8]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.
|
|
|
+func (*StartResponse) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{8}
|
|
|
+}
|
|
|
+
|
|
|
+type StopRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
+ Signal int64 `protobuf:"varint,2,opt,name=signal,proto3" json:"signal,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *StopRequest) Reset() {
|
|
|
+ *x = StopRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[9]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *StopRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*StopRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *StopRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[9]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*StopRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{9}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *StopRequest) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *StopRequest) GetSignal() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Signal
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type ExecRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
+ StreamId string `protobuf:"bytes,2,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
|
|
|
+ Args []string `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
|
|
|
+ Env []string `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
|
|
|
+ Tty bool `protobuf:"varint,5,opt,name=tty,proto3" json:"tty,omitempty"`
|
|
|
+ WorkingDir string `protobuf:"bytes,6,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ExecRequest) Reset() {
|
|
|
+ *x = ExecRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[10]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ExecRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ExecRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ExecRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[10]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use ExecRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*ExecRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{10}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ExecRequest) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ExecRequest) GetStreamId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.StreamId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ExecRequest) GetArgs() []string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Args
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ExecRequest) GetEnv() []string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Env
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ExecRequest) GetTty() bool {
|
|
|
+ if x != nil {
|
|
|
+ return x.Tty
|
|
|
+ }
|
|
|
+ return false
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ExecRequest) GetWorkingDir() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.WorkingDir
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+type ExecResponse struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ExecResponse) Reset() {
|
|
|
+ *x = ExecResponse{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[11]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ExecResponse) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ExecResponse) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ExecResponse) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[11]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use ExecResponse.ProtoReflect.Descriptor instead.
|
|
|
+func (*ExecResponse) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{11}
|
|
|
+}
|
|
|
+
|
|
|
+type KillRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
+ Signal int64 `protobuf:"varint,2,opt,name=signal,proto3" json:"signal,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *KillRequest) Reset() {
|
|
|
+ *x = KillRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[12]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *KillRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*KillRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *KillRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[12]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use KillRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*KillRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{12}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *KillRequest) GetId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Id
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
+func (x *KillRequest) GetSignal() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.Signal
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+type ListRequest struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Filters []string `protobuf:"bytes,1,rep,name=filters,proto3" json:"filters,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ListRequest) Reset() {
|
|
|
+ *x = ListRequest{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[13]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ListRequest) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ListRequest) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ListRequest) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[13]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
|
|
|
+func (*ListRequest) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{13}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ListRequest) GetFilters() []string {
|
|
|
+ if x != nil {
|
|
|
+ return x.Filters
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+type ListResponse struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ListResponse) Reset() {
|
|
|
+ *x = ListResponse{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[14]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ListResponse) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ListResponse) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ListResponse) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_containers_v1_containers_proto_msgTypes[14]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
|
|
|
+func (*ListResponse) Descriptor() ([]byte, []int) {
|
|
|
+ return file_containers_v1_containers_proto_rawDescGZIP(), []int{14}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ListResponse) GetContainers() []*Container {
|
|
|
+ if x != nil {
|
|
|
+ return x.Containers
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+var File_containers_v1_containers_proto protoreflect.FileDescriptor
|
|
|
+
|
|
|
+var file_containers_v1_containers_proto_rawDesc = []byte{
|
|
|
+ 0x0a, 0x1e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2f, 0x76, 0x31, 0x2f,
|
|
|
+ 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
+ 0x12, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6e,
|
|
|
+ 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
|
|
+ 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79,
|
|
|
+ 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x02, 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x74, 0x61,
|
|
|
+ 0x69, 0x6e, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74,
|
|
|
+ 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
|
|
|
+ 0x75, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04,
|
|
|
+ 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x70, 0x75, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a,
|
|
|
+ 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20,
|
|
|
+ 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x55, 0x73, 0x61, 0x67, 0x65,
|
|
|
+ 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74,
|
|
|
+ 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79, 0x4c, 0x69,
|
|
|
+ 0x6d, 0x69, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x69, 0x64, 0x73, 0x5f, 0x63, 0x75, 0x72, 0x72,
|
|
|
+ 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x70, 0x69, 0x64, 0x73, 0x43,
|
|
|
+ 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x69, 0x64, 0x73, 0x5f, 0x6c,
|
|
|
+ 0x69, 0x6d, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x70, 0x69, 0x64, 0x73,
|
|
|
+ 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,
|
|
|
+ 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x22, 0x91, 0x03,
|
|
|
+ 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
+ 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
|
|
|
+ 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61,
|
|
|
+ 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
|
|
|
+ 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01,
|
|
|
+ 0x28, 0x08, 0x52, 0x03, 0x74, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65,
|
|
|
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a,
|
|
|
+ 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
+ 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x74,
|
|
|
+ 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x65, 0x74,
|
|
|
+ 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
|
|
|
+ 0x74, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x6e, 0x61, 0x70,
|
|
|
+ 0x73, 0x68, 0x6f, 0x74, 0x74, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x6f, 0x67, 0x67, 0x65,
|
|
|
+ 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x67, 0x67, 0x65, 0x72, 0x12,
|
|
|
+ 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73,
|
|
|
+ 0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28,
|
|
|
+ 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x74, 0x61, 0x72, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
|
+ 0x12, 0x36, 0x0a, 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b,
|
|
|
+ 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x63, 0x6f,
|
|
|
+ 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x75, 0x6e, 0x74,
|
|
|
+ 0x52, 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b,
|
|
|
+ 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x77,
|
|
|
+ 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62,
|
|
|
+ 0x65, 0x6c, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c,
|
|
|
+ 0x73, 0x22, 0x6f, 0x0a, 0x05, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79,
|
|
|
+ 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16,
|
|
|
+ 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
|
|
+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e,
|
|
|
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73,
|
|
|
+ 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69,
|
|
|
+ 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f,
|
|
|
+ 0x6e, 0x73, 0x22, 0x10, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
|
+ 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65,
|
|
|
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
+ 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02,
|
|
|
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x22, 0x10, 0x0a, 0x0e, 0x55,
|
|
|
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x35, 0x0a,
|
|
|
+ 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e,
|
|
|
+ 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14,
|
|
|
+ 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66,
|
|
|
+ 0x6f, 0x72, 0x63, 0x65, 0x22, 0x3b, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71,
|
|
|
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
+ 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x69,
|
|
|
+ 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x49,
|
|
|
+ 0x64, 0x22, 0x0f, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
+ 0x73, 0x65, 0x22, 0x35, 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
|
+ 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
|
|
|
+ 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22, 0x93, 0x01, 0x0a, 0x0b, 0x45, 0x78,
|
|
|
+ 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
|
|
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x72,
|
|
|
+ 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74,
|
|
|
+ 0x72, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x03,
|
|
|
+ 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e,
|
|
|
+ 0x76, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x12, 0x10, 0x0a, 0x03,
|
|
|
+ 0x74, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x74, 0x74, 0x79, 0x12, 0x1f,
|
|
|
+ 0x0a, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x06, 0x20,
|
|
|
+ 0x01, 0x28, 0x09, 0x52, 0x0a, 0x77, 0x6f, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x44, 0x69, 0x72, 0x22,
|
|
|
+ 0x0e, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
|
|
+ 0x35, 0x0a, 0x0b, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e,
|
|
|
+ 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16,
|
|
|
+ 0x0a, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
|
|
+ 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x22, 0x27, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
|
|
|
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73,
|
|
|
+ 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x73, 0x22,
|
|
|
+ 0x52, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
|
+ 0x42, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20,
|
|
|
+ 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
|
|
|
+ 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,
|
|
|
+ 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
|
|
|
+ 0x65, 0x72, 0x73, 0x32, 0x9a, 0x05, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
|
|
|
+ 0x72, 0x73, 0x12, 0x53, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x24, 0x2e, 0x63, 0x6f, 0x6d,
|
|
|
+ 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
|
|
|
+ 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
+ 0x1a, 0x25, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x63, 0x6f,
|
|
|
+ 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52,
|
|
|
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74,
|
|
|
+ 0x65, 0x12, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x63,
|
|
|
+ 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61,
|
|
|
+ 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
|
|
|
+ 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
|
|
|
+ 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
+ 0x73, 0x65, 0x12, 0x56, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x25, 0x2e, 0x63, 0x6f,
|
|
|
+ 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
|
|
|
+ 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
+ 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
|
|
|
+ 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61,
|
|
|
+ 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x04, 0x53, 0x74,
|
|
|
+ 0x6f, 0x70, 0x12, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
|
|
|
+ 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f,
|
|
|
+ 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
|
|
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
|
|
+ 0x12, 0x44, 0x0a, 0x04, 0x4b, 0x69, 0x6c, 0x6c, 0x12, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64,
|
|
|
+ 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e,
|
|
|
+ 0x76, 0x31, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,
|
|
|
+ 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
|
+ 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x48, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
|
|
+ 0x12, 0x26, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x63, 0x6f,
|
|
|
+ 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
|
|
+ 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
|
|
|
+ 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
|
|
+ 0x12, 0x59, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x26, 0x2e, 0x63, 0x6f, 0x6d,
|
|
|
+ 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65,
|
|
|
+ 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
+ 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
|
|
|
+ 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64,
|
|
|
+ 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x04, 0x45,
|
|
|
+ 0x78, 0x65, 0x63, 0x12, 0x24, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72,
|
|
|
+ 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78,
|
|
|
+ 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x63, 0x6f, 0x6d, 0x2e,
|
|
|
+ 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
|
|
|
+ 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
+ 0x42, 0x2b, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x64,
|
|
|
+ 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x64, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6e,
|
|
|
+ 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x76, 0x31, 0x62, 0x06, 0x70,
|
|
|
+ 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+}
|
|
|
+
|
|
|
+var (
|
|
|
+ file_containers_v1_containers_proto_rawDescOnce sync.Once
|
|
|
+ file_containers_v1_containers_proto_rawDescData = file_containers_v1_containers_proto_rawDesc
|
|
|
+)
|
|
|
+
|
|
|
+func file_containers_v1_containers_proto_rawDescGZIP() []byte {
|
|
|
+ file_containers_v1_containers_proto_rawDescOnce.Do(func() {
|
|
|
+ file_containers_v1_containers_proto_rawDescData = protoimpl.X.CompressGZIP(file_containers_v1_containers_proto_rawDescData)
|
|
|
+ })
|
|
|
+ return file_containers_v1_containers_proto_rawDescData
|
|
|
+}
|
|
|
+
|
|
|
+var file_containers_v1_containers_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
|
|
+var file_containers_v1_containers_proto_goTypes = []interface{}{
|
|
|
+ (*Container)(nil), // 0: com.docker.container.v1.Container
|
|
|
+ (*CreateRequest)(nil), // 1: com.docker.container.v1.CreateRequest
|
|
|
+ (*Mount)(nil), // 2: com.docker.container.v1.Mount
|
|
|
+ (*CreateResponse)(nil), // 3: com.docker.container.v1.CreateResponse
|
|
|
+ (*UpdateRequest)(nil), // 4: com.docker.container.v1.UpdateRequest
|
|
|
+ (*UpdateResponse)(nil), // 5: com.docker.container.v1.UpdateResponse
|
|
|
+ (*DeleteRequest)(nil), // 6: com.docker.container.v1.DeleteRequest
|
|
|
+ (*StartRequest)(nil), // 7: com.docker.container.v1.StartRequest
|
|
|
+ (*StartResponse)(nil), // 8: com.docker.container.v1.StartResponse
|
|
|
+ (*StopRequest)(nil), // 9: com.docker.container.v1.StopRequest
|
|
|
+ (*ExecRequest)(nil), // 10: com.docker.container.v1.ExecRequest
|
|
|
+ (*ExecResponse)(nil), // 11: com.docker.container.v1.ExecResponse
|
|
|
+ (*KillRequest)(nil), // 12: com.docker.container.v1.KillRequest
|
|
|
+ (*ListRequest)(nil), // 13: com.docker.container.v1.ListRequest
|
|
|
+ (*ListResponse)(nil), // 14: com.docker.container.v1.ListResponse
|
|
|
+ (*empty.Empty)(nil), // 15: google.protobuf.Empty
|
|
|
+}
|
|
|
+var file_containers_v1_containers_proto_depIdxs = []int32{
|
|
|
+ 2, // 0: com.docker.container.v1.CreateRequest.mounts:type_name -> com.docker.container.v1.Mount
|
|
|
+ 0, // 1: com.docker.container.v1.ListResponse.containers:type_name -> com.docker.container.v1.Container
|
|
|
+ 13, // 2: com.docker.container.v1.Containers.List:input_type -> com.docker.container.v1.ListRequest
|
|
|
+ 1, // 3: com.docker.container.v1.Containers.Create:input_type -> com.docker.container.v1.CreateRequest
|
|
|
+ 7, // 4: com.docker.container.v1.Containers.Start:input_type -> com.docker.container.v1.StartRequest
|
|
|
+ 9, // 5: com.docker.container.v1.Containers.Stop:input_type -> com.docker.container.v1.StopRequest
|
|
|
+ 12, // 6: com.docker.container.v1.Containers.Kill:input_type -> com.docker.container.v1.KillRequest
|
|
|
+ 6, // 7: com.docker.container.v1.Containers.Delete:input_type -> com.docker.container.v1.DeleteRequest
|
|
|
+ 4, // 8: com.docker.container.v1.Containers.Update:input_type -> com.docker.container.v1.UpdateRequest
|
|
|
+ 10, // 9: com.docker.container.v1.Containers.Exec:input_type -> com.docker.container.v1.ExecRequest
|
|
|
+ 14, // 10: com.docker.container.v1.Containers.List:output_type -> com.docker.container.v1.ListResponse
|
|
|
+ 3, // 11: com.docker.container.v1.Containers.Create:output_type -> com.docker.container.v1.CreateResponse
|
|
|
+ 8, // 12: com.docker.container.v1.Containers.Start:output_type -> com.docker.container.v1.StartResponse
|
|
|
+ 15, // 13: com.docker.container.v1.Containers.Stop:output_type -> google.protobuf.Empty
|
|
|
+ 15, // 14: com.docker.container.v1.Containers.Kill:output_type -> google.protobuf.Empty
|
|
|
+ 15, // 15: com.docker.container.v1.Containers.Delete:output_type -> google.protobuf.Empty
|
|
|
+ 5, // 16: com.docker.container.v1.Containers.Update:output_type -> com.docker.container.v1.UpdateResponse
|
|
|
+ 11, // 17: com.docker.container.v1.Containers.Exec:output_type -> com.docker.container.v1.ExecResponse
|
|
|
+ 10, // [10:18] is the sub-list for method output_type
|
|
|
+ 2, // [2:10] is the sub-list for method input_type
|
|
|
+ 2, // [2:2] is the sub-list for extension type_name
|
|
|
+ 2, // [2:2] is the sub-list for extension extendee
|
|
|
+ 0, // [0:2] is the sub-list for field type_name
|
|
|
+}
|
|
|
+
|
|
|
+func init() { file_containers_v1_containers_proto_init() }
|
|
|
+func file_containers_v1_containers_proto_init() {
|
|
|
+ if File_containers_v1_containers_proto != nil {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if !protoimpl.UnsafeEnabled {
|
|
|
+ file_containers_v1_containers_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*Container); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*CreateRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*Mount); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*CreateResponse); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*UpdateRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*UpdateResponse); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*DeleteRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*StartRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*StartResponse); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*StopRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ExecRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ExecResponse); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*KillRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ListRequest); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ file_containers_v1_containers_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ListResponse); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ type x struct{}
|
|
|
+ out := protoimpl.TypeBuilder{
|
|
|
+ File: protoimpl.DescBuilder{
|
|
|
+ GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
+ RawDescriptor: file_containers_v1_containers_proto_rawDesc,
|
|
|
+ NumEnums: 0,
|
|
|
+ NumMessages: 15,
|
|
|
+ NumExtensions: 0,
|
|
|
+ NumServices: 1,
|
|
|
+ },
|
|
|
+ GoTypes: file_containers_v1_containers_proto_goTypes,
|
|
|
+ DependencyIndexes: file_containers_v1_containers_proto_depIdxs,
|
|
|
+ MessageInfos: file_containers_v1_containers_proto_msgTypes,
|
|
|
+ }.Build()
|
|
|
+ File_containers_v1_containers_proto = out.File
|
|
|
+ file_containers_v1_containers_proto_rawDesc = nil
|
|
|
+ file_containers_v1_containers_proto_goTypes = nil
|
|
|
+ file_containers_v1_containers_proto_depIdxs = nil
|
|
|
+}
|
|
|
+
|
|
|
+// Reference imports to suppress errors if they are not otherwise used.
|
|
|
+var _ context.Context
|
|
|
+var _ grpc.ClientConnInterface
|
|
|
+
|
|
|
+// This is a compile-time assertion to ensure that this generated file
|
|
|
+// is compatible with the grpc package it is being compiled against.
|
|
|
+const _ = grpc.SupportPackageIsVersion6
|
|
|
+
|
|
|
+// ContainersClient is the client API for Containers service.
|
|
|
+//
|
|
|
+// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
+type ContainersClient interface {
|
|
|
+ List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error)
|
|
|
+ Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error)
|
|
|
+ Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error)
|
|
|
+ Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
|
|
+ Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
|
|
+ Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*empty.Empty, error)
|
|
|
+ Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
|
|
|
+ Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error)
|
|
|
+}
|
|
|
+
|
|
|
+type containersClient struct {
|
|
|
+ cc grpc.ClientConnInterface
|
|
|
+}
|
|
|
+
|
|
|
+func NewContainersClient(cc grpc.ClientConnInterface) ContainersClient {
|
|
|
+ return &containersClient{cc}
|
|
|
+}
|
|
|
+
|
|
|
+func (c *containersClient) List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) {
|
|
|
+ out := new(ListResponse)
|
|
|
+ err := c.cc.Invoke(ctx, "/com.docker.container.v1.Containers/List", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *containersClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) {
|
|
|
+ out := new(CreateResponse)
|
|
|
+ err := c.cc.Invoke(ctx, "/com.docker.container.v1.Containers/Create", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *containersClient) Start(ctx context.Context, in *StartRequest, opts ...grpc.CallOption) (*StartResponse, error) {
|
|
|
+ out := new(StartResponse)
|
|
|
+ err := c.cc.Invoke(ctx, "/com.docker.container.v1.Containers/Start", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *containersClient) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
|
+ out := new(empty.Empty)
|
|
|
+ err := c.cc.Invoke(ctx, "/com.docker.container.v1.Containers/Stop", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *containersClient) Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
|
+ out := new(empty.Empty)
|
|
|
+ err := c.cc.Invoke(ctx, "/com.docker.container.v1.Containers/Kill", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *containersClient) Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*empty.Empty, error) {
|
|
|
+ out := new(empty.Empty)
|
|
|
+ err := c.cc.Invoke(ctx, "/com.docker.container.v1.Containers/Delete", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *containersClient) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) {
|
|
|
+ out := new(UpdateResponse)
|
|
|
+ err := c.cc.Invoke(ctx, "/com.docker.container.v1.Containers/Update", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *containersClient) Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error) {
|
|
|
+ out := new(ExecResponse)
|
|
|
+ err := c.cc.Invoke(ctx, "/com.docker.container.v1.Containers/Exec", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+// ContainersServer is the server API for Containers service.
|
|
|
+type ContainersServer interface {
|
|
|
+ List(context.Context, *ListRequest) (*ListResponse, error)
|
|
|
+ Create(context.Context, *CreateRequest) (*CreateResponse, error)
|
|
|
+ Start(context.Context, *StartRequest) (*StartResponse, error)
|
|
|
+ Stop(context.Context, *StopRequest) (*empty.Empty, error)
|
|
|
+ Kill(context.Context, *KillRequest) (*empty.Empty, error)
|
|
|
+ Delete(context.Context, *DeleteRequest) (*empty.Empty, error)
|
|
|
+ Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
|
|
|
+ Exec(context.Context, *ExecRequest) (*ExecResponse, error)
|
|
|
+}
|
|
|
+
|
|
|
+// UnimplementedContainersServer can be embedded to have forward compatible implementations.
|
|
|
+type UnimplementedContainersServer struct {
|
|
|
+}
|
|
|
+
|
|
|
+func (*UnimplementedContainersServer) List(context.Context, *ListRequest) (*ListResponse, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
|
|
|
+}
|
|
|
+func (*UnimplementedContainersServer) Create(context.Context, *CreateRequest) (*CreateResponse, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
|
|
|
+}
|
|
|
+func (*UnimplementedContainersServer) Start(context.Context, *StartRequest) (*StartResponse, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method Start not implemented")
|
|
|
+}
|
|
|
+func (*UnimplementedContainersServer) Stop(context.Context, *StopRequest) (*empty.Empty, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented")
|
|
|
+}
|
|
|
+func (*UnimplementedContainersServer) Kill(context.Context, *KillRequest) (*empty.Empty, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method Kill not implemented")
|
|
|
+}
|
|
|
+func (*UnimplementedContainersServer) Delete(context.Context, *DeleteRequest) (*empty.Empty, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
|
|
|
+}
|
|
|
+func (*UnimplementedContainersServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
|
|
|
+}
|
|
|
+func (*UnimplementedContainersServer) Exec(context.Context, *ExecRequest) (*ExecResponse, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method Exec not implemented")
|
|
|
+}
|
|
|
+
|
|
|
+func RegisterContainersServer(s *grpc.Server, srv ContainersServer) {
|
|
|
+ s.RegisterService(&_Containers_serviceDesc, srv)
|
|
|
+}
|
|
|
+
|
|
|
+func _Containers_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(ListRequest)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(ContainersServer).List(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/com.docker.container.v1.Containers/List",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ContainersServer).List(ctx, req.(*ListRequest))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Containers_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(CreateRequest)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(ContainersServer).Create(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/com.docker.container.v1.Containers/Create",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ContainersServer).Create(ctx, req.(*CreateRequest))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Containers_Start_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(StartRequest)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(ContainersServer).Start(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/com.docker.container.v1.Containers/Start",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ContainersServer).Start(ctx, req.(*StartRequest))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Containers_Stop_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(StopRequest)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(ContainersServer).Stop(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/com.docker.container.v1.Containers/Stop",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ContainersServer).Stop(ctx, req.(*StopRequest))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Containers_Kill_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(KillRequest)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(ContainersServer).Kill(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/com.docker.container.v1.Containers/Kill",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ContainersServer).Kill(ctx, req.(*KillRequest))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Containers_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(DeleteRequest)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(ContainersServer).Delete(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/com.docker.container.v1.Containers/Delete",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ContainersServer).Delete(ctx, req.(*DeleteRequest))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Containers_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(UpdateRequest)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(ContainersServer).Update(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/com.docker.container.v1.Containers/Update",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ContainersServer).Update(ctx, req.(*UpdateRequest))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Containers_Exec_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(ExecRequest)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(ContainersServer).Exec(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/com.docker.container.v1.Containers/Exec",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(ContainersServer).Exec(ctx, req.(*ExecRequest))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+var _Containers_serviceDesc = grpc.ServiceDesc{
|
|
|
+ ServiceName: "com.docker.container.v1.Containers",
|
|
|
+ HandlerType: (*ContainersServer)(nil),
|
|
|
+ Methods: []grpc.MethodDesc{
|
|
|
+ {
|
|
|
+ MethodName: "List",
|
|
|
+ Handler: _Containers_List_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "Create",
|
|
|
+ Handler: _Containers_Create_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "Start",
|
|
|
+ Handler: _Containers_Start_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "Stop",
|
|
|
+ Handler: _Containers_Stop_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "Kill",
|
|
|
+ Handler: _Containers_Kill_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "Delete",
|
|
|
+ Handler: _Containers_Delete_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "Update",
|
|
|
+ Handler: _Containers_Update_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "Exec",
|
|
|
+ Handler: _Containers_Exec_Handler,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ Streams: []grpc.StreamDesc{},
|
|
|
+ Metadata: "containers/v1/containers.proto",
|
|
|
+}
|