common

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: GPL-3.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DeployStateFAILED     string = "FAILED"
	DeployStateSUCCEEDED  string = "SUCCEEDED"
	DeployStateINPROGRESS string = "INPROGRESS"
	DeployStateDESTROYED  string = "DESTROYED"
)

Variables

View Source
var (
	RPCStatus_name = map[int32]string{
		0: "SUCCESS",
		1: "FAILURE",
	}
	RPCStatus_value = map[string]int32{
		"SUCCESS": 0,
		"FAILURE": 1,
	}
)

Enum value maps for RPCStatus.

View Source
var File_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type HandshakeReply

type HandshakeReply struct {
	ServerVersion string `protobuf:"bytes,1,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	// contains filtered or unexported fields
}

func (*HandshakeReply) Descriptor deprecated

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

Deprecated: Use HandshakeReply.ProtoReflect.Descriptor instead.

func (*HandshakeReply) GetServerVersion

func (x *HandshakeReply) GetServerVersion() string

func (*HandshakeReply) ProtoMessage

func (*HandshakeReply) ProtoMessage()

func (*HandshakeReply) ProtoReflect

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

func (*HandshakeReply) Reset

func (x *HandshakeReply) Reset()

func (*HandshakeReply) String

func (x *HandshakeReply) String() string

type HandshakeRequest

type HandshakeRequest struct {
	ClientVersion string `protobuf:"bytes,1,opt,name=client_version,json=clientVersion,proto3" json:"client_version,omitempty"`
	// contains filtered or unexported fields
}

Handshake (DO NOT MODIFY)

func (*HandshakeRequest) Descriptor deprecated

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

Deprecated: Use HandshakeRequest.ProtoReflect.Descriptor instead.

func (*HandshakeRequest) GetClientVersion

func (x *HandshakeRequest) GetClientVersion() string

func (*HandshakeRequest) ProtoMessage

func (*HandshakeRequest) ProtoMessage()

func (*HandshakeRequest) ProtoReflect

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

func (*HandshakeRequest) Reset

func (x *HandshakeRequest) Reset()

func (*HandshakeRequest) String

func (x *HandshakeRequest) String() string

type RPCStatus

type RPCStatus int32
const (
	RPCStatus_SUCCESS RPCStatus = 0
	RPCStatus_FAILURE RPCStatus = 1
)

func (RPCStatus) Descriptor

func (RPCStatus) Descriptor() protoreflect.EnumDescriptor

func (RPCStatus) Enum

func (x RPCStatus) Enum() *RPCStatus

func (RPCStatus) EnumDescriptor deprecated

func (RPCStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use RPCStatus.Descriptor instead.

func (RPCStatus) Number

func (x RPCStatus) Number() protoreflect.EnumNumber

func (RPCStatus) String

func (x RPCStatus) String() string

func (RPCStatus) Type

type RPCStatusReply

type RPCStatusReply struct {
	Status RPCStatus `protobuf:"varint,1,opt,name=status,proto3,enum=RPCStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*RPCStatusReply) Descriptor deprecated

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

Deprecated: Use RPCStatusReply.ProtoReflect.Descriptor instead.

func (*RPCStatusReply) GetStatus

func (x *RPCStatusReply) GetStatus() RPCStatus

func (*RPCStatusReply) ProtoMessage

func (*RPCStatusReply) ProtoMessage()

func (*RPCStatusReply) ProtoReflect

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

func (*RPCStatusReply) Reset

func (x *RPCStatusReply) Reset()

func (*RPCStatusReply) String

func (x *RPCStatusReply) String() string

Jump to

Keyboard shortcuts

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