Documentation ¶
Index ¶
- Variables
- type Register
- func (*Register) Descriptor() ([]byte, []int)deprecated
- func (x *Register) GetId() string
- func (x *Register) GetSecret() string
- func (x *Register) GetTags() []string
- func (*Register) ProtoMessage()
- func (x *Register) ProtoReflect() protoreflect.Message
- func (x *Register) Reset()
- func (x *Register) String() string
- type RunCommand
- type RunCommandFinalResponse
- func (*RunCommandFinalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunCommandFinalResponse) GetPartialResponse() *RunCommandPartialResponse
- func (x *RunCommandFinalResponse) GetReturnCode() int64
- func (*RunCommandFinalResponse) ProtoMessage()
- func (x *RunCommandFinalResponse) ProtoReflect() protoreflect.Message
- func (x *RunCommandFinalResponse) Reset()
- func (x *RunCommandFinalResponse) String() string
- type RunCommandPartialResponse
- func (*RunCommandPartialResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunCommandPartialResponse) GetStderr() string
- func (x *RunCommandPartialResponse) GetStdout() string
- func (*RunCommandPartialResponse) ProtoMessage()
- func (x *RunCommandPartialResponse) ProtoReflect() protoreflect.Message
- func (x *RunCommandPartialResponse) Reset()
- func (x *RunCommandPartialResponse) String() string
- type RunnerToServerMsg
- func (*RunnerToServerMsg) Descriptor() ([]byte, []int)deprecated
- func (m *RunnerToServerMsg) GetMsg() isRunnerToServerMsg_Msg
- func (x *RunnerToServerMsg) GetRunCommandFinalResponseMsg() *RunCommandFinalResponse
- func (x *RunnerToServerMsg) GetRunCommandPartialResponseMsg() *RunCommandPartialResponse
- func (*RunnerToServerMsg) ProtoMessage()
- func (x *RunnerToServerMsg) ProtoReflect() protoreflect.Message
- func (x *RunnerToServerMsg) Reset()
- func (x *RunnerToServerMsg) String() string
- type RunnerToServerMsg_RunCommandFinalResponseMsg
- type RunnerToServerMsg_RunCommandPartialResponseMsg
- type ServerToRunnerMsg
- func (*ServerToRunnerMsg) Descriptor() ([]byte, []int)deprecated
- func (m *ServerToRunnerMsg) GetMsg() isServerToRunnerMsg_Msg
- func (x *ServerToRunnerMsg) GetRunCommandMsg() *RunCommand
- func (*ServerToRunnerMsg) ProtoMessage()
- func (x *ServerToRunnerMsg) ProtoReflect() protoreflect.Message
- func (x *ServerToRunnerMsg) Reset()
- func (x *ServerToRunnerMsg) String() string
- type ServerToRunnerMsg_RunCommandMsg
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_v2_api_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Register ¶
type Register struct { Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*Register) Descriptor
deprecated
func (*Register) ProtoMessage ¶
func (*Register) ProtoMessage()
func (*Register) ProtoReflect ¶
func (x *Register) ProtoReflect() protoreflect.Message
type RunCommand ¶
type RunCommand struct { Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"` Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*RunCommand) Descriptor
deprecated
func (*RunCommand) Descriptor() ([]byte, []int)
Deprecated: Use RunCommand.ProtoReflect.Descriptor instead.
func (*RunCommand) GetArgs ¶
func (x *RunCommand) GetArgs() []string
func (*RunCommand) GetCommand ¶
func (x *RunCommand) GetCommand() string
func (*RunCommand) ProtoMessage ¶
func (*RunCommand) ProtoMessage()
func (*RunCommand) ProtoReflect ¶
func (x *RunCommand) ProtoReflect() protoreflect.Message
func (*RunCommand) Reset ¶
func (x *RunCommand) Reset()
func (*RunCommand) String ¶
func (x *RunCommand) String() string
type RunCommandFinalResponse ¶
type RunCommandFinalResponse struct { ReturnCode int64 `protobuf:"varint,1,opt,name=return_code,json=returnCode,proto3" json:"return_code,omitempty"` PartialResponse *RunCommandPartialResponse `protobuf:"bytes,2,opt,name=partial_response,json=partialResponse,proto3" json:"partial_response,omitempty"` // contains filtered or unexported fields }
func (*RunCommandFinalResponse) Descriptor
deprecated
func (*RunCommandFinalResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunCommandFinalResponse.ProtoReflect.Descriptor instead.
func (*RunCommandFinalResponse) GetPartialResponse ¶
func (x *RunCommandFinalResponse) GetPartialResponse() *RunCommandPartialResponse
func (*RunCommandFinalResponse) GetReturnCode ¶
func (x *RunCommandFinalResponse) GetReturnCode() int64
func (*RunCommandFinalResponse) ProtoMessage ¶
func (*RunCommandFinalResponse) ProtoMessage()
func (*RunCommandFinalResponse) ProtoReflect ¶
func (x *RunCommandFinalResponse) ProtoReflect() protoreflect.Message
func (*RunCommandFinalResponse) Reset ¶
func (x *RunCommandFinalResponse) Reset()
func (*RunCommandFinalResponse) String ¶
func (x *RunCommandFinalResponse) String() string
type RunCommandPartialResponse ¶
type RunCommandPartialResponse struct { Stdout string `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr string `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"` // contains filtered or unexported fields }
func (*RunCommandPartialResponse) Descriptor
deprecated
func (*RunCommandPartialResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunCommandPartialResponse.ProtoReflect.Descriptor instead.
func (*RunCommandPartialResponse) GetStderr ¶
func (x *RunCommandPartialResponse) GetStderr() string
func (*RunCommandPartialResponse) GetStdout ¶
func (x *RunCommandPartialResponse) GetStdout() string
func (*RunCommandPartialResponse) ProtoMessage ¶
func (*RunCommandPartialResponse) ProtoMessage()
func (*RunCommandPartialResponse) ProtoReflect ¶
func (x *RunCommandPartialResponse) ProtoReflect() protoreflect.Message
func (*RunCommandPartialResponse) Reset ¶
func (x *RunCommandPartialResponse) Reset()
func (*RunCommandPartialResponse) String ¶
func (x *RunCommandPartialResponse) String() string
type RunnerToServerMsg ¶
type RunnerToServerMsg struct { // Types that are assignable to Msg: // // *RunnerToServerMsg_RunCommandPartialResponseMsg // *RunnerToServerMsg_RunCommandFinalResponseMsg Msg isRunnerToServerMsg_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*RunnerToServerMsg) Descriptor
deprecated
func (*RunnerToServerMsg) Descriptor() ([]byte, []int)
Deprecated: Use RunnerToServerMsg.ProtoReflect.Descriptor instead.
func (*RunnerToServerMsg) GetMsg ¶
func (m *RunnerToServerMsg) GetMsg() isRunnerToServerMsg_Msg
func (*RunnerToServerMsg) GetRunCommandFinalResponseMsg ¶
func (x *RunnerToServerMsg) GetRunCommandFinalResponseMsg() *RunCommandFinalResponse
func (*RunnerToServerMsg) GetRunCommandPartialResponseMsg ¶
func (x *RunnerToServerMsg) GetRunCommandPartialResponseMsg() *RunCommandPartialResponse
func (*RunnerToServerMsg) ProtoMessage ¶
func (*RunnerToServerMsg) ProtoMessage()
func (*RunnerToServerMsg) ProtoReflect ¶
func (x *RunnerToServerMsg) ProtoReflect() protoreflect.Message
func (*RunnerToServerMsg) Reset ¶
func (x *RunnerToServerMsg) Reset()
func (*RunnerToServerMsg) String ¶
func (x *RunnerToServerMsg) String() string
type RunnerToServerMsg_RunCommandFinalResponseMsg ¶
type RunnerToServerMsg_RunCommandFinalResponseMsg struct {
RunCommandFinalResponseMsg *RunCommandFinalResponse `protobuf:"bytes,2,opt,name=RunCommandFinalResponseMsg,proto3,oneof"`
}
type RunnerToServerMsg_RunCommandPartialResponseMsg ¶
type RunnerToServerMsg_RunCommandPartialResponseMsg struct {
RunCommandPartialResponseMsg *RunCommandPartialResponse `protobuf:"bytes,1,opt,name=RunCommandPartialResponseMsg,proto3,oneof"`
}
type ServerToRunnerMsg ¶
type ServerToRunnerMsg struct { // Types that are assignable to Msg: // // *ServerToRunnerMsg_RunCommandMsg Msg isServerToRunnerMsg_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*ServerToRunnerMsg) Descriptor
deprecated
func (*ServerToRunnerMsg) Descriptor() ([]byte, []int)
Deprecated: Use ServerToRunnerMsg.ProtoReflect.Descriptor instead.
func (*ServerToRunnerMsg) GetMsg ¶
func (m *ServerToRunnerMsg) GetMsg() isServerToRunnerMsg_Msg
func (*ServerToRunnerMsg) GetRunCommandMsg ¶
func (x *ServerToRunnerMsg) GetRunCommandMsg() *RunCommand
func (*ServerToRunnerMsg) ProtoMessage ¶
func (*ServerToRunnerMsg) ProtoMessage()
func (*ServerToRunnerMsg) ProtoReflect ¶
func (x *ServerToRunnerMsg) ProtoReflect() protoreflect.Message
func (*ServerToRunnerMsg) Reset ¶
func (x *ServerToRunnerMsg) Reset()
func (*ServerToRunnerMsg) String ¶
func (x *ServerToRunnerMsg) String() string
type ServerToRunnerMsg_RunCommandMsg ¶
type ServerToRunnerMsg_RunCommandMsg struct {
RunCommandMsg *RunCommand `protobuf:"bytes,1,opt,name=RunCommandMsg,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.