gpyrpc

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 16 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_gpyrpc_proto protoreflect.FileDescriptor

Functions

func PROTORPC_AcceptBuiltinServiceClient

func PROTORPC_AcceptBuiltinServiceClient(lis net.Listener, x PROTORPC_BuiltinService)

PROTORPC_AcceptBuiltinServiceClient accepts connections on the listener and serves requests for each incoming connection. Accept blocks; the caller typically invokes it in a go statement.

func PROTORPC_AcceptKclvmServiceClient

func PROTORPC_AcceptKclvmServiceClient(lis net.Listener, x PROTORPC_KclvmService)

PROTORPC_AcceptKclvmServiceClient accepts connections on the listener and serves requests for each incoming connection. Accept blocks; the caller typically invokes it in a go statement.

func PROTORPC_ListenAndServeBuiltinService

func PROTORPC_ListenAndServeBuiltinService(network, addr string, x PROTORPC_BuiltinService) error

PROTORPC_ListenAndServeBuiltinService listen announces on the local network address laddr and serves the given BuiltinService implementation.

func PROTORPC_ListenAndServeKclvmService

func PROTORPC_ListenAndServeKclvmService(network, addr string, x PROTORPC_KclvmService) error

PROTORPC_ListenAndServeKclvmService listen announces on the local network address laddr and serves the given KclvmService implementation.

func PROTORPC_NewBuiltinServiceServer

func PROTORPC_NewBuiltinServiceServer(x PROTORPC_BuiltinService) *rpc.Server

PROTORPC_NewBuiltinServiceServer returns a new PROTORPC_BuiltinService Server.

func PROTORPC_NewKclvmServiceServer

func PROTORPC_NewKclvmServiceServer(x PROTORPC_KclvmService) *rpc.Server

PROTORPC_NewKclvmServiceServer returns a new PROTORPC_KclvmService Server.

func PROTORPC_RegisterBuiltinService

func PROTORPC_RegisterBuiltinService(srv *rpc.Server, x PROTORPC_BuiltinService) error

PROTORPC_RegisterBuiltinService publish the given PROTORPC_BuiltinService implementation on the server.

func PROTORPC_RegisterKclvmService

func PROTORPC_RegisterKclvmService(srv *rpc.Server, x PROTORPC_KclvmService) error

PROTORPC_RegisterKclvmService publish the given PROTORPC_KclvmService implementation on the server.

func PROTORPC_ServeBuiltinService

func PROTORPC_ServeBuiltinService(conn io.ReadWriteCloser, x PROTORPC_BuiltinService)

PROTORPC_ServeBuiltinService serves the given PROTORPC_BuiltinService implementation.

func PROTORPC_ServeKclvmService

func PROTORPC_ServeKclvmService(conn io.ReadWriteCloser, x PROTORPC_KclvmService)

PROTORPC_ServeKclvmService serves the given PROTORPC_KclvmService implementation.

func RegisterBuiltinServiceServer

func RegisterBuiltinServiceServer(s *grpc.Server, srv BuiltinServiceServer)

func RegisterKclvmServiceServer

func RegisterKclvmServiceServer(s *grpc.Server, srv KclvmServiceServer)

Types

type BuildProgram_Args added in v0.8.0

type BuildProgram_Args struct {
	ExecArgs *ExecProgram_Args `protobuf:"bytes,1,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"`
	Output   string            `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
	// contains filtered or unexported fields
}

func (*BuildProgram_Args) Descriptor deprecated added in v0.8.0

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

Deprecated: Use BuildProgram_Args.ProtoReflect.Descriptor instead.

func (*BuildProgram_Args) GetExecArgs added in v0.8.0

func (x *BuildProgram_Args) GetExecArgs() *ExecProgram_Args

func (*BuildProgram_Args) GetOutput added in v0.8.0

func (x *BuildProgram_Args) GetOutput() string

func (*BuildProgram_Args) ProtoMessage added in v0.8.0

func (*BuildProgram_Args) ProtoMessage()

func (*BuildProgram_Args) ProtoReflect added in v0.8.0

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

func (*BuildProgram_Args) Reset added in v0.8.0

func (x *BuildProgram_Args) Reset()

func (*BuildProgram_Args) String added in v0.8.0

func (x *BuildProgram_Args) String() string

type BuildProgram_Result added in v0.8.0

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

func (*BuildProgram_Result) Descriptor deprecated added in v0.8.0

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

Deprecated: Use BuildProgram_Result.ProtoReflect.Descriptor instead.

func (*BuildProgram_Result) GetPath added in v0.8.0

func (x *BuildProgram_Result) GetPath() string

func (*BuildProgram_Result) ProtoMessage added in v0.8.0

func (*BuildProgram_Result) ProtoMessage()

func (*BuildProgram_Result) ProtoReflect added in v0.8.0

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

func (*BuildProgram_Result) Reset added in v0.8.0

func (x *BuildProgram_Result) Reset()

func (*BuildProgram_Result) String added in v0.8.0

func (x *BuildProgram_Result) String() string

type BuiltinServiceClient

type BuiltinServiceClient interface {
	Ping(ctx context.Context, in *Ping_Args, opts ...grpc.CallOption) (*Ping_Result, error)
	ListMethod(ctx context.Context, in *ListMethod_Args, opts ...grpc.CallOption) (*ListMethod_Result, error)
}

BuiltinServiceClient is the client API for BuiltinService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type BuiltinServiceServer

type BuiltinServiceServer interface {
	Ping(context.Context, *Ping_Args) (*Ping_Result, error)
	ListMethod(context.Context, *ListMethod_Args) (*ListMethod_Result, error)
}

BuiltinServiceServer is the server API for BuiltinService service.

type CliConfig

type CliConfig struct {
	Files                 []string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"`
	Output                string   `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
	Overrides             []string `protobuf:"bytes,3,rep,name=overrides,proto3" json:"overrides,omitempty"`
	PathSelector          []string `protobuf:"bytes,4,rep,name=path_selector,json=pathSelector,proto3" json:"path_selector,omitempty"`
	StrictRangeCheck      bool     `protobuf:"varint,5,opt,name=strict_range_check,json=strictRangeCheck,proto3" json:"strict_range_check,omitempty"`
	DisableNone           bool     `protobuf:"varint,6,opt,name=disable_none,json=disableNone,proto3" json:"disable_none,omitempty"`
	Verbose               int64    `protobuf:"varint,7,opt,name=verbose,proto3" json:"verbose,omitempty"`
	Debug                 bool     `protobuf:"varint,8,opt,name=debug,proto3" json:"debug,omitempty"`
	SortKeys              bool     `protobuf:"varint,9,opt,name=sort_keys,json=sortKeys,proto3" json:"sort_keys,omitempty"`
	ShowHidden            bool     `protobuf:"varint,10,opt,name=show_hidden,json=showHidden,proto3" json:"show_hidden,omitempty"`
	IncludeSchemaTypePath bool     `` /* 130-byte string literal not displayed */
	FastEval              bool     `protobuf:"varint,12,opt,name=fast_eval,json=fastEval,proto3" json:"fast_eval,omitempty"`
	// contains filtered or unexported fields
}

func (*CliConfig) Descriptor deprecated

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

Deprecated: Use CliConfig.ProtoReflect.Descriptor instead.

func (*CliConfig) GetDebug

func (x *CliConfig) GetDebug() bool

func (*CliConfig) GetDisableNone

func (x *CliConfig) GetDisableNone() bool

func (*CliConfig) GetFastEval added in v0.8.4

func (x *CliConfig) GetFastEval() bool

func (*CliConfig) GetFiles

func (x *CliConfig) GetFiles() []string

func (*CliConfig) GetIncludeSchemaTypePath added in v0.5.4

func (x *CliConfig) GetIncludeSchemaTypePath() bool

func (*CliConfig) GetOutput

func (x *CliConfig) GetOutput() string

func (*CliConfig) GetOverrides

func (x *CliConfig) GetOverrides() []string

func (*CliConfig) GetPathSelector

func (x *CliConfig) GetPathSelector() []string

func (*CliConfig) GetShowHidden added in v0.8.0

func (x *CliConfig) GetShowHidden() bool

func (*CliConfig) GetSortKeys

func (x *CliConfig) GetSortKeys() bool

func (*CliConfig) GetStrictRangeCheck

func (x *CliConfig) GetStrictRangeCheck() bool

func (*CliConfig) GetVerbose

func (x *CliConfig) GetVerbose() int64

func (*CliConfig) ProtoMessage

func (*CliConfig) ProtoMessage()

func (*CliConfig) ProtoReflect

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

func (*CliConfig) Reset

func (x *CliConfig) Reset()

func (*CliConfig) String

func (x *CliConfig) String() string

type CmdArgSpec

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

kcl main.k -D name=value

func (*CmdArgSpec) Descriptor deprecated

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

Deprecated: Use CmdArgSpec.ProtoReflect.Descriptor instead.

func (*CmdArgSpec) GetName

func (x *CmdArgSpec) GetName() string

func (*CmdArgSpec) GetValue

func (x *CmdArgSpec) GetValue() string

func (*CmdArgSpec) ProtoMessage

func (*CmdArgSpec) ProtoMessage()

func (*CmdArgSpec) ProtoReflect

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

func (*CmdArgSpec) Reset

func (x *CmdArgSpec) Reset()

func (*CmdArgSpec) String

func (x *CmdArgSpec) String() string

type CmdExternalPkgSpec

type CmdExternalPkgSpec struct {
	PkgName string `protobuf:"bytes,1,opt,name=pkg_name,json=pkgName,proto3" json:"pkg_name,omitempty"`
	PkgPath string `protobuf:"bytes,2,opt,name=pkg_path,json=pkgPath,proto3" json:"pkg_path,omitempty"`
	// contains filtered or unexported fields
}

kcl main.k -E pkg_name=pkg_path

func (*CmdExternalPkgSpec) Descriptor deprecated

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

Deprecated: Use CmdExternalPkgSpec.ProtoReflect.Descriptor instead.

func (*CmdExternalPkgSpec) GetPkgName

func (x *CmdExternalPkgSpec) GetPkgName() string

func (*CmdExternalPkgSpec) GetPkgPath

func (x *CmdExternalPkgSpec) GetPkgPath() string

func (*CmdExternalPkgSpec) ProtoMessage

func (*CmdExternalPkgSpec) ProtoMessage()

func (*CmdExternalPkgSpec) ProtoReflect

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

func (*CmdExternalPkgSpec) Reset

func (x *CmdExternalPkgSpec) Reset()

func (*CmdExternalPkgSpec) String

func (x *CmdExternalPkgSpec) String() string

type CmdOverrideSpec

type CmdOverrideSpec struct {
	Pkgpath    string `protobuf:"bytes,1,opt,name=pkgpath,proto3" json:"pkgpath,omitempty"`
	FieldPath  string `protobuf:"bytes,2,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"`
	FieldValue string `protobuf:"bytes,3,opt,name=field_value,json=fieldValue,proto3" json:"field_value,omitempty"`
	Action     string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

kcl main.k -O pkgpath:path.to.field=field_value

func (*CmdOverrideSpec) Descriptor deprecated

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

Deprecated: Use CmdOverrideSpec.ProtoReflect.Descriptor instead.

func (*CmdOverrideSpec) GetAction

func (x *CmdOverrideSpec) GetAction() string

func (*CmdOverrideSpec) GetFieldPath

func (x *CmdOverrideSpec) GetFieldPath() string

func (*CmdOverrideSpec) GetFieldValue

func (x *CmdOverrideSpec) GetFieldValue() string

func (*CmdOverrideSpec) GetPkgpath

func (x *CmdOverrideSpec) GetPkgpath() string

func (*CmdOverrideSpec) ProtoMessage

func (*CmdOverrideSpec) ProtoMessage()

func (*CmdOverrideSpec) ProtoReflect

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

func (*CmdOverrideSpec) Reset

func (x *CmdOverrideSpec) Reset()

func (*CmdOverrideSpec) String

func (x *CmdOverrideSpec) String() string

type Decorator

type Decorator struct {
	Name      string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Arguments []string          `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"`
	Keywords  map[string]string `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Decorator) Descriptor deprecated

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

Deprecated: Use Decorator.ProtoReflect.Descriptor instead.

func (*Decorator) GetArguments

func (x *Decorator) GetArguments() []string

func (*Decorator) GetKeywords

func (x *Decorator) GetKeywords() map[string]string

func (*Decorator) GetName

func (x *Decorator) GetName() string

func (*Decorator) ProtoMessage

func (*Decorator) ProtoMessage()

func (*Decorator) ProtoReflect

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

func (*Decorator) Reset

func (x *Decorator) Reset()

func (*Decorator) String

func (x *Decorator) String() string

type Error added in v0.7.3

type Error struct {
	Level    string     `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
	Code     string     `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Messages []*Message `protobuf:"bytes,3,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

func (*Error) Descriptor deprecated added in v0.7.3

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

Deprecated: Use Error.ProtoReflect.Descriptor instead.

func (*Error) GetCode added in v0.7.3

func (x *Error) GetCode() string

func (*Error) GetLevel added in v0.7.3

func (x *Error) GetLevel() string

func (*Error) GetMessages added in v0.7.3

func (x *Error) GetMessages() []*Message

func (*Error) ProtoMessage added in v0.7.3

func (*Error) ProtoMessage()

func (*Error) ProtoReflect added in v0.7.3

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

func (*Error) Reset added in v0.7.3

func (x *Error) Reset()

func (*Error) String added in v0.7.3

func (x *Error) String() string

type Example added in v0.5.2

type Example struct {
	Summary     string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"`         // Short description for the example.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Long description for the example.
	Value       string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`             // Embedded literal example.
	// contains filtered or unexported fields
}

func (*Example) Descriptor deprecated added in v0.5.2

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

Deprecated: Use Example.ProtoReflect.Descriptor instead.

func (*Example) GetDescription added in v0.5.2

func (x *Example) GetDescription() string

func (*Example) GetSummary added in v0.5.2

func (x *Example) GetSummary() string

func (*Example) GetValue added in v0.5.2

func (x *Example) GetValue() string

func (*Example) ProtoMessage added in v0.5.2

func (*Example) ProtoMessage()

func (*Example) ProtoReflect added in v0.5.2

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

func (*Example) Reset added in v0.5.2

func (x *Example) Reset()

func (*Example) String added in v0.5.2

func (x *Example) String() string

type ExecArtifact_Args added in v0.8.0

type ExecArtifact_Args struct {
	Path     string            `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	ExecArgs *ExecProgram_Args `protobuf:"bytes,2,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecArtifact_Args) Descriptor deprecated added in v0.8.0

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

Deprecated: Use ExecArtifact_Args.ProtoReflect.Descriptor instead.

func (*ExecArtifact_Args) GetExecArgs added in v0.8.0

func (x *ExecArtifact_Args) GetExecArgs() *ExecProgram_Args

func (*ExecArtifact_Args) GetPath added in v0.8.0

func (x *ExecArtifact_Args) GetPath() string

func (*ExecArtifact_Args) ProtoMessage added in v0.8.0

func (*ExecArtifact_Args) ProtoMessage()

func (*ExecArtifact_Args) ProtoReflect added in v0.8.0

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

func (*ExecArtifact_Args) Reset added in v0.8.0

func (x *ExecArtifact_Args) Reset()

func (*ExecArtifact_Args) String added in v0.8.0

func (x *ExecArtifact_Args) String() string

type ExecProgram_Args

type ExecProgram_Args struct {
	WorkDir           string             `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"`
	KFilenameList     []string           `protobuf:"bytes,2,rep,name=k_filename_list,json=kFilenameList,proto3" json:"k_filename_list,omitempty"`
	KCodeList         []string           `protobuf:"bytes,3,rep,name=k_code_list,json=kCodeList,proto3" json:"k_code_list,omitempty"`
	Args              []*CmdArgSpec      `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
	Overrides         []*CmdOverrideSpec `protobuf:"bytes,5,rep,name=overrides,proto3" json:"overrides,omitempty"`
	DisableYamlResult bool               `protobuf:"varint,6,opt,name=disable_yaml_result,json=disableYamlResult,proto3" json:"disable_yaml_result,omitempty"`
	PrintOverrideAst  bool               `protobuf:"varint,7,opt,name=print_override_ast,json=printOverrideAst,proto3" json:"print_override_ast,omitempty"`
	// -r --strict-range-check
	StrictRangeCheck bool `protobuf:"varint,8,opt,name=strict_range_check,json=strictRangeCheck,proto3" json:"strict_range_check,omitempty"`
	// -n --disable-none
	DisableNone bool `protobuf:"varint,9,opt,name=disable_none,json=disableNone,proto3" json:"disable_none,omitempty"`
	// -v --verbose
	Verbose int32 `protobuf:"varint,10,opt,name=verbose,proto3" json:"verbose,omitempty"`
	// -d --debug
	Debug int32 `protobuf:"varint,11,opt,name=debug,proto3" json:"debug,omitempty"`
	// yaml/json: sort keys
	SortKeys bool `protobuf:"varint,12,opt,name=sort_keys,json=sortKeys,proto3" json:"sort_keys,omitempty"`
	// -E --external : external packages path
	ExternalPkgs []*CmdExternalPkgSpec `protobuf:"bytes,13,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"`
	// Whether including schema type in JSON/YAML result
	IncludeSchemaTypePath bool `` /* 130-byte string literal not displayed */
	// Whether only compiling the program
	CompileOnly bool `protobuf:"varint,15,opt,name=compile_only,json=compileOnly,proto3" json:"compile_only,omitempty"`
	// Show hidden attributes
	ShowHidden bool `protobuf:"varint,16,opt,name=show_hidden,json=showHidden,proto3" json:"show_hidden,omitempty"`
	// -S --path_selector
	PathSelector []string `protobuf:"bytes,17,rep,name=path_selector,json=pathSelector,proto3" json:"path_selector,omitempty"`
	// -K --fast_eval
	FastEval bool `protobuf:"varint,18,opt,name=fast_eval,json=fastEval,proto3" json:"fast_eval,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecProgram_Args) Descriptor deprecated

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

Deprecated: Use ExecProgram_Args.ProtoReflect.Descriptor instead.

func (*ExecProgram_Args) GetArgs

func (x *ExecProgram_Args) GetArgs() []*CmdArgSpec

func (*ExecProgram_Args) GetCompileOnly added in v0.6.1

func (x *ExecProgram_Args) GetCompileOnly() bool

func (*ExecProgram_Args) GetDebug

func (x *ExecProgram_Args) GetDebug() int32

func (*ExecProgram_Args) GetDisableNone

func (x *ExecProgram_Args) GetDisableNone() bool

func (*ExecProgram_Args) GetDisableYamlResult

func (x *ExecProgram_Args) GetDisableYamlResult() bool

func (*ExecProgram_Args) GetExternalPkgs

func (x *ExecProgram_Args) GetExternalPkgs() []*CmdExternalPkgSpec

func (*ExecProgram_Args) GetFastEval added in v0.8.4

func (x *ExecProgram_Args) GetFastEval() bool

func (*ExecProgram_Args) GetIncludeSchemaTypePath

func (x *ExecProgram_Args) GetIncludeSchemaTypePath() bool

func (*ExecProgram_Args) GetKCodeList

func (x *ExecProgram_Args) GetKCodeList() []string

func (*ExecProgram_Args) GetKFilenameList

func (x *ExecProgram_Args) GetKFilenameList() []string

func (*ExecProgram_Args) GetOverrides

func (x *ExecProgram_Args) GetOverrides() []*CmdOverrideSpec

func (*ExecProgram_Args) GetPathSelector added in v0.7.0

func (x *ExecProgram_Args) GetPathSelector() []string

func (*ExecProgram_Args) GetPrintOverrideAst

func (x *ExecProgram_Args) GetPrintOverrideAst() bool

func (*ExecProgram_Args) GetShowHidden added in v0.8.0

func (x *ExecProgram_Args) GetShowHidden() bool

func (*ExecProgram_Args) GetSortKeys

func (x *ExecProgram_Args) GetSortKeys() bool

func (*ExecProgram_Args) GetStrictRangeCheck

func (x *ExecProgram_Args) GetStrictRangeCheck() bool

func (*ExecProgram_Args) GetVerbose

func (x *ExecProgram_Args) GetVerbose() int32

func (*ExecProgram_Args) GetWorkDir

func (x *ExecProgram_Args) GetWorkDir() string

func (*ExecProgram_Args) ProtoMessage

func (*ExecProgram_Args) ProtoMessage()

func (*ExecProgram_Args) ProtoReflect

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

func (*ExecProgram_Args) Reset

func (x *ExecProgram_Args) Reset()

func (*ExecProgram_Args) String

func (x *ExecProgram_Args) String() string

type ExecProgram_Result

type ExecProgram_Result struct {
	JsonResult string `protobuf:"bytes,1,opt,name=json_result,json=jsonResult,proto3" json:"json_result,omitempty"`
	YamlResult string `protobuf:"bytes,2,opt,name=yaml_result,json=yamlResult,proto3" json:"yaml_result,omitempty"`
	LogMessage string `protobuf:"bytes,3,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"`
	ErrMessage string `protobuf:"bytes,4,opt,name=err_message,json=errMessage,proto3" json:"err_message,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecProgram_Result) Descriptor deprecated

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

Deprecated: Use ExecProgram_Result.ProtoReflect.Descriptor instead.

func (*ExecProgram_Result) GetErrMessage added in v0.7.0

func (x *ExecProgram_Result) GetErrMessage() string

func (*ExecProgram_Result) GetJsonResult

func (x *ExecProgram_Result) GetJsonResult() string

func (*ExecProgram_Result) GetLogMessage added in v0.7.0

func (x *ExecProgram_Result) GetLogMessage() string

func (*ExecProgram_Result) GetYamlResult

func (x *ExecProgram_Result) GetYamlResult() string

func (*ExecProgram_Result) ProtoMessage

func (*ExecProgram_Result) ProtoMessage()

func (*ExecProgram_Result) ProtoReflect

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

func (*ExecProgram_Result) Reset

func (x *ExecProgram_Result) Reset()

func (*ExecProgram_Result) String

func (x *ExecProgram_Result) String() string

type FormatCode_Args

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

func (*FormatCode_Args) Descriptor deprecated

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

Deprecated: Use FormatCode_Args.ProtoReflect.Descriptor instead.

func (*FormatCode_Args) GetSource

func (x *FormatCode_Args) GetSource() string

func (*FormatCode_Args) ProtoMessage

func (*FormatCode_Args) ProtoMessage()

func (*FormatCode_Args) ProtoReflect

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

func (*FormatCode_Args) Reset

func (x *FormatCode_Args) Reset()

func (*FormatCode_Args) String

func (x *FormatCode_Args) String() string

type FormatCode_Result

type FormatCode_Result struct {
	Formatted []byte `protobuf:"bytes,1,opt,name=formatted,proto3" json:"formatted,omitempty"`
	// contains filtered or unexported fields
}

func (*FormatCode_Result) Descriptor deprecated

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

Deprecated: Use FormatCode_Result.ProtoReflect.Descriptor instead.

func (*FormatCode_Result) GetFormatted

func (x *FormatCode_Result) GetFormatted() []byte

func (*FormatCode_Result) ProtoMessage

func (*FormatCode_Result) ProtoMessage()

func (*FormatCode_Result) ProtoReflect

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

func (*FormatCode_Result) Reset

func (x *FormatCode_Result) Reset()

func (*FormatCode_Result) String

func (x *FormatCode_Result) String() string

type FormatPath_Args

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

func (*FormatPath_Args) Descriptor deprecated

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

Deprecated: Use FormatPath_Args.ProtoReflect.Descriptor instead.

func (*FormatPath_Args) GetPath

func (x *FormatPath_Args) GetPath() string

func (*FormatPath_Args) ProtoMessage

func (*FormatPath_Args) ProtoMessage()

func (*FormatPath_Args) ProtoReflect

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

func (*FormatPath_Args) Reset

func (x *FormatPath_Args) Reset()

func (*FormatPath_Args) String

func (x *FormatPath_Args) String() string

type FormatPath_Result

type FormatPath_Result struct {
	ChangedPaths []string `protobuf:"bytes,1,rep,name=changed_paths,json=changedPaths,proto3" json:"changed_paths,omitempty"`
	// contains filtered or unexported fields
}

func (*FormatPath_Result) Descriptor deprecated

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

Deprecated: Use FormatPath_Result.ProtoReflect.Descriptor instead.

func (*FormatPath_Result) GetChangedPaths

func (x *FormatPath_Result) GetChangedPaths() []string

func (*FormatPath_Result) ProtoMessage

func (*FormatPath_Result) ProtoMessage()

func (*FormatPath_Result) ProtoReflect

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

func (*FormatPath_Result) Reset

func (x *FormatPath_Result) Reset()

func (*FormatPath_Result) String

func (x *FormatPath_Result) String() string

type GetFullSchemaType_Args added in v0.7.0

type GetFullSchemaType_Args struct {
	ExecArgs   *ExecProgram_Args `protobuf:"bytes,1,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"`
	SchemaName string            `protobuf:"bytes,2,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetFullSchemaType_Args) Descriptor deprecated added in v0.7.0

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

Deprecated: Use GetFullSchemaType_Args.ProtoReflect.Descriptor instead.

func (*GetFullSchemaType_Args) GetExecArgs added in v0.7.0

func (x *GetFullSchemaType_Args) GetExecArgs() *ExecProgram_Args

func (*GetFullSchemaType_Args) GetSchemaName added in v0.7.0

func (x *GetFullSchemaType_Args) GetSchemaName() string

func (*GetFullSchemaType_Args) ProtoMessage added in v0.7.0

func (*GetFullSchemaType_Args) ProtoMessage()

func (*GetFullSchemaType_Args) ProtoReflect added in v0.7.0

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

func (*GetFullSchemaType_Args) Reset added in v0.7.0

func (x *GetFullSchemaType_Args) Reset()

func (*GetFullSchemaType_Args) String added in v0.7.0

func (x *GetFullSchemaType_Args) String() string

type GetSchemaTypeMapping_Args

type GetSchemaTypeMapping_Args struct {
	File       string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	Code       string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	SchemaName string `protobuf:"bytes,3,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSchemaTypeMapping_Args) Descriptor deprecated

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

Deprecated: Use GetSchemaTypeMapping_Args.ProtoReflect.Descriptor instead.

func (*GetSchemaTypeMapping_Args) GetCode

func (x *GetSchemaTypeMapping_Args) GetCode() string

func (*GetSchemaTypeMapping_Args) GetFile

func (x *GetSchemaTypeMapping_Args) GetFile() string

func (*GetSchemaTypeMapping_Args) GetSchemaName

func (x *GetSchemaTypeMapping_Args) GetSchemaName() string

func (*GetSchemaTypeMapping_Args) ProtoMessage

func (*GetSchemaTypeMapping_Args) ProtoMessage()

func (*GetSchemaTypeMapping_Args) ProtoReflect

func (*GetSchemaTypeMapping_Args) Reset

func (x *GetSchemaTypeMapping_Args) Reset()

func (*GetSchemaTypeMapping_Args) String

func (x *GetSchemaTypeMapping_Args) String() string

type GetSchemaTypeMapping_Result

type GetSchemaTypeMapping_Result struct {
	SchemaTypeMapping map[string]*KclType `` /* 202-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetSchemaTypeMapping_Result) Descriptor deprecated

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

Deprecated: Use GetSchemaTypeMapping_Result.ProtoReflect.Descriptor instead.

func (*GetSchemaTypeMapping_Result) GetSchemaTypeMapping

func (x *GetSchemaTypeMapping_Result) GetSchemaTypeMapping() map[string]*KclType

func (*GetSchemaTypeMapping_Result) ProtoMessage

func (*GetSchemaTypeMapping_Result) ProtoMessage()

func (*GetSchemaTypeMapping_Result) ProtoReflect

func (*GetSchemaTypeMapping_Result) Reset

func (x *GetSchemaTypeMapping_Result) Reset()

func (*GetSchemaTypeMapping_Result) String

func (x *GetSchemaTypeMapping_Result) String() string

type GetSchemaType_Args

type GetSchemaType_Args struct {
	File       string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	Code       string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	SchemaName string `protobuf:"bytes,3,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSchemaType_Args) Descriptor deprecated

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

Deprecated: Use GetSchemaType_Args.ProtoReflect.Descriptor instead.

func (*GetSchemaType_Args) GetCode

func (x *GetSchemaType_Args) GetCode() string

func (*GetSchemaType_Args) GetFile

func (x *GetSchemaType_Args) GetFile() string

func (*GetSchemaType_Args) GetSchemaName

func (x *GetSchemaType_Args) GetSchemaName() string

func (*GetSchemaType_Args) ProtoMessage

func (*GetSchemaType_Args) ProtoMessage()

func (*GetSchemaType_Args) ProtoReflect

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

func (*GetSchemaType_Args) Reset

func (x *GetSchemaType_Args) Reset()

func (*GetSchemaType_Args) String

func (x *GetSchemaType_Args) String() string

type GetSchemaType_Result

type GetSchemaType_Result struct {
	SchemaTypeList []*KclType `protobuf:"bytes,1,rep,name=schema_type_list,json=schemaTypeList,proto3" json:"schema_type_list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSchemaType_Result) Descriptor deprecated

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

Deprecated: Use GetSchemaType_Result.ProtoReflect.Descriptor instead.

func (*GetSchemaType_Result) GetSchemaTypeList

func (x *GetSchemaType_Result) GetSchemaTypeList() []*KclType

func (*GetSchemaType_Result) ProtoMessage

func (*GetSchemaType_Result) ProtoMessage()

func (*GetSchemaType_Result) ProtoReflect

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

func (*GetSchemaType_Result) Reset

func (x *GetSchemaType_Result) Reset()

func (*GetSchemaType_Result) String

func (x *GetSchemaType_Result) String() string

type KclType

type KclType struct {
	Type       string              `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`                               // schema, dict, list, str, int, float, bool, any, union, number_multiplier
	UnionTypes []*KclType          `protobuf:"bytes,2,rep,name=union_types,json=unionTypes,proto3" json:"union_types,omitempty"` // union types
	Default    string              `protobuf:"bytes,3,opt,name=default,proto3" json:"default,omitempty"`                         // default value
	SchemaName string              `protobuf:"bytes,4,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` // schema name
	SchemaDoc  string              `protobuf:"bytes,5,opt,name=schema_doc,json=schemaDoc,proto3" json:"schema_doc,omitempty"`    // schema doc
	Properties map[string]*KclType ``                                                                                            // schema properties
	/* 161-byte string literal not displayed */
	Required    []string            `protobuf:"bytes,7,rep,name=required,proto3" json:"required,omitempty"` // required schema properties, [property_name1, property_name2]
	Key         *KclType            `protobuf:"bytes,8,opt,name=key,proto3" json:"key,omitempty"`           // dict key type
	Item        *KclType            `protobuf:"bytes,9,opt,name=item,proto3" json:"item,omitempty"`         // dict/list item type
	Line        int32               `protobuf:"varint,10,opt,name=line,proto3" json:"line,omitempty"`
	Decorators  []*Decorator        `protobuf:"bytes,11,rep,name=decorators,proto3" json:"decorators,omitempty"`          // schema decorators
	Filename    string              `protobuf:"bytes,12,opt,name=filename,proto3" json:"filename,omitempty"`              // `filename` represents the absolute path of the file name where the attribute is located.
	PkgPath     string              `protobuf:"bytes,13,opt,name=pkg_path,json=pkgPath,proto3" json:"pkg_path,omitempty"` // `pkg_path` represents the path name of the package where the attribute is located.
	Description string              `protobuf:"bytes,14,opt,name=description,proto3" json:"description,omitempty"`        // `description` represents the document of the attribute.
	Examples    map[string]*Example ``                                                                                    // A map object to hold examples, the key is the example name.
	/* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*KclType) Descriptor deprecated

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

Deprecated: Use KclType.ProtoReflect.Descriptor instead.

func (*KclType) GetDecorators

func (x *KclType) GetDecorators() []*Decorator

func (*KclType) GetDefault

func (x *KclType) GetDefault() string

func (*KclType) GetDescription added in v0.5.2

func (x *KclType) GetDescription() string

func (*KclType) GetExamples added in v0.5.2

func (x *KclType) GetExamples() map[string]*Example

func (*KclType) GetFilename added in v0.5.2

func (x *KclType) GetFilename() string

func (*KclType) GetItem

func (x *KclType) GetItem() *KclType

func (*KclType) GetKey

func (x *KclType) GetKey() *KclType

func (*KclType) GetLine

func (x *KclType) GetLine() int32

func (*KclType) GetPkgPath added in v0.5.2

func (x *KclType) GetPkgPath() string

func (*KclType) GetProperties

func (x *KclType) GetProperties() map[string]*KclType

func (*KclType) GetRequired

func (x *KclType) GetRequired() []string

func (*KclType) GetSchemaDoc

func (x *KclType) GetSchemaDoc() string

func (*KclType) GetSchemaName

func (x *KclType) GetSchemaName() string

func (*KclType) GetType

func (x *KclType) GetType() string

func (*KclType) GetUnionTypes

func (x *KclType) GetUnionTypes() []*KclType

func (*KclType) ProtoMessage

func (*KclType) ProtoMessage()

func (*KclType) ProtoReflect

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

func (*KclType) Reset

func (x *KclType) Reset()

func (*KclType) String

func (x *KclType) String() string

type KclvmServiceClient

type KclvmServiceClient interface {
	Ping(ctx context.Context, in *Ping_Args, opts ...grpc.CallOption) (*Ping_Result, error)
	ExecProgram(ctx context.Context, in *ExecProgram_Args, opts ...grpc.CallOption) (*ExecProgram_Result, error)
	BuildProgram(ctx context.Context, in *BuildProgram_Args, opts ...grpc.CallOption) (*BuildProgram_Result, error)
	ExecArtifact(ctx context.Context, in *ExecArtifact_Args, opts ...grpc.CallOption) (*ExecProgram_Result, error)
	ParseFile(ctx context.Context, in *ParseFile_Args, opts ...grpc.CallOption) (*ParseFile_Result, error)
	ParseProgram(ctx context.Context, in *ParseProgram_Args, opts ...grpc.CallOption) (*ParseProgram_Result, error)
	LoadPackage(ctx context.Context, in *LoadPackage_Args, opts ...grpc.CallOption) (*LoadPackage_Result, error)
	ListOptions(ctx context.Context, in *ParseProgram_Args, opts ...grpc.CallOption) (*ListOptions_Result, error)
	ListVariables(ctx context.Context, in *ListVariables_Args, opts ...grpc.CallOption) (*ListVariables_Result, error)
	FormatCode(ctx context.Context, in *FormatCode_Args, opts ...grpc.CallOption) (*FormatCode_Result, error)
	FormatPath(ctx context.Context, in *FormatPath_Args, opts ...grpc.CallOption) (*FormatPath_Result, error)
	LintPath(ctx context.Context, in *LintPath_Args, opts ...grpc.CallOption) (*LintPath_Result, error)
	OverrideFile(ctx context.Context, in *OverrideFile_Args, opts ...grpc.CallOption) (*OverrideFile_Result, error)
	GetSchemaType(ctx context.Context, in *GetSchemaType_Args, opts ...grpc.CallOption) (*GetSchemaType_Result, error)
	GetFullSchemaType(ctx context.Context, in *GetFullSchemaType_Args, opts ...grpc.CallOption) (*GetSchemaType_Result, error)
	GetSchemaTypeMapping(ctx context.Context, in *GetSchemaTypeMapping_Args, opts ...grpc.CallOption) (*GetSchemaTypeMapping_Result, error)
	ValidateCode(ctx context.Context, in *ValidateCode_Args, opts ...grpc.CallOption) (*ValidateCode_Result, error)
	ListDepFiles(ctx context.Context, in *ListDepFiles_Args, opts ...grpc.CallOption) (*ListDepFiles_Result, error)
	LoadSettingsFiles(ctx context.Context, in *LoadSettingsFiles_Args, opts ...grpc.CallOption) (*LoadSettingsFiles_Result, error)
	Rename(ctx context.Context, in *Rename_Args, opts ...grpc.CallOption) (*Rename_Result, error)
	RenameCode(ctx context.Context, in *RenameCode_Args, opts ...grpc.CallOption) (*RenameCode_Result, error)
	Test(ctx context.Context, in *Test_Args, opts ...grpc.CallOption) (*Test_Result, error)
}

KclvmServiceClient is the client API for KclvmService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type KclvmServiceServer

type KclvmServiceServer interface {
	Ping(context.Context, *Ping_Args) (*Ping_Result, error)
	ExecProgram(context.Context, *ExecProgram_Args) (*ExecProgram_Result, error)
	BuildProgram(context.Context, *BuildProgram_Args) (*BuildProgram_Result, error)
	ExecArtifact(context.Context, *ExecArtifact_Args) (*ExecProgram_Result, error)
	ParseFile(context.Context, *ParseFile_Args) (*ParseFile_Result, error)
	ParseProgram(context.Context, *ParseProgram_Args) (*ParseProgram_Result, error)
	LoadPackage(context.Context, *LoadPackage_Args) (*LoadPackage_Result, error)
	ListOptions(context.Context, *ParseProgram_Args) (*ListOptions_Result, error)
	ListVariables(context.Context, *ListVariables_Args) (*ListVariables_Result, error)
	FormatCode(context.Context, *FormatCode_Args) (*FormatCode_Result, error)
	FormatPath(context.Context, *FormatPath_Args) (*FormatPath_Result, error)
	LintPath(context.Context, *LintPath_Args) (*LintPath_Result, error)
	OverrideFile(context.Context, *OverrideFile_Args) (*OverrideFile_Result, error)
	GetSchemaType(context.Context, *GetSchemaType_Args) (*GetSchemaType_Result, error)
	GetFullSchemaType(context.Context, *GetFullSchemaType_Args) (*GetSchemaType_Result, error)
	GetSchemaTypeMapping(context.Context, *GetSchemaTypeMapping_Args) (*GetSchemaTypeMapping_Result, error)
	ValidateCode(context.Context, *ValidateCode_Args) (*ValidateCode_Result, error)
	ListDepFiles(context.Context, *ListDepFiles_Args) (*ListDepFiles_Result, error)
	LoadSettingsFiles(context.Context, *LoadSettingsFiles_Args) (*LoadSettingsFiles_Result, error)
	Rename(context.Context, *Rename_Args) (*Rename_Result, error)
	RenameCode(context.Context, *RenameCode_Args) (*RenameCode_Result, error)
	Test(context.Context, *Test_Args) (*Test_Result, error)
}

KclvmServiceServer is the server API for KclvmService service.

type KeyValuePair

type KeyValuePair struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*KeyValuePair) Descriptor deprecated

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

Deprecated: Use KeyValuePair.ProtoReflect.Descriptor instead.

func (*KeyValuePair) GetKey

func (x *KeyValuePair) GetKey() string

func (*KeyValuePair) GetValue

func (x *KeyValuePair) GetValue() string

func (*KeyValuePair) ProtoMessage

func (*KeyValuePair) ProtoMessage()

func (*KeyValuePair) ProtoReflect

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

func (*KeyValuePair) Reset

func (x *KeyValuePair) Reset()

func (*KeyValuePair) String

func (x *KeyValuePair) String() string

type LintPath_Args

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

func (*LintPath_Args) Descriptor deprecated

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

Deprecated: Use LintPath_Args.ProtoReflect.Descriptor instead.

func (*LintPath_Args) GetPaths

func (x *LintPath_Args) GetPaths() []string

func (*LintPath_Args) ProtoMessage

func (*LintPath_Args) ProtoMessage()

func (*LintPath_Args) ProtoReflect

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

func (*LintPath_Args) Reset

func (x *LintPath_Args) Reset()

func (*LintPath_Args) String

func (x *LintPath_Args) String() string

type LintPath_Result

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

func (*LintPath_Result) Descriptor deprecated

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

Deprecated: Use LintPath_Result.ProtoReflect.Descriptor instead.

func (*LintPath_Result) GetResults

func (x *LintPath_Result) GetResults() []string

func (*LintPath_Result) ProtoMessage

func (*LintPath_Result) ProtoMessage()

func (*LintPath_Result) ProtoReflect

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

func (*LintPath_Result) Reset

func (x *LintPath_Result) Reset()

func (*LintPath_Result) String

func (x *LintPath_Result) String() string

type ListDepFiles_Args

type ListDepFiles_Args struct {
	WorkDir       string `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"`
	UseAbsPath    bool   `protobuf:"varint,2,opt,name=use_abs_path,json=useAbsPath,proto3" json:"use_abs_path,omitempty"`
	IncludeAll    bool   `protobuf:"varint,3,opt,name=include_all,json=includeAll,proto3" json:"include_all,omitempty"`
	UseFastParser bool   `protobuf:"varint,4,opt,name=use_fast_parser,json=useFastParser,proto3" json:"use_fast_parser,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDepFiles_Args) Descriptor deprecated

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

Deprecated: Use ListDepFiles_Args.ProtoReflect.Descriptor instead.

func (*ListDepFiles_Args) GetIncludeAll

func (x *ListDepFiles_Args) GetIncludeAll() bool

func (*ListDepFiles_Args) GetUseAbsPath

func (x *ListDepFiles_Args) GetUseAbsPath() bool

func (*ListDepFiles_Args) GetUseFastParser

func (x *ListDepFiles_Args) GetUseFastParser() bool

func (*ListDepFiles_Args) GetWorkDir

func (x *ListDepFiles_Args) GetWorkDir() string

func (*ListDepFiles_Args) ProtoMessage

func (*ListDepFiles_Args) ProtoMessage()

func (*ListDepFiles_Args) ProtoReflect

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

func (*ListDepFiles_Args) Reset

func (x *ListDepFiles_Args) Reset()

func (*ListDepFiles_Args) String

func (x *ListDepFiles_Args) String() string

type ListDepFiles_Result

type ListDepFiles_Result struct {
	Pkgroot string   `protobuf:"bytes,1,opt,name=pkgroot,proto3" json:"pkgroot,omitempty"`
	Pkgpath string   `protobuf:"bytes,2,opt,name=pkgpath,proto3" json:"pkgpath,omitempty"`
	Files   []string `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDepFiles_Result) Descriptor deprecated

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

Deprecated: Use ListDepFiles_Result.ProtoReflect.Descriptor instead.

func (*ListDepFiles_Result) GetFiles

func (x *ListDepFiles_Result) GetFiles() []string

func (*ListDepFiles_Result) GetPkgpath

func (x *ListDepFiles_Result) GetPkgpath() string

func (*ListDepFiles_Result) GetPkgroot

func (x *ListDepFiles_Result) GetPkgroot() string

func (*ListDepFiles_Result) ProtoMessage

func (*ListDepFiles_Result) ProtoMessage()

func (*ListDepFiles_Result) ProtoReflect

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

func (*ListDepFiles_Result) Reset

func (x *ListDepFiles_Result) Reset()

func (*ListDepFiles_Result) String

func (x *ListDepFiles_Result) String() string

type ListMethod_Args

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

func (*ListMethod_Args) Descriptor deprecated

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

Deprecated: Use ListMethod_Args.ProtoReflect.Descriptor instead.

func (*ListMethod_Args) ProtoMessage

func (*ListMethod_Args) ProtoMessage()

func (*ListMethod_Args) ProtoReflect

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

func (*ListMethod_Args) Reset

func (x *ListMethod_Args) Reset()

func (*ListMethod_Args) String

func (x *ListMethod_Args) String() string

type ListMethod_Result

type ListMethod_Result struct {
	MethodNameList []string `protobuf:"bytes,1,rep,name=method_name_list,json=methodNameList,proto3" json:"method_name_list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMethod_Result) Descriptor deprecated

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

Deprecated: Use ListMethod_Result.ProtoReflect.Descriptor instead.

func (*ListMethod_Result) GetMethodNameList

func (x *ListMethod_Result) GetMethodNameList() []string

func (*ListMethod_Result) ProtoMessage

func (*ListMethod_Result) ProtoMessage()

func (*ListMethod_Result) ProtoReflect

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

func (*ListMethod_Result) Reset

func (x *ListMethod_Result) Reset()

func (*ListMethod_Result) String

func (x *ListMethod_Result) String() string

type ListOptions_Result added in v0.8.1

type ListOptions_Result struct {
	Options []*OptionHelp `protobuf:"bytes,2,rep,name=options,proto3" json:"options,omitempty"` // Returns the files in the order they should be compiled
	// contains filtered or unexported fields
}

func (*ListOptions_Result) Descriptor deprecated added in v0.8.1

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

Deprecated: Use ListOptions_Result.ProtoReflect.Descriptor instead.

func (*ListOptions_Result) GetOptions added in v0.8.1

func (x *ListOptions_Result) GetOptions() []*OptionHelp

func (*ListOptions_Result) ProtoMessage added in v0.8.1

func (*ListOptions_Result) ProtoMessage()

func (*ListOptions_Result) ProtoReflect added in v0.8.1

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

func (*ListOptions_Result) Reset added in v0.8.1

func (x *ListOptions_Result) Reset()

func (*ListOptions_Result) String added in v0.8.1

func (x *ListOptions_Result) String() string

type ListVariables_Args added in v0.8.4

type ListVariables_Args struct {
	File  string   `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	Specs []string `protobuf:"bytes,2,rep,name=specs,proto3" json:"specs,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVariables_Args) Descriptor deprecated added in v0.8.4

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

Deprecated: Use ListVariables_Args.ProtoReflect.Descriptor instead.

func (*ListVariables_Args) GetFile added in v0.8.4

func (x *ListVariables_Args) GetFile() string

func (*ListVariables_Args) GetSpecs added in v0.8.4

func (x *ListVariables_Args) GetSpecs() []string

func (*ListVariables_Args) ProtoMessage added in v0.8.4

func (*ListVariables_Args) ProtoMessage()

func (*ListVariables_Args) ProtoReflect added in v0.8.4

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

func (*ListVariables_Args) Reset added in v0.8.4

func (x *ListVariables_Args) Reset()

func (*ListVariables_Args) String added in v0.8.4

func (x *ListVariables_Args) String() string

type ListVariables_Result added in v0.8.4

type ListVariables_Result struct {
	Variables        map[string]*Variable `` /* 159-byte string literal not displayed */
	UnsupportedCodes []string             `protobuf:"bytes,2,rep,name=unsupported_codes,json=unsupportedCodes,proto3" json:"unsupported_codes,omitempty"`
	// contains filtered or unexported fields
}

func (*ListVariables_Result) Descriptor deprecated added in v0.8.4

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

Deprecated: Use ListVariables_Result.ProtoReflect.Descriptor instead.

func (*ListVariables_Result) GetUnsupportedCodes added in v0.8.4

func (x *ListVariables_Result) GetUnsupportedCodes() []string

func (*ListVariables_Result) GetVariables added in v0.8.4

func (x *ListVariables_Result) GetVariables() map[string]*Variable

func (*ListVariables_Result) ProtoMessage added in v0.8.4

func (*ListVariables_Result) ProtoMessage()

func (*ListVariables_Result) ProtoReflect added in v0.8.4

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

func (*ListVariables_Result) Reset added in v0.8.4

func (x *ListVariables_Result) Reset()

func (*ListVariables_Result) String added in v0.8.4

func (x *ListVariables_Result) String() string

type LoadPackage_Args added in v0.7.5

type LoadPackage_Args struct {
	ParseArgs    *ParseProgram_Args `protobuf:"bytes,1,opt,name=parse_args,json=parseArgs,proto3" json:"parse_args,omitempty"`
	ResolveAst   bool               `protobuf:"varint,2,opt,name=resolve_ast,json=resolveAst,proto3" json:"resolve_ast,omitempty"`
	LoadBuiltin  bool               `protobuf:"varint,3,opt,name=load_builtin,json=loadBuiltin,proto3" json:"load_builtin,omitempty"`
	WithAstIndex bool               `protobuf:"varint,4,opt,name=with_ast_index,json=withAstIndex,proto3" json:"with_ast_index,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadPackage_Args) Descriptor deprecated added in v0.7.5

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

Deprecated: Use LoadPackage_Args.ProtoReflect.Descriptor instead.

func (*LoadPackage_Args) GetLoadBuiltin added in v0.7.5

func (x *LoadPackage_Args) GetLoadBuiltin() bool

func (*LoadPackage_Args) GetParseArgs added in v0.7.5

func (x *LoadPackage_Args) GetParseArgs() *ParseProgram_Args

func (*LoadPackage_Args) GetResolveAst added in v0.7.5

func (x *LoadPackage_Args) GetResolveAst() bool

func (*LoadPackage_Args) GetWithAstIndex added in v0.7.5

func (x *LoadPackage_Args) GetWithAstIndex() bool

func (*LoadPackage_Args) ProtoMessage added in v0.7.5

func (*LoadPackage_Args) ProtoMessage()

func (*LoadPackage_Args) ProtoReflect added in v0.7.5

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

func (*LoadPackage_Args) Reset added in v0.7.5

func (x *LoadPackage_Args) Reset()

func (*LoadPackage_Args) String added in v0.7.5

func (x *LoadPackage_Args) String() string

type LoadPackage_Result added in v0.7.5

type LoadPackage_Result struct {
	Program     string            `protobuf:"bytes,1,opt,name=program,proto3" json:"program,omitempty"`                            // JSON string value
	Paths       []string          `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`                                // Returns the files in the order they should be compiled
	ParseErrors []*Error          `protobuf:"bytes,3,rep,name=parse_errors,json=parseErrors,proto3" json:"parse_errors,omitempty"` // Parse errors
	TypeErrors  []*Error          `protobuf:"bytes,4,rep,name=type_errors,json=typeErrors,proto3" json:"type_errors,omitempty"`    // Type errors
	Scopes      map[string]*Scope ``                                                                                               // Map key is the ScopeIndex json string.
	/* 153-byte string literal not displayed */
	Symbols map[string]*Symbol `` // Map key is the SymbolIndex json string.
	/* 155-byte string literal not displayed */
	NodeSymbolMap map[string]*SymbolIndex `` // Map key is the AST index UUID string.
	/* 190-byte string literal not displayed */
	SymbolNodeMap map[string]string `` // Map key is the SymbolIndex json string.
	/* 190-byte string literal not displayed */
	FullyQualifiedNameMap map[string]*SymbolIndex `` // Map key is the fully_qualified_name e.g. `pkg.Name`
	/* 216-byte string literal not displayed */
	PkgScopeMap map[string]*ScopeIndex `` // Map key is the package path.
	/* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LoadPackage_Result) Descriptor deprecated added in v0.7.5

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

Deprecated: Use LoadPackage_Result.ProtoReflect.Descriptor instead.

func (*LoadPackage_Result) GetFullyQualifiedNameMap added in v0.7.5

func (x *LoadPackage_Result) GetFullyQualifiedNameMap() map[string]*SymbolIndex

func (*LoadPackage_Result) GetNodeSymbolMap added in v0.7.5

func (x *LoadPackage_Result) GetNodeSymbolMap() map[string]*SymbolIndex

func (*LoadPackage_Result) GetParseErrors added in v0.7.5

func (x *LoadPackage_Result) GetParseErrors() []*Error

func (*LoadPackage_Result) GetPaths added in v0.7.5

func (x *LoadPackage_Result) GetPaths() []string

func (*LoadPackage_Result) GetPkgScopeMap added in v0.7.5

func (x *LoadPackage_Result) GetPkgScopeMap() map[string]*ScopeIndex

func (*LoadPackage_Result) GetProgram added in v0.7.5

func (x *LoadPackage_Result) GetProgram() string

func (*LoadPackage_Result) GetScopes added in v0.7.5

func (x *LoadPackage_Result) GetScopes() map[string]*Scope

func (*LoadPackage_Result) GetSymbolNodeMap added in v0.7.5

func (x *LoadPackage_Result) GetSymbolNodeMap() map[string]string

func (*LoadPackage_Result) GetSymbols added in v0.7.5

func (x *LoadPackage_Result) GetSymbols() map[string]*Symbol

func (*LoadPackage_Result) GetTypeErrors added in v0.7.5

func (x *LoadPackage_Result) GetTypeErrors() []*Error

func (*LoadPackage_Result) ProtoMessage added in v0.7.5

func (*LoadPackage_Result) ProtoMessage()

func (*LoadPackage_Result) ProtoReflect added in v0.7.5

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

func (*LoadPackage_Result) Reset added in v0.7.5

func (x *LoadPackage_Result) Reset()

func (*LoadPackage_Result) String added in v0.7.5

func (x *LoadPackage_Result) String() string

type LoadSettingsFiles_Args

type LoadSettingsFiles_Args struct {
	WorkDir string   `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"`
	Files   []string `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadSettingsFiles_Args) Descriptor deprecated

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

Deprecated: Use LoadSettingsFiles_Args.ProtoReflect.Descriptor instead.

func (*LoadSettingsFiles_Args) GetFiles

func (x *LoadSettingsFiles_Args) GetFiles() []string

func (*LoadSettingsFiles_Args) GetWorkDir

func (x *LoadSettingsFiles_Args) GetWorkDir() string

func (*LoadSettingsFiles_Args) ProtoMessage

func (*LoadSettingsFiles_Args) ProtoMessage()

func (*LoadSettingsFiles_Args) ProtoReflect

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

func (*LoadSettingsFiles_Args) Reset

func (x *LoadSettingsFiles_Args) Reset()

func (*LoadSettingsFiles_Args) String

func (x *LoadSettingsFiles_Args) String() string

type LoadSettingsFiles_Result

type LoadSettingsFiles_Result struct {
	KclCliConfigs *CliConfig      `protobuf:"bytes,1,opt,name=kcl_cli_configs,json=kclCliConfigs,proto3" json:"kcl_cli_configs,omitempty"`
	KclOptions    []*KeyValuePair `protobuf:"bytes,2,rep,name=kcl_options,json=kclOptions,proto3" json:"kcl_options,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadSettingsFiles_Result) Descriptor deprecated

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

Deprecated: Use LoadSettingsFiles_Result.ProtoReflect.Descriptor instead.

func (*LoadSettingsFiles_Result) GetKclCliConfigs

func (x *LoadSettingsFiles_Result) GetKclCliConfigs() *CliConfig

func (*LoadSettingsFiles_Result) GetKclOptions

func (x *LoadSettingsFiles_Result) GetKclOptions() []*KeyValuePair

func (*LoadSettingsFiles_Result) ProtoMessage

func (*LoadSettingsFiles_Result) ProtoMessage()

func (*LoadSettingsFiles_Result) ProtoReflect

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

func (*LoadSettingsFiles_Result) Reset

func (x *LoadSettingsFiles_Result) Reset()

func (*LoadSettingsFiles_Result) String

func (x *LoadSettingsFiles_Result) String() string

type Message added in v0.7.3

type Message struct {
	Msg string    `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	Pos *Position `protobuf:"bytes,2,opt,name=pos,proto3" json:"pos,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated added in v0.7.3

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetMsg added in v0.7.3

func (x *Message) GetMsg() string

func (*Message) GetPos added in v0.7.3

func (x *Message) GetPos() *Position

func (*Message) ProtoMessage added in v0.7.3

func (*Message) ProtoMessage()

func (*Message) ProtoReflect added in v0.7.3

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

func (*Message) Reset added in v0.7.3

func (x *Message) Reset()

func (*Message) String added in v0.7.3

func (x *Message) String() string

type OptionHelp added in v0.8.1

type OptionHelp struct {
	Name         string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type         string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Required     bool   `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
	DefaultValue string `protobuf:"bytes,4,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
	Help         string `protobuf:"bytes,5,opt,name=help,proto3" json:"help,omitempty"`
	// contains filtered or unexported fields
}

func (*OptionHelp) Descriptor deprecated added in v0.8.1

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

Deprecated: Use OptionHelp.ProtoReflect.Descriptor instead.

func (*OptionHelp) GetDefaultValue added in v0.8.1

func (x *OptionHelp) GetDefaultValue() string

func (*OptionHelp) GetHelp added in v0.8.1

func (x *OptionHelp) GetHelp() string

func (*OptionHelp) GetName added in v0.8.1

func (x *OptionHelp) GetName() string

func (*OptionHelp) GetRequired added in v0.8.1

func (x *OptionHelp) GetRequired() bool

func (*OptionHelp) GetType added in v0.8.1

func (x *OptionHelp) GetType() string

func (*OptionHelp) ProtoMessage added in v0.8.1

func (*OptionHelp) ProtoMessage()

func (*OptionHelp) ProtoReflect added in v0.8.1

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

func (*OptionHelp) Reset added in v0.8.1

func (x *OptionHelp) Reset()

func (*OptionHelp) String added in v0.8.1

func (x *OptionHelp) String() string

type OverrideFile_Args

type OverrideFile_Args struct {
	File        string   `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	Specs       []string `protobuf:"bytes,2,rep,name=specs,proto3" json:"specs,omitempty"`
	ImportPaths []string `protobuf:"bytes,3,rep,name=import_paths,json=importPaths,proto3" json:"import_paths,omitempty"`
	// contains filtered or unexported fields
}

func (*OverrideFile_Args) Descriptor deprecated

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

Deprecated: Use OverrideFile_Args.ProtoReflect.Descriptor instead.

func (*OverrideFile_Args) GetFile

func (x *OverrideFile_Args) GetFile() string

func (*OverrideFile_Args) GetImportPaths

func (x *OverrideFile_Args) GetImportPaths() []string

func (*OverrideFile_Args) GetSpecs

func (x *OverrideFile_Args) GetSpecs() []string

func (*OverrideFile_Args) ProtoMessage

func (*OverrideFile_Args) ProtoMessage()

func (*OverrideFile_Args) ProtoReflect

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

func (*OverrideFile_Args) Reset

func (x *OverrideFile_Args) Reset()

func (*OverrideFile_Args) String

func (x *OverrideFile_Args) String() string

type OverrideFile_Result

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

func (*OverrideFile_Result) Descriptor deprecated

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

Deprecated: Use OverrideFile_Result.ProtoReflect.Descriptor instead.

func (*OverrideFile_Result) GetResult

func (x *OverrideFile_Result) GetResult() bool

func (*OverrideFile_Result) ProtoMessage

func (*OverrideFile_Result) ProtoMessage()

func (*OverrideFile_Result) ProtoReflect

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

func (*OverrideFile_Result) Reset

func (x *OverrideFile_Result) Reset()

func (*OverrideFile_Result) String

func (x *OverrideFile_Result) String() string

type PROTORPC_BuiltinService

type PROTORPC_BuiltinService interface {
	Ping(in *Ping_Args, out *Ping_Result) error
	ListMethod(in *ListMethod_Args, out *ListMethod_Result) error
}

type PROTORPC_BuiltinServiceClient

type PROTORPC_BuiltinServiceClient struct {
	*rpc.Client
}

func PROTORPC_DialBuiltinService

func PROTORPC_DialBuiltinService(network, addr string) (*PROTORPC_BuiltinServiceClient, error)

PROTORPC_DialBuiltinService connects to an PROTORPC_BuiltinService at the specified network address.

func PROTORPC_DialBuiltinServiceTimeout

func PROTORPC_DialBuiltinServiceTimeout(network, addr string, timeout time.Duration) (*PROTORPC_BuiltinServiceClient, error)

PROTORPC_DialBuiltinServiceTimeout connects to an PROTORPC_BuiltinService at the specified network address.

func PROTORPC_NewBuiltinServiceClient

func PROTORPC_NewBuiltinServiceClient(conn io.ReadWriteCloser) *PROTORPC_BuiltinServiceClient

PROTORPC_NewBuiltinServiceClient returns a PROTORPC_BuiltinService stub to handle requests to the set of PROTORPC_BuiltinService at the other end of the connection.

func (*PROTORPC_BuiltinServiceClient) AsyncListMethod

func (c *PROTORPC_BuiltinServiceClient) AsyncListMethod(in *ListMethod_Args, out *ListMethod_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_BuiltinServiceClient) AsyncPing

func (c *PROTORPC_BuiltinServiceClient) AsyncPing(in *Ping_Args, out *Ping_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_BuiltinServiceClient) ListMethod

func (*PROTORPC_BuiltinServiceClient) Ping

func (c *PROTORPC_BuiltinServiceClient) Ping(in *Ping_Args) (out *Ping_Result, err error)

type PROTORPC_KclvmService

type PROTORPC_KclvmService interface {
	Ping(in *Ping_Args, out *Ping_Result) error
	ExecProgram(in *ExecProgram_Args, out *ExecProgram_Result) error
	BuildProgram(in *BuildProgram_Args, out *BuildProgram_Result) error
	ExecArtifact(in *ExecArtifact_Args, out *ExecProgram_Result) error
	ParseProgram(in *ParseProgram_Args, out *ParseProgram_Result) error
	ListOptions(in *ParseProgram_Args, out *ListOptions_Result) error
	ListVariables(in *ListVariables_Args, out *ListVariables_Result) error
	LoadPackage(in *LoadPackage_Args, out *LoadPackage_Result) error
	FormatCode(in *FormatCode_Args, out *FormatCode_Result) error
	FormatPath(in *FormatPath_Args, out *FormatPath_Result) error
	LintPath(in *LintPath_Args, out *LintPath_Result) error
	OverrideFile(in *OverrideFile_Args, out *OverrideFile_Result) error
	GetSchemaType(in *GetSchemaType_Args, out *GetSchemaType_Result) error
	GetSchemaTypeMapping(in *GetSchemaTypeMapping_Args, out *GetSchemaTypeMapping_Result) error
	GetFullSchemaType(in *GetFullSchemaType_Args, out *GetSchemaType_Result) error
	ValidateCode(in *ValidateCode_Args, out *ValidateCode_Result) error
	ListDepFiles(in *ListDepFiles_Args, out *ListDepFiles_Result) error
	LoadSettingsFiles(in *LoadSettingsFiles_Args, out *LoadSettingsFiles_Result) error
	Rename(in *Rename_Args, out *Rename_Result) error
	RenameCode(in *RenameCode_Args, out *RenameCode_Result) error
	Test(in *Test_Args, out *Test_Result) error
}

type PROTORPC_KclvmServiceClient

type PROTORPC_KclvmServiceClient struct {
	*rpc.Client
}

func PROTORPC_DialKclvmService

func PROTORPC_DialKclvmService(network, addr string) (*PROTORPC_KclvmServiceClient, error)

PROTORPC_DialKclvmService connects to an PROTORPC_KclvmService at the specified network address.

func PROTORPC_DialKclvmServiceTimeout

func PROTORPC_DialKclvmServiceTimeout(network, addr string, timeout time.Duration) (*PROTORPC_KclvmServiceClient, error)

PROTORPC_DialKclvmServiceTimeout connects to an PROTORPC_KclvmService at the specified network address.

func PROTORPC_NewKclvmServiceClient

func PROTORPC_NewKclvmServiceClient(conn io.ReadWriteCloser) *PROTORPC_KclvmServiceClient

PROTORPC_NewKclvmServiceClient returns a PROTORPC_KclvmService stub to handle requests to the set of PROTORPC_KclvmService at the other end of the connection.

func (*PROTORPC_KclvmServiceClient) AsyncBuildProgram added in v0.8.0

func (c *PROTORPC_KclvmServiceClient) AsyncBuildProgram(in *BuildProgram_Args, out *BuildProgram_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncExecArtifact added in v0.8.0

func (c *PROTORPC_KclvmServiceClient) AsyncExecArtifact(in *ExecArtifact_Args, out *ExecProgram_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncExecProgram

func (c *PROTORPC_KclvmServiceClient) AsyncExecProgram(in *ExecProgram_Args, out *ExecProgram_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncFormatCode

func (c *PROTORPC_KclvmServiceClient) AsyncFormatCode(in *FormatCode_Args, out *FormatCode_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncFormatPath

func (c *PROTORPC_KclvmServiceClient) AsyncFormatPath(in *FormatPath_Args, out *FormatPath_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncGetFullSchemaType added in v0.7.0

func (c *PROTORPC_KclvmServiceClient) AsyncGetFullSchemaType(in *GetFullSchemaType_Args, out *GetSchemaType_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncGetSchemaType

func (c *PROTORPC_KclvmServiceClient) AsyncGetSchemaType(in *GetSchemaType_Args, out *GetSchemaType_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncGetSchemaTypeMapping

func (c *PROTORPC_KclvmServiceClient) AsyncGetSchemaTypeMapping(in *GetSchemaTypeMapping_Args, out *GetSchemaTypeMapping_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncLintPath

func (c *PROTORPC_KclvmServiceClient) AsyncLintPath(in *LintPath_Args, out *LintPath_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncListDepFiles

func (c *PROTORPC_KclvmServiceClient) AsyncListDepFiles(in *ListDepFiles_Args, out *ListDepFiles_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncListOptions added in v0.8.1

func (c *PROTORPC_KclvmServiceClient) AsyncListOptions(in *ParseProgram_Args, out *ListOptions_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncListVariables added in v0.8.4

func (c *PROTORPC_KclvmServiceClient) AsyncListVariables(in *ListVariables_Args, out *ListVariables_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncLoadPackage added in v0.7.5

func (c *PROTORPC_KclvmServiceClient) AsyncLoadPackage(in *LoadPackage_Args, out *LoadPackage_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncLoadSettingsFiles

func (c *PROTORPC_KclvmServiceClient) AsyncLoadSettingsFiles(in *LoadSettingsFiles_Args, out *LoadSettingsFiles_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncOverrideFile

func (c *PROTORPC_KclvmServiceClient) AsyncOverrideFile(in *OverrideFile_Args, out *OverrideFile_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncParseFile added in v0.7.3

func (c *PROTORPC_KclvmServiceClient) AsyncParseFile(in *ParseFile_Args, out *ParseFile_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncParseProgram added in v0.7.3

func (c *PROTORPC_KclvmServiceClient) AsyncParseProgram(in *ParseProgram_Args, out *ParseProgram_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncPing

func (c *PROTORPC_KclvmServiceClient) AsyncPing(in *Ping_Args, out *Ping_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncRename added in v0.7.0

func (c *PROTORPC_KclvmServiceClient) AsyncRename(in *Rename_Args, out *Rename_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncRenameCode added in v0.7.0

func (c *PROTORPC_KclvmServiceClient) AsyncRenameCode(in *RenameCode_Args, out *RenameCode_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncTest added in v0.7.0

func (c *PROTORPC_KclvmServiceClient) AsyncTest(in *Test_Args, out *Test_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) AsyncValidateCode

func (c *PROTORPC_KclvmServiceClient) AsyncValidateCode(in *ValidateCode_Args, out *ValidateCode_Result, done chan *rpc.Call) *rpc.Call

func (*PROTORPC_KclvmServiceClient) BuildProgram added in v0.8.0

func (*PROTORPC_KclvmServiceClient) ExecArtifact added in v0.8.0

func (c *PROTORPC_KclvmServiceClient) ExecArtifact(in *ExecArtifact_Args) (out *ExecProgram_Result, err error)

func (*PROTORPC_KclvmServiceClient) ExecProgram

func (c *PROTORPC_KclvmServiceClient) ExecProgram(in *ExecProgram_Args) (out *ExecProgram_Result, err error)

func (*PROTORPC_KclvmServiceClient) FormatCode

func (c *PROTORPC_KclvmServiceClient) FormatCode(in *FormatCode_Args) (out *FormatCode_Result, err error)

func (*PROTORPC_KclvmServiceClient) FormatPath

func (c *PROTORPC_KclvmServiceClient) FormatPath(in *FormatPath_Args) (out *FormatPath_Result, err error)

func (*PROTORPC_KclvmServiceClient) GetFullSchemaType added in v0.7.0

func (c *PROTORPC_KclvmServiceClient) GetFullSchemaType(in *GetFullSchemaType_Args) (out *GetSchemaType_Result, err error)

func (*PROTORPC_KclvmServiceClient) GetSchemaType

func (*PROTORPC_KclvmServiceClient) GetSchemaTypeMapping

func (*PROTORPC_KclvmServiceClient) LintPath

func (c *PROTORPC_KclvmServiceClient) LintPath(in *LintPath_Args) (out *LintPath_Result, err error)

func (*PROTORPC_KclvmServiceClient) ListDepFiles

func (*PROTORPC_KclvmServiceClient) ListOptions added in v0.8.1

func (*PROTORPC_KclvmServiceClient) ListVariables added in v0.8.4

func (*PROTORPC_KclvmServiceClient) LoadPackage added in v0.7.5

func (c *PROTORPC_KclvmServiceClient) LoadPackage(in *LoadPackage_Args) (out *LoadPackage_Result, err error)

func (*PROTORPC_KclvmServiceClient) LoadSettingsFiles

func (*PROTORPC_KclvmServiceClient) OverrideFile

func (*PROTORPC_KclvmServiceClient) ParseFile added in v0.7.3

func (c *PROTORPC_KclvmServiceClient) ParseFile(in *ParseFile_Args) (out *ParseFile_Result, err error)

func (*PROTORPC_KclvmServiceClient) ParseProgram added in v0.7.3

func (*PROTORPC_KclvmServiceClient) Ping

func (c *PROTORPC_KclvmServiceClient) Ping(in *Ping_Args) (out *Ping_Result, err error)

func (*PROTORPC_KclvmServiceClient) Rename added in v0.7.0

func (c *PROTORPC_KclvmServiceClient) Rename(in *Rename_Args) (out *Rename_Result, err error)

func (*PROTORPC_KclvmServiceClient) RenameCode added in v0.7.0

func (c *PROTORPC_KclvmServiceClient) RenameCode(in *RenameCode_Args) (out *RenameCode_Result, err error)

func (*PROTORPC_KclvmServiceClient) Test added in v0.7.0

func (c *PROTORPC_KclvmServiceClient) Test(in *Test_Args) (out *Test_Result, err error)

func (*PROTORPC_KclvmServiceClient) ValidateCode

type ParseFile_Args added in v0.7.3

type ParseFile_Args struct {
	Path         string                `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Source       string                `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	ExternalPkgs []*CmdExternalPkgSpec `protobuf:"bytes,3,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"` // External packages path
	// contains filtered or unexported fields
}

func (*ParseFile_Args) Descriptor deprecated added in v0.7.3

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

Deprecated: Use ParseFile_Args.ProtoReflect.Descriptor instead.

func (*ParseFile_Args) GetExternalPkgs added in v0.7.3

func (x *ParseFile_Args) GetExternalPkgs() []*CmdExternalPkgSpec

func (*ParseFile_Args) GetPath added in v0.7.3

func (x *ParseFile_Args) GetPath() string

func (*ParseFile_Args) GetSource added in v0.7.3

func (x *ParseFile_Args) GetSource() string

func (*ParseFile_Args) ProtoMessage added in v0.7.3

func (*ParseFile_Args) ProtoMessage()

func (*ParseFile_Args) ProtoReflect added in v0.7.3

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

func (*ParseFile_Args) Reset added in v0.7.3

func (x *ParseFile_Args) Reset()

func (*ParseFile_Args) String added in v0.7.3

func (x *ParseFile_Args) String() string

type ParseFile_Result added in v0.7.3

type ParseFile_Result struct {
	AstJson string   `protobuf:"bytes,1,opt,name=ast_json,json=astJson,proto3" json:"ast_json,omitempty"` // JSON string value
	Deps    []string `protobuf:"bytes,2,rep,name=deps,proto3" json:"deps,omitempty"`                      // file dependency paths
	Errors  []*Error `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`                  // Parse errors
	// contains filtered or unexported fields
}

func (*ParseFile_Result) Descriptor deprecated added in v0.7.3

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

Deprecated: Use ParseFile_Result.ProtoReflect.Descriptor instead.

func (*ParseFile_Result) GetAstJson added in v0.7.3

func (x *ParseFile_Result) GetAstJson() string

func (*ParseFile_Result) GetDeps added in v0.7.3

func (x *ParseFile_Result) GetDeps() []string

func (*ParseFile_Result) GetErrors added in v0.7.3

func (x *ParseFile_Result) GetErrors() []*Error

func (*ParseFile_Result) ProtoMessage added in v0.7.3

func (*ParseFile_Result) ProtoMessage()

func (*ParseFile_Result) ProtoReflect added in v0.7.3

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

func (*ParseFile_Result) Reset added in v0.7.3

func (x *ParseFile_Result) Reset()

func (*ParseFile_Result) String added in v0.7.3

func (x *ParseFile_Result) String() string

type ParseProgram_Args added in v0.7.3

type ParseProgram_Args struct {
	Paths        []string              `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"`
	Sources      []string              `protobuf:"bytes,2,rep,name=sources,proto3" json:"sources,omitempty"`
	ExternalPkgs []*CmdExternalPkgSpec `protobuf:"bytes,3,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"` // External packages path
	// contains filtered or unexported fields
}

func (*ParseProgram_Args) Descriptor deprecated added in v0.7.3

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

Deprecated: Use ParseProgram_Args.ProtoReflect.Descriptor instead.

func (*ParseProgram_Args) GetExternalPkgs added in v0.7.3

func (x *ParseProgram_Args) GetExternalPkgs() []*CmdExternalPkgSpec

func (*ParseProgram_Args) GetPaths added in v0.7.3

func (x *ParseProgram_Args) GetPaths() []string

func (*ParseProgram_Args) GetSources added in v0.7.3

func (x *ParseProgram_Args) GetSources() []string

func (*ParseProgram_Args) ProtoMessage added in v0.7.3

func (*ParseProgram_Args) ProtoMessage()

func (*ParseProgram_Args) ProtoReflect added in v0.7.3

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

func (*ParseProgram_Args) Reset added in v0.7.3

func (x *ParseProgram_Args) Reset()

func (*ParseProgram_Args) String added in v0.7.3

func (x *ParseProgram_Args) String() string

type ParseProgram_Result added in v0.7.3

type ParseProgram_Result struct {
	AstJson string   `protobuf:"bytes,1,opt,name=ast_json,json=astJson,proto3" json:"ast_json,omitempty"` // JSON string value
	Paths   []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`                    // Returns the files in the order they should be compiled
	Errors  []*Error `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`                  // Parse errors
	// contains filtered or unexported fields
}

func (*ParseProgram_Result) Descriptor deprecated added in v0.7.3

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

Deprecated: Use ParseProgram_Result.ProtoReflect.Descriptor instead.

func (*ParseProgram_Result) GetAstJson added in v0.7.3

func (x *ParseProgram_Result) GetAstJson() string

func (*ParseProgram_Result) GetErrors added in v0.7.3

func (x *ParseProgram_Result) GetErrors() []*Error

func (*ParseProgram_Result) GetPaths added in v0.7.3

func (x *ParseProgram_Result) GetPaths() []string

func (*ParseProgram_Result) ProtoMessage added in v0.7.3

func (*ParseProgram_Result) ProtoMessage()

func (*ParseProgram_Result) ProtoReflect added in v0.7.3

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

func (*ParseProgram_Result) Reset added in v0.7.3

func (x *ParseProgram_Result) Reset()

func (*ParseProgram_Result) String added in v0.7.3

func (x *ParseProgram_Result) String() string

type Ping_Args

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

func (*Ping_Args) Descriptor deprecated

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

Deprecated: Use Ping_Args.ProtoReflect.Descriptor instead.

func (*Ping_Args) GetValue

func (x *Ping_Args) GetValue() string

func (*Ping_Args) ProtoMessage

func (*Ping_Args) ProtoMessage()

func (*Ping_Args) ProtoReflect

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

func (*Ping_Args) Reset

func (x *Ping_Args) Reset()

func (*Ping_Args) String

func (x *Ping_Args) String() string

type Ping_Result

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

func (*Ping_Result) Descriptor deprecated

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

Deprecated: Use Ping_Result.ProtoReflect.Descriptor instead.

func (*Ping_Result) GetValue

func (x *Ping_Result) GetValue() string

func (*Ping_Result) ProtoMessage

func (*Ping_Result) ProtoMessage()

func (*Ping_Result) ProtoReflect

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

func (*Ping_Result) Reset

func (x *Ping_Result) Reset()

func (*Ping_Result) String

func (x *Ping_Result) String() string

type Position

type Position struct {
	Line     int64  `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"`
	Column   int64  `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"`
	Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
	// contains filtered or unexported fields
}

func (*Position) Descriptor deprecated

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

Deprecated: Use Position.ProtoReflect.Descriptor instead.

func (*Position) GetColumn

func (x *Position) GetColumn() int64

func (*Position) GetFilename

func (x *Position) GetFilename() string

func (*Position) GetLine

func (x *Position) GetLine() int64

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) ProtoReflect

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

func (*Position) Reset

func (x *Position) Reset()

func (*Position) String

func (x *Position) String() string

type RenameCode_Args added in v0.7.0

type RenameCode_Args struct {
	PackageRoot string            `protobuf:"bytes,1,opt,name=package_root,json=packageRoot,proto3" json:"package_root,omitempty"` // the file path to the package root
	SymbolPath  string            `protobuf:"bytes,2,opt,name=symbol_path,json=symbolPath,proto3" json:"symbol_path,omitempty"`    // the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
	SourceCodes map[string]string ``                                                                                               // the source code. a <filename>:<code> map
	/* 182-byte string literal not displayed */
	NewName string `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // the new name of the symbol
	// contains filtered or unexported fields
}

func (*RenameCode_Args) Descriptor deprecated added in v0.7.0

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

Deprecated: Use RenameCode_Args.ProtoReflect.Descriptor instead.

func (*RenameCode_Args) GetNewName added in v0.7.0

func (x *RenameCode_Args) GetNewName() string

func (*RenameCode_Args) GetPackageRoot added in v0.7.0

func (x *RenameCode_Args) GetPackageRoot() string

func (*RenameCode_Args) GetSourceCodes added in v0.7.0

func (x *RenameCode_Args) GetSourceCodes() map[string]string

func (*RenameCode_Args) GetSymbolPath added in v0.7.0

func (x *RenameCode_Args) GetSymbolPath() string

func (*RenameCode_Args) ProtoMessage added in v0.7.0

func (*RenameCode_Args) ProtoMessage()

func (*RenameCode_Args) ProtoReflect added in v0.7.0

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

func (*RenameCode_Args) Reset added in v0.7.0

func (x *RenameCode_Args) Reset()

func (*RenameCode_Args) String added in v0.7.0

func (x *RenameCode_Args) String() string

type RenameCode_Result added in v0.7.0

type RenameCode_Result struct {
	ChangedCodes map[string]string `` // the changed code. a <filename>:<code> map
	/* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*RenameCode_Result) Descriptor deprecated added in v0.7.0

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

Deprecated: Use RenameCode_Result.ProtoReflect.Descriptor instead.

func (*RenameCode_Result) GetChangedCodes added in v0.7.0

func (x *RenameCode_Result) GetChangedCodes() map[string]string

func (*RenameCode_Result) ProtoMessage added in v0.7.0

func (*RenameCode_Result) ProtoMessage()

func (*RenameCode_Result) ProtoReflect added in v0.7.0

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

func (*RenameCode_Result) Reset added in v0.7.0

func (x *RenameCode_Result) Reset()

func (*RenameCode_Result) String added in v0.7.0

func (x *RenameCode_Result) String() string

type Rename_Args added in v0.7.0

type Rename_Args struct {
	PackageRoot string   `protobuf:"bytes,1,opt,name=package_root,json=packageRoot,proto3" json:"package_root,omitempty"` // the file path to the package root
	SymbolPath  string   `protobuf:"bytes,2,opt,name=symbol_path,json=symbolPath,proto3" json:"symbol_path,omitempty"`    // the path to the target symbol to be renamed. The symbol path should conform to format: `<pkgpath>:<field_path>` When the pkgpath is '__main__', `<pkgpath>:` can be omitted.
	FilePaths   []string `protobuf:"bytes,3,rep,name=file_paths,json=filePaths,proto3" json:"file_paths,omitempty"`       // the paths to the source code files
	NewName     string   `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`             // the new name of the symbol
	// contains filtered or unexported fields
}

func (*Rename_Args) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Rename_Args.ProtoReflect.Descriptor instead.

func (*Rename_Args) GetFilePaths added in v0.7.0

func (x *Rename_Args) GetFilePaths() []string

func (*Rename_Args) GetNewName added in v0.7.0

func (x *Rename_Args) GetNewName() string

func (*Rename_Args) GetPackageRoot added in v0.7.0

func (x *Rename_Args) GetPackageRoot() string

func (*Rename_Args) GetSymbolPath added in v0.7.0

func (x *Rename_Args) GetSymbolPath() string

func (*Rename_Args) ProtoMessage added in v0.7.0

func (*Rename_Args) ProtoMessage()

func (*Rename_Args) ProtoReflect added in v0.7.0

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

func (*Rename_Args) Reset added in v0.7.0

func (x *Rename_Args) Reset()

func (*Rename_Args) String added in v0.7.0

func (x *Rename_Args) String() string

type Rename_Result added in v0.7.0

type Rename_Result struct {
	ChangedFiles []string `protobuf:"bytes,1,rep,name=changed_files,json=changedFiles,proto3" json:"changed_files,omitempty"` // the file paths got changed
	// contains filtered or unexported fields
}

func (*Rename_Result) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Rename_Result.ProtoReflect.Descriptor instead.

func (*Rename_Result) GetChangedFiles added in v0.7.0

func (x *Rename_Result) GetChangedFiles() []string

func (*Rename_Result) ProtoMessage added in v0.7.0

func (*Rename_Result) ProtoMessage()

func (*Rename_Result) ProtoReflect added in v0.7.0

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

func (*Rename_Result) Reset added in v0.7.0

func (x *Rename_Result) Reset()

func (*Rename_Result) String added in v0.7.0

func (x *Rename_Result) String() string

type ResetPlugin_Args

type ResetPlugin_Args struct {
	PluginRoot string `protobuf:"bytes,1,opt,name=plugin_root,json=pluginRoot,proto3" json:"plugin_root,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPlugin_Args) Descriptor deprecated

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

Deprecated: Use ResetPlugin_Args.ProtoReflect.Descriptor instead.

func (*ResetPlugin_Args) GetPluginRoot

func (x *ResetPlugin_Args) GetPluginRoot() string

func (*ResetPlugin_Args) ProtoMessage

func (*ResetPlugin_Args) ProtoMessage()

func (*ResetPlugin_Args) ProtoReflect

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

func (*ResetPlugin_Args) Reset

func (x *ResetPlugin_Args) Reset()

func (*ResetPlugin_Args) String

func (x *ResetPlugin_Args) String() string

type ResetPlugin_Result

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

func (*ResetPlugin_Result) Descriptor deprecated

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

Deprecated: Use ResetPlugin_Result.ProtoReflect.Descriptor instead.

func (*ResetPlugin_Result) ProtoMessage

func (*ResetPlugin_Result) ProtoMessage()

func (*ResetPlugin_Result) ProtoReflect

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

func (*ResetPlugin_Result) Reset

func (x *ResetPlugin_Result) Reset()

func (*ResetPlugin_Result) String

func (x *ResetPlugin_Result) String() string

type Scope added in v0.7.5

type Scope struct {
	Kind     string         `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	Parent   *ScopeIndex    `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"`
	Owner    *SymbolIndex   `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	Children []*ScopeIndex  `protobuf:"bytes,4,rep,name=children,proto3" json:"children,omitempty"`
	Defs     []*SymbolIndex `protobuf:"bytes,5,rep,name=defs,proto3" json:"defs,omitempty"`
	// contains filtered or unexported fields
}

func (*Scope) Descriptor deprecated added in v0.7.5

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

Deprecated: Use Scope.ProtoReflect.Descriptor instead.

func (*Scope) GetChildren added in v0.7.5

func (x *Scope) GetChildren() []*ScopeIndex

func (*Scope) GetDefs added in v0.7.5

func (x *Scope) GetDefs() []*SymbolIndex

func (*Scope) GetKind added in v0.7.5

func (x *Scope) GetKind() string

func (*Scope) GetOwner added in v0.7.5

func (x *Scope) GetOwner() *SymbolIndex

func (*Scope) GetParent added in v0.7.5

func (x *Scope) GetParent() *ScopeIndex

func (*Scope) ProtoMessage added in v0.7.5

func (*Scope) ProtoMessage()

func (*Scope) ProtoReflect added in v0.7.5

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

func (*Scope) Reset added in v0.7.5

func (x *Scope) Reset()

func (*Scope) String added in v0.7.5

func (x *Scope) String() string

type ScopeIndex added in v0.7.5

type ScopeIndex struct {
	I    uint64 `protobuf:"varint,1,opt,name=i,proto3" json:"i,omitempty"`
	G    uint64 `protobuf:"varint,2,opt,name=g,proto3" json:"g,omitempty"`
	Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*ScopeIndex) Descriptor deprecated added in v0.7.5

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

Deprecated: Use ScopeIndex.ProtoReflect.Descriptor instead.

func (*ScopeIndex) GetG added in v0.7.5

func (x *ScopeIndex) GetG() uint64

func (*ScopeIndex) GetI added in v0.7.5

func (x *ScopeIndex) GetI() uint64

func (*ScopeIndex) GetKind added in v0.7.5

func (x *ScopeIndex) GetKind() string

func (*ScopeIndex) ProtoMessage added in v0.7.5

func (*ScopeIndex) ProtoMessage()

func (*ScopeIndex) ProtoReflect added in v0.7.5

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

func (*ScopeIndex) Reset added in v0.7.5

func (x *ScopeIndex) Reset()

func (*ScopeIndex) String added in v0.7.5

func (x *ScopeIndex) String() string

type Symbol added in v0.7.5

type Symbol struct {
	Ty       *KclType       `protobuf:"bytes,1,opt,name=ty,proto3" json:"ty,omitempty"`
	Name     string         `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Owner    *SymbolIndex   `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	Def      *SymbolIndex   `protobuf:"bytes,4,opt,name=def,proto3" json:"def,omitempty"`
	Attrs    []*SymbolIndex `protobuf:"bytes,5,rep,name=attrs,proto3" json:"attrs,omitempty"`
	IsGlobal bool           `protobuf:"varint,6,opt,name=is_global,json=isGlobal,proto3" json:"is_global,omitempty"`
	// contains filtered or unexported fields
}

func (*Symbol) Descriptor deprecated added in v0.7.5

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

Deprecated: Use Symbol.ProtoReflect.Descriptor instead.

func (*Symbol) GetAttrs added in v0.7.5

func (x *Symbol) GetAttrs() []*SymbolIndex

func (*Symbol) GetDef added in v0.7.5

func (x *Symbol) GetDef() *SymbolIndex

func (*Symbol) GetIsGlobal added in v0.7.5

func (x *Symbol) GetIsGlobal() bool

func (*Symbol) GetName added in v0.7.5

func (x *Symbol) GetName() string

func (*Symbol) GetOwner added in v0.7.5

func (x *Symbol) GetOwner() *SymbolIndex

func (*Symbol) GetTy added in v0.7.5

func (x *Symbol) GetTy() *KclType

func (*Symbol) ProtoMessage added in v0.7.5

func (*Symbol) ProtoMessage()

func (*Symbol) ProtoReflect added in v0.7.5

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

func (*Symbol) Reset added in v0.7.5

func (x *Symbol) Reset()

func (*Symbol) String added in v0.7.5

func (x *Symbol) String() string

type SymbolIndex added in v0.7.5

type SymbolIndex struct {
	I    uint64 `protobuf:"varint,1,opt,name=i,proto3" json:"i,omitempty"`
	G    uint64 `protobuf:"varint,2,opt,name=g,proto3" json:"g,omitempty"`
	Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"`
	// contains filtered or unexported fields
}

func (*SymbolIndex) Descriptor deprecated added in v0.7.5

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

Deprecated: Use SymbolIndex.ProtoReflect.Descriptor instead.

func (*SymbolIndex) GetG added in v0.7.5

func (x *SymbolIndex) GetG() uint64

func (*SymbolIndex) GetI added in v0.7.5

func (x *SymbolIndex) GetI() uint64

func (*SymbolIndex) GetKind added in v0.7.5

func (x *SymbolIndex) GetKind() string

func (*SymbolIndex) ProtoMessage added in v0.7.5

func (*SymbolIndex) ProtoMessage()

func (*SymbolIndex) ProtoReflect added in v0.7.5

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

func (*SymbolIndex) Reset added in v0.7.5

func (x *SymbolIndex) Reset()

func (*SymbolIndex) String added in v0.7.5

func (x *SymbolIndex) String() string

type TestCaseInfo added in v0.7.0

type TestCaseInfo struct {
	Name       string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Test case name
	Error      string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	Duration   uint64 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` // Number of whole microseconds in the duration.
	LogMessage string `protobuf:"bytes,4,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"`
	// contains filtered or unexported fields
}

func (*TestCaseInfo) Descriptor deprecated added in v0.7.0

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

Deprecated: Use TestCaseInfo.ProtoReflect.Descriptor instead.

func (*TestCaseInfo) GetDuration added in v0.7.0

func (x *TestCaseInfo) GetDuration() uint64

func (*TestCaseInfo) GetError added in v0.7.0

func (x *TestCaseInfo) GetError() string

func (*TestCaseInfo) GetLogMessage added in v0.7.0

func (x *TestCaseInfo) GetLogMessage() string

func (*TestCaseInfo) GetName added in v0.7.0

func (x *TestCaseInfo) GetName() string

func (*TestCaseInfo) ProtoMessage added in v0.7.0

func (*TestCaseInfo) ProtoMessage()

func (*TestCaseInfo) ProtoReflect added in v0.7.0

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

func (*TestCaseInfo) Reset added in v0.7.0

func (x *TestCaseInfo) Reset()

func (*TestCaseInfo) String added in v0.7.0

func (x *TestCaseInfo) String() string

type Test_Args added in v0.7.0

type Test_Args struct {
	ExecArgs  *ExecProgram_Args `protobuf:"bytes,1,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"`    // This field stores the execution program arguments.
	PkgList   []string          `protobuf:"bytes,2,rep,name=pkg_list,json=pkgList,proto3" json:"pkg_list,omitempty"`       // The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..."
	RunRegexp string            `protobuf:"bytes,3,opt,name=run_regexp,json=runRegexp,proto3" json:"run_regexp,omitempty"` // This field stores a regular expression for filtering tests to run.
	FailFast  bool              `protobuf:"varint,4,opt,name=fail_fast,json=failFast,proto3" json:"fail_fast,omitempty"`   // This field determines whether the test run should stop on the first failure.
	// contains filtered or unexported fields
}

func (*Test_Args) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Test_Args.ProtoReflect.Descriptor instead.

func (*Test_Args) GetExecArgs added in v0.7.0

func (x *Test_Args) GetExecArgs() *ExecProgram_Args

func (*Test_Args) GetFailFast added in v0.7.0

func (x *Test_Args) GetFailFast() bool

func (*Test_Args) GetPkgList added in v0.7.0

func (x *Test_Args) GetPkgList() []string

func (*Test_Args) GetRunRegexp added in v0.7.0

func (x *Test_Args) GetRunRegexp() string

func (*Test_Args) ProtoMessage added in v0.7.0

func (*Test_Args) ProtoMessage()

func (*Test_Args) ProtoReflect added in v0.7.0

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

func (*Test_Args) Reset added in v0.7.0

func (x *Test_Args) Reset()

func (*Test_Args) String added in v0.7.0

func (x *Test_Args) String() string

type Test_Result added in v0.7.0

type Test_Result struct {
	Info []*TestCaseInfo `protobuf:"bytes,2,rep,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*Test_Result) Descriptor deprecated added in v0.7.0

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

Deprecated: Use Test_Result.ProtoReflect.Descriptor instead.

func (*Test_Result) GetInfo added in v0.7.0

func (x *Test_Result) GetInfo() []*TestCaseInfo

func (*Test_Result) ProtoMessage added in v0.7.0

func (*Test_Result) ProtoMessage()

func (*Test_Result) ProtoReflect added in v0.7.0

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

func (*Test_Result) Reset added in v0.7.0

func (x *Test_Result) Reset()

func (*Test_Result) String added in v0.7.0

func (x *Test_Result) String() string

type UnimplementedBuiltinServiceServer

type UnimplementedBuiltinServiceServer struct {
}

UnimplementedBuiltinServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedBuiltinServiceServer) ListMethod

func (*UnimplementedBuiltinServiceServer) Ping

type UnimplementedKclvmServiceServer

type UnimplementedKclvmServiceServer struct {
}

UnimplementedKclvmServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedKclvmServiceServer) BuildProgram added in v0.8.0

func (*UnimplementedKclvmServiceServer) ExecArtifact added in v0.8.0

func (*UnimplementedKclvmServiceServer) ExecProgram

func (*UnimplementedKclvmServiceServer) FormatCode

func (*UnimplementedKclvmServiceServer) FormatPath

func (*UnimplementedKclvmServiceServer) GetFullSchemaType added in v0.7.0

func (*UnimplementedKclvmServiceServer) GetSchemaType

func (*UnimplementedKclvmServiceServer) GetSchemaTypeMapping

func (*UnimplementedKclvmServiceServer) LintPath

func (*UnimplementedKclvmServiceServer) ListDepFiles

func (*UnimplementedKclvmServiceServer) ListOptions added in v0.8.1

func (*UnimplementedKclvmServiceServer) ListVariables added in v0.8.4

func (*UnimplementedKclvmServiceServer) LoadPackage added in v0.7.5

func (*UnimplementedKclvmServiceServer) LoadSettingsFiles

func (*UnimplementedKclvmServiceServer) OverrideFile

func (*UnimplementedKclvmServiceServer) ParseFile added in v0.7.3

func (*UnimplementedKclvmServiceServer) ParseProgram added in v0.7.3

func (*UnimplementedKclvmServiceServer) Ping

func (*UnimplementedKclvmServiceServer) Rename added in v0.7.0

func (*UnimplementedKclvmServiceServer) RenameCode added in v0.7.0

func (*UnimplementedKclvmServiceServer) Test added in v0.7.0

func (*UnimplementedKclvmServiceServer) ValidateCode

type ValidateCode_Args

type ValidateCode_Args struct {
	Datafile      string `protobuf:"bytes,1,opt,name=datafile,proto3" json:"datafile,omitempty"`
	Data          string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	File          string `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"`
	Code          string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
	Schema        string `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
	AttributeName string `protobuf:"bytes,6,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"`
	Format        string `protobuf:"bytes,7,opt,name=format,proto3" json:"format,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateCode_Args) Descriptor deprecated

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

Deprecated: Use ValidateCode_Args.ProtoReflect.Descriptor instead.

func (*ValidateCode_Args) GetAttributeName

func (x *ValidateCode_Args) GetAttributeName() string

func (*ValidateCode_Args) GetCode

func (x *ValidateCode_Args) GetCode() string

func (*ValidateCode_Args) GetData

func (x *ValidateCode_Args) GetData() string

func (*ValidateCode_Args) GetDatafile added in v0.8.0

func (x *ValidateCode_Args) GetDatafile() string

func (*ValidateCode_Args) GetFile added in v0.7.0

func (x *ValidateCode_Args) GetFile() string

func (*ValidateCode_Args) GetFormat

func (x *ValidateCode_Args) GetFormat() string

func (*ValidateCode_Args) GetSchema

func (x *ValidateCode_Args) GetSchema() string

func (*ValidateCode_Args) ProtoMessage

func (*ValidateCode_Args) ProtoMessage()

func (*ValidateCode_Args) ProtoReflect

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

func (*ValidateCode_Args) Reset

func (x *ValidateCode_Args) Reset()

func (*ValidateCode_Args) String

func (x *ValidateCode_Args) String() string

type ValidateCode_Result

type ValidateCode_Result struct {
	Success    bool   `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	ErrMessage string `protobuf:"bytes,2,opt,name=err_message,json=errMessage,proto3" json:"err_message,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateCode_Result) Descriptor deprecated

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

Deprecated: Use ValidateCode_Result.ProtoReflect.Descriptor instead.

func (*ValidateCode_Result) GetErrMessage

func (x *ValidateCode_Result) GetErrMessage() string

func (*ValidateCode_Result) GetSuccess

func (x *ValidateCode_Result) GetSuccess() bool

func (*ValidateCode_Result) ProtoMessage

func (*ValidateCode_Result) ProtoMessage()

func (*ValidateCode_Result) ProtoReflect

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

func (*ValidateCode_Result) Reset

func (x *ValidateCode_Result) Reset()

func (*ValidateCode_Result) String

func (x *ValidateCode_Result) String() string

type Variable added in v0.8.4

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

func (*Variable) Descriptor deprecated added in v0.8.4

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

Deprecated: Use Variable.ProtoReflect.Descriptor instead.

func (*Variable) GetValue added in v0.8.4

func (x *Variable) GetValue() string

func (*Variable) ProtoMessage added in v0.8.4

func (*Variable) ProtoMessage()

func (*Variable) ProtoReflect added in v0.8.4

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

func (*Variable) Reset added in v0.8.4

func (x *Variable) Reset()

func (*Variable) String added in v0.8.4

func (x *Variable) String() string

Jump to

Keyboard shortcuts

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