Documentation
¶
Index ¶
- Variables
- type Command
- func (*Command) Descriptor() ([]byte, []int)deprecated
- func (x *Command) GetArgs() []string
- func (x *Command) GetName() string
- func (x *Command) GetStdin() []byte
- func (x *Command) GetTimeoutMS() int32
- func (*Command) ProtoMessage()
- func (x *Command) ProtoReflect() protoreflect.Message
- func (x *Command) Reset()
- func (x *Command) String() string
- type CommandResult
- func (*CommandResult) Descriptor() ([]byte, []int)deprecated
- func (x *CommandResult) GetExitCode() int32
- func (x *CommandResult) GetFinished() bool
- func (x *CommandResult) GetStderr() []byte
- func (x *CommandResult) GetStdout() []byte
- func (*CommandResult) ProtoMessage()
- func (x *CommandResult) ProtoReflect() protoreflect.Message
- func (x *CommandResult) Reset()
- func (x *CommandResult) String() string
- type User
- type Users
Constants ¶
This section is empty.
Variables ¶
View Source
var File_remote_meta_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // 执行的命令 Args []string `protobuf:"bytes,2,rep,name=Args,proto3" json:"Args,omitempty"` // 命令的参数 TimeoutMS int32 `protobuf:"varint,3,opt,name=TimeoutMS,proto3" json:"TimeoutMS,omitempty"` // 超时时间,毫秒 Stdin []byte `protobuf:"bytes,4,opt,name=Stdin,proto3" json:"Stdin,omitempty"` // 标准输入 // contains filtered or unexported fields }
func (*Command) Descriptor
deprecated
func (*Command) GetTimeoutMS ¶
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
type CommandResult ¶
type CommandResult struct { Stdout []byte `protobuf:"bytes,1,opt,name=Stdout,proto3" json:"Stdout,omitempty"` Stderr []byte `protobuf:"bytes,2,opt,name=Stderr,proto3" json:"Stderr,omitempty"` Finished bool `protobuf:"varint,3,opt,name=Finished,proto3" json:"Finished,omitempty"` ExitCode int32 `protobuf:"varint,4,opt,name=ExitCode,proto3" json:"ExitCode,omitempty"` // contains filtered or unexported fields }
func (*CommandResult) Descriptor
deprecated
func (*CommandResult) Descriptor() ([]byte, []int)
Deprecated: Use CommandResult.ProtoReflect.Descriptor instead.
func (*CommandResult) GetExitCode ¶
func (x *CommandResult) GetExitCode() int32
func (*CommandResult) GetFinished ¶
func (x *CommandResult) GetFinished() bool
func (*CommandResult) GetStderr ¶
func (x *CommandResult) GetStderr() []byte
func (*CommandResult) GetStdout ¶
func (x *CommandResult) GetStdout() []byte
func (*CommandResult) ProtoMessage ¶
func (*CommandResult) ProtoMessage()
func (*CommandResult) ProtoReflect ¶
func (x *CommandResult) ProtoReflect() protoreflect.Message
func (*CommandResult) Reset ¶
func (x *CommandResult) Reset()
func (*CommandResult) String ¶
func (x *CommandResult) String() string
type User ¶
func (*User) ToAuthData ¶
Click to show internal directories.
Click to hide internal directories.