code

package
v0.0.0-...-da789b0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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

Deprecated: Use Code.ProtoReflect.Descriptor instead.

func (*Code) GetFunction

func (x *Code) GetFunction() *Function

func (*Code) GetServer

func (x *Code) GetServer() *Server

func (*Code) GetType

func (m *Code) GetType() isCode_Type

func (*Code) ProtoMessage

func (*Code) ProtoMessage()

func (*Code) ProtoReflect

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

func (*Code) Reset

func (x *Code) Reset()

func (*Code) String

func (x *Code) String() string

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

Deprecated: Use Function.ProtoReflect.Descriptor instead.

func (*Function) ProtoMessage

func (*Function) ProtoMessage()

func (*Function) ProtoReflect

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

func (*Function) Reset

func (x *Function) Reset()

func (*Function) String

func (x *Function) String() string

type Runtime

type Runtime int32
const (
	Runtime_NODEJS Runtime = 0
	Runtime_PYTHON Runtime = 1
	Runtime_GO     Runtime = 2
)

func (Runtime) Descriptor

func (Runtime) Descriptor() protoreflect.EnumDescriptor

func (Runtime) Enum

func (x Runtime) Enum() *Runtime

func (Runtime) EnumDescriptor deprecated

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

Deprecated: Use Runtime.Descriptor instead.

func (Runtime) Number

func (x Runtime) Number() protoreflect.EnumNumber

func (Runtime) String

func (x Runtime) String() string

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

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetGrpc

func (x *Server) GetGrpc() *grpc.Server

func (*Server) GetRuntime

func (x *Server) GetRuntime() Runtime

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) ProtoReflect

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

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

Jump to

Keyboard shortcuts

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