langsvc

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 32 Imported by: 0

Documentation

Overview

Package langsvc is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package langsvc is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var File_langsvc_langrunsvc_proto protoreflect.FileDescriptor
View Source
var File_langsvc_langsvc_proto protoreflect.FileDescriptor
View Source
var LangRun_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "autokitteh.langsvc.LangRun",
	HandlerType: (*LangRunServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RunGet",
			Handler:    _LangRun_RunGet_Handler,
		},
		{
			MethodName: "RunCallReturn",
			Handler:    _LangRun_RunCallReturn_Handler,
		},
		{
			MethodName: "RunLoadReturn",
			Handler:    _LangRun_RunLoadReturn_Handler,
		},
		{
			MethodName: "RunCancel",
			Handler:    _LangRun_RunCancel_Handler,
		},
		{
			MethodName: "ListRuns",
			Handler:    _LangRun_ListRuns_Handler,
		},
		{
			MethodName: "RunDiscard",
			Handler:    _LangRun_RunDiscard_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Run",
			Handler:       _LangRun_Run_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "CallFunction",
			Handler:       _LangRun_CallFunction_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "langsvc/langrunsvc.proto",
}

LangRun_ServiceDesc is the grpc.ServiceDesc for LangRun service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Lang_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "autokitteh.langsvc.Lang",
	HandlerType: (*LangServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListLangs",
			Handler:    _Lang_ListLangs_Handler,
		},
		{
			MethodName: "IsCompilerVersionSupported",
			Handler:    _Lang_IsCompilerVersionSupported_Handler,
		},
		{
			MethodName: "GetModuleDependencies",
			Handler:    _Lang_GetModuleDependencies_Handler,
		},
		{
			MethodName: "CompileModule",
			Handler:    _Lang_CompileModule_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "langsvc/langsvc.proto",
}

Lang_ServiceDesc is the grpc.ServiceDesc for Lang service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterLangHandler

func RegisterLangHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterLangHandler registers the http handlers for service Lang to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterLangHandlerClient

func RegisterLangHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LangClient) error

RegisterLangHandlerClient registers the http handlers for service Lang to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LangClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LangClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LangClient" to call the correct interceptors.

func RegisterLangHandlerFromEndpoint

func RegisterLangHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterLangHandlerFromEndpoint is same as RegisterLangHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterLangHandlerServer

func RegisterLangHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LangServer) error

RegisterLangHandlerServer registers the http handlers for service Lang to "mux". UnaryRPC :call LangServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLangHandlerFromEndpoint instead.

func RegisterLangRunHandler

func RegisterLangRunHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterLangRunHandler registers the http handlers for service LangRun to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterLangRunHandlerClient

func RegisterLangRunHandlerClient(ctx context.Context, mux *runtime.ServeMux, client LangRunClient) error

RegisterLangRunHandlerClient registers the http handlers for service LangRun to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "LangRunClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "LangRunClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "LangRunClient" to call the correct interceptors.

func RegisterLangRunHandlerFromEndpoint

func RegisterLangRunHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterLangRunHandlerFromEndpoint is same as RegisterLangRunHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterLangRunHandlerServer

func RegisterLangRunHandlerServer(ctx context.Context, mux *runtime.ServeMux, server LangRunServer) error

RegisterLangRunHandlerServer registers the http handlers for service LangRun to "mux". UnaryRPC :call LangRunServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterLangRunHandlerFromEndpoint instead.

func RegisterLangRunServer

func RegisterLangRunServer(s grpc.ServiceRegistrar, srv LangRunServer)

func RegisterLangServer

func RegisterLangServer(s grpc.ServiceRegistrar, srv LangServer)

Types

type CallFunctionRequest

type CallFunctionRequest struct {
	RunId  string                   `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	F      *values.Value            `protobuf:"bytes,2,opt,name=f,proto3" json:"f,omitempty"`
	Args   []*values.Value          `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`
	Kwargs map[string]*values.Value `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CallFunctionRequest) Descriptor deprecated

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

Deprecated: Use CallFunctionRequest.ProtoReflect.Descriptor instead.

func (*CallFunctionRequest) GetArgs

func (x *CallFunctionRequest) GetArgs() []*values.Value

func (*CallFunctionRequest) GetF

func (x *CallFunctionRequest) GetF() *values.Value

func (*CallFunctionRequest) GetKwargs

func (x *CallFunctionRequest) GetKwargs() map[string]*values.Value

func (*CallFunctionRequest) GetRunId

func (x *CallFunctionRequest) GetRunId() string

func (*CallFunctionRequest) ProtoMessage

func (*CallFunctionRequest) ProtoMessage()

func (*CallFunctionRequest) ProtoReflect

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

func (*CallFunctionRequest) Reset

func (x *CallFunctionRequest) Reset()

func (*CallFunctionRequest) String

func (x *CallFunctionRequest) String() string

func (*CallFunctionRequest) Validate

func (m *CallFunctionRequest) Validate() error

Validate checks the field values on CallFunctionRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CallFunctionRequestValidationError

type CallFunctionRequestValidationError struct {
	// contains filtered or unexported fields
}

CallFunctionRequestValidationError is the validation error returned by CallFunctionRequest.Validate if the designated constraints aren't met.

func (CallFunctionRequestValidationError) Cause

Cause function returns cause value.

func (CallFunctionRequestValidationError) Error

Error satisfies the builtin error interface

func (CallFunctionRequestValidationError) ErrorName

ErrorName returns error name.

func (CallFunctionRequestValidationError) Field

Field function returns field value.

func (CallFunctionRequestValidationError) Key

Key function returns key value.

func (CallFunctionRequestValidationError) Reason

Reason function returns reason value.

type CatalogLang

type CatalogLang struct {
	Exts []string `protobuf:"bytes,1,rep,name=exts,proto3" json:"exts,omitempty"`
	// contains filtered or unexported fields
}

func (*CatalogLang) Descriptor deprecated

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

Deprecated: Use CatalogLang.ProtoReflect.Descriptor instead.

func (*CatalogLang) GetExts

func (x *CatalogLang) GetExts() []string

func (*CatalogLang) ProtoMessage

func (*CatalogLang) ProtoMessage()

func (*CatalogLang) ProtoReflect

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

func (*CatalogLang) Reset

func (x *CatalogLang) Reset()

func (*CatalogLang) String

func (x *CatalogLang) String() string

func (*CatalogLang) Validate

func (m *CatalogLang) Validate() error

Validate checks the field values on CatalogLang with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CatalogLangValidationError

type CatalogLangValidationError struct {
	// contains filtered or unexported fields
}

CatalogLangValidationError is the validation error returned by CatalogLang.Validate if the designated constraints aren't met.

func (CatalogLangValidationError) Cause

Cause function returns cause value.

func (CatalogLangValidationError) Error

Error satisfies the builtin error interface

func (CatalogLangValidationError) ErrorName

func (e CatalogLangValidationError) ErrorName() string

ErrorName returns error name.

func (CatalogLangValidationError) Field

Field function returns field value.

func (CatalogLangValidationError) Key

Key function returns key value.

func (CatalogLangValidationError) Reason

Reason function returns reason value.

type CompileModuleRequest

type CompileModuleRequest struct {
	Lang     string        `protobuf:"bytes,1,opt,name=lang,proto3" json:"lang,omitempty"`
	Predecls []string      `protobuf:"bytes,2,rep,name=predecls,proto3" json:"predecls,omitempty"`
	Path     *program.Path `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
	Src      []byte        `protobuf:"bytes,4,opt,name=src,proto3" json:"src,omitempty"`
	GetDeps  bool          `protobuf:"varint,6,opt,name=get_deps,json=getDeps,proto3" json:"get_deps,omitempty"`
	// contains filtered or unexported fields
}

func (*CompileModuleRequest) Descriptor deprecated

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

Deprecated: Use CompileModuleRequest.ProtoReflect.Descriptor instead.

func (*CompileModuleRequest) GetGetDeps

func (x *CompileModuleRequest) GetGetDeps() bool

func (*CompileModuleRequest) GetLang

func (x *CompileModuleRequest) GetLang() string

func (*CompileModuleRequest) GetPath

func (x *CompileModuleRequest) GetPath() *program.Path

func (*CompileModuleRequest) GetPredecls

func (x *CompileModuleRequest) GetPredecls() []string

func (*CompileModuleRequest) GetSrc

func (x *CompileModuleRequest) GetSrc() []byte

func (*CompileModuleRequest) ProtoMessage

func (*CompileModuleRequest) ProtoMessage()

func (*CompileModuleRequest) ProtoReflect

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

func (*CompileModuleRequest) Reset

func (x *CompileModuleRequest) Reset()

func (*CompileModuleRequest) String

func (x *CompileModuleRequest) String() string

func (*CompileModuleRequest) Validate

func (m *CompileModuleRequest) Validate() error

Validate checks the field values on CompileModuleRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CompileModuleRequestValidationError

type CompileModuleRequestValidationError struct {
	// contains filtered or unexported fields
}

CompileModuleRequestValidationError is the validation error returned by CompileModuleRequest.Validate if the designated constraints aren't met.

func (CompileModuleRequestValidationError) Cause

Cause function returns cause value.

func (CompileModuleRequestValidationError) Error

Error satisfies the builtin error interface

func (CompileModuleRequestValidationError) ErrorName

ErrorName returns error name.

func (CompileModuleRequestValidationError) Field

Field function returns field value.

func (CompileModuleRequestValidationError) Key

Key function returns key value.

func (CompileModuleRequestValidationError) Reason

Reason function returns reason value.

type CompileModuleResponse

type CompileModuleResponse struct {
	Module *program.Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	Deps   *Dependencies   `protobuf:"bytes,2,opt,name=deps,proto3" json:"deps,omitempty"` // if req.get_deps. only the ready field is populated for now.
	// contains filtered or unexported fields
}

func (*CompileModuleResponse) Descriptor deprecated

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

Deprecated: Use CompileModuleResponse.ProtoReflect.Descriptor instead.

func (*CompileModuleResponse) GetDeps

func (x *CompileModuleResponse) GetDeps() *Dependencies

func (*CompileModuleResponse) GetModule

func (x *CompileModuleResponse) GetModule() *program.Module

func (*CompileModuleResponse) ProtoMessage

func (*CompileModuleResponse) ProtoMessage()

func (*CompileModuleResponse) ProtoReflect

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

func (*CompileModuleResponse) Reset

func (x *CompileModuleResponse) Reset()

func (*CompileModuleResponse) String

func (x *CompileModuleResponse) String() string

func (*CompileModuleResponse) Validate

func (m *CompileModuleResponse) Validate() error

Validate checks the field values on CompileModuleResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CompileModuleResponseValidationError

type CompileModuleResponseValidationError struct {
	// contains filtered or unexported fields
}

CompileModuleResponseValidationError is the validation error returned by CompileModuleResponse.Validate if the designated constraints aren't met.

func (CompileModuleResponseValidationError) Cause

Cause function returns cause value.

func (CompileModuleResponseValidationError) Error

Error satisfies the builtin error interface

func (CompileModuleResponseValidationError) ErrorName

ErrorName returns error name.

func (CompileModuleResponseValidationError) Field

Field function returns field value.

func (CompileModuleResponseValidationError) Key

Key function returns key value.

func (CompileModuleResponseValidationError) Reason

Reason function returns reason value.

type Cycle

type Cycle struct {
	Paths []*program.Path `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	// contains filtered or unexported fields
}

func (*Cycle) Descriptor deprecated

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

Deprecated: Use Cycle.ProtoReflect.Descriptor instead.

func (*Cycle) GetPaths

func (x *Cycle) GetPaths() []*program.Path

func (*Cycle) ProtoMessage

func (*Cycle) ProtoMessage()

func (*Cycle) ProtoReflect

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

func (*Cycle) Reset

func (x *Cycle) Reset()

func (*Cycle) String

func (x *Cycle) String() string

func (*Cycle) Validate

func (m *Cycle) Validate() error

Validate checks the field values on Cycle with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CycleValidationError

type CycleValidationError struct {
	// contains filtered or unexported fields
}

CycleValidationError is the validation error returned by Cycle.Validate if the designated constraints aren't met.

func (CycleValidationError) Cause

func (e CycleValidationError) Cause() error

Cause function returns cause value.

func (CycleValidationError) Error

func (e CycleValidationError) Error() string

Error satisfies the builtin error interface

func (CycleValidationError) ErrorName

func (e CycleValidationError) ErrorName() string

ErrorName returns error name.

func (CycleValidationError) Field

func (e CycleValidationError) Field() string

Field function returns field value.

func (CycleValidationError) Key

func (e CycleValidationError) Key() bool

Key function returns key value.

func (CycleValidationError) Reason

func (e CycleValidationError) Reason() string

Reason function returns reason value.

type Dependencies

type Dependencies struct {
	Ready   []*program.Path `protobuf:"bytes,1,rep,name=ready,proto3" json:"ready,omitempty"`
	Missing []*program.Path `protobuf:"bytes,2,rep,name=missing,proto3" json:"missing,omitempty"`
	Cycles  []*Cycle        `protobuf:"bytes,3,rep,name=cycles,proto3" json:"cycles,omitempty"`
	// contains filtered or unexported fields
}

func (*Dependencies) Descriptor deprecated

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

Deprecated: Use Dependencies.ProtoReflect.Descriptor instead.

func (*Dependencies) GetCycles

func (x *Dependencies) GetCycles() []*Cycle

func (*Dependencies) GetMissing

func (x *Dependencies) GetMissing() []*program.Path

func (*Dependencies) GetReady

func (x *Dependencies) GetReady() []*program.Path

func (*Dependencies) ProtoMessage

func (*Dependencies) ProtoMessage()

func (*Dependencies) ProtoReflect

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

func (*Dependencies) Reset

func (x *Dependencies) Reset()

func (*Dependencies) String

func (x *Dependencies) String() string

func (*Dependencies) Validate

func (m *Dependencies) Validate() error

Validate checks the field values on Dependencies with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DependenciesValidationError

type DependenciesValidationError struct {
	// contains filtered or unexported fields
}

DependenciesValidationError is the validation error returned by Dependencies.Validate if the designated constraints aren't met.

func (DependenciesValidationError) Cause

Cause function returns cause value.

func (DependenciesValidationError) Error

Error satisfies the builtin error interface

func (DependenciesValidationError) ErrorName

func (e DependenciesValidationError) ErrorName() string

ErrorName returns error name.

func (DependenciesValidationError) Field

Field function returns field value.

func (DependenciesValidationError) Key

Key function returns key value.

func (DependenciesValidationError) Reason

Reason function returns reason value.

type GetModuleDependenciesRequest

type GetModuleDependenciesRequest struct {
	Module *program.Module `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"`
	// contains filtered or unexported fields
}

func (*GetModuleDependenciesRequest) Descriptor deprecated

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

Deprecated: Use GetModuleDependenciesRequest.ProtoReflect.Descriptor instead.

func (*GetModuleDependenciesRequest) GetModule

func (*GetModuleDependenciesRequest) ProtoMessage

func (*GetModuleDependenciesRequest) ProtoMessage()

func (*GetModuleDependenciesRequest) ProtoReflect

func (*GetModuleDependenciesRequest) Reset

func (x *GetModuleDependenciesRequest) Reset()

func (*GetModuleDependenciesRequest) String

func (*GetModuleDependenciesRequest) Validate

func (m *GetModuleDependenciesRequest) Validate() error

Validate checks the field values on GetModuleDependenciesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetModuleDependenciesRequestValidationError

type GetModuleDependenciesRequestValidationError struct {
	// contains filtered or unexported fields
}

GetModuleDependenciesRequestValidationError is the validation error returned by GetModuleDependenciesRequest.Validate if the designated constraints aren't met.

func (GetModuleDependenciesRequestValidationError) Cause

Cause function returns cause value.

func (GetModuleDependenciesRequestValidationError) Error

Error satisfies the builtin error interface

func (GetModuleDependenciesRequestValidationError) ErrorName

ErrorName returns error name.

func (GetModuleDependenciesRequestValidationError) Field

Field function returns field value.

func (GetModuleDependenciesRequestValidationError) Key

Key function returns key value.

func (GetModuleDependenciesRequestValidationError) Reason

Reason function returns reason value.

type GetModuleDependenciesResponse

type GetModuleDependenciesResponse struct {
	Deps *Dependencies `protobuf:"bytes,1,opt,name=deps,proto3" json:"deps,omitempty"`
	// contains filtered or unexported fields
}

func (*GetModuleDependenciesResponse) Descriptor deprecated

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

Deprecated: Use GetModuleDependenciesResponse.ProtoReflect.Descriptor instead.

func (*GetModuleDependenciesResponse) GetDeps

func (*GetModuleDependenciesResponse) ProtoMessage

func (*GetModuleDependenciesResponse) ProtoMessage()

func (*GetModuleDependenciesResponse) ProtoReflect

func (*GetModuleDependenciesResponse) Reset

func (x *GetModuleDependenciesResponse) Reset()

func (*GetModuleDependenciesResponse) String

func (*GetModuleDependenciesResponse) Validate

func (m *GetModuleDependenciesResponse) Validate() error

Validate checks the field values on GetModuleDependenciesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GetModuleDependenciesResponseValidationError

type GetModuleDependenciesResponseValidationError struct {
	// contains filtered or unexported fields
}

GetModuleDependenciesResponseValidationError is the validation error returned by GetModuleDependenciesResponse.Validate if the designated constraints aren't met.

func (GetModuleDependenciesResponseValidationError) Cause

Cause function returns cause value.

func (GetModuleDependenciesResponseValidationError) Error

Error satisfies the builtin error interface

func (GetModuleDependenciesResponseValidationError) ErrorName

ErrorName returns error name.

func (GetModuleDependenciesResponseValidationError) Field

Field function returns field value.

func (GetModuleDependenciesResponseValidationError) Key

Key function returns key value.

func (GetModuleDependenciesResponseValidationError) Reason

Reason function returns reason value.

type IsCompilerVersionSupportedRequest

type IsCompilerVersionSupportedRequest struct {
	Lang string `protobuf:"bytes,1,opt,name=lang,proto3" json:"lang,omitempty"`
	Ver  string `protobuf:"bytes,2,opt,name=ver,proto3" json:"ver,omitempty"`
	// contains filtered or unexported fields
}

func (*IsCompilerVersionSupportedRequest) Descriptor deprecated

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

Deprecated: Use IsCompilerVersionSupportedRequest.ProtoReflect.Descriptor instead.

func (*IsCompilerVersionSupportedRequest) GetLang

func (*IsCompilerVersionSupportedRequest) GetVer

func (*IsCompilerVersionSupportedRequest) ProtoMessage

func (*IsCompilerVersionSupportedRequest) ProtoMessage()

func (*IsCompilerVersionSupportedRequest) ProtoReflect

func (*IsCompilerVersionSupportedRequest) Reset

func (*IsCompilerVersionSupportedRequest) String

func (*IsCompilerVersionSupportedRequest) Validate

Validate checks the field values on IsCompilerVersionSupportedRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type IsCompilerVersionSupportedRequestValidationError

type IsCompilerVersionSupportedRequestValidationError struct {
	// contains filtered or unexported fields
}

IsCompilerVersionSupportedRequestValidationError is the validation error returned by IsCompilerVersionSupportedRequest.Validate if the designated constraints aren't met.

func (IsCompilerVersionSupportedRequestValidationError) Cause

Cause function returns cause value.

func (IsCompilerVersionSupportedRequestValidationError) Error

Error satisfies the builtin error interface

func (IsCompilerVersionSupportedRequestValidationError) ErrorName

ErrorName returns error name.

func (IsCompilerVersionSupportedRequestValidationError) Field

Field function returns field value.

func (IsCompilerVersionSupportedRequestValidationError) Key

Key function returns key value.

func (IsCompilerVersionSupportedRequestValidationError) Reason

Reason function returns reason value.

type IsCompilerVersionSupportedResponse

type IsCompilerVersionSupportedResponse struct {
	Supported bool `protobuf:"varint,1,opt,name=supported,proto3" json:"supported,omitempty"`
	// contains filtered or unexported fields
}

func (*IsCompilerVersionSupportedResponse) Descriptor deprecated

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

Deprecated: Use IsCompilerVersionSupportedResponse.ProtoReflect.Descriptor instead.

func (*IsCompilerVersionSupportedResponse) GetSupported

func (x *IsCompilerVersionSupportedResponse) GetSupported() bool

func (*IsCompilerVersionSupportedResponse) ProtoMessage

func (*IsCompilerVersionSupportedResponse) ProtoMessage()

func (*IsCompilerVersionSupportedResponse) ProtoReflect

func (*IsCompilerVersionSupportedResponse) Reset

func (*IsCompilerVersionSupportedResponse) String

func (*IsCompilerVersionSupportedResponse) Validate

Validate checks the field values on IsCompilerVersionSupportedResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type IsCompilerVersionSupportedResponseValidationError

type IsCompilerVersionSupportedResponseValidationError struct {
	// contains filtered or unexported fields
}

IsCompilerVersionSupportedResponseValidationError is the validation error returned by IsCompilerVersionSupportedResponse.Validate if the designated constraints aren't met.

func (IsCompilerVersionSupportedResponseValidationError) Cause

Cause function returns cause value.

func (IsCompilerVersionSupportedResponseValidationError) Error

Error satisfies the builtin error interface

func (IsCompilerVersionSupportedResponseValidationError) ErrorName

ErrorName returns error name.

func (IsCompilerVersionSupportedResponseValidationError) Field

Field function returns field value.

func (IsCompilerVersionSupportedResponseValidationError) Key

Key function returns key value.

func (IsCompilerVersionSupportedResponseValidationError) Reason

Reason function returns reason value.

type LangClient

type LangClient interface {
	ListLangs(ctx context.Context, in *ListLangsRequest, opts ...grpc.CallOption) (*ListLangsResponse, error)
	IsCompilerVersionSupported(ctx context.Context, in *IsCompilerVersionSupportedRequest, opts ...grpc.CallOption) (*IsCompilerVersionSupportedResponse, error)
	GetModuleDependencies(ctx context.Context, in *GetModuleDependenciesRequest, opts ...grpc.CallOption) (*GetModuleDependenciesResponse, error)
	CompileModule(ctx context.Context, in *CompileModuleRequest, opts ...grpc.CallOption) (*CompileModuleResponse, error)
}

LangClient is the client API for Lang service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewLangClient

func NewLangClient(cc grpc.ClientConnInterface) LangClient

type LangRunClient

LangRunClient is the client API for LangRun service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewLangRunClient

func NewLangRunClient(cc grpc.ClientConnInterface) LangRunClient

type LangRunServer

LangRunServer is the server API for LangRun service. All implementations must embed UnimplementedLangRunServer for forward compatibility

type LangRun_CallFunctionClient

type LangRun_CallFunctionClient interface {
	Recv() (*RunUpdate, error)
	grpc.ClientStream
}

type LangRun_CallFunctionServer

type LangRun_CallFunctionServer interface {
	Send(*RunUpdate) error
	grpc.ServerStream
}

type LangRun_RunClient

type LangRun_RunClient interface {
	Recv() (*RunUpdate, error)
	grpc.ClientStream
}

type LangRun_RunServer

type LangRun_RunServer interface {
	Send(*RunUpdate) error
	grpc.ServerStream
}

type LangServer

type LangServer interface {
	ListLangs(context.Context, *ListLangsRequest) (*ListLangsResponse, error)
	IsCompilerVersionSupported(context.Context, *IsCompilerVersionSupportedRequest) (*IsCompilerVersionSupportedResponse, error)
	GetModuleDependencies(context.Context, *GetModuleDependenciesRequest) (*GetModuleDependenciesResponse, error)
	CompileModule(context.Context, *CompileModuleRequest) (*CompileModuleResponse, error)
	// contains filtered or unexported methods
}

LangServer is the server API for Lang service. All implementations must embed UnimplementedLangServer for forward compatibility

type ListLangsRequest

type ListLangsRequest struct {
	// contains filtered or unexported fields
}

func (*ListLangsRequest) Descriptor deprecated

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

Deprecated: Use ListLangsRequest.ProtoReflect.Descriptor instead.

func (*ListLangsRequest) ProtoMessage

func (*ListLangsRequest) ProtoMessage()

func (*ListLangsRequest) ProtoReflect

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

func (*ListLangsRequest) Reset

func (x *ListLangsRequest) Reset()

func (*ListLangsRequest) String

func (x *ListLangsRequest) String() string

func (*ListLangsRequest) Validate

func (m *ListLangsRequest) Validate() error

Validate checks the field values on ListLangsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListLangsRequestValidationError

type ListLangsRequestValidationError struct {
	// contains filtered or unexported fields
}

ListLangsRequestValidationError is the validation error returned by ListLangsRequest.Validate if the designated constraints aren't met.

func (ListLangsRequestValidationError) Cause

Cause function returns cause value.

func (ListLangsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListLangsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListLangsRequestValidationError) Field

Field function returns field value.

func (ListLangsRequestValidationError) Key

Key function returns key value.

func (ListLangsRequestValidationError) Reason

Reason function returns reason value.

type ListLangsResponse

type ListLangsResponse struct {
	Langs map[string]*CatalogLang `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListLangsResponse) Descriptor deprecated

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

Deprecated: Use ListLangsResponse.ProtoReflect.Descriptor instead.

func (*ListLangsResponse) GetLangs

func (x *ListLangsResponse) GetLangs() map[string]*CatalogLang

func (*ListLangsResponse) ProtoMessage

func (*ListLangsResponse) ProtoMessage()

func (*ListLangsResponse) ProtoReflect

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

func (*ListLangsResponse) Reset

func (x *ListLangsResponse) Reset()

func (*ListLangsResponse) String

func (x *ListLangsResponse) String() string

func (*ListLangsResponse) Validate

func (m *ListLangsResponse) Validate() error

Validate checks the field values on ListLangsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListLangsResponseValidationError

type ListLangsResponseValidationError struct {
	// contains filtered or unexported fields
}

ListLangsResponseValidationError is the validation error returned by ListLangsResponse.Validate if the designated constraints aren't met.

func (ListLangsResponseValidationError) Cause

Cause function returns cause value.

func (ListLangsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListLangsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListLangsResponseValidationError) Field

Field function returns field value.

func (ListLangsResponseValidationError) Key

Key function returns key value.

func (ListLangsResponseValidationError) Reason

Reason function returns reason value.

type ListRun

type ListRun struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRun) Descriptor deprecated

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

Deprecated: Use ListRun.ProtoReflect.Descriptor instead.

func (*ListRun) GetId

func (x *ListRun) GetId() string

func (*ListRun) ProtoMessage

func (*ListRun) ProtoMessage()

func (*ListRun) ProtoReflect

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

func (*ListRun) Reset

func (x *ListRun) Reset()

func (*ListRun) String

func (x *ListRun) String() string

func (*ListRun) Validate

func (m *ListRun) Validate() error

Validate checks the field values on ListRun with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListRunValidationError

type ListRunValidationError struct {
	// contains filtered or unexported fields
}

ListRunValidationError is the validation error returned by ListRun.Validate if the designated constraints aren't met.

func (ListRunValidationError) Cause

func (e ListRunValidationError) Cause() error

Cause function returns cause value.

func (ListRunValidationError) Error

func (e ListRunValidationError) Error() string

Error satisfies the builtin error interface

func (ListRunValidationError) ErrorName

func (e ListRunValidationError) ErrorName() string

ErrorName returns error name.

func (ListRunValidationError) Field

func (e ListRunValidationError) Field() string

Field function returns field value.

func (ListRunValidationError) Key

func (e ListRunValidationError) Key() bool

Key function returns key value.

func (ListRunValidationError) Reason

func (e ListRunValidationError) Reason() string

Reason function returns reason value.

type ListRuns

type ListRuns struct {
	Runs []*ListRun `protobuf:"bytes,1,rep,name=runs,proto3" json:"runs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRuns) Descriptor deprecated

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

Deprecated: Use ListRuns.ProtoReflect.Descriptor instead.

func (*ListRuns) GetRuns

func (x *ListRuns) GetRuns() []*ListRun

func (*ListRuns) ProtoMessage

func (*ListRuns) ProtoMessage()

func (*ListRuns) ProtoReflect

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

func (*ListRuns) Reset

func (x *ListRuns) Reset()

func (*ListRuns) String

func (x *ListRuns) String() string

func (*ListRuns) Validate

func (m *ListRuns) Validate() error

Validate checks the field values on ListRuns with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListRunsRequest

type ListRunsRequest struct {
	// contains filtered or unexported fields
}

func (*ListRunsRequest) Descriptor deprecated

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

Deprecated: Use ListRunsRequest.ProtoReflect.Descriptor instead.

func (*ListRunsRequest) ProtoMessage

func (*ListRunsRequest) ProtoMessage()

func (*ListRunsRequest) ProtoReflect

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

func (*ListRunsRequest) Reset

func (x *ListRunsRequest) Reset()

func (*ListRunsRequest) String

func (x *ListRunsRequest) String() string

func (*ListRunsRequest) Validate

func (m *ListRunsRequest) Validate() error

Validate checks the field values on ListRunsRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListRunsRequestValidationError

type ListRunsRequestValidationError struct {
	// contains filtered or unexported fields
}

ListRunsRequestValidationError is the validation error returned by ListRunsRequest.Validate if the designated constraints aren't met.

func (ListRunsRequestValidationError) Cause

Cause function returns cause value.

func (ListRunsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListRunsRequestValidationError) ErrorName

func (e ListRunsRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ListRunsRequestValidationError) Field

Field function returns field value.

func (ListRunsRequestValidationError) Key

Key function returns key value.

func (ListRunsRequestValidationError) Reason

Reason function returns reason value.

type ListRunsResponse

type ListRunsResponse struct {
	States map[string]*ListRuns `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListRunsResponse) Descriptor deprecated

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

Deprecated: Use ListRunsResponse.ProtoReflect.Descriptor instead.

func (*ListRunsResponse) GetStates

func (x *ListRunsResponse) GetStates() map[string]*ListRuns

func (*ListRunsResponse) ProtoMessage

func (*ListRunsResponse) ProtoMessage()

func (*ListRunsResponse) ProtoReflect

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

func (*ListRunsResponse) Reset

func (x *ListRunsResponse) Reset()

func (*ListRunsResponse) String

func (x *ListRunsResponse) String() string

func (*ListRunsResponse) Validate

func (m *ListRunsResponse) Validate() error

Validate checks the field values on ListRunsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListRunsResponseValidationError

type ListRunsResponseValidationError struct {
	// contains filtered or unexported fields
}

ListRunsResponseValidationError is the validation error returned by ListRunsResponse.Validate if the designated constraints aren't met.

func (ListRunsResponseValidationError) Cause

Cause function returns cause value.

func (ListRunsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListRunsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListRunsResponseValidationError) Field

Field function returns field value.

func (ListRunsResponseValidationError) Key

Key function returns key value.

func (ListRunsResponseValidationError) Reason

Reason function returns reason value.

type ListRunsValidationError

type ListRunsValidationError struct {
	// contains filtered or unexported fields
}

ListRunsValidationError is the validation error returned by ListRuns.Validate if the designated constraints aren't met.

func (ListRunsValidationError) Cause

func (e ListRunsValidationError) Cause() error

Cause function returns cause value.

func (ListRunsValidationError) Error

func (e ListRunsValidationError) Error() string

Error satisfies the builtin error interface

func (ListRunsValidationError) ErrorName

func (e ListRunsValidationError) ErrorName() string

ErrorName returns error name.

func (ListRunsValidationError) Field

func (e ListRunsValidationError) Field() string

Field function returns field value.

func (ListRunsValidationError) Key

func (e ListRunsValidationError) Key() bool

Key function returns key value.

func (ListRunsValidationError) Reason

func (e ListRunsValidationError) Reason() string

Reason function returns reason value.

type RunCallReturnRequest

type RunCallReturnRequest struct {
	RunId  string         `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	Error  *program.Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Retval *values.Value  `protobuf:"bytes,3,opt,name=retval,proto3" json:"retval,omitempty"`
	// contains filtered or unexported fields
}

func (*RunCallReturnRequest) Descriptor deprecated

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

Deprecated: Use RunCallReturnRequest.ProtoReflect.Descriptor instead.

func (*RunCallReturnRequest) GetError

func (x *RunCallReturnRequest) GetError() *program.Error

func (*RunCallReturnRequest) GetRetval

func (x *RunCallReturnRequest) GetRetval() *values.Value

func (*RunCallReturnRequest) GetRunId

func (x *RunCallReturnRequest) GetRunId() string

func (*RunCallReturnRequest) ProtoMessage

func (*RunCallReturnRequest) ProtoMessage()

func (*RunCallReturnRequest) ProtoReflect

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

func (*RunCallReturnRequest) Reset

func (x *RunCallReturnRequest) Reset()

func (*RunCallReturnRequest) String

func (x *RunCallReturnRequest) String() string

func (*RunCallReturnRequest) Validate

func (m *RunCallReturnRequest) Validate() error

Validate checks the field values on RunCallReturnRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RunCallReturnRequestValidationError

type RunCallReturnRequestValidationError struct {
	// contains filtered or unexported fields
}

RunCallReturnRequestValidationError is the validation error returned by RunCallReturnRequest.Validate if the designated constraints aren't met.

func (RunCallReturnRequestValidationError) Cause

Cause function returns cause value.

func (RunCallReturnRequestValidationError) Error

Error satisfies the builtin error interface

func (RunCallReturnRequestValidationError) ErrorName

ErrorName returns error name.

func (RunCallReturnRequestValidationError) Field

Field function returns field value.

func (RunCallReturnRequestValidationError) Key

Key function returns key value.

func (RunCallReturnRequestValidationError) Reason

Reason function returns reason value.

type RunCallReturnResponse

type RunCallReturnResponse struct {
	// contains filtered or unexported fields
}

func (*RunCallReturnResponse) Descriptor deprecated

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

Deprecated: Use RunCallReturnResponse.ProtoReflect.Descriptor instead.

func (*RunCallReturnResponse) ProtoMessage

func (*RunCallReturnResponse) ProtoMessage()

func (*RunCallReturnResponse) ProtoReflect

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

func (*RunCallReturnResponse) Reset

func (x *RunCallReturnResponse) Reset()

func (*RunCallReturnResponse) String

func (x *RunCallReturnResponse) String() string

func (*RunCallReturnResponse) Validate

func (m *RunCallReturnResponse) Validate() error

Validate checks the field values on RunCallReturnResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RunCallReturnResponseValidationError

type RunCallReturnResponseValidationError struct {
	// contains filtered or unexported fields
}

RunCallReturnResponseValidationError is the validation error returned by RunCallReturnResponse.Validate if the designated constraints aren't met.

func (RunCallReturnResponseValidationError) Cause

Cause function returns cause value.

func (RunCallReturnResponseValidationError) Error

Error satisfies the builtin error interface

func (RunCallReturnResponseValidationError) ErrorName

ErrorName returns error name.

func (RunCallReturnResponseValidationError) Field

Field function returns field value.

func (RunCallReturnResponseValidationError) Key

Key function returns key value.

func (RunCallReturnResponseValidationError) Reason

Reason function returns reason value.

type RunCancelRequest

type RunCancelRequest struct {
	RunId  string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

func (*RunCancelRequest) Descriptor deprecated

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

Deprecated: Use RunCancelRequest.ProtoReflect.Descriptor instead.

func (*RunCancelRequest) GetReason

func (x *RunCancelRequest) GetReason() string

func (*RunCancelRequest) GetRunId

func (x *RunCancelRequest) GetRunId() string

func (*RunCancelRequest) ProtoMessage

func (*RunCancelRequest) ProtoMessage()

func (*RunCancelRequest) ProtoReflect

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

func (*RunCancelRequest) Reset

func (x *RunCancelRequest) Reset()

func (*RunCancelRequest) String

func (x *RunCancelRequest) String() string

func (*RunCancelRequest) Validate

func (m *RunCancelRequest) Validate() error

Validate checks the field values on RunCancelRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RunCancelRequestValidationError

type RunCancelRequestValidationError struct {
	// contains filtered or unexported fields
}

RunCancelRequestValidationError is the validation error returned by RunCancelRequest.Validate if the designated constraints aren't met.

func (RunCancelRequestValidationError) Cause

Cause function returns cause value.

func (RunCancelRequestValidationError) Error

Error satisfies the builtin error interface

func (RunCancelRequestValidationError) ErrorName

ErrorName returns error name.

func (RunCancelRequestValidationError) Field

Field function returns field value.

func (RunCancelRequestValidationError) Key

Key function returns key value.

func (RunCancelRequestValidationError) Reason

Reason function returns reason value.

type RunCancelResponse

type RunCancelResponse struct {
	// contains filtered or unexported fields
}

func (*RunCancelResponse) Descriptor deprecated

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

Deprecated: Use RunCancelResponse.ProtoReflect.Descriptor instead.

func (*RunCancelResponse) ProtoMessage

func (*RunCancelResponse) ProtoMessage()

func (*RunCancelResponse) ProtoReflect

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

func (*RunCancelResponse) Reset

func (x *RunCancelResponse) Reset()

func (*RunCancelResponse) String

func (x *RunCancelResponse) String() string

func (*RunCancelResponse) Validate

func (m *RunCancelResponse) Validate() error

Validate checks the field values on RunCancelResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RunCancelResponseValidationError

type RunCancelResponseValidationError struct {
	// contains filtered or unexported fields
}

RunCancelResponseValidationError is the validation error returned by RunCancelResponse.Validate if the designated constraints aren't met.

func (RunCancelResponseValidationError) Cause

Cause function returns cause value.

func (RunCancelResponseValidationError) Error

Error satisfies the builtin error interface

func (RunCancelResponseValidationError) ErrorName

ErrorName returns error name.

func (RunCancelResponseValidationError) Field

Field function returns field value.

func (RunCancelResponseValidationError) Key

Key function returns key value.

func (RunCancelResponseValidationError) Reason

Reason function returns reason value.

type RunDiscardRequest

type RunDiscardRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RunDiscardRequest) Descriptor deprecated

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

Deprecated: Use RunDiscardRequest.ProtoReflect.Descriptor instead.

func (*RunDiscardRequest) GetId

func (x *RunDiscardRequest) GetId() string

func (*RunDiscardRequest) ProtoMessage

func (*RunDiscardRequest) ProtoMessage()

func (*RunDiscardRequest) ProtoReflect

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

func (*RunDiscardRequest) Reset

func (x *RunDiscardRequest) Reset()

func (*RunDiscardRequest) String

func (x *RunDiscardRequest) String() string

func (*RunDiscardRequest) Validate

func (m *RunDiscardRequest) Validate() error

Validate checks the field values on RunDiscardRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RunDiscardRequestValidationError

type RunDiscardRequestValidationError struct {
	// contains filtered or unexported fields
}

RunDiscardRequestValidationError is the validation error returned by RunDiscardRequest.Validate if the designated constraints aren't met.

func (RunDiscardRequestValidationError) Cause

Cause function returns cause value.

func (RunDiscardRequestValidationError) Error

Error satisfies the builtin error interface

func (RunDiscardRequestValidationError) ErrorName

ErrorName returns error name.

func (RunDiscardRequestValidationError) Field

Field function returns field value.

func (RunDiscardRequestValidationError) Key

Key function returns key value.

func (RunDiscardRequestValidationError) Reason

Reason function returns reason value.

type RunDiscardResponse

type RunDiscardResponse struct {
	// contains filtered or unexported fields
}

func (*RunDiscardResponse) Descriptor deprecated

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

Deprecated: Use RunDiscardResponse.ProtoReflect.Descriptor instead.

func (*RunDiscardResponse) ProtoMessage

func (*RunDiscardResponse) ProtoMessage()

func (*RunDiscardResponse) ProtoReflect

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

func (*RunDiscardResponse) Reset

func (x *RunDiscardResponse) Reset()

func (*RunDiscardResponse) String

func (x *RunDiscardResponse) String() string

func (*RunDiscardResponse) Validate

func (m *RunDiscardResponse) Validate() error

Validate checks the field values on RunDiscardResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RunDiscardResponseValidationError

type RunDiscardResponseValidationError struct {
	// contains filtered or unexported fields
}

RunDiscardResponseValidationError is the validation error returned by RunDiscardResponse.Validate if the designated constraints aren't met.

func (RunDiscardResponseValidationError) Cause

Cause function returns cause value.

func (RunDiscardResponseValidationError) Error

Error satisfies the builtin error interface

func (RunDiscardResponseValidationError) ErrorName

ErrorName returns error name.

func (RunDiscardResponseValidationError) Field

Field function returns field value.

func (RunDiscardResponseValidationError) Key

Key function returns key value.

func (RunDiscardResponseValidationError) Reason

Reason function returns reason value.

type RunGetRequest

type RunGetRequest struct {
	RunId      string `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	GetSummary bool   `protobuf:"varint,2,opt,name=get_summary,json=getSummary,proto3" json:"get_summary,omitempty"`
	// contains filtered or unexported fields
}

func (*RunGetRequest) Descriptor deprecated

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

Deprecated: Use RunGetRequest.ProtoReflect.Descriptor instead.

func (*RunGetRequest) GetGetSummary

func (x *RunGetRequest) GetGetSummary() bool

func (*RunGetRequest) GetRunId

func (x *RunGetRequest) GetRunId() string

func (*RunGetRequest) ProtoMessage

func (*RunGetRequest) ProtoMessage()

func (*RunGetRequest) ProtoReflect

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

func (*RunGetRequest) Reset

func (x *RunGetRequest) Reset()

func (*RunGetRequest) String

func (x *RunGetRequest) String() string

func (*RunGetRequest) Validate

func (m *RunGetRequest) Validate() error

Validate checks the field values on RunGetRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RunGetRequestValidationError

type RunGetRequestValidationError struct {
	// contains filtered or unexported fields
}

RunGetRequestValidationError is the validation error returned by RunGetRequest.Validate if the designated constraints aren't met.

func (RunGetRequestValidationError) Cause

Cause function returns cause value.

func (RunGetRequestValidationError) Error

Error satisfies the builtin error interface

func (RunGetRequestValidationError) ErrorName

func (e RunGetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RunGetRequestValidationError) Field

Field function returns field value.

func (RunGetRequestValidationError) Key

Key function returns key value.

func (RunGetRequestValidationError) Reason

Reason function returns reason value.

type RunGetResponse

type RunGetResponse struct {
	Summary *lang.RunSummary `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

func (*RunGetResponse) Descriptor deprecated

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

Deprecated: Use RunGetResponse.ProtoReflect.Descriptor instead.

func (*RunGetResponse) GetSummary

func (x *RunGetResponse) GetSummary() *lang.RunSummary

func (*RunGetResponse) ProtoMessage

func (*RunGetResponse) ProtoMessage()

func (*RunGetResponse) ProtoReflect

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

func (*RunGetResponse) Reset

func (x *RunGetResponse) Reset()

func (*RunGetResponse) String

func (x *RunGetResponse) String() string

func (*RunGetResponse) Validate

func (m *RunGetResponse) Validate() error

Validate checks the field values on RunGetResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RunGetResponseValidationError

type RunGetResponseValidationError struct {
	// contains filtered or unexported fields
}

RunGetResponseValidationError is the validation error returned by RunGetResponse.Validate if the designated constraints aren't met.

func (RunGetResponseValidationError) Cause

Cause function returns cause value.

func (RunGetResponseValidationError) Error

Error satisfies the builtin error interface

func (RunGetResponseValidationError) ErrorName

func (e RunGetResponseValidationError) ErrorName() string

ErrorName returns error name.

func (RunGetResponseValidationError) Field

Field function returns field value.

func (RunGetResponseValidationError) Key

Key function returns key value.

func (RunGetResponseValidationError) Reason

Reason function returns reason value.

type RunLoadReturnRequest

type RunLoadReturnRequest struct {
	RunId      string                   `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	Error      *program.Error           `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	RunSummary *lang.RunSummary         `protobuf:"bytes,3,opt,name=run_summary,json=runSummary,proto3" json:"run_summary,omitempty"`
	Values     map[string]*values.Value `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RunLoadReturnRequest) Descriptor deprecated

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

Deprecated: Use RunLoadReturnRequest.ProtoReflect.Descriptor instead.

func (*RunLoadReturnRequest) GetError

func (x *RunLoadReturnRequest) GetError() *program.Error

func (*RunLoadReturnRequest) GetRunId

func (x *RunLoadReturnRequest) GetRunId() string

func (*RunLoadReturnRequest) GetRunSummary

func (x *RunLoadReturnRequest) GetRunSummary() *lang.RunSummary

func (*RunLoadReturnRequest) GetValues

func (x *RunLoadReturnRequest) GetValues() map[string]*values.Value

func (*RunLoadReturnRequest) ProtoMessage

func (*RunLoadReturnRequest) ProtoMessage()

func (*RunLoadReturnRequest) ProtoReflect

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

func (*RunLoadReturnRequest) Reset

func (x *RunLoadReturnRequest) Reset()

func (*RunLoadReturnRequest) String

func (x *RunLoadReturnRequest) String() string

func (*RunLoadReturnRequest) Validate

func (m *RunLoadReturnRequest) Validate() error

Validate checks the field values on RunLoadReturnRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RunLoadReturnRequestValidationError

type RunLoadReturnRequestValidationError struct {
	// contains filtered or unexported fields
}

RunLoadReturnRequestValidationError is the validation error returned by RunLoadReturnRequest.Validate if the designated constraints aren't met.

func (RunLoadReturnRequestValidationError) Cause

Cause function returns cause value.

func (RunLoadReturnRequestValidationError) Error

Error satisfies the builtin error interface

func (RunLoadReturnRequestValidationError) ErrorName

ErrorName returns error name.

func (RunLoadReturnRequestValidationError) Field

Field function returns field value.

func (RunLoadReturnRequestValidationError) Key

Key function returns key value.

func (RunLoadReturnRequestValidationError) Reason

Reason function returns reason value.

type RunLoadReturnResponse

type RunLoadReturnResponse struct {
	// contains filtered or unexported fields
}

func (*RunLoadReturnResponse) Descriptor deprecated

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

Deprecated: Use RunLoadReturnResponse.ProtoReflect.Descriptor instead.

func (*RunLoadReturnResponse) ProtoMessage

func (*RunLoadReturnResponse) ProtoMessage()

func (*RunLoadReturnResponse) ProtoReflect

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

func (*RunLoadReturnResponse) Reset

func (x *RunLoadReturnResponse) Reset()

func (*RunLoadReturnResponse) String

func (x *RunLoadReturnResponse) String() string

func (*RunLoadReturnResponse) Validate

func (m *RunLoadReturnResponse) Validate() error

Validate checks the field values on RunLoadReturnResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RunLoadReturnResponseValidationError

type RunLoadReturnResponseValidationError struct {
	// contains filtered or unexported fields
}

RunLoadReturnResponseValidationError is the validation error returned by RunLoadReturnResponse.Validate if the designated constraints aren't met.

func (RunLoadReturnResponseValidationError) Cause

Cause function returns cause value.

func (RunLoadReturnResponseValidationError) Error

Error satisfies the builtin error interface

func (RunLoadReturnResponseValidationError) ErrorName

ErrorName returns error name.

func (RunLoadReturnResponseValidationError) Field

Field function returns field value.

func (RunLoadReturnResponseValidationError) Key

Key function returns key value.

func (RunLoadReturnResponseValidationError) Reason

Reason function returns reason value.

type RunRequest

type RunRequest struct {
	Scope    string                   `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
	Id       string                   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Module   *program.Module          `protobuf:"bytes,3,opt,name=module,proto3" json:"module,omitempty"`
	Predecls map[string]*values.Value `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RunRequest) Descriptor deprecated

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

Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.

func (*RunRequest) GetId

func (x *RunRequest) GetId() string

func (*RunRequest) GetModule

func (x *RunRequest) GetModule() *program.Module

func (*RunRequest) GetPredecls

func (x *RunRequest) GetPredecls() map[string]*values.Value

func (*RunRequest) GetScope

func (x *RunRequest) GetScope() string

func (*RunRequest) ProtoMessage

func (*RunRequest) ProtoMessage()

func (*RunRequest) ProtoReflect

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

func (*RunRequest) Reset

func (x *RunRequest) Reset()

func (*RunRequest) String

func (x *RunRequest) String() string

func (*RunRequest) Validate

func (m *RunRequest) Validate() error

Validate checks the field values on RunRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RunRequestValidationError

type RunRequestValidationError struct {
	// contains filtered or unexported fields
}

RunRequestValidationError is the validation error returned by RunRequest.Validate if the designated constraints aren't met.

func (RunRequestValidationError) Cause

func (e RunRequestValidationError) Cause() error

Cause function returns cause value.

func (RunRequestValidationError) Error

Error satisfies the builtin error interface

func (RunRequestValidationError) ErrorName

func (e RunRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RunRequestValidationError) Field

Field function returns field value.

func (RunRequestValidationError) Key

Key function returns key value.

func (RunRequestValidationError) Reason

func (e RunRequestValidationError) Reason() string

Reason function returns reason value.

type RunUpdate

type RunUpdate struct {
	RunId string                 `protobuf:"bytes,1,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	T     *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=t,proto3" json:"t,omitempty"`
	Prev  *lang.RunState         `protobuf:"bytes,3,opt,name=prev,proto3" json:"prev,omitempty"` // will be nil on first update.
	Next  *lang.RunState         `protobuf:"bytes,4,opt,name=next,proto3" json:"next,omitempty"`
	// contains filtered or unexported fields
}

func (*RunUpdate) Descriptor deprecated

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

Deprecated: Use RunUpdate.ProtoReflect.Descriptor instead.

func (*RunUpdate) GetNext

func (x *RunUpdate) GetNext() *lang.RunState

func (*RunUpdate) GetPrev

func (x *RunUpdate) GetPrev() *lang.RunState

func (*RunUpdate) GetRunId

func (x *RunUpdate) GetRunId() string

func (*RunUpdate) GetT

func (x *RunUpdate) GetT() *timestamppb.Timestamp

func (*RunUpdate) ProtoMessage

func (*RunUpdate) ProtoMessage()

func (*RunUpdate) ProtoReflect

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

func (*RunUpdate) Reset

func (x *RunUpdate) Reset()

func (*RunUpdate) String

func (x *RunUpdate) String() string

func (*RunUpdate) Validate

func (m *RunUpdate) Validate() error

Validate checks the field values on RunUpdate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type RunUpdateValidationError

type RunUpdateValidationError struct {
	// contains filtered or unexported fields
}

RunUpdateValidationError is the validation error returned by RunUpdate.Validate if the designated constraints aren't met.

func (RunUpdateValidationError) Cause

func (e RunUpdateValidationError) Cause() error

Cause function returns cause value.

func (RunUpdateValidationError) Error

func (e RunUpdateValidationError) Error() string

Error satisfies the builtin error interface

func (RunUpdateValidationError) ErrorName

func (e RunUpdateValidationError) ErrorName() string

ErrorName returns error name.

func (RunUpdateValidationError) Field

func (e RunUpdateValidationError) Field() string

Field function returns field value.

func (RunUpdateValidationError) Key

Key function returns key value.

func (RunUpdateValidationError) Reason

func (e RunUpdateValidationError) Reason() string

Reason function returns reason value.

type UnimplementedLangRunServer

type UnimplementedLangRunServer struct {
}

UnimplementedLangRunServer must be embedded to have forward compatible implementations.

func (UnimplementedLangRunServer) CallFunction

func (UnimplementedLangRunServer) ListRuns

func (UnimplementedLangRunServer) Run

func (UnimplementedLangRunServer) RunCallReturn

func (UnimplementedLangRunServer) RunCancel

func (UnimplementedLangRunServer) RunDiscard

func (UnimplementedLangRunServer) RunGet

func (UnimplementedLangRunServer) RunLoadReturn

type UnimplementedLangServer

type UnimplementedLangServer struct {
}

UnimplementedLangServer must be embedded to have forward compatible implementations.

func (UnimplementedLangServer) CompileModule

func (UnimplementedLangServer) ListLangs

type UnsafeLangRunServer

type UnsafeLangRunServer interface {
	// contains filtered or unexported methods
}

UnsafeLangRunServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LangRunServer will result in compilation errors.

type UnsafeLangServer

type UnsafeLangServer interface {
	// contains filtered or unexported methods
}

UnsafeLangServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LangServer will result in compilation errors.

Jump to

Keyboard shortcuts

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