Documentation
¶
Index ¶
- Variables
- func CallServer(args []string)
- func NewServer(host string, command string)
- func RegisterRcodeServer(s *grpc.Server, srv RcodeServer)
- type LaunchRequest
- func (*LaunchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LaunchRequest) GetArgs() []string
- func (x *LaunchRequest) GetRemoteHostname() string
- func (*LaunchRequest) ProtoMessage()
- func (x *LaunchRequest) ProtoReflect() protoreflect.Message
- func (x *LaunchRequest) Reset()
- func (x *LaunchRequest) String() string
- type LaunchResponse
- func (*LaunchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LaunchResponse) GetMessage() string
- func (x *LaunchResponse) GetReturnCode() int32
- func (*LaunchResponse) ProtoMessage()
- func (x *LaunchResponse) ProtoReflect() protoreflect.Message
- func (x *LaunchResponse) Reset()
- func (x *LaunchResponse) String() string
- type RcodeClient
- type RcodeConf
- type RcodeServer
- type UnimplementedRcodeServer
Constants ¶
This section is empty.
Variables ¶
View Source
var File_rcode_proto protoreflect.FileDescriptor
Functions ¶
func CallServer ¶
func CallServer(args []string)
func RegisterRcodeServer ¶
func RegisterRcodeServer(s *grpc.Server, srv RcodeServer)
Types ¶
type LaunchRequest ¶
type LaunchRequest struct {
RemoteHostname string `protobuf:"bytes,1,opt,name=remote_hostname,json=remoteHostname,proto3" json:"remote_hostname,omitempty"`
Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
// contains filtered or unexported fields
}
func (*LaunchRequest) Descriptor
deprecated
func (*LaunchRequest) Descriptor() ([]byte, []int)
Deprecated: Use LaunchRequest.ProtoReflect.Descriptor instead.
func (*LaunchRequest) GetArgs ¶
func (x *LaunchRequest) GetArgs() []string
func (*LaunchRequest) GetRemoteHostname ¶
func (x *LaunchRequest) GetRemoteHostname() string
func (*LaunchRequest) ProtoMessage ¶
func (*LaunchRequest) ProtoMessage()
func (*LaunchRequest) ProtoReflect ¶
func (x *LaunchRequest) ProtoReflect() protoreflect.Message
func (*LaunchRequest) Reset ¶
func (x *LaunchRequest) Reset()
func (*LaunchRequest) String ¶
func (x *LaunchRequest) String() string
type LaunchResponse ¶
type LaunchResponse struct {
ReturnCode int32 `protobuf:"varint,3,opt,name=return_code,json=returnCode,proto3" json:"return_code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*LaunchResponse) Descriptor
deprecated
func (*LaunchResponse) Descriptor() ([]byte, []int)
Deprecated: Use LaunchResponse.ProtoReflect.Descriptor instead.
func (*LaunchResponse) GetMessage ¶
func (x *LaunchResponse) GetMessage() string
func (*LaunchResponse) GetReturnCode ¶
func (x *LaunchResponse) GetReturnCode() int32
func (*LaunchResponse) ProtoMessage ¶
func (*LaunchResponse) ProtoMessage()
func (*LaunchResponse) ProtoReflect ¶
func (x *LaunchResponse) ProtoReflect() protoreflect.Message
func (*LaunchResponse) Reset ¶
func (x *LaunchResponse) Reset()
func (*LaunchResponse) String ¶
func (x *LaunchResponse) String() string
type RcodeClient ¶
type RcodeClient interface {
LaunchCode(ctx context.Context, in *LaunchRequest, opts ...grpc.CallOption) (*LaunchResponse, error)
}
RcodeClient is the client API for Rcode service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRcodeClient ¶
func NewRcodeClient(cc grpc.ClientConnInterface) RcodeClient
type RcodeServer ¶
type RcodeServer interface {
LaunchCode(context.Context, *LaunchRequest) (*LaunchResponse, error)
}
RcodeServer is the server API for Rcode service.
type UnimplementedRcodeServer ¶
type UnimplementedRcodeServer struct {
}
UnimplementedRcodeServer can be embedded to have forward compatible implementations.
func (*UnimplementedRcodeServer) LaunchCode ¶
func (*UnimplementedRcodeServer) LaunchCode(context.Context, *LaunchRequest) (*LaunchResponse, error)
Click to show internal directories.
Click to hide internal directories.