| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230 |
- //
- //Copyright (c) 2020 Docker Inc.
- //
- //Permission is hereby granted, free of charge, to any person
- //obtaining a copy of this software and associated documentation
- //files (the "Software"), to deal in the Software without
- //restriction, including without limitation the rights to use, copy,
- //modify, merge, publish, distribute, sublicense, and/or sell copies
- //of the Software, and to permit persons to whom the Software is
- //furnished to do so, subject to the following conditions:
- //
- //The above copyright notice and this permission notice shall be
- //included in all copies or substantial portions of the Software.
- //
- //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- //EXPRESS OR IMPLIED,
- //INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- //FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- //IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
- //HOLDERS BE LIABLE FOR ANY CLAIM,
- //DAMAGES OR OTHER LIABILITY,
- //WHETHER IN AN ACTION OF CONTRACT,
- //TORT OR OTHERWISE,
- //ARISING FROM, OUT OF OR IN CONNECTION WITH
- //THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.22.0
- // protoc v3.11.2
- // source: containers/v1/containers.proto
- package v1
- import (
- context "context"
- reflect "reflect"
- sync "sync"
- proto "github.com/golang/protobuf/proto"
- 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"
- )
- 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 Port struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- HostPort uint32 `protobuf:"varint,1,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"`
- ContainerPort uint32 `protobuf:"varint,2,opt,name=container_port,json=containerPort,proto3" json:"container_port,omitempty"`
- Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
- HostIp string `protobuf:"bytes,4,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
- }
- func (x *Port) Reset() {
- *x = Port{}
- if protoimpl.UnsafeEnabled {
- mi := &file_containers_v1_containers_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Port) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Port) ProtoMessage() {}
- func (x *Port) 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 Port.ProtoReflect.Descriptor instead.
- func (*Port) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{0}
- }
- func (x *Port) GetHostPort() uint32 {
- if x != nil {
- return x.HostPort
- }
- return 0
- }
- func (x *Port) GetContainerPort() uint32 {
- if x != nil {
- return x.ContainerPort
- }
- return 0
- }
- func (x *Port) GetProtocol() string {
- if x != nil {
- return x.Protocol
- }
- return ""
- }
- func (x *Port) GetHostIp() string {
- if x != nil {
- return x.HostIp
- }
- return ""
- }
- 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"`
- Command string `protobuf:"bytes,4,opt,name=command,proto3" json:"command,omitempty"`
- CpuTime uint64 `protobuf:"varint,5,opt,name=cpu_time,json=cpuTime,proto3" json:"cpu_time,omitempty"`
- MemoryUsage uint64 `protobuf:"varint,6,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"`
- MemoryLimit uint64 `protobuf:"varint,7,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
- PidsCurrent uint64 `protobuf:"varint,8,opt,name=pids_current,json=pidsCurrent,proto3" json:"pids_current,omitempty"`
- PidsLimit uint64 `protobuf:"varint,9,opt,name=pids_limit,json=pidsLimit,proto3" json:"pids_limit,omitempty"`
- Labels []string `protobuf:"bytes,10,rep,name=labels,proto3" json:"labels,omitempty"`
- Ports []*Port `protobuf:"bytes,11,rep,name=ports,proto3" json:"ports,omitempty"`
- }
- func (x *Container) Reset() {
- *x = Container{}
- if protoimpl.UnsafeEnabled {
- mi := &file_containers_v1_containers_proto_msgTypes[1]
- 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[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 Container.ProtoReflect.Descriptor instead.
- func (*Container) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{1}
- }
- 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) GetCommand() string {
- if x != nil {
- return x.Command
- }
- 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
- }
- func (x *Container) GetPorts() []*Port {
- if x != nil {
- return x.Ports
- }
- 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 map[string]string `protobuf:"bytes,14,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
- }
- func (x *CreateRequest) Reset() {
- *x = CreateRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_containers_v1_containers_proto_msgTypes[2]
- 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[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 CreateRequest.ProtoReflect.Descriptor instead.
- func (*CreateRequest) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{2}
- }
- 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() map[string]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[3]
- 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[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 Mount.ProtoReflect.Descriptor instead.
- func (*Mount) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{3}
- }
- 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[4]
- 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[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 CreateResponse.ProtoReflect.Descriptor instead.
- func (*CreateResponse) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{4}
- }
- 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[5]
- 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[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 UpdateRequest.ProtoReflect.Descriptor instead.
- func (*UpdateRequest) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{5}
- }
- 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[6]
- 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[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 UpdateResponse.ProtoReflect.Descriptor instead.
- func (*UpdateResponse) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{6}
- }
- 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[7]
- 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[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 DeleteRequest.ProtoReflect.Descriptor instead.
- func (*DeleteRequest) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{7}
- }
- 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 DeleteResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *DeleteResponse) Reset() {
- *x = DeleteResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_containers_v1_containers_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DeleteResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DeleteResponse) ProtoMessage() {}
- func (x *DeleteResponse) 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 DeleteResponse.ProtoReflect.Descriptor instead.
- func (*DeleteResponse) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{8}
- }
- 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[9]
- 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[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 StartRequest.ProtoReflect.Descriptor instead.
- func (*StartRequest) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{9}
- }
- 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[10]
- 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[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 StartResponse.ProtoReflect.Descriptor instead.
- func (*StartResponse) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{10}
- }
- type StopRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
- Timeout uint32 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
- }
- func (x *StopRequest) Reset() {
- *x = StopRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_containers_v1_containers_proto_msgTypes[11]
- 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[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 StopRequest.ProtoReflect.Descriptor instead.
- func (*StopRequest) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{11}
- }
- func (x *StopRequest) GetId() string {
- if x != nil {
- return x.Id
- }
- return ""
- }
- func (x *StopRequest) GetTimeout() uint32 {
- if x != nil {
- return x.Timeout
- }
- return 0
- }
- type StopResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *StopResponse) Reset() {
- *x = StopResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_containers_v1_containers_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *StopResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*StopResponse) ProtoMessage() {}
- func (x *StopResponse) 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 StopResponse.ProtoReflect.Descriptor instead.
- func (*StopResponse) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{12}
- }
- 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[13]
- 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[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 ExecRequest.ProtoReflect.Descriptor instead.
- func (*ExecRequest) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{13}
- }
- 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[14]
- 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[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 ExecResponse.ProtoReflect.Descriptor instead.
- func (*ExecResponse) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{14}
- }
- 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[15]
- 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[15]
- 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{15}
- }
- 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 KillResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- }
- func (x *KillResponse) Reset() {
- *x = KillResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_containers_v1_containers_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *KillResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*KillResponse) ProtoMessage() {}
- func (x *KillResponse) ProtoReflect() protoreflect.Message {
- mi := &file_containers_v1_containers_proto_msgTypes[16]
- 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 KillResponse.ProtoReflect.Descriptor instead.
- func (*KillResponse) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{16}
- }
- type ListRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- All bool `protobuf:"varint,1,opt,name=all,proto3" json:"all,omitempty"`
- }
- func (x *ListRequest) Reset() {
- *x = ListRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_containers_v1_containers_proto_msgTypes[17]
- 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[17]
- 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{17}
- }
- func (x *ListRequest) GetAll() bool {
- if x != nil {
- return x.All
- }
- return false
- }
- 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[18]
- 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[18]
- 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{18}
- }
- func (x *ListResponse) GetContainers() []*Container {
- if x != nil {
- return x.Containers
- }
- return nil
- }
- type LogsRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"`
- Follow bool `protobuf:"varint,2,opt,name=follow,proto3" json:"follow,omitempty"`
- }
- func (x *LogsRequest) Reset() {
- *x = LogsRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_containers_v1_containers_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *LogsRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LogsRequest) ProtoMessage() {}
- func (x *LogsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_containers_v1_containers_proto_msgTypes[19]
- 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 LogsRequest.ProtoReflect.Descriptor instead.
- func (*LogsRequest) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{19}
- }
- func (x *LogsRequest) GetContainerId() string {
- if x != nil {
- return x.ContainerId
- }
- return ""
- }
- func (x *LogsRequest) GetFollow() bool {
- if x != nil {
- return x.Follow
- }
- return false
- }
- type LogsResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Logs []byte `protobuf:"bytes,1,opt,name=logs,proto3" json:"logs,omitempty"`
- }
- func (x *LogsResponse) Reset() {
- *x = LogsResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_containers_v1_containers_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *LogsResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*LogsResponse) ProtoMessage() {}
- func (x *LogsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_containers_v1_containers_proto_msgTypes[20]
- 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 LogsResponse.ProtoReflect.Descriptor instead.
- func (*LogsResponse) Descriptor() ([]byte, []int) {
- return file_containers_v1_containers_proto_rawDescGZIP(), []int{20}
- }
- func (x *LogsResponse) GetLogs() []byte {
- if x != nil {
- return x.Logs
- }
- 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, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x7f,
- 0x0a, 0x04, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x70,
- 0x6f, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x50,
- 0x6f, 0x72, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
- 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6f, 0x6e,
- 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x69,
- 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x6f, 0x73, 0x74, 0x49, 0x70, 0x22,
- 0xd8, 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, 0x18, 0x0a, 0x07, 0x63,
- 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
- 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x63, 0x70, 0x75, 0x5f, 0x74, 0x69, 0x6d,
- 0x65, 0x18, 0x05, 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, 0x06, 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, 0x07, 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, 0x08, 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, 0x09, 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, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
- 0x12, 0x38, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50,
- 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x22, 0x8a, 0x04, 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, 0x3b, 0x0a,
- 0x06, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e,
- 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
- 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 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, 0x4f, 0x0a, 0x06, 0x6c,
- 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x6f,
- 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e,
- 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45,
- 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b,
- 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
- 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
- 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 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, 0x10, 0x0a, 0x0e, 0x44, 0x65,
- 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 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, 0x37, 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, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d,
- 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65,
- 0x6f, 0x75, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 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, 0x0e, 0x0a, 0x0c, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x22, 0x1f, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
- 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x6c,
- 0x6c, 0x22, 0x57, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18,
- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b,
- 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
- 0x73, 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, 0x22, 0x48, 0x0a, 0x0b, 0x4c, 0x6f,
- 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e,
- 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06,
- 0x66, 0x6f, 0x6c, 0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x66, 0x6f,
- 0x6c, 0x6c, 0x6f, 0x77, 0x22, 0x22, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x0c, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x32, 0xfa, 0x06, 0x0a, 0x0a, 0x43, 0x6f, 0x6e,
- 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x5d, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12,
- 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
- 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x6f, 0x6d,
- 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74,
- 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
- 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e,
- 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e,
- 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
- 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x05, 0x53,
- 0x74, 0x61, 0x72, 0x74, 0x12, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
- 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
- 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e,
- 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a,
- 0x04, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b,
- 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
- 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70,
- 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e,
- 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x04,
- 0x4b, 0x69, 0x6c, 0x6c, 0x12, 0x29, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65,
- 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73,
- 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
- 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69,
- 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4b,
- 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x06, 0x44,
- 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b,
- 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72,
- 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e,
- 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76,
- 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x63, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x2b, 0x2e, 0x63, 0x6f, 0x6d,
- 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74,
- 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f,
- 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
- 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x04, 0x45, 0x78, 0x65, 0x63, 0x12, 0x29, 0x2e,
- 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63,
- 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65,
- 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64,
- 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69,
- 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x04, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x29, 0x2e, 0x63,
- 0x6f, 0x6d, 0x2e, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f,
- 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x6f,
- 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
- 0x65, 0x72, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
- 0x63, 0x6f, 0x6d, 0x2f, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 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, 22)
- var file_containers_v1_containers_proto_goTypes = []interface{}{
- (*Port)(nil), // 0: com.docker.api.containers.v1.Port
- (*Container)(nil), // 1: com.docker.api.containers.v1.Container
- (*CreateRequest)(nil), // 2: com.docker.api.containers.v1.CreateRequest
- (*Mount)(nil), // 3: com.docker.api.containers.v1.Mount
- (*CreateResponse)(nil), // 4: com.docker.api.containers.v1.CreateResponse
- (*UpdateRequest)(nil), // 5: com.docker.api.containers.v1.UpdateRequest
- (*UpdateResponse)(nil), // 6: com.docker.api.containers.v1.UpdateResponse
- (*DeleteRequest)(nil), // 7: com.docker.api.containers.v1.DeleteRequest
- (*DeleteResponse)(nil), // 8: com.docker.api.containers.v1.DeleteResponse
- (*StartRequest)(nil), // 9: com.docker.api.containers.v1.StartRequest
- (*StartResponse)(nil), // 10: com.docker.api.containers.v1.StartResponse
- (*StopRequest)(nil), // 11: com.docker.api.containers.v1.StopRequest
- (*StopResponse)(nil), // 12: com.docker.api.containers.v1.StopResponse
- (*ExecRequest)(nil), // 13: com.docker.api.containers.v1.ExecRequest
- (*ExecResponse)(nil), // 14: com.docker.api.containers.v1.ExecResponse
- (*KillRequest)(nil), // 15: com.docker.api.containers.v1.KillRequest
- (*KillResponse)(nil), // 16: com.docker.api.containers.v1.KillResponse
- (*ListRequest)(nil), // 17: com.docker.api.containers.v1.ListRequest
- (*ListResponse)(nil), // 18: com.docker.api.containers.v1.ListResponse
- (*LogsRequest)(nil), // 19: com.docker.api.containers.v1.LogsRequest
- (*LogsResponse)(nil), // 20: com.docker.api.containers.v1.LogsResponse
- nil, // 21: com.docker.api.containers.v1.CreateRequest.LabelsEntry
- }
- var file_containers_v1_containers_proto_depIdxs = []int32{
- 0, // 0: com.docker.api.containers.v1.Container.ports:type_name -> com.docker.api.containers.v1.Port
- 3, // 1: com.docker.api.containers.v1.CreateRequest.mounts:type_name -> com.docker.api.containers.v1.Mount
- 21, // 2: com.docker.api.containers.v1.CreateRequest.labels:type_name -> com.docker.api.containers.v1.CreateRequest.LabelsEntry
- 1, // 3: com.docker.api.containers.v1.ListResponse.containers:type_name -> com.docker.api.containers.v1.Container
- 17, // 4: com.docker.api.containers.v1.Containers.List:input_type -> com.docker.api.containers.v1.ListRequest
- 2, // 5: com.docker.api.containers.v1.Containers.Create:input_type -> com.docker.api.containers.v1.CreateRequest
- 9, // 6: com.docker.api.containers.v1.Containers.Start:input_type -> com.docker.api.containers.v1.StartRequest
- 11, // 7: com.docker.api.containers.v1.Containers.Stop:input_type -> com.docker.api.containers.v1.StopRequest
- 15, // 8: com.docker.api.containers.v1.Containers.Kill:input_type -> com.docker.api.containers.v1.KillRequest
- 7, // 9: com.docker.api.containers.v1.Containers.Delete:input_type -> com.docker.api.containers.v1.DeleteRequest
- 5, // 10: com.docker.api.containers.v1.Containers.Update:input_type -> com.docker.api.containers.v1.UpdateRequest
- 13, // 11: com.docker.api.containers.v1.Containers.Exec:input_type -> com.docker.api.containers.v1.ExecRequest
- 19, // 12: com.docker.api.containers.v1.Containers.Logs:input_type -> com.docker.api.containers.v1.LogsRequest
- 18, // 13: com.docker.api.containers.v1.Containers.List:output_type -> com.docker.api.containers.v1.ListResponse
- 4, // 14: com.docker.api.containers.v1.Containers.Create:output_type -> com.docker.api.containers.v1.CreateResponse
- 10, // 15: com.docker.api.containers.v1.Containers.Start:output_type -> com.docker.api.containers.v1.StartResponse
- 12, // 16: com.docker.api.containers.v1.Containers.Stop:output_type -> com.docker.api.containers.v1.StopResponse
- 16, // 17: com.docker.api.containers.v1.Containers.Kill:output_type -> com.docker.api.containers.v1.KillResponse
- 8, // 18: com.docker.api.containers.v1.Containers.Delete:output_type -> com.docker.api.containers.v1.DeleteResponse
- 6, // 19: com.docker.api.containers.v1.Containers.Update:output_type -> com.docker.api.containers.v1.UpdateResponse
- 14, // 20: com.docker.api.containers.v1.Containers.Exec:output_type -> com.docker.api.containers.v1.ExecResponse
- 20, // 21: com.docker.api.containers.v1.Containers.Logs:output_type -> com.docker.api.containers.v1.LogsResponse
- 13, // [13:22] is the sub-list for method output_type
- 4, // [4:13] is the sub-list for method input_type
- 4, // [4:4] is the sub-list for extension type_name
- 4, // [4:4] is the sub-list for extension extendee
- 0, // [0:4] 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.(*Port); 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.(*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[2].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[3].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[4].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[5].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[6].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[7].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[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DeleteResponse); 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.(*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[10].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[11].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[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StopResponse); 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.(*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[14].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[15].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[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*KillResponse); 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[17].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[18].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
- }
- }
- file_containers_v1_containers_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*LogsRequest); 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[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*LogsResponse); 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: 22,
- 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) (*StopResponse, error)
- Kill(ctx context.Context, in *KillRequest, opts ...grpc.CallOption) (*KillResponse, error)
- Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
- Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error)
- Exec(ctx context.Context, in *ExecRequest, opts ...grpc.CallOption) (*ExecResponse, error)
- Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, 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.api.containers.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.api.containers.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.api.containers.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) (*StopResponse, error) {
- out := new(StopResponse)
- err := c.cc.Invoke(ctx, "/com.docker.api.containers.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) (*KillResponse, error) {
- out := new(KillResponse)
- err := c.cc.Invoke(ctx, "/com.docker.api.containers.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) (*DeleteResponse, error) {
- out := new(DeleteResponse)
- err := c.cc.Invoke(ctx, "/com.docker.api.containers.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.api.containers.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.api.containers.v1.Containers/Exec", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
- }
- func (c *containersClient) Logs(ctx context.Context, in *LogsRequest, opts ...grpc.CallOption) (Containers_LogsClient, error) {
- stream, err := c.cc.NewStream(ctx, &_Containers_serviceDesc.Streams[0], "/com.docker.api.containers.v1.Containers/Logs", opts...)
- if err != nil {
- return nil, err
- }
- x := &containersLogsClient{stream}
- if err := x.ClientStream.SendMsg(in); err != nil {
- return nil, err
- }
- if err := x.ClientStream.CloseSend(); err != nil {
- return nil, err
- }
- return x, nil
- }
- type Containers_LogsClient interface {
- Recv() (*LogsResponse, error)
- grpc.ClientStream
- }
- type containersLogsClient struct {
- grpc.ClientStream
- }
- func (x *containersLogsClient) Recv() (*LogsResponse, error) {
- m := new(LogsResponse)
- if err := x.ClientStream.RecvMsg(m); err != nil {
- return nil, err
- }
- return m, 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) (*StopResponse, error)
- Kill(context.Context, *KillRequest) (*KillResponse, error)
- Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
- Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- Exec(context.Context, *ExecRequest) (*ExecResponse, error)
- Logs(*LogsRequest, Containers_LogsServer) 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) (*StopResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Stop not implemented")
- }
- func (*UnimplementedContainersServer) Kill(context.Context, *KillRequest) (*KillResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Kill not implemented")
- }
- func (*UnimplementedContainersServer) Delete(context.Context, *DeleteRequest) (*DeleteResponse, 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 (*UnimplementedContainersServer) Logs(*LogsRequest, Containers_LogsServer) error {
- return status.Errorf(codes.Unimplemented, "method Logs 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.api.containers.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.api.containers.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.api.containers.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.api.containers.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.api.containers.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.api.containers.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.api.containers.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.api.containers.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)
- }
- func _Containers_Logs_Handler(srv interface{}, stream grpc.ServerStream) error {
- m := new(LogsRequest)
- if err := stream.RecvMsg(m); err != nil {
- return err
- }
- return srv.(ContainersServer).Logs(m, &containersLogsServer{stream})
- }
- type Containers_LogsServer interface {
- Send(*LogsResponse) error
- grpc.ServerStream
- }
- type containersLogsServer struct {
- grpc.ServerStream
- }
- func (x *containersLogsServer) Send(m *LogsResponse) error {
- return x.ServerStream.SendMsg(m)
- }
- var _Containers_serviceDesc = grpc.ServiceDesc{
- ServiceName: "com.docker.api.containers.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{
- {
- StreamName: "Logs",
- Handler: _Containers_Logs_Handler,
- ServerStreams: true,
- },
- },
- Metadata: "containers/v1/containers.proto",
- }
|