iotmaker_util_docker_server

package module
v0.0.0-...-80ed8bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

README

grpc

Documentation

Index

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.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL