apiv2

package module
v2.0.0-...-e20285f Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Register.ProtoReflect.Descriptor instead.

func (*Register) GetId

func (x *Register) GetId() string

func (*Register) GetSecret

func (x *Register) GetSecret() string

func (*Register) GetTags

func (x *Register) GetTags() []string

func (*Register) ProtoMessage

func (*Register) ProtoMessage()

func (*Register) ProtoReflect

func (x *Register) ProtoReflect() protoreflect.Message

func (*Register) Reset

func (x *Register) Reset()

func (*Register) String

func (x *Register) String() string

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 (*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"`
}

Jump to

Keyboard shortcuts

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