gpyrpc

package
v0.7.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 18 Imported by: 16

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 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"`
	IncludeSchemaTypePath bool     `` /* 130-byte string literal not displayed */
	// 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) 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) 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 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 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"`
	// Compile the dir recursively
	Recursive bool `protobuf:"varint,16,opt,name=recursive,proto3" json:"recursive,omitempty"`
	// -S --path_selector
	PathSelector []string `protobuf:"bytes,17,rep,name=path_selector,json=pathSelector,proto3" json:"path_selector,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) 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) GetRecursive added in v0.7.0

func (x *ExecProgram_Args) GetRecursive() 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 KclError

type KclError struct {
	Ewcode     string          `protobuf:"bytes,1,opt,name=ewcode,proto3" json:"ewcode,omitempty"` // See kclvm/kcl/error/kcl_err_msg.py
	Name       string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Msg        string          `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"`
	ErrorInfos []*KclErrorInfo `protobuf:"bytes,4,rep,name=error_infos,json=errorInfos,proto3" json:"error_infos,omitempty"`
	// contains filtered or unexported fields
}

func (*KclError) Descriptor deprecated

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

Deprecated: Use KclError.ProtoReflect.Descriptor instead.

func (*KclError) GetErrorInfos

func (x *KclError) GetErrorInfos() []*KclErrorInfo

func (*KclError) GetEwcode

func (x *KclError) GetEwcode() string

func (*KclError) GetMsg

func (x *KclError) GetMsg() string

func (*KclError) GetName

func (x *KclError) GetName() string

func (*KclError) ProtoMessage

func (*KclError) ProtoMessage()

func (*KclError) ProtoReflect

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

func (*KclError) Reset

func (x *KclError) Reset()

func (*KclError) String

func (x *KclError) String() string

type KclErrorInfo

type KclErrorInfo struct {
	ErrLevel string `protobuf:"bytes,1,opt,name=err_level,json=errLevel,proto3" json:"err_level,omitempty"`
	ArgMsg   string `protobuf:"bytes,2,opt,name=arg_msg,json=argMsg,proto3" json:"arg_msg,omitempty"`
	Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"`
	SrcCode  string `protobuf:"bytes,4,opt,name=src_code,json=srcCode,proto3" json:"src_code,omitempty"`
	LineNo   string `protobuf:"bytes,5,opt,name=line_no,json=lineNo,proto3" json:"line_no,omitempty"`
	ColNo    string `protobuf:"bytes,6,opt,name=col_no,json=colNo,proto3" json:"col_no,omitempty"`
	// contains filtered or unexported fields
}

func (*KclErrorInfo) Descriptor deprecated

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

Deprecated: Use KclErrorInfo.ProtoReflect.Descriptor instead.

func (*KclErrorInfo) GetArgMsg

func (x *KclErrorInfo) GetArgMsg() string

func (*KclErrorInfo) GetColNo

func (x *KclErrorInfo) GetColNo() string

func (*KclErrorInfo) GetErrLevel

func (x *KclErrorInfo) GetErrLevel() string

func (*KclErrorInfo) GetFilename

func (x *KclErrorInfo) GetFilename() string

func (*KclErrorInfo) GetLineNo

func (x *KclErrorInfo) GetLineNo() string

func (*KclErrorInfo) GetSrcCode

func (x *KclErrorInfo) GetSrcCode() string

func (*KclErrorInfo) ProtoMessage

func (*KclErrorInfo) ProtoMessage()

func (*KclErrorInfo) ProtoReflect

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

func (*KclErrorInfo) Reset

func (x *KclErrorInfo) Reset()

func (*KclErrorInfo) String

func (x *KclErrorInfo) 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)
	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 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 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 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
	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) 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) 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) 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) 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) LoadSettingsFiles

func (*PROTORPC_KclvmServiceClient) OverrideFile

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_AST_Args

type ParseFile_AST_Args struct {
	Filename   string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
	SourceCode string `protobuf:"bytes,2,opt,name=source_code,json=sourceCode,proto3" json:"source_code,omitempty"`
	// contains filtered or unexported fields
}

func (*ParseFile_AST_Args) Descriptor deprecated

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

Deprecated: Use ParseFile_AST_Args.ProtoReflect.Descriptor instead.

func (*ParseFile_AST_Args) GetFilename

func (x *ParseFile_AST_Args) GetFilename() string

func (*ParseFile_AST_Args) GetSourceCode

func (x *ParseFile_AST_Args) GetSourceCode() string

func (*ParseFile_AST_Args) ProtoMessage

func (*ParseFile_AST_Args) ProtoMessage()

func (*ParseFile_AST_Args) ProtoReflect

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

func (*ParseFile_AST_Args) Reset

func (x *ParseFile_AST_Args) Reset()

func (*ParseFile_AST_Args) String

func (x *ParseFile_AST_Args) String() string

type ParseFile_AST_Result

type ParseFile_AST_Result struct {
	AstJson string    `protobuf:"bytes,1,opt,name=ast_json,json=astJson,proto3" json:"ast_json,omitempty"` // json value
	KclErr  *KclError `protobuf:"bytes,2,opt,name=kcl_err,json=kclErr,proto3" json:"kcl_err,omitempty"`
	// contains filtered or unexported fields
}

func (*ParseFile_AST_Result) Descriptor deprecated

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

Deprecated: Use ParseFile_AST_Result.ProtoReflect.Descriptor instead.

func (*ParseFile_AST_Result) GetAstJson

func (x *ParseFile_AST_Result) GetAstJson() string

func (*ParseFile_AST_Result) GetKclErr

func (x *ParseFile_AST_Result) GetKclErr() *KclError

func (*ParseFile_AST_Result) ProtoMessage

func (*ParseFile_AST_Result) ProtoMessage()

func (*ParseFile_AST_Result) ProtoReflect

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

func (*ParseFile_AST_Result) Reset

func (x *ParseFile_AST_Result) Reset()

func (*ParseFile_AST_Result) String

func (x *ParseFile_AST_Result) String() string

type ParseProgram_AST_Args

type ParseProgram_AST_Args struct {
	KFilenameList []string `protobuf:"bytes,1,rep,name=k_filename_list,json=kFilenameList,proto3" json:"k_filename_list,omitempty"`
	// contains filtered or unexported fields
}

func (*ParseProgram_AST_Args) Descriptor deprecated

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

Deprecated: Use ParseProgram_AST_Args.ProtoReflect.Descriptor instead.

func (*ParseProgram_AST_Args) GetKFilenameList

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

func (*ParseProgram_AST_Args) ProtoMessage

func (*ParseProgram_AST_Args) ProtoMessage()

func (*ParseProgram_AST_Args) ProtoReflect

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

func (*ParseProgram_AST_Args) Reset

func (x *ParseProgram_AST_Args) Reset()

func (*ParseProgram_AST_Args) String

func (x *ParseProgram_AST_Args) String() string

type ParseProgram_AST_Result

type ParseProgram_AST_Result struct {
	AstJson string    `protobuf:"bytes,1,opt,name=ast_json,json=astJson,proto3" json:"ast_json,omitempty"` // json value
	KclErr  *KclError `protobuf:"bytes,2,opt,name=kcl_err,json=kclErr,proto3" json:"kcl_err,omitempty"`
	// contains filtered or unexported fields
}

func (*ParseProgram_AST_Result) Descriptor deprecated

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

Deprecated: Use ParseProgram_AST_Result.ProtoReflect.Descriptor instead.

func (*ParseProgram_AST_Result) GetAstJson

func (x *ParseProgram_AST_Result) GetAstJson() string

func (*ParseProgram_AST_Result) GetKclErr

func (x *ParseProgram_AST_Result) GetKclErr() *KclError

func (*ParseProgram_AST_Result) ProtoMessage

func (*ParseProgram_AST_Result) ProtoMessage()

func (*ParseProgram_AST_Result) ProtoReflect

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

func (*ParseProgram_AST_Result) Reset

func (x *ParseProgram_AST_Result) Reset()

func (*ParseProgram_AST_Result) String

func (x *ParseProgram_AST_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 RestResponse

type RestResponse struct {
	Result *anypb.Any `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Error  string     `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	KclErr *KclError  `protobuf:"bytes,3,opt,name=kcl_err,json=kclErr,proto3" json:"kcl_err,omitempty"`
	// contains filtered or unexported fields
}

func (*RestResponse) Descriptor deprecated

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

Deprecated: Use RestResponse.ProtoReflect.Descriptor instead.

func (*RestResponse) GetError

func (x *RestResponse) GetError() string

func (*RestResponse) GetKclErr

func (x *RestResponse) GetKclErr() *KclError

func (*RestResponse) GetResult

func (x *RestResponse) GetResult() *anypb.Any

func (*RestResponse) ProtoMessage

func (*RestResponse) ProtoMessage()

func (*RestResponse) ProtoReflect

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

func (*RestResponse) Reset

func (x *RestResponse) Reset()

func (*RestResponse) String

func (x *RestResponse) 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) 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) LoadSettingsFiles

func (*UnimplementedKclvmServiceServer) OverrideFile

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 {
	Data          string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	File          string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	Code          string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	Schema        string `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
	AttributeName string `protobuf:"bytes,5,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"`
	Format        string `protobuf:"bytes,6,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) 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

Jump to

Keyboard shortcuts

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