v1

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RPC_AccessType_name = map[int32]string{
		0: "PRIVATE",
		1: "PUBLIC",
		2: "AUTH",
	}
	RPC_AccessType_value = map[string]int32{
		"PRIVATE": 0,
		"PUBLIC":  1,
		"AUTH":    2,
	}
)

Enum value maps for RPC_AccessType.

View Source
var (
	RPC_Protocol_name = map[int32]string{
		0: "REGULAR",
		1: "RAW",
	}
	RPC_Protocol_value = map[string]int32{
		"REGULAR": 0,
		"RAW":     1,
	}
)

Enum value maps for RPC_Protocol.

View Source
var (
	StaticCallNode_Package_name = map[int32]string{
		0: "UNKNOWN",
		1: "SQLDB",
		2: "RLOG",
	}
	StaticCallNode_Package_value = map[string]int32{
		"UNKNOWN": 0,
		"SQLDB":   1,
		"RLOG":    2,
	}
)

Enum value maps for StaticCallNode_Package.

View Source
var (
	PathSegment_SegmentType_name = map[int32]string{
		0: "LITERAL",
		1: "PARAM",
		2: "WILDCARD",
	}
	PathSegment_SegmentType_value = map[string]int32{
		"LITERAL":  0,
		"PARAM":    1,
		"WILDCARD": 2,
	}
)

Enum value maps for PathSegment_SegmentType.

View Source
var (
	PathSegment_ParamType_name = map[int32]string{
		0:  "STRING",
		1:  "BOOL",
		2:  "INT8",
		3:  "INT16",
		4:  "INT32",
		5:  "INT64",
		6:  "UINT8",
		7:  "UINT16",
		8:  "UINT32",
		9:  "UINT64",
		10: "UUID",
	}
	PathSegment_ParamType_value = map[string]int32{
		"STRING": 0,
		"BOOL":   1,
		"INT8":   2,
		"INT16":  3,
		"INT32":  4,
		"INT64":  5,
		"UINT8":  6,
		"UINT16": 7,
		"UINT32": 8,
		"UINT64": 9,
		"UUID":   10,
	}
)

Enum value maps for PathSegment_ParamType.

View Source
var File_encore_parser_meta_v1_meta_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AuthHandler

type AuthHandler struct {
	Name     string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Doc      string   `protobuf:"bytes,2,opt,name=doc,proto3" json:"doc,omitempty"`
	PkgPath  string   `protobuf:"bytes,3,opt,name=pkg_path,json=pkgPath,proto3" json:"pkg_path,omitempty"` // package (service) import path
	PkgName  string   `protobuf:"bytes,4,opt,name=pkg_name,json=pkgName,proto3" json:"pkg_name,omitempty"` // package (service) name
	Loc      *v1.Loc  `protobuf:"bytes,5,opt,name=loc,proto3" json:"loc,omitempty"`
	AuthData *v1.Decl `protobuf:"bytes,6,opt,name=auth_data,json=authData,proto3" json:"auth_data,omitempty"` // custom auth data, or nil
	// contains filtered or unexported fields
}

func (*AuthHandler) Descriptor deprecated

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

Deprecated: Use AuthHandler.ProtoReflect.Descriptor instead.

func (*AuthHandler) GetAuthData

func (x *AuthHandler) GetAuthData() *v1.Decl

func (*AuthHandler) GetDoc

func (x *AuthHandler) GetDoc() string

func (*AuthHandler) GetLoc

func (x *AuthHandler) GetLoc() *v1.Loc

func (*AuthHandler) GetName

func (x *AuthHandler) GetName() string

func (*AuthHandler) GetPkgName

func (x *AuthHandler) GetPkgName() string

func (*AuthHandler) GetPkgPath

func (x *AuthHandler) GetPkgPath() string

func (*AuthHandler) ProtoMessage

func (*AuthHandler) ProtoMessage()

func (*AuthHandler) ProtoReflect

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

func (*AuthHandler) Reset

func (x *AuthHandler) Reset()

func (*AuthHandler) String

func (x *AuthHandler) String() string

type AuthHandlerDefNode

type AuthHandlerDefNode struct {
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Context     string `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthHandlerDefNode) Descriptor deprecated

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

Deprecated: Use AuthHandlerDefNode.ProtoReflect.Descriptor instead.

func (*AuthHandlerDefNode) GetContext

func (x *AuthHandlerDefNode) GetContext() string

func (*AuthHandlerDefNode) GetName

func (x *AuthHandlerDefNode) GetName() string

func (*AuthHandlerDefNode) GetServiceName

func (x *AuthHandlerDefNode) GetServiceName() string

func (*AuthHandlerDefNode) ProtoMessage

func (*AuthHandlerDefNode) ProtoMessage()

func (*AuthHandlerDefNode) ProtoReflect

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

func (*AuthHandlerDefNode) Reset

func (x *AuthHandlerDefNode) Reset()

func (*AuthHandlerDefNode) String

func (x *AuthHandlerDefNode) String() string

type DBMigration

type DBMigration struct {
	Filename    string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`       // filename
	Number      int32  `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`          // migration number
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // descriptive name
	// contains filtered or unexported fields
}

func (*DBMigration) Descriptor deprecated

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

Deprecated: Use DBMigration.ProtoReflect.Descriptor instead.

func (*DBMigration) GetDescription

func (x *DBMigration) GetDescription() string

func (*DBMigration) GetFilename

func (x *DBMigration) GetFilename() string

func (*DBMigration) GetNumber

func (x *DBMigration) GetNumber() int32

func (*DBMigration) ProtoMessage

func (*DBMigration) ProtoMessage()

func (*DBMigration) ProtoReflect

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

func (*DBMigration) Reset

func (x *DBMigration) Reset()

func (*DBMigration) String

func (x *DBMigration) String() string

type Data

type Data struct {
	ModulePath  string       `protobuf:"bytes,1,opt,name=module_path,json=modulePath,proto3" json:"module_path,omitempty"` // app module path
	AppVersion  string       `protobuf:"bytes,2,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
	Decls       []*v1.Decl   `protobuf:"bytes,3,rep,name=decls,proto3" json:"decls,omitempty"`
	Pkgs        []*Package   `protobuf:"bytes,4,rep,name=pkgs,proto3" json:"pkgs,omitempty"`
	Svcs        []*Service   `protobuf:"bytes,5,rep,name=svcs,proto3" json:"svcs,omitempty"`
	AuthHandler *AuthHandler `protobuf:"bytes,6,opt,name=auth_handler,json=authHandler,proto3" json:"auth_handler,omitempty"`
	// contains filtered or unexported fields
}

Data is the metadata associated with an app version.

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetAppVersion

func (x *Data) GetAppVersion() string

func (*Data) GetAuthHandler

func (x *Data) GetAuthHandler() *AuthHandler

func (*Data) GetDecls

func (x *Data) GetDecls() []*v1.Decl

func (*Data) GetModulePath

func (x *Data) GetModulePath() string

func (*Data) GetPkgs

func (x *Data) GetPkgs() []*Package

func (*Data) GetSvcs

func (x *Data) GetSvcs() []*Service

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type Package

type Package struct {
	RelPath     string           `protobuf:"bytes,1,opt,name=rel_path,json=relPath,proto3" json:"rel_path,omitempty"`             // import path relative to app root ("." for the app root itself)
	Name        string           `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                                  // package name as declared in Go files
	Doc         string           `protobuf:"bytes,3,opt,name=doc,proto3" json:"doc,omitempty"`                                    // associated documentation
	ServiceName string           `protobuf:"bytes,4,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // service name this package is a part of, if any
	Secrets     []string         `protobuf:"bytes,5,rep,name=secrets,proto3" json:"secrets,omitempty"`                            // secrets required by this package
	RpcCalls    []*QualifiedName `protobuf:"bytes,6,rep,name=rpc_calls,json=rpcCalls,proto3" json:"rpc_calls,omitempty"`          // RPCs called by the package
	TraceNodes  []*TraceNode     `protobuf:"bytes,7,rep,name=trace_nodes,json=traceNodes,proto3" json:"trace_nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*Package) Descriptor deprecated

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

Deprecated: Use Package.ProtoReflect.Descriptor instead.

func (*Package) GetDoc

func (x *Package) GetDoc() string

func (*Package) GetName

func (x *Package) GetName() string

func (*Package) GetRelPath

func (x *Package) GetRelPath() string

func (*Package) GetRpcCalls

func (x *Package) GetRpcCalls() []*QualifiedName

func (*Package) GetSecrets

func (x *Package) GetSecrets() []string

func (*Package) GetServiceName

func (x *Package) GetServiceName() string

func (*Package) GetTraceNodes

func (x *Package) GetTraceNodes() []*TraceNode

func (*Package) ProtoMessage

func (*Package) ProtoMessage()

func (*Package) ProtoReflect

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

func (*Package) Reset

func (x *Package) Reset()

func (*Package) String

func (x *Package) String() string

type Path added in v0.16.2

type Path struct {
	Segments []*PathSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
	// contains filtered or unexported fields
}

func (*Path) Descriptor deprecated added in v0.16.2

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

Deprecated: Use Path.ProtoReflect.Descriptor instead.

func (*Path) GetSegments added in v0.16.2

func (x *Path) GetSegments() []*PathSegment

func (*Path) ProtoMessage added in v0.16.2

func (*Path) ProtoMessage()

func (*Path) ProtoReflect added in v0.16.2

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

func (*Path) Reset added in v0.16.2

func (x *Path) Reset()

func (*Path) String added in v0.16.2

func (x *Path) String() string

type PathSegment added in v0.16.2

type PathSegment struct {
	Type      PathSegment_SegmentType `protobuf:"varint,1,opt,name=type,proto3,enum=encore.parser.meta.v1.PathSegment_SegmentType" json:"type,omitempty"`
	Value     string                  `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	ValueType PathSegment_ParamType   `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PathSegment) Descriptor deprecated added in v0.16.2

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

Deprecated: Use PathSegment.ProtoReflect.Descriptor instead.

func (*PathSegment) GetType added in v0.16.2

func (x *PathSegment) GetType() PathSegment_SegmentType

func (*PathSegment) GetValue added in v0.16.2

func (x *PathSegment) GetValue() string

func (*PathSegment) GetValueType added in v0.16.2

func (x *PathSegment) GetValueType() PathSegment_ParamType

func (*PathSegment) ProtoMessage added in v0.16.2

func (*PathSegment) ProtoMessage()

func (*PathSegment) ProtoReflect added in v0.16.2

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

func (*PathSegment) Reset added in v0.16.2

func (x *PathSegment) Reset()

func (*PathSegment) String added in v0.16.2

func (x *PathSegment) String() string

type PathSegment_ParamType added in v0.16.2

type PathSegment_ParamType int32
const (
	PathSegment_STRING PathSegment_ParamType = 0
	PathSegment_BOOL   PathSegment_ParamType = 1
	PathSegment_INT8   PathSegment_ParamType = 2
	PathSegment_INT16  PathSegment_ParamType = 3
	PathSegment_INT32  PathSegment_ParamType = 4
	PathSegment_INT64  PathSegment_ParamType = 5
	PathSegment_UINT8  PathSegment_ParamType = 6
	PathSegment_UINT16 PathSegment_ParamType = 7
	PathSegment_UINT32 PathSegment_ParamType = 8
	PathSegment_UINT64 PathSegment_ParamType = 9
	PathSegment_UUID   PathSegment_ParamType = 10
)

func (PathSegment_ParamType) Descriptor added in v0.16.2

func (PathSegment_ParamType) Enum added in v0.16.2

func (PathSegment_ParamType) EnumDescriptor deprecated added in v0.16.2

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

Deprecated: Use PathSegment_ParamType.Descriptor instead.

func (PathSegment_ParamType) Number added in v0.16.2

func (PathSegment_ParamType) String added in v0.16.2

func (x PathSegment_ParamType) String() string

func (PathSegment_ParamType) Type added in v0.16.2

type PathSegment_SegmentType added in v0.16.2

type PathSegment_SegmentType int32
const (
	PathSegment_LITERAL  PathSegment_SegmentType = 0
	PathSegment_PARAM    PathSegment_SegmentType = 1
	PathSegment_WILDCARD PathSegment_SegmentType = 2
)

func (PathSegment_SegmentType) Descriptor added in v0.16.2

func (PathSegment_SegmentType) Enum added in v0.16.2

func (PathSegment_SegmentType) EnumDescriptor deprecated added in v0.16.2

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

Deprecated: Use PathSegment_SegmentType.Descriptor instead.

func (PathSegment_SegmentType) Number added in v0.16.2

func (PathSegment_SegmentType) String added in v0.16.2

func (x PathSegment_SegmentType) String() string

func (PathSegment_SegmentType) Type added in v0.16.2

type QualifiedName

type QualifiedName struct {
	Pkg  string `protobuf:"bytes,1,opt,name=pkg,proto3" json:"pkg,omitempty"`   // "rel/path/to/pkg"
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // ObjectName
	// contains filtered or unexported fields
}

QualifiedName is a name of an object in a specific package. It is never an unqualified name, even in circumstances where a package may refer to its own objects.

func (*QualifiedName) Descriptor deprecated

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

Deprecated: Use QualifiedName.ProtoReflect.Descriptor instead.

func (*QualifiedName) GetName

func (x *QualifiedName) GetName() string

func (*QualifiedName) GetPkg

func (x *QualifiedName) GetPkg() string

func (*QualifiedName) ProtoMessage

func (*QualifiedName) ProtoMessage()

func (*QualifiedName) ProtoReflect

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

func (*QualifiedName) Reset

func (x *QualifiedName) Reset()

func (*QualifiedName) String

func (x *QualifiedName) String() string

type RPC

type RPC struct {
	Name        string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                  // name of the RPC endpoint
	Doc         string         `protobuf:"bytes,2,opt,name=doc,proto3" json:"doc,omitempty"`                                    // associated documentation
	ServiceName string         `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // the service the RPC belongs to.
	AccessType  RPC_AccessType ``                                                                                               // how can the RPC be accessed?
	/* 134-byte string literal not displayed */
	RequestSchema  *v1.Decl     `protobuf:"bytes,5,opt,name=request_schema,json=requestSchema,proto3" json:"request_schema,omitempty"`    // request schema, or nil
	ResponseSchema *v1.Decl     `protobuf:"bytes,6,opt,name=response_schema,json=responseSchema,proto3" json:"response_schema,omitempty"` // response schema, or nil
	Proto          RPC_Protocol `protobuf:"varint,7,opt,name=proto,proto3,enum=encore.parser.meta.v1.RPC_Protocol" json:"proto,omitempty"`
	Loc            *v1.Loc      `protobuf:"bytes,8,opt,name=loc,proto3" json:"loc,omitempty"`
	Path           *Path        `protobuf:"bytes,9,opt,name=path,proto3" json:"path,omitempty"`
	HttpMethods    []string     `protobuf:"bytes,10,rep,name=http_methods,json=httpMethods,proto3" json:"http_methods,omitempty"`
	// contains filtered or unexported fields
}

func (*RPC) Descriptor deprecated

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

Deprecated: Use RPC.ProtoReflect.Descriptor instead.

func (*RPC) GetAccessType

func (x *RPC) GetAccessType() RPC_AccessType

func (*RPC) GetDoc

func (x *RPC) GetDoc() string

func (*RPC) GetHttpMethods added in v0.16.2

func (x *RPC) GetHttpMethods() []string

func (*RPC) GetLoc

func (x *RPC) GetLoc() *v1.Loc

func (*RPC) GetName

func (x *RPC) GetName() string

func (*RPC) GetPath added in v0.16.2

func (x *RPC) GetPath() *Path

func (*RPC) GetProto

func (x *RPC) GetProto() RPC_Protocol

func (*RPC) GetRequestSchema

func (x *RPC) GetRequestSchema() *v1.Decl

func (*RPC) GetResponseSchema

func (x *RPC) GetResponseSchema() *v1.Decl

func (*RPC) GetServiceName

func (x *RPC) GetServiceName() string

func (*RPC) ProtoMessage

func (*RPC) ProtoMessage()

func (*RPC) ProtoReflect

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

func (*RPC) Reset

func (x *RPC) Reset()

func (*RPC) String

func (x *RPC) String() string

type RPCCallNode

type RPCCallNode struct {
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	RpcName     string `protobuf:"bytes,2,opt,name=rpc_name,json=rpcName,proto3" json:"rpc_name,omitempty"`
	Context     string `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*RPCCallNode) Descriptor deprecated

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

Deprecated: Use RPCCallNode.ProtoReflect.Descriptor instead.

func (*RPCCallNode) GetContext

func (x *RPCCallNode) GetContext() string

func (*RPCCallNode) GetRpcName

func (x *RPCCallNode) GetRpcName() string

func (*RPCCallNode) GetServiceName

func (x *RPCCallNode) GetServiceName() string

func (*RPCCallNode) ProtoMessage

func (*RPCCallNode) ProtoMessage()

func (*RPCCallNode) ProtoReflect

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

func (*RPCCallNode) Reset

func (x *RPCCallNode) Reset()

func (*RPCCallNode) String

func (x *RPCCallNode) String() string

type RPCDefNode

type RPCDefNode struct {
	ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"`
	RpcName     string `protobuf:"bytes,2,opt,name=rpc_name,json=rpcName,proto3" json:"rpc_name,omitempty"`
	Context     string `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*RPCDefNode) Descriptor deprecated

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

Deprecated: Use RPCDefNode.ProtoReflect.Descriptor instead.

func (*RPCDefNode) GetContext

func (x *RPCDefNode) GetContext() string

func (*RPCDefNode) GetRpcName

func (x *RPCDefNode) GetRpcName() string

func (*RPCDefNode) GetServiceName

func (x *RPCDefNode) GetServiceName() string

func (*RPCDefNode) ProtoMessage

func (*RPCDefNode) ProtoMessage()

func (*RPCDefNode) ProtoReflect

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

func (*RPCDefNode) Reset

func (x *RPCDefNode) Reset()

func (*RPCDefNode) String

func (x *RPCDefNode) String() string

type RPC_AccessType

type RPC_AccessType int32
const (
	RPC_PRIVATE RPC_AccessType = 0
	RPC_PUBLIC  RPC_AccessType = 1
	RPC_AUTH    RPC_AccessType = 2
)

func (RPC_AccessType) Descriptor

func (RPC_AccessType) Enum

func (x RPC_AccessType) Enum() *RPC_AccessType

func (RPC_AccessType) EnumDescriptor deprecated

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

Deprecated: Use RPC_AccessType.Descriptor instead.

func (RPC_AccessType) Number

func (RPC_AccessType) String

func (x RPC_AccessType) String() string

func (RPC_AccessType) Type

type RPC_Protocol

type RPC_Protocol int32
const (
	RPC_REGULAR RPC_Protocol = 0
	RPC_RAW     RPC_Protocol = 1
)

func (RPC_Protocol) Descriptor

func (RPC_Protocol) Enum

func (x RPC_Protocol) Enum() *RPC_Protocol

func (RPC_Protocol) EnumDescriptor deprecated

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

Deprecated: Use RPC_Protocol.Descriptor instead.

func (RPC_Protocol) Number

func (RPC_Protocol) String

func (x RPC_Protocol) String() string

func (RPC_Protocol) Type

type Service

type Service struct {
	Name       string         `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	RelPath    string         `protobuf:"bytes,2,opt,name=rel_path,json=relPath,proto3" json:"rel_path,omitempty"` // import path relative to app root for the root package in the service
	Rpcs       []*RPC         `protobuf:"bytes,3,rep,name=rpcs,proto3" json:"rpcs,omitempty"`
	Migrations []*DBMigration `protobuf:"bytes,4,rep,name=migrations,proto3" json:"migrations,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetMigrations

func (x *Service) GetMigrations() []*DBMigration

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) GetRelPath

func (x *Service) GetRelPath() string

func (*Service) GetRpcs

func (x *Service) GetRpcs() []*RPC

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type StaticCallNode

type StaticCallNode struct {
	Package StaticCallNode_Package `protobuf:"varint,1,opt,name=package,proto3,enum=encore.parser.meta.v1.StaticCallNode_Package" json:"package,omitempty"`
	Func    string                 `protobuf:"bytes,2,opt,name=func,proto3" json:"func,omitempty"`
	Context string                 `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*StaticCallNode) Descriptor deprecated

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

Deprecated: Use StaticCallNode.ProtoReflect.Descriptor instead.

func (*StaticCallNode) GetContext

func (x *StaticCallNode) GetContext() string

func (*StaticCallNode) GetFunc

func (x *StaticCallNode) GetFunc() string

func (*StaticCallNode) GetPackage

func (x *StaticCallNode) GetPackage() StaticCallNode_Package

func (*StaticCallNode) ProtoMessage

func (*StaticCallNode) ProtoMessage()

func (*StaticCallNode) ProtoReflect

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

func (*StaticCallNode) Reset

func (x *StaticCallNode) Reset()

func (*StaticCallNode) String

func (x *StaticCallNode) String() string

type StaticCallNode_Package

type StaticCallNode_Package int32
const (
	StaticCallNode_UNKNOWN StaticCallNode_Package = 0
	StaticCallNode_SQLDB   StaticCallNode_Package = 1
	StaticCallNode_RLOG    StaticCallNode_Package = 2
)

func (StaticCallNode_Package) Descriptor

func (StaticCallNode_Package) Enum

func (StaticCallNode_Package) EnumDescriptor deprecated

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

Deprecated: Use StaticCallNode_Package.Descriptor instead.

func (StaticCallNode_Package) Number

func (StaticCallNode_Package) String

func (x StaticCallNode_Package) String() string

func (StaticCallNode_Package) Type

type TraceNode

type TraceNode struct {
	Id           int32  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Filepath     string `protobuf:"bytes,2,opt,name=filepath,proto3" json:"filepath,omitempty"` // slash-separated, relative to app root
	StartPos     int32  `protobuf:"varint,4,opt,name=start_pos,json=startPos,proto3" json:"start_pos,omitempty"`
	EndPos       int32  `protobuf:"varint,5,opt,name=end_pos,json=endPos,proto3" json:"end_pos,omitempty"`
	SrcLineStart int32  `protobuf:"varint,6,opt,name=src_line_start,json=srcLineStart,proto3" json:"src_line_start,omitempty"`
	SrcLineEnd   int32  `protobuf:"varint,7,opt,name=src_line_end,json=srcLineEnd,proto3" json:"src_line_end,omitempty"`
	SrcColStart  int32  `protobuf:"varint,8,opt,name=src_col_start,json=srcColStart,proto3" json:"src_col_start,omitempty"`
	SrcColEnd    int32  `protobuf:"varint,9,opt,name=src_col_end,json=srcColEnd,proto3" json:"src_col_end,omitempty"`
	// Types that are assignable to Context:
	//	*TraceNode_RpcDef
	//	*TraceNode_RpcCall
	//	*TraceNode_StaticCall
	//	*TraceNode_AuthHandlerDef
	Context isTraceNode_Context `protobuf_oneof:"context"`
	// contains filtered or unexported fields
}

func (*TraceNode) Descriptor deprecated

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

Deprecated: Use TraceNode.ProtoReflect.Descriptor instead.

func (*TraceNode) GetAuthHandlerDef

func (x *TraceNode) GetAuthHandlerDef() *AuthHandlerDefNode

func (*TraceNode) GetContext

func (m *TraceNode) GetContext() isTraceNode_Context

func (*TraceNode) GetEndPos

func (x *TraceNode) GetEndPos() int32

func (*TraceNode) GetFilepath

func (x *TraceNode) GetFilepath() string

func (*TraceNode) GetId

func (x *TraceNode) GetId() int32

func (*TraceNode) GetRpcCall

func (x *TraceNode) GetRpcCall() *RPCCallNode

func (*TraceNode) GetRpcDef

func (x *TraceNode) GetRpcDef() *RPCDefNode

func (*TraceNode) GetSrcColEnd

func (x *TraceNode) GetSrcColEnd() int32

func (*TraceNode) GetSrcColStart

func (x *TraceNode) GetSrcColStart() int32

func (*TraceNode) GetSrcLineEnd

func (x *TraceNode) GetSrcLineEnd() int32

func (*TraceNode) GetSrcLineStart

func (x *TraceNode) GetSrcLineStart() int32

func (*TraceNode) GetStartPos

func (x *TraceNode) GetStartPos() int32

func (*TraceNode) GetStaticCall

func (x *TraceNode) GetStaticCall() *StaticCallNode

func (*TraceNode) ProtoMessage

func (*TraceNode) ProtoMessage()

func (*TraceNode) ProtoReflect

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

func (*TraceNode) Reset

func (x *TraceNode) Reset()

func (*TraceNode) String

func (x *TraceNode) String() string

type TraceNode_AuthHandlerDef

type TraceNode_AuthHandlerDef struct {
	AuthHandlerDef *AuthHandlerDefNode `protobuf:"bytes,13,opt,name=auth_handler_def,json=authHandlerDef,proto3,oneof"`
}

type TraceNode_RpcCall

type TraceNode_RpcCall struct {
	RpcCall *RPCCallNode `protobuf:"bytes,11,opt,name=rpc_call,json=rpcCall,proto3,oneof"`
}

type TraceNode_RpcDef

type TraceNode_RpcDef struct {
	RpcDef *RPCDefNode `protobuf:"bytes,10,opt,name=rpc_def,json=rpcDef,proto3,oneof"`
}

type TraceNode_StaticCall

type TraceNode_StaticCall struct {
	StaticCall *StaticCallNode `protobuf:"bytes,12,opt,name=static_call,json=staticCall,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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