Documentation ¶
Index ¶
- Variables
- func RegisterDockerServerServer(s *grpc.Server, srv DockerServerServer)
- type DockerServerClient
- type DockerServerServer
- type StopContainerReply
- func (*StopContainerReply) Descriptor() ([]byte, []int)deprecated
- func (x *StopContainerReply) GetError() string
- func (x *StopContainerReply) GetId() string
- func (x *StopContainerReply) GetSuccess() bool
- func (*StopContainerReply) ProtoMessage()
- func (x *StopContainerReply) ProtoReflect() protoreflect.Message
- func (x *StopContainerReply) Reset()
- func (x *StopContainerReply) String() string
- type StopContainerRequest
- func (*StopContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopContainerRequest) GetId() string
- func (*StopContainerRequest) ProtoMessage()
- func (x *StopContainerRequest) ProtoReflect() protoreflect.Message
- func (x *StopContainerRequest) Reset()
- func (x *StopContainerRequest) String() string
- type UnimplementedDockerServerServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_helloworld_helloworld_kemper_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDockerServerServer ¶
func RegisterDockerServerServer(s *grpc.Server, srv DockerServerServer)
Types ¶
type DockerServerClient ¶
type DockerServerClient interface {
StopContainer(ctx context.Context, in *StopContainerRequest, opts ...grpc.CallOption) (*StopContainerReply, error)
}
DockerServerClient is the client API for DockerServer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDockerServerClient ¶
func NewDockerServerClient(cc grpc.ClientConnInterface) DockerServerClient
type DockerServerServer ¶
type DockerServerServer interface {
StopContainer(context.Context, *StopContainerRequest) (*StopContainerReply, error)
}
DockerServerServer is the server API for DockerServer service.
type StopContainerReply ¶
type StopContainerReply struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // contains filtered or unexported fields }
func (*StopContainerReply) Descriptor
deprecated
func (*StopContainerReply) Descriptor() ([]byte, []int)
Deprecated: Use StopContainerReply.ProtoReflect.Descriptor instead.
func (*StopContainerReply) GetError ¶
func (x *StopContainerReply) GetError() string
func (*StopContainerReply) GetId ¶
func (x *StopContainerReply) GetId() string
func (*StopContainerReply) GetSuccess ¶
func (x *StopContainerReply) GetSuccess() bool
func (*StopContainerReply) ProtoMessage ¶
func (*StopContainerReply) ProtoMessage()
func (*StopContainerReply) ProtoReflect ¶
func (x *StopContainerReply) ProtoReflect() protoreflect.Message
func (*StopContainerReply) Reset ¶
func (x *StopContainerReply) Reset()
func (*StopContainerReply) String ¶
func (x *StopContainerReply) String() string
type StopContainerRequest ¶
type StopContainerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*StopContainerRequest) Descriptor
deprecated
func (*StopContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopContainerRequest.ProtoReflect.Descriptor instead.
func (*StopContainerRequest) GetId ¶
func (x *StopContainerRequest) GetId() string
func (*StopContainerRequest) ProtoMessage ¶
func (*StopContainerRequest) ProtoMessage()
func (*StopContainerRequest) ProtoReflect ¶
func (x *StopContainerRequest) ProtoReflect() protoreflect.Message
func (*StopContainerRequest) Reset ¶
func (x *StopContainerRequest) Reset()
func (*StopContainerRequest) String ¶
func (x *StopContainerRequest) String() string
type UnimplementedDockerServerServer ¶
type UnimplementedDockerServerServer struct { }
UnimplementedDockerServerServer can be embedded to have forward compatible implementations.
func (*UnimplementedDockerServerServer) StopContainer ¶
func (*UnimplementedDockerServerServer) StopContainer(context.Context, *StopContainerRequest) (*StopContainerReply, error)
Click to show internal directories.
Click to hide internal directories.