scripts

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRemoteExecServer

func RegisterRemoteExecServer(s *grpc.Server, srv RemoteExecServer)

Types

type ExecuteReply

type ExecuteReply struct {
	Status               string   `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExecuteReply) Descriptor

func (*ExecuteReply) Descriptor() ([]byte, []int)

func (*ExecuteReply) GetStatus

func (m *ExecuteReply) GetStatus() string

func (*ExecuteReply) ProtoMessage

func (*ExecuteReply) ProtoMessage()

func (*ExecuteReply) Reset

func (m *ExecuteReply) Reset()

func (*ExecuteReply) String

func (m *ExecuteReply) String() string

func (*ExecuteReply) XXX_DiscardUnknown

func (m *ExecuteReply) XXX_DiscardUnknown()

func (*ExecuteReply) XXX_Marshal

func (m *ExecuteReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecuteReply) XXX_Merge

func (m *ExecuteReply) XXX_Merge(src proto.Message)

func (*ExecuteReply) XXX_Size

func (m *ExecuteReply) XXX_Size() int

func (*ExecuteReply) XXX_Unmarshal

func (m *ExecuteReply) XXX_Unmarshal(b []byte) error

type ExecuteRequest

type ExecuteRequest struct {
	Id                   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Control              string   `protobuf:"bytes,2,opt,name=control,proto3" json:"control,omitempty"`
	Command              string   `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
	Extra                int32    `protobuf:"varint,4,opt,name=extra,proto3" json:"extra,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExecuteRequest) Descriptor

func (*ExecuteRequest) Descriptor() ([]byte, []int)

func (*ExecuteRequest) GetCommand

func (m *ExecuteRequest) GetCommand() string

func (*ExecuteRequest) GetControl

func (m *ExecuteRequest) GetControl() string

func (*ExecuteRequest) GetExtra

func (m *ExecuteRequest) GetExtra() int32

func (*ExecuteRequest) GetId

func (m *ExecuteRequest) GetId() int32

func (*ExecuteRequest) ProtoMessage

func (*ExecuteRequest) ProtoMessage()

func (*ExecuteRequest) Reset

func (m *ExecuteRequest) Reset()

func (*ExecuteRequest) String

func (m *ExecuteRequest) String() string

func (*ExecuteRequest) XXX_DiscardUnknown

func (m *ExecuteRequest) XXX_DiscardUnknown()

func (*ExecuteRequest) XXX_Marshal

func (m *ExecuteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecuteRequest) XXX_Merge

func (m *ExecuteRequest) XXX_Merge(src proto.Message)

func (*ExecuteRequest) XXX_Size

func (m *ExecuteRequest) XXX_Size() int

func (*ExecuteRequest) XXX_Unmarshal

func (m *ExecuteRequest) XXX_Unmarshal(b []byte) error

type RemoteExecClient

type RemoteExecClient interface {
	Execute(ctx context.Context, in *ExecuteRequest, opts ...grpc.CallOption) (*ExecuteReply, error)
}

RemoteExecClient is the client API for RemoteExec service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRemoteExecClient

func NewRemoteExecClient(cc *grpc.ClientConn) RemoteExecClient

type RemoteExecServer

type RemoteExecServer interface {
	Execute(context.Context, *ExecuteRequest) (*ExecuteReply, error)
}

RemoteExecServer is the server API for RemoteExec service.

type UnimplementedRemoteExecServer

type UnimplementedRemoteExecServer struct {
}

UnimplementedRemoteExecServer can be embedded to have forward compatible implementations.

func (*UnimplementedRemoteExecServer) Execute

Jump to

Keyboard shortcuts

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