util

package
v0.0.0-...-cd23c2f Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_util_request_proto protoreflect.FileDescriptor
View Source
var File_pkg_util_response_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Output

type Output struct {
	Stdout string  `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
	Stderr *string `protobuf:"bytes,2,opt,name=stderr,proto3,oneof" json:"stderr,omitempty"`
	// contains filtered or unexported fields
}

func (*Output) Descriptor deprecated

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

Deprecated: Use Output.ProtoReflect.Descriptor instead.

func (*Output) GetStderr

func (x *Output) GetStderr() string

func (*Output) GetStdout

func (x *Output) GetStdout() string

func (*Output) ProtoMessage

func (*Output) ProtoMessage()

func (*Output) ProtoReflect

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

func (*Output) Reset

func (x *Output) Reset()

func (*Output) String

func (x *Output) String() string

type Parameter

type Parameter struct {
	Name  *string `protobuf:"bytes,1,opt,name=name,proto3,oneof" json:"name,omitempty"`
	Value string  `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Parameter) Descriptor deprecated

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

Deprecated: Use Parameter.ProtoReflect.Descriptor instead.

func (*Parameter) GetName

func (x *Parameter) GetName() string

func (*Parameter) GetValue

func (x *Parameter) GetValue() string

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) ProtoReflect

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

func (*Parameter) Reset

func (x *Parameter) Reset()

func (*Parameter) String

func (x *Parameter) String() string

type Request

type Request struct {
	Instance  uint64       `protobuf:"varint,1,opt,name=instance,proto3" json:"instance,omitempty"`
	Type      uint32       `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	Command   string       `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"`
	Parameter []*Parameter `protobuf:"bytes,4,rep,name=parameter,proto3" json:"parameter,omitempty"`
	// contains filtered or unexported fields
}

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetCommand

func (x *Request) GetCommand() string

func (*Request) GetInstance

func (x *Request) GetInstance() uint64

func (*Request) GetParameter

func (x *Request) GetParameter() []*Parameter

func (*Request) GetType

func (x *Request) GetType() uint32

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Response

type Response struct {
	Instance uint64  `protobuf:"varint,1,opt,name=instance,proto3" json:"instance,omitempty"`
	Status   int32   `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	Output   *Output `protobuf:"bytes,3,opt,name=output,proto3,oneof" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetInstance

func (x *Response) GetInstance() uint64

func (*Response) GetOutput

func (x *Response) GetOutput() *Output

func (*Response) GetStatus

func (x *Response) GetStatus() int32

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

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

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

Jump to

Keyboard shortcuts

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