Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Runtime_name = map[int32]string{ 0: "NODEJS", 1: "PYTHON", 2: "GO", } Runtime_value = map[string]int32{ "NODEJS": 0, "PYTHON": 1, "GO": 2, } )
Enum value maps for Runtime.
View Source
var File_code_code_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code struct { // Types that are assignable to Type: // // *Code_Function // *Code_Server Type isCode_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*Code) Descriptor
deprecated
func (*Code) GetFunction ¶
func (*Code) ProtoMessage ¶
func (*Code) ProtoMessage()
func (*Code) ProtoReflect ¶
func (x *Code) ProtoReflect() protoreflect.Message
type Code_Function ¶
type Code_Function struct {
Function *Function `protobuf:"bytes,1,opt,name=function,proto3,oneof"`
}
type Code_Server ¶
type Code_Server struct {
Server *Server `protobuf:"bytes,2,opt,name=server,proto3,oneof"`
}
type Function ¶
type Function struct {
// contains filtered or unexported fields
}
func (*Function) Descriptor
deprecated
func (*Function) ProtoMessage ¶
func (*Function) ProtoMessage()
func (*Function) ProtoReflect ¶
func (x *Function) ProtoReflect() protoreflect.Message
type Runtime ¶
type Runtime int32
func (Runtime) Descriptor ¶
func (Runtime) Descriptor() protoreflect.EnumDescriptor
func (Runtime) EnumDescriptor
deprecated
func (Runtime) Number ¶
func (x Runtime) Number() protoreflect.EnumNumber
func (Runtime) Type ¶
func (Runtime) Type() protoreflect.EnumType
type Server ¶
type Server struct { Runtime Runtime `protobuf:"varint,1,opt,name=runtime,proto3,enum=code.Runtime" json:"runtime,omitempty"` Grpc *grpc.Server `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"` // string containerURI = 4; // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetRuntime ¶
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.