Documentation ¶
Index ¶
- Variables
- type AuthHandler
- func (*AuthHandler) Descriptor() ([]byte, []int)deprecated
- func (x *AuthHandler) GetAuthData() *v1.Type
- func (x *AuthHandler) GetDoc() string
- func (x *AuthHandler) GetLoc() *v1.Loc
- func (x *AuthHandler) GetName() string
- func (x *AuthHandler) GetParams() *v1.Type
- func (x *AuthHandler) GetPkgName() string
- func (x *AuthHandler) GetPkgPath() string
- func (x *AuthHandler) GetServiceName() string
- func (*AuthHandler) ProtoMessage()
- func (x *AuthHandler) ProtoReflect() protoreflect.Message
- func (x *AuthHandler) Reset()
- func (x *AuthHandler) String() string
- type AuthHandlerDefNode
- func (*AuthHandlerDefNode) Descriptor() ([]byte, []int)deprecated
- func (x *AuthHandlerDefNode) GetContext() string
- func (x *AuthHandlerDefNode) GetName() string
- func (x *AuthHandlerDefNode) GetServiceName() string
- func (*AuthHandlerDefNode) ProtoMessage()
- func (x *AuthHandlerDefNode) ProtoReflect() protoreflect.Message
- func (x *AuthHandlerDefNode) Reset()
- func (x *AuthHandlerDefNode) String() string
- type CacheCluster
- func (*CacheCluster) Descriptor() ([]byte, []int)deprecated
- func (x *CacheCluster) GetDoc() string
- func (x *CacheCluster) GetEvictionPolicy() string
- func (x *CacheCluster) GetKeyspaces() []*CacheCluster_Keyspace
- func (x *CacheCluster) GetName() string
- func (*CacheCluster) ProtoMessage()
- func (x *CacheCluster) ProtoReflect() protoreflect.Message
- func (x *CacheCluster) Reset()
- func (x *CacheCluster) String() string
- type CacheCluster_Keyspace
- func (*CacheCluster_Keyspace) Descriptor() ([]byte, []int)deprecated
- func (x *CacheCluster_Keyspace) GetDoc() string
- func (x *CacheCluster_Keyspace) GetKeyType() *v1.Type
- func (x *CacheCluster_Keyspace) GetPathPattern() *Path
- func (x *CacheCluster_Keyspace) GetService() string
- func (x *CacheCluster_Keyspace) GetValueType() *v1.Type
- func (*CacheCluster_Keyspace) ProtoMessage()
- func (x *CacheCluster_Keyspace) ProtoReflect() protoreflect.Message
- func (x *CacheCluster_Keyspace) Reset()
- func (x *CacheCluster_Keyspace) String() string
- type CacheKeyspaceDefNode
- func (*CacheKeyspaceDefNode) Descriptor() ([]byte, []int)deprecated
- func (x *CacheKeyspaceDefNode) GetClusterName() string
- func (x *CacheKeyspaceDefNode) GetContext() string
- func (x *CacheKeyspaceDefNode) GetPkgRelPath() string
- func (x *CacheKeyspaceDefNode) GetVarName() string
- func (*CacheKeyspaceDefNode) ProtoMessage()
- func (x *CacheKeyspaceDefNode) ProtoReflect() protoreflect.Message
- func (x *CacheKeyspaceDefNode) Reset()
- func (x *CacheKeyspaceDefNode) String() string
- type CronJob
- func (*CronJob) Descriptor() ([]byte, []int)deprecated
- func (x *CronJob) GetDoc() string
- func (x *CronJob) GetEndpoint() *QualifiedName
- func (x *CronJob) GetId() string
- func (x *CronJob) GetSchedule() string
- func (x *CronJob) GetTitle() string
- func (*CronJob) ProtoMessage()
- func (x *CronJob) ProtoReflect() protoreflect.Message
- func (x *CronJob) Reset()
- func (x *CronJob) String() string
- type DBMigration
- func (*DBMigration) Descriptor() ([]byte, []int)deprecated
- func (x *DBMigration) GetDescription() string
- func (x *DBMigration) GetFilename() string
- func (x *DBMigration) GetNumber() uint64
- func (*DBMigration) ProtoMessage()
- func (x *DBMigration) ProtoReflect() protoreflect.Message
- func (x *DBMigration) Reset()
- func (x *DBMigration) String() string
- type Data
- func (*Data) Descriptor() ([]byte, []int)deprecated
- func (x *Data) GetAppRevision() string
- func (x *Data) GetAuthHandler() *AuthHandler
- func (x *Data) GetCacheClusters() []*CacheCluster
- func (x *Data) GetCronJobs() []*CronJob
- func (x *Data) GetDecls() []*v1.Decl
- func (x *Data) GetExperiments() []string
- func (x *Data) GetGateways() []*Gateway
- func (x *Data) GetLanguage() Lang
- func (x *Data) GetMetrics() []*Metric
- func (x *Data) GetMiddleware() []*Middleware
- func (x *Data) GetModulePath() string
- func (x *Data) GetPkgs() []*Package
- func (x *Data) GetPubsubTopics() []*PubSubTopic
- func (x *Data) GetSqlDatabases() []*SQLDatabase
- func (x *Data) GetSvcs() []*Service
- func (x *Data) GetUncommittedChanges() bool
- func (*Data) ProtoMessage()
- func (x *Data) ProtoReflect() protoreflect.Message
- func (x *Data) Reset()
- func (x *Data) String() string
- type Gateway
- type Gateway_Explicit
- func (*Gateway_Explicit) Descriptor() ([]byte, []int)deprecated
- func (x *Gateway_Explicit) GetAuthHandler() *AuthHandler
- func (x *Gateway_Explicit) GetServiceName() string
- func (*Gateway_Explicit) ProtoMessage()
- func (x *Gateway_Explicit) ProtoReflect() protoreflect.Message
- func (x *Gateway_Explicit) Reset()
- func (x *Gateway_Explicit) String() string
- type Lang
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)deprecated
- func (x *Metric) GetDoc() string
- func (x *Metric) GetKind() Metric_MetricKind
- func (x *Metric) GetLabels() []*Metric_Label
- func (x *Metric) GetName() string
- func (x *Metric) GetServiceName() string
- func (x *Metric) GetValueType() v1.Builtin
- func (*Metric) ProtoMessage()
- func (x *Metric) ProtoReflect() protoreflect.Message
- func (x *Metric) Reset()
- func (x *Metric) String() string
- type Metric_Label
- func (*Metric_Label) Descriptor() ([]byte, []int)deprecated
- func (x *Metric_Label) GetDoc() string
- func (x *Metric_Label) GetKey() string
- func (x *Metric_Label) GetType() v1.Builtin
- func (*Metric_Label) ProtoMessage()
- func (x *Metric_Label) ProtoReflect() protoreflect.Message
- func (x *Metric_Label) Reset()
- func (x *Metric_Label) String() string
- type Metric_MetricKind
- func (Metric_MetricKind) Descriptor() protoreflect.EnumDescriptor
- func (x Metric_MetricKind) Enum() *Metric_MetricKind
- func (Metric_MetricKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x Metric_MetricKind) Number() protoreflect.EnumNumber
- func (x Metric_MetricKind) String() string
- func (Metric_MetricKind) Type() protoreflect.EnumType
- type Middleware
- func (*Middleware) Descriptor() ([]byte, []int)deprecated
- func (x *Middleware) GetDoc() string
- func (x *Middleware) GetGlobal() bool
- func (x *Middleware) GetLoc() *v1.Loc
- func (x *Middleware) GetName() *QualifiedName
- func (x *Middleware) GetServiceName() string
- func (x *Middleware) GetTarget() []*Selector
- func (*Middleware) ProtoMessage()
- func (x *Middleware) ProtoReflect() protoreflect.Message
- func (x *Middleware) Reset()
- func (x *Middleware) String() string
- type MiddlewareDefNode
- func (*MiddlewareDefNode) Descriptor() ([]byte, []int)deprecated
- func (x *MiddlewareDefNode) GetContext() string
- func (x *MiddlewareDefNode) GetName() string
- func (x *MiddlewareDefNode) GetPkgRelPath() string
- func (x *MiddlewareDefNode) GetTarget() []*Selector
- func (*MiddlewareDefNode) ProtoMessage()
- func (x *MiddlewareDefNode) ProtoReflect() protoreflect.Message
- func (x *MiddlewareDefNode) Reset()
- func (x *MiddlewareDefNode) String() string
- type Package
- func (*Package) Descriptor() ([]byte, []int)deprecated
- func (x *Package) GetDoc() string
- func (x *Package) GetName() string
- func (x *Package) GetRelPath() string
- func (x *Package) GetRpcCalls() []*QualifiedName
- func (x *Package) GetSecrets() []string
- func (x *Package) GetServiceName() string
- func (x *Package) GetTraceNodes() []*TraceNode
- func (*Package) ProtoMessage()
- func (x *Package) ProtoReflect() protoreflect.Message
- func (x *Package) Reset()
- func (x *Package) String() string
- type Path
- type PathSegment
- func (*PathSegment) Descriptor() ([]byte, []int)deprecated
- func (x *PathSegment) GetType() PathSegment_SegmentType
- func (x *PathSegment) GetValue() string
- func (x *PathSegment) GetValueType() PathSegment_ParamType
- func (*PathSegment) ProtoMessage()
- func (x *PathSegment) ProtoReflect() protoreflect.Message
- func (x *PathSegment) Reset()
- func (x *PathSegment) String() string
- type PathSegment_ParamType
- func (PathSegment_ParamType) Descriptor() protoreflect.EnumDescriptor
- func (x PathSegment_ParamType) Enum() *PathSegment_ParamType
- func (PathSegment_ParamType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PathSegment_ParamType) Number() protoreflect.EnumNumber
- func (x PathSegment_ParamType) String() string
- func (PathSegment_ParamType) Type() protoreflect.EnumType
- type PathSegment_SegmentType
- func (PathSegment_SegmentType) Descriptor() protoreflect.EnumDescriptor
- func (x PathSegment_SegmentType) Enum() *PathSegment_SegmentType
- func (PathSegment_SegmentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PathSegment_SegmentType) Number() protoreflect.EnumNumber
- func (x PathSegment_SegmentType) String() string
- func (PathSegment_SegmentType) Type() protoreflect.EnumType
- type Path_Type
- type PubSubPublishNode
- func (*PubSubPublishNode) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubPublishNode) GetContext() string
- func (x *PubSubPublishNode) GetTopicName() string
- func (*PubSubPublishNode) ProtoMessage()
- func (x *PubSubPublishNode) ProtoReflect() protoreflect.Message
- func (x *PubSubPublishNode) Reset()
- func (x *PubSubPublishNode) String() string
- type PubSubSubscriberNode
- func (*PubSubSubscriberNode) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubSubscriberNode) GetContext() string
- func (x *PubSubSubscriberNode) GetServiceName() string
- func (x *PubSubSubscriberNode) GetSubscriberName() string
- func (x *PubSubSubscriberNode) GetTopicName() string
- func (*PubSubSubscriberNode) ProtoMessage()
- func (x *PubSubSubscriberNode) ProtoReflect() protoreflect.Message
- func (x *PubSubSubscriberNode) Reset()
- func (x *PubSubSubscriberNode) String() string
- type PubSubTopic
- func (*PubSubTopic) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubTopic) GetDeliveryGuarantee() PubSubTopic_DeliveryGuarantee
- func (x *PubSubTopic) GetDoc() string
- func (x *PubSubTopic) GetMessageType() *v1.Type
- func (x *PubSubTopic) GetName() string
- func (x *PubSubTopic) GetOrderingKey() string
- func (x *PubSubTopic) GetPublishers() []*PubSubTopic_Publisher
- func (x *PubSubTopic) GetSubscriptions() []*PubSubTopic_Subscription
- func (*PubSubTopic) ProtoMessage()
- func (x *PubSubTopic) ProtoReflect() protoreflect.Message
- func (x *PubSubTopic) Reset()
- func (x *PubSubTopic) String() string
- type PubSubTopicDefNode
- func (*PubSubTopicDefNode) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubTopicDefNode) GetContext() string
- func (x *PubSubTopicDefNode) GetTopicName() string
- func (*PubSubTopicDefNode) ProtoMessage()
- func (x *PubSubTopicDefNode) ProtoReflect() protoreflect.Message
- func (x *PubSubTopicDefNode) Reset()
- func (x *PubSubTopicDefNode) String() string
- type PubSubTopic_DeliveryGuarantee
- func (PubSubTopic_DeliveryGuarantee) Descriptor() protoreflect.EnumDescriptor
- func (x PubSubTopic_DeliveryGuarantee) Enum() *PubSubTopic_DeliveryGuarantee
- func (PubSubTopic_DeliveryGuarantee) EnumDescriptor() ([]byte, []int)deprecated
- func (x PubSubTopic_DeliveryGuarantee) Number() protoreflect.EnumNumber
- func (x PubSubTopic_DeliveryGuarantee) String() string
- func (PubSubTopic_DeliveryGuarantee) Type() protoreflect.EnumType
- type PubSubTopic_Publisher
- func (*PubSubTopic_Publisher) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubTopic_Publisher) GetServiceName() string
- func (*PubSubTopic_Publisher) ProtoMessage()
- func (x *PubSubTopic_Publisher) ProtoReflect() protoreflect.Message
- func (x *PubSubTopic_Publisher) Reset()
- func (x *PubSubTopic_Publisher) String() string
- type PubSubTopic_RetryPolicy
- func (*PubSubTopic_RetryPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubTopic_RetryPolicy) GetMaxBackoff() int64
- func (x *PubSubTopic_RetryPolicy) GetMaxRetries() int64
- func (x *PubSubTopic_RetryPolicy) GetMinBackoff() int64
- func (*PubSubTopic_RetryPolicy) ProtoMessage()
- func (x *PubSubTopic_RetryPolicy) ProtoReflect() protoreflect.Message
- func (x *PubSubTopic_RetryPolicy) Reset()
- func (x *PubSubTopic_RetryPolicy) String() string
- type PubSubTopic_Subscription
- func (*PubSubTopic_Subscription) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubTopic_Subscription) GetAckDeadline() int64
- func (x *PubSubTopic_Subscription) GetMaxConcurrency() int32
- func (x *PubSubTopic_Subscription) GetMessageRetention() int64
- func (x *PubSubTopic_Subscription) GetName() string
- func (x *PubSubTopic_Subscription) GetRetryPolicy() *PubSubTopic_RetryPolicy
- func (x *PubSubTopic_Subscription) GetServiceName() string
- func (*PubSubTopic_Subscription) ProtoMessage()
- func (x *PubSubTopic_Subscription) ProtoReflect() protoreflect.Message
- func (x *PubSubTopic_Subscription) Reset()
- func (x *PubSubTopic_Subscription) String() string
- type QualifiedName
- func (*QualifiedName) Descriptor() ([]byte, []int)deprecated
- func (x *QualifiedName) GetName() string
- func (x *QualifiedName) GetPkg() string
- func (*QualifiedName) ProtoMessage()
- func (x *QualifiedName) ProtoReflect() protoreflect.Message
- func (x *QualifiedName) Reset()
- func (x *QualifiedName) String() string
- type RPC
- func (*RPC) Descriptor() ([]byte, []int)deprecated
- func (x *RPC) GetAccessType() RPC_AccessType
- func (x *RPC) GetAllowUnauthenticated() bool
- func (x *RPC) GetBodyLimit() uint64
- func (x *RPC) GetDoc() string
- func (x *RPC) GetExpose() map[string]*RPC_ExposeOptions
- func (x *RPC) GetHandshakeSchema() *v1.Type
- func (x *RPC) GetHttpMethods() []string
- func (x *RPC) GetLoc() *v1.Loc
- func (x *RPC) GetName() string
- func (x *RPC) GetPath() *Path
- func (x *RPC) GetProto() RPC_Protocol
- func (x *RPC) GetRequestSchema() *v1.Type
- func (x *RPC) GetResponseSchema() *v1.Type
- func (x *RPC) GetSensitive() bool
- func (x *RPC) GetServiceName() string
- func (x *RPC) GetStaticAssets() *RPC_StaticAssets
- func (x *RPC) GetStreamingRequest() bool
- func (x *RPC) GetStreamingResponse() bool
- func (x *RPC) GetTags() []*Selector
- func (*RPC) ProtoMessage()
- func (x *RPC) ProtoReflect() protoreflect.Message
- func (x *RPC) Reset()
- func (x *RPC) String() string
- type RPCCallNode
- func (*RPCCallNode) Descriptor() ([]byte, []int)deprecated
- func (x *RPCCallNode) GetContext() string
- func (x *RPCCallNode) GetRpcName() string
- func (x *RPCCallNode) GetServiceName() string
- func (*RPCCallNode) ProtoMessage()
- func (x *RPCCallNode) ProtoReflect() protoreflect.Message
- func (x *RPCCallNode) Reset()
- func (x *RPCCallNode) String() string
- type RPCDefNode
- func (*RPCDefNode) Descriptor() ([]byte, []int)deprecated
- func (x *RPCDefNode) GetContext() string
- func (x *RPCDefNode) GetRpcName() string
- func (x *RPCDefNode) GetServiceName() string
- func (*RPCDefNode) ProtoMessage()
- func (x *RPCDefNode) ProtoReflect() protoreflect.Message
- func (x *RPCDefNode) Reset()
- func (x *RPCDefNode) String() string
- type RPC_AccessType
- func (RPC_AccessType) Descriptor() protoreflect.EnumDescriptor
- func (x RPC_AccessType) Enum() *RPC_AccessType
- func (RPC_AccessType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RPC_AccessType) Number() protoreflect.EnumNumber
- func (x RPC_AccessType) String() string
- func (RPC_AccessType) Type() protoreflect.EnumType
- type RPC_ExposeOptions
- type RPC_Protocol
- func (RPC_Protocol) Descriptor() protoreflect.EnumDescriptor
- func (x RPC_Protocol) Enum() *RPC_Protocol
- func (RPC_Protocol) EnumDescriptor() ([]byte, []int)deprecated
- func (x RPC_Protocol) Number() protoreflect.EnumNumber
- func (x RPC_Protocol) String() string
- func (RPC_Protocol) Type() protoreflect.EnumType
- type RPC_StaticAssets
- func (*RPC_StaticAssets) Descriptor() ([]byte, []int)deprecated
- func (x *RPC_StaticAssets) GetDirRelPath() string
- func (x *RPC_StaticAssets) GetNotFoundRelPath() string
- func (*RPC_StaticAssets) ProtoMessage()
- func (x *RPC_StaticAssets) ProtoReflect() protoreflect.Message
- func (x *RPC_StaticAssets) Reset()
- func (x *RPC_StaticAssets) String() string
- type SQLDatabase
- func (*SQLDatabase) Descriptor() ([]byte, []int)deprecated
- func (x *SQLDatabase) GetDoc() string
- func (x *SQLDatabase) GetMigrationRelPath() string
- func (x *SQLDatabase) GetMigrations() []*DBMigration
- func (x *SQLDatabase) GetName() string
- func (*SQLDatabase) ProtoMessage()
- func (x *SQLDatabase) ProtoReflect() protoreflect.Message
- func (x *SQLDatabase) Reset()
- func (x *SQLDatabase) String() string
- type Selector
- type Selector_Type
- func (Selector_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Selector_Type) Enum() *Selector_Type
- func (Selector_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Selector_Type) Number() protoreflect.EnumNumber
- func (x Selector_Type) String() string
- func (Selector_Type) Type() protoreflect.EnumType
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetDatabases() []string
- func (x *Service) GetHasConfig() bool
- func (x *Service) GetMigrations() []*DBMigration
- func (x *Service) GetName() string
- func (x *Service) GetRelPath() string
- func (x *Service) GetRpcs() []*RPC
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type ServiceInitNode
- func (*ServiceInitNode) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceInitNode) GetContext() string
- func (x *ServiceInitNode) GetServiceName() string
- func (x *ServiceInitNode) GetSetupFuncName() string
- func (*ServiceInitNode) ProtoMessage()
- func (x *ServiceInitNode) ProtoReflect() protoreflect.Message
- func (x *ServiceInitNode) Reset()
- func (x *ServiceInitNode) String() string
- type StaticCallNode
- func (*StaticCallNode) Descriptor() ([]byte, []int)deprecated
- func (x *StaticCallNode) GetContext() string
- func (x *StaticCallNode) GetFunc() string
- func (x *StaticCallNode) GetPackage() StaticCallNode_Package
- func (*StaticCallNode) ProtoMessage()
- func (x *StaticCallNode) ProtoReflect() protoreflect.Message
- func (x *StaticCallNode) Reset()
- func (x *StaticCallNode) String() string
- type StaticCallNode_Package
- func (StaticCallNode_Package) Descriptor() protoreflect.EnumDescriptor
- func (x StaticCallNode_Package) Enum() *StaticCallNode_Package
- func (StaticCallNode_Package) EnumDescriptor() ([]byte, []int)deprecated
- func (x StaticCallNode_Package) Number() protoreflect.EnumNumber
- func (x StaticCallNode_Package) String() string
- func (StaticCallNode_Package) Type() protoreflect.EnumType
- type TraceNode
- func (*TraceNode) Descriptor() ([]byte, []int)deprecated
- func (x *TraceNode) GetAuthHandlerDef() *AuthHandlerDefNode
- func (x *TraceNode) GetCacheKeyspace() *CacheKeyspaceDefNode
- func (m *TraceNode) GetContext() isTraceNode_Context
- func (x *TraceNode) GetEndPos() int32
- func (x *TraceNode) GetFilepath() string
- func (x *TraceNode) GetId() int32
- func (x *TraceNode) GetMiddlewareDef() *MiddlewareDefNode
- func (x *TraceNode) GetPubsubPublish() *PubSubPublishNode
- func (x *TraceNode) GetPubsubSubscriber() *PubSubSubscriberNode
- func (x *TraceNode) GetPubsubTopicDef() *PubSubTopicDefNode
- func (x *TraceNode) GetRpcCall() *RPCCallNode
- func (x *TraceNode) GetRpcDef() *RPCDefNode
- func (x *TraceNode) GetServiceInit() *ServiceInitNode
- func (x *TraceNode) GetSrcColEnd() int32
- func (x *TraceNode) GetSrcColStart() int32
- func (x *TraceNode) GetSrcLineEnd() int32
- func (x *TraceNode) GetSrcLineStart() int32
- func (x *TraceNode) GetStartPos() int32
- func (x *TraceNode) GetStaticCall() *StaticCallNode
- func (*TraceNode) ProtoMessage()
- func (x *TraceNode) ProtoReflect() protoreflect.Message
- func (x *TraceNode) Reset()
- func (x *TraceNode) String() string
- type TraceNode_AuthHandlerDef
- type TraceNode_CacheKeyspace
- type TraceNode_MiddlewareDef
- type TraceNode_PubsubPublish
- type TraceNode_PubsubSubscriber
- type TraceNode_PubsubTopicDef
- type TraceNode_RpcCall
- type TraceNode_RpcDef
- type TraceNode_ServiceInit
- type TraceNode_StaticCall
Constants ¶
This section is empty.
Variables ¶
var ( Lang_name = map[int32]string{ 0: "GO", 1: "TYPESCRIPT", } Lang_value = map[string]int32{ "GO": 0, "TYPESCRIPT": 1, } )
Enum value maps for Lang.
var ( Selector_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "ALL", 2: "TAG", } Selector_Type_value = map[string]int32{ "UNKNOWN": 0, "ALL": 1, "TAG": 2, } )
Enum value maps for Selector_Type.
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.
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.
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.
var ( Path_Type_name = map[int32]string{ 0: "URL", 1: "CACHE_KEYSPACE", } Path_Type_value = map[string]int32{ "URL": 0, "CACHE_KEYSPACE": 1, } )
Enum value maps for Path_Type.
var ( PathSegment_SegmentType_name = map[int32]string{ 0: "LITERAL", 1: "PARAM", 2: "WILDCARD", 3: "FALLBACK", } PathSegment_SegmentType_value = map[string]int32{ "LITERAL": 0, "PARAM": 1, "WILDCARD": 2, "FALLBACK": 3, } )
Enum value maps for PathSegment_SegmentType.
var ( PathSegment_ParamType_name = map[int32]string{ 0: "STRING", 1: "BOOL", 2: "INT8", 3: "INT16", 4: "INT32", 5: "INT64", 6: "INT", 7: "UINT8", 8: "UINT16", 9: "UINT32", 10: "UINT64", 11: "UINT", 12: "UUID", } PathSegment_ParamType_value = map[string]int32{ "STRING": 0, "BOOL": 1, "INT8": 2, "INT16": 3, "INT32": 4, "INT64": 5, "INT": 6, "UINT8": 7, "UINT16": 8, "UINT32": 9, "UINT64": 10, "UINT": 11, "UUID": 12, } )
Enum value maps for PathSegment_ParamType.
var ( PubSubTopic_DeliveryGuarantee_name = map[int32]string{ 0: "AT_LEAST_ONCE", 1: "EXACTLY_ONCE", } PubSubTopic_DeliveryGuarantee_value = map[string]int32{ "AT_LEAST_ONCE": 0, "EXACTLY_ONCE": 1, } )
Enum value maps for PubSubTopic_DeliveryGuarantee.
var ( Metric_MetricKind_name = map[int32]string{ 0: "COUNTER", 1: "GAUGE", 2: "HISTOGRAM", } Metric_MetricKind_value = map[string]int32{ "COUNTER": 0, "GAUGE": 1, "HISTOGRAM": 2, } )
Enum value maps for Metric_MetricKind.
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.Type `protobuf:"bytes,6,opt,name=auth_data,json=authData,proto3,oneof" json:"auth_data,omitempty"` // custom auth data, or nil Params *v1.Type `protobuf:"bytes,7,opt,name=params,proto3,oneof" json:"params,omitempty"` // builtin string or named type ServiceName string `protobuf:"bytes,8,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // 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.Type
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) GetParams ¶ added in v1.1.0
func (x *AuthHandler) GetParams() *v1.Type
func (*AuthHandler) GetPkgName ¶
func (x *AuthHandler) GetPkgName() string
func (*AuthHandler) GetPkgPath ¶
func (x *AuthHandler) GetPkgPath() string
func (*AuthHandler) GetServiceName ¶ added in v1.33.0
func (x *AuthHandler) GetServiceName() 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 CacheCluster ¶ added in v1.7.0
type CacheCluster struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The pub sub topic name (unique per application) Doc string `protobuf:"bytes,2,opt,name=doc,proto3" json:"doc,omitempty"` // The documentation for the topic Keyspaces []*CacheCluster_Keyspace `protobuf:"bytes,3,rep,name=keyspaces,proto3" json:"keyspaces,omitempty"` // The publishers for this topic EvictionPolicy string `protobuf:"bytes,4,opt,name=eviction_policy,json=evictionPolicy,proto3" json:"eviction_policy,omitempty"` // redis eviction policy // contains filtered or unexported fields }
func (*CacheCluster) Descriptor
deprecated
added in
v1.7.0
func (*CacheCluster) Descriptor() ([]byte, []int)
Deprecated: Use CacheCluster.ProtoReflect.Descriptor instead.
func (*CacheCluster) GetDoc ¶ added in v1.7.0
func (x *CacheCluster) GetDoc() string
func (*CacheCluster) GetEvictionPolicy ¶ added in v1.7.0
func (x *CacheCluster) GetEvictionPolicy() string
func (*CacheCluster) GetKeyspaces ¶ added in v1.7.0
func (x *CacheCluster) GetKeyspaces() []*CacheCluster_Keyspace
func (*CacheCluster) GetName ¶ added in v1.7.0
func (x *CacheCluster) GetName() string
func (*CacheCluster) ProtoMessage ¶ added in v1.7.0
func (*CacheCluster) ProtoMessage()
func (*CacheCluster) ProtoReflect ¶ added in v1.7.0
func (x *CacheCluster) ProtoReflect() protoreflect.Message
func (*CacheCluster) Reset ¶ added in v1.7.0
func (x *CacheCluster) Reset()
func (*CacheCluster) String ¶ added in v1.7.0
func (x *CacheCluster) String() string
type CacheCluster_Keyspace ¶ added in v1.7.0
type CacheCluster_Keyspace struct { KeyType *v1.Type `protobuf:"bytes,1,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"` ValueType *v1.Type `protobuf:"bytes,2,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"` Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` Doc string `protobuf:"bytes,4,opt,name=doc,proto3" json:"doc,omitempty"` PathPattern *Path `protobuf:"bytes,5,opt,name=path_pattern,json=pathPattern,proto3" json:"path_pattern,omitempty"` // contains filtered or unexported fields }
func (*CacheCluster_Keyspace) Descriptor
deprecated
added in
v1.7.0
func (*CacheCluster_Keyspace) Descriptor() ([]byte, []int)
Deprecated: Use CacheCluster_Keyspace.ProtoReflect.Descriptor instead.
func (*CacheCluster_Keyspace) GetDoc ¶ added in v1.11.0
func (x *CacheCluster_Keyspace) GetDoc() string
func (*CacheCluster_Keyspace) GetKeyType ¶ added in v1.7.0
func (x *CacheCluster_Keyspace) GetKeyType() *v1.Type
func (*CacheCluster_Keyspace) GetPathPattern ¶ added in v1.11.0
func (x *CacheCluster_Keyspace) GetPathPattern() *Path
func (*CacheCluster_Keyspace) GetService ¶ added in v1.11.0
func (x *CacheCluster_Keyspace) GetService() string
func (*CacheCluster_Keyspace) GetValueType ¶ added in v1.11.0
func (x *CacheCluster_Keyspace) GetValueType() *v1.Type
func (*CacheCluster_Keyspace) ProtoMessage ¶ added in v1.7.0
func (*CacheCluster_Keyspace) ProtoMessage()
func (*CacheCluster_Keyspace) ProtoReflect ¶ added in v1.7.0
func (x *CacheCluster_Keyspace) ProtoReflect() protoreflect.Message
func (*CacheCluster_Keyspace) Reset ¶ added in v1.7.0
func (x *CacheCluster_Keyspace) Reset()
func (*CacheCluster_Keyspace) String ¶ added in v1.7.0
func (x *CacheCluster_Keyspace) String() string
type CacheKeyspaceDefNode ¶ added in v1.7.0
type CacheKeyspaceDefNode struct { PkgRelPath string `protobuf:"bytes,1,opt,name=pkg_rel_path,json=pkgRelPath,proto3" json:"pkg_rel_path,omitempty"` VarName string `protobuf:"bytes,2,opt,name=var_name,json=varName,proto3" json:"var_name,omitempty"` ClusterName string `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` Context string `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*CacheKeyspaceDefNode) Descriptor
deprecated
added in
v1.7.0
func (*CacheKeyspaceDefNode) Descriptor() ([]byte, []int)
Deprecated: Use CacheKeyspaceDefNode.ProtoReflect.Descriptor instead.
func (*CacheKeyspaceDefNode) GetClusterName ¶ added in v1.7.0
func (x *CacheKeyspaceDefNode) GetClusterName() string
func (*CacheKeyspaceDefNode) GetContext ¶ added in v1.7.0
func (x *CacheKeyspaceDefNode) GetContext() string
func (*CacheKeyspaceDefNode) GetPkgRelPath ¶ added in v1.7.0
func (x *CacheKeyspaceDefNode) GetPkgRelPath() string
func (*CacheKeyspaceDefNode) GetVarName ¶ added in v1.7.0
func (x *CacheKeyspaceDefNode) GetVarName() string
func (*CacheKeyspaceDefNode) ProtoMessage ¶ added in v1.7.0
func (*CacheKeyspaceDefNode) ProtoMessage()
func (*CacheKeyspaceDefNode) ProtoReflect ¶ added in v1.7.0
func (x *CacheKeyspaceDefNode) ProtoReflect() protoreflect.Message
func (*CacheKeyspaceDefNode) Reset ¶ added in v1.7.0
func (x *CacheKeyspaceDefNode) Reset()
func (*CacheKeyspaceDefNode) String ¶ added in v1.7.0
func (x *CacheKeyspaceDefNode) String() string
type CronJob ¶ added in v0.19.0
type CronJob struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` Doc *string `protobuf:"bytes,3,opt,name=doc,proto3,oneof" json:"doc,omitempty"` Schedule string `protobuf:"bytes,4,opt,name=schedule,proto3" json:"schedule,omitempty"` Endpoint *QualifiedName `protobuf:"bytes,5,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // contains filtered or unexported fields }
func (*CronJob) Descriptor
deprecated
added in
v0.19.0
func (*CronJob) GetEndpoint ¶ added in v0.19.0
func (x *CronJob) GetEndpoint() *QualifiedName
func (*CronJob) GetSchedule ¶ added in v0.19.0
func (*CronJob) ProtoMessage ¶ added in v0.19.0
func (*CronJob) ProtoMessage()
func (*CronJob) ProtoReflect ¶ added in v0.19.0
func (x *CronJob) ProtoReflect() protoreflect.Message
type DBMigration ¶
type DBMigration struct { Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` // filename Number uint64 `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() uint64
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 AppRevision string `protobuf:"bytes,2,opt,name=app_revision,json=appRevision,proto3" json:"app_revision,omitempty"` // app revision (always the VCS revision reference) UncommittedChanges bool `protobuf:"varint,8,opt,name=uncommitted_changes,json=uncommittedChanges,proto3" json:"uncommitted_changes,omitempty"` // true if there where changes made on-top of the VCS revision 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,oneof" json:"auth_handler,omitempty"` // the auth handler or nil CronJobs []*CronJob `protobuf:"bytes,7,rep,name=cron_jobs,json=cronJobs,proto3" json:"cron_jobs,omitempty"` PubsubTopics []*PubSubTopic `protobuf:"bytes,9,rep,name=pubsub_topics,json=pubsubTopics,proto3" json:"pubsub_topics,omitempty"` // All the pub sub topics declared in the application Middleware []*Middleware `protobuf:"bytes,10,rep,name=middleware,proto3" json:"middleware,omitempty"` CacheClusters []*CacheCluster `protobuf:"bytes,11,rep,name=cache_clusters,json=cacheClusters,proto3" json:"cache_clusters,omitempty"` Experiments []string `protobuf:"bytes,12,rep,name=experiments,proto3" json:"experiments,omitempty"` Metrics []*Metric `protobuf:"bytes,13,rep,name=metrics,proto3" json:"metrics,omitempty"` SqlDatabases []*SQLDatabase `protobuf:"bytes,14,rep,name=sql_databases,json=sqlDatabases,proto3" json:"sql_databases,omitempty"` Gateways []*Gateway `protobuf:"bytes,15,rep,name=gateways,proto3" json:"gateways,omitempty"` Language Lang `protobuf:"varint,16,opt,name=language,proto3,enum=encore.parser.meta.v1.Lang" json:"language,omitempty"` // contains filtered or unexported fields }
Data is the metadata associated with an app version.
func (*Data) Descriptor
deprecated
func (*Data) GetAppRevision ¶ added in v1.1.0
func (*Data) GetAuthHandler ¶
func (x *Data) GetAuthHandler() *AuthHandler
func (*Data) GetCacheClusters ¶ added in v1.7.0
func (x *Data) GetCacheClusters() []*CacheCluster
func (*Data) GetCronJobs ¶ added in v0.19.0
func (*Data) GetExperiments ¶ added in v1.11.0
func (*Data) GetGateways ¶ added in v1.33.0
func (*Data) GetLanguage ¶ added in v1.37.0
func (*Data) GetMetrics ¶ added in v1.11.0
func (*Data) GetMiddleware ¶ added in v1.5.0
func (x *Data) GetMiddleware() []*Middleware
func (*Data) GetModulePath ¶
func (*Data) GetPubsubTopics ¶ added in v1.3.0
func (x *Data) GetPubsubTopics() []*PubSubTopic
func (*Data) GetSqlDatabases ¶ added in v1.16.3
func (x *Data) GetSqlDatabases() []*SQLDatabase
func (*Data) GetUncommittedChanges ¶ added in v1.1.0
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Gateway ¶ added in v1.33.0
type Gateway struct { EncoreName string `protobuf:"bytes,1,opt,name=encore_name,json=encoreName,proto3" json:"encore_name,omitempty"` // Spec is the configuration for the gateway, if it's explicitly defined. Explicit *Gateway_Explicit `protobuf:"bytes,2,opt,name=explicit,proto3,oneof" json:"explicit,omitempty"` // contains filtered or unexported fields }
func (*Gateway) Descriptor
deprecated
added in
v1.33.0
func (*Gateway) GetEncoreName ¶ added in v1.33.0
func (*Gateway) GetExplicit ¶ added in v1.33.0
func (x *Gateway) GetExplicit() *Gateway_Explicit
func (*Gateway) ProtoMessage ¶ added in v1.33.0
func (*Gateway) ProtoMessage()
func (*Gateway) ProtoReflect ¶ added in v1.33.0
func (x *Gateway) ProtoReflect() protoreflect.Message
type Gateway_Explicit ¶ added in v1.33.0
type Gateway_Explicit struct { // The service name this gateway belongs to. ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` AuthHandler *AuthHandler `protobuf:"bytes,2,opt,name=auth_handler,json=authHandler,proto3,oneof" json:"auth_handler,omitempty"` // contains filtered or unexported fields }
func (*Gateway_Explicit) Descriptor
deprecated
added in
v1.33.0
func (*Gateway_Explicit) Descriptor() ([]byte, []int)
Deprecated: Use Gateway_Explicit.ProtoReflect.Descriptor instead.
func (*Gateway_Explicit) GetAuthHandler ¶ added in v1.33.0
func (x *Gateway_Explicit) GetAuthHandler() *AuthHandler
func (*Gateway_Explicit) GetServiceName ¶ added in v1.33.0
func (x *Gateway_Explicit) GetServiceName() string
func (*Gateway_Explicit) ProtoMessage ¶ added in v1.33.0
func (*Gateway_Explicit) ProtoMessage()
func (*Gateway_Explicit) ProtoReflect ¶ added in v1.33.0
func (x *Gateway_Explicit) ProtoReflect() protoreflect.Message
func (*Gateway_Explicit) Reset ¶ added in v1.33.0
func (x *Gateway_Explicit) Reset()
func (*Gateway_Explicit) String ¶ added in v1.33.0
func (x *Gateway_Explicit) String() string
type Lang ¶ added in v1.37.0
type Lang int32
Lang describes the language an application is written in. Defaults to Go if not set.
func (Lang) Descriptor ¶ added in v1.37.0
func (Lang) Descriptor() protoreflect.EnumDescriptor
func (Lang) EnumDescriptor
deprecated
added in
v1.37.0
func (Lang) Number ¶ added in v1.37.0
func (x Lang) Number() protoreflect.EnumNumber
func (Lang) Type ¶ added in v1.37.0
func (Lang) Type() protoreflect.EnumType
type Metric ¶ added in v1.11.0
type Metric struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // the name of the metric ValueType v1.Builtin `` /* 126-byte string literal not displayed */ Doc string `protobuf:"bytes,3,opt,name=doc,proto3" json:"doc,omitempty"` // the doc string Kind Metric_MetricKind `protobuf:"varint,4,opt,name=kind,proto3,enum=encore.parser.meta.v1.Metric_MetricKind" json:"kind,omitempty"` ServiceName *string `protobuf:"bytes,5,opt,name=service_name,json=serviceName,proto3,oneof" json:"service_name,omitempty"` // the service the metric is exclusive to, if any. Labels []*Metric_Label `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*Metric) Descriptor
deprecated
added in
v1.11.0
func (*Metric) GetKind ¶ added in v1.11.0
func (x *Metric) GetKind() Metric_MetricKind
func (*Metric) GetLabels ¶ added in v1.11.0
func (x *Metric) GetLabels() []*Metric_Label
func (*Metric) GetServiceName ¶ added in v1.11.0
func (*Metric) GetValueType ¶ added in v1.11.0
func (*Metric) ProtoMessage ¶ added in v1.11.0
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶ added in v1.11.0
func (x *Metric) ProtoReflect() protoreflect.Message
type Metric_Label ¶ added in v1.11.0
type Metric_Label struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Type v1.Builtin `protobuf:"varint,2,opt,name=type,proto3,enum=encore.parser.schema.v1.Builtin" json:"type,omitempty"` Doc string `protobuf:"bytes,3,opt,name=doc,proto3" json:"doc,omitempty"` // contains filtered or unexported fields }
func (*Metric_Label) Descriptor
deprecated
added in
v1.11.0
func (*Metric_Label) Descriptor() ([]byte, []int)
Deprecated: Use Metric_Label.ProtoReflect.Descriptor instead.
func (*Metric_Label) GetDoc ¶ added in v1.11.0
func (x *Metric_Label) GetDoc() string
func (*Metric_Label) GetKey ¶ added in v1.11.0
func (x *Metric_Label) GetKey() string
func (*Metric_Label) GetType ¶ added in v1.11.0
func (x *Metric_Label) GetType() v1.Builtin
func (*Metric_Label) ProtoMessage ¶ added in v1.11.0
func (*Metric_Label) ProtoMessage()
func (*Metric_Label) ProtoReflect ¶ added in v1.11.0
func (x *Metric_Label) ProtoReflect() protoreflect.Message
func (*Metric_Label) Reset ¶ added in v1.11.0
func (x *Metric_Label) Reset()
func (*Metric_Label) String ¶ added in v1.11.0
func (x *Metric_Label) String() string
type Metric_MetricKind ¶ added in v1.11.0
type Metric_MetricKind int32
const ( Metric_COUNTER Metric_MetricKind = 0 Metric_GAUGE Metric_MetricKind = 1 Metric_HISTOGRAM Metric_MetricKind = 2 )
func (Metric_MetricKind) Descriptor ¶ added in v1.11.0
func (Metric_MetricKind) Descriptor() protoreflect.EnumDescriptor
func (Metric_MetricKind) Enum ¶ added in v1.11.0
func (x Metric_MetricKind) Enum() *Metric_MetricKind
func (Metric_MetricKind) EnumDescriptor
deprecated
added in
v1.11.0
func (Metric_MetricKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Metric_MetricKind.Descriptor instead.
func (Metric_MetricKind) Number ¶ added in v1.11.0
func (x Metric_MetricKind) Number() protoreflect.EnumNumber
func (Metric_MetricKind) String ¶ added in v1.11.0
func (x Metric_MetricKind) String() string
func (Metric_MetricKind) Type ¶ added in v1.11.0
func (Metric_MetricKind) Type() protoreflect.EnumType
type Middleware ¶ added in v1.5.0
type Middleware struct { Name *QualifiedName `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Doc string `protobuf:"bytes,2,opt,name=doc,proto3" json:"doc,omitempty"` Loc *v1.Loc `protobuf:"bytes,3,opt,name=loc,proto3" json:"loc,omitempty"` Global bool `protobuf:"varint,4,opt,name=global,proto3" json:"global,omitempty"` ServiceName *string `protobuf:"bytes,5,opt,name=service_name,json=serviceName,proto3,oneof" json:"service_name,omitempty"` // nil if global Target []*Selector `protobuf:"bytes,6,rep,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
func (*Middleware) Descriptor
deprecated
added in
v1.5.0
func (*Middleware) Descriptor() ([]byte, []int)
Deprecated: Use Middleware.ProtoReflect.Descriptor instead.
func (*Middleware) GetDoc ¶ added in v1.5.0
func (x *Middleware) GetDoc() string
func (*Middleware) GetGlobal ¶ added in v1.5.0
func (x *Middleware) GetGlobal() bool
func (*Middleware) GetLoc ¶ added in v1.5.0
func (x *Middleware) GetLoc() *v1.Loc
func (*Middleware) GetName ¶ added in v1.5.0
func (x *Middleware) GetName() *QualifiedName
func (*Middleware) GetServiceName ¶ added in v1.5.0
func (x *Middleware) GetServiceName() string
func (*Middleware) GetTarget ¶ added in v1.5.0
func (x *Middleware) GetTarget() []*Selector
func (*Middleware) ProtoMessage ¶ added in v1.5.0
func (*Middleware) ProtoMessage()
func (*Middleware) ProtoReflect ¶ added in v1.5.0
func (x *Middleware) ProtoReflect() protoreflect.Message
func (*Middleware) Reset ¶ added in v1.5.0
func (x *Middleware) Reset()
func (*Middleware) String ¶ added in v1.5.0
func (x *Middleware) String() string
type MiddlewareDefNode ¶ added in v1.5.0
type MiddlewareDefNode struct { PkgRelPath string `protobuf:"bytes,1,opt,name=pkg_rel_path,json=pkgRelPath,proto3" json:"pkg_rel_path,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"` Target []*Selector `protobuf:"bytes,4,rep,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
func (*MiddlewareDefNode) Descriptor
deprecated
added in
v1.5.0
func (*MiddlewareDefNode) Descriptor() ([]byte, []int)
Deprecated: Use MiddlewareDefNode.ProtoReflect.Descriptor instead.
func (*MiddlewareDefNode) GetContext ¶ added in v1.5.0
func (x *MiddlewareDefNode) GetContext() string
func (*MiddlewareDefNode) GetName ¶ added in v1.5.0
func (x *MiddlewareDefNode) GetName() string
func (*MiddlewareDefNode) GetPkgRelPath ¶ added in v1.5.0
func (x *MiddlewareDefNode) GetPkgRelPath() string
func (*MiddlewareDefNode) GetTarget ¶ added in v1.5.0
func (x *MiddlewareDefNode) GetTarget() []*Selector
func (*MiddlewareDefNode) ProtoMessage ¶ added in v1.5.0
func (*MiddlewareDefNode) ProtoMessage()
func (*MiddlewareDefNode) ProtoReflect ¶ added in v1.5.0
func (x *MiddlewareDefNode) ProtoReflect() protoreflect.Message
func (*MiddlewareDefNode) Reset ¶ added in v1.5.0
func (x *MiddlewareDefNode) Reset()
func (*MiddlewareDefNode) String ¶ added in v1.5.0
func (x *MiddlewareDefNode) 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) GetRelPath ¶
func (*Package) GetRpcCalls ¶
func (x *Package) GetRpcCalls() []*QualifiedName
func (*Package) GetSecrets ¶
func (*Package) GetServiceName ¶
func (*Package) GetTraceNodes ¶
func (*Package) ProtoMessage ¶
func (*Package) ProtoMessage()
func (*Package) ProtoReflect ¶
func (x *Package) ProtoReflect() protoreflect.Message
type Path ¶ added in v0.16.2
type Path struct { Segments []*PathSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"` Type Path_Type `protobuf:"varint,2,opt,name=type,proto3,enum=encore.parser.meta.v1.Path_Type" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Path) Descriptor
deprecated
added in
v0.16.2
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
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_INT PathSegment_ParamType = 6 PathSegment_UINT8 PathSegment_ParamType = 7 PathSegment_UINT16 PathSegment_ParamType = 8 PathSegment_UINT32 PathSegment_ParamType = 9 PathSegment_UINT64 PathSegment_ParamType = 10 PathSegment_UINT PathSegment_ParamType = 11 PathSegment_UUID PathSegment_ParamType = 12 )
func (PathSegment_ParamType) Descriptor ¶ added in v0.16.2
func (PathSegment_ParamType) Descriptor() protoreflect.EnumDescriptor
func (PathSegment_ParamType) Enum ¶ added in v0.16.2
func (x PathSegment_ParamType) Enum() *PathSegment_ParamType
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 (x PathSegment_ParamType) Number() protoreflect.EnumNumber
func (PathSegment_ParamType) String ¶ added in v0.16.2
func (x PathSegment_ParamType) String() string
func (PathSegment_ParamType) Type ¶ added in v0.16.2
func (PathSegment_ParamType) Type() protoreflect.EnumType
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 PathSegment_FALLBACK PathSegment_SegmentType = 3 )
func (PathSegment_SegmentType) Descriptor ¶ added in v0.16.2
func (PathSegment_SegmentType) Descriptor() protoreflect.EnumDescriptor
func (PathSegment_SegmentType) Enum ¶ added in v0.16.2
func (x PathSegment_SegmentType) Enum() *PathSegment_SegmentType
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 (x PathSegment_SegmentType) Number() protoreflect.EnumNumber
func (PathSegment_SegmentType) String ¶ added in v0.16.2
func (x PathSegment_SegmentType) String() string
func (PathSegment_SegmentType) Type ¶ added in v0.16.2
func (PathSegment_SegmentType) Type() protoreflect.EnumType
type Path_Type ¶ added in v1.7.0
type Path_Type int32
func (Path_Type) Descriptor ¶ added in v1.7.0
func (Path_Type) Descriptor() protoreflect.EnumDescriptor
func (Path_Type) EnumDescriptor
deprecated
added in
v1.7.0
func (Path_Type) Number ¶ added in v1.7.0
func (x Path_Type) Number() protoreflect.EnumNumber
func (Path_Type) Type ¶ added in v1.7.0
func (Path_Type) Type() protoreflect.EnumType
type PubSubPublishNode ¶ added in v1.3.0
type PubSubPublishNode struct { TopicName string `protobuf:"bytes,1,opt,name=topic_name,json=topicName,proto3" json:"topic_name,omitempty"` Context string `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*PubSubPublishNode) Descriptor
deprecated
added in
v1.3.0
func (*PubSubPublishNode) Descriptor() ([]byte, []int)
Deprecated: Use PubSubPublishNode.ProtoReflect.Descriptor instead.
func (*PubSubPublishNode) GetContext ¶ added in v1.3.0
func (x *PubSubPublishNode) GetContext() string
func (*PubSubPublishNode) GetTopicName ¶ added in v1.3.0
func (x *PubSubPublishNode) GetTopicName() string
func (*PubSubPublishNode) ProtoMessage ¶ added in v1.3.0
func (*PubSubPublishNode) ProtoMessage()
func (*PubSubPublishNode) ProtoReflect ¶ added in v1.3.0
func (x *PubSubPublishNode) ProtoReflect() protoreflect.Message
func (*PubSubPublishNode) Reset ¶ added in v1.3.0
func (x *PubSubPublishNode) Reset()
func (*PubSubPublishNode) String ¶ added in v1.3.0
func (x *PubSubPublishNode) String() string
type PubSubSubscriberNode ¶ added in v1.3.0
type PubSubSubscriberNode struct { TopicName string `protobuf:"bytes,1,opt,name=topic_name,json=topicName,proto3" json:"topic_name,omitempty"` SubscriberName string `protobuf:"bytes,2,opt,name=subscriber_name,json=subscriberName,proto3" json:"subscriber_name,omitempty"` ServiceName string `protobuf:"bytes,3,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Context string `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*PubSubSubscriberNode) Descriptor
deprecated
added in
v1.3.0
func (*PubSubSubscriberNode) Descriptor() ([]byte, []int)
Deprecated: Use PubSubSubscriberNode.ProtoReflect.Descriptor instead.
func (*PubSubSubscriberNode) GetContext ¶ added in v1.3.0
func (x *PubSubSubscriberNode) GetContext() string
func (*PubSubSubscriberNode) GetServiceName ¶ added in v1.3.0
func (x *PubSubSubscriberNode) GetServiceName() string
func (*PubSubSubscriberNode) GetSubscriberName ¶ added in v1.3.0
func (x *PubSubSubscriberNode) GetSubscriberName() string
func (*PubSubSubscriberNode) GetTopicName ¶ added in v1.3.0
func (x *PubSubSubscriberNode) GetTopicName() string
func (*PubSubSubscriberNode) ProtoMessage ¶ added in v1.3.0
func (*PubSubSubscriberNode) ProtoMessage()
func (*PubSubSubscriberNode) ProtoReflect ¶ added in v1.3.0
func (x *PubSubSubscriberNode) ProtoReflect() protoreflect.Message
func (*PubSubSubscriberNode) Reset ¶ added in v1.3.0
func (x *PubSubSubscriberNode) Reset()
func (*PubSubSubscriberNode) String ¶ added in v1.3.0
func (x *PubSubSubscriberNode) String() string
type PubSubTopic ¶ added in v1.3.0
type PubSubTopic struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The pub sub topic name (unique per application) Doc *string `protobuf:"bytes,2,opt,name=doc,proto3,oneof" json:"doc,omitempty"` // The documentation for the topic MessageType *v1.Type `protobuf:"bytes,3,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"` // The type of the message DeliveryGuarantee PubSubTopic_DeliveryGuarantee `` // The delivery guarantee for the topic /* 170-byte string literal not displayed */ OrderingKey string `protobuf:"bytes,5,opt,name=ordering_key,json=orderingKey,proto3" json:"ordering_key,omitempty"` // The field used to group messages; if empty, the topic is not ordered Publishers []*PubSubTopic_Publisher `protobuf:"bytes,6,rep,name=publishers,proto3" json:"publishers,omitempty"` // The publishers for this topic Subscriptions []*PubSubTopic_Subscription `protobuf:"bytes,7,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"` // The subscriptions to the topic // contains filtered or unexported fields }
func (*PubSubTopic) Descriptor
deprecated
added in
v1.3.0
func (*PubSubTopic) Descriptor() ([]byte, []int)
Deprecated: Use PubSubTopic.ProtoReflect.Descriptor instead.
func (*PubSubTopic) GetDeliveryGuarantee ¶ added in v1.3.0
func (x *PubSubTopic) GetDeliveryGuarantee() PubSubTopic_DeliveryGuarantee
func (*PubSubTopic) GetDoc ¶ added in v1.3.0
func (x *PubSubTopic) GetDoc() string
func (*PubSubTopic) GetMessageType ¶ added in v1.3.0
func (x *PubSubTopic) GetMessageType() *v1.Type
func (*PubSubTopic) GetName ¶ added in v1.3.0
func (x *PubSubTopic) GetName() string
func (*PubSubTopic) GetOrderingKey ¶ added in v1.3.0
func (x *PubSubTopic) GetOrderingKey() string
func (*PubSubTopic) GetPublishers ¶ added in v1.3.0
func (x *PubSubTopic) GetPublishers() []*PubSubTopic_Publisher
func (*PubSubTopic) GetSubscriptions ¶ added in v1.3.0
func (x *PubSubTopic) GetSubscriptions() []*PubSubTopic_Subscription
func (*PubSubTopic) ProtoMessage ¶ added in v1.3.0
func (*PubSubTopic) ProtoMessage()
func (*PubSubTopic) ProtoReflect ¶ added in v1.3.0
func (x *PubSubTopic) ProtoReflect() protoreflect.Message
func (*PubSubTopic) Reset ¶ added in v1.3.0
func (x *PubSubTopic) Reset()
func (*PubSubTopic) String ¶ added in v1.3.0
func (x *PubSubTopic) String() string
type PubSubTopicDefNode ¶ added in v1.3.0
type PubSubTopicDefNode struct { TopicName string `protobuf:"bytes,1,opt,name=topic_name,json=topicName,proto3" json:"topic_name,omitempty"` Context string `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*PubSubTopicDefNode) Descriptor
deprecated
added in
v1.3.0
func (*PubSubTopicDefNode) Descriptor() ([]byte, []int)
Deprecated: Use PubSubTopicDefNode.ProtoReflect.Descriptor instead.
func (*PubSubTopicDefNode) GetContext ¶ added in v1.3.0
func (x *PubSubTopicDefNode) GetContext() string
func (*PubSubTopicDefNode) GetTopicName ¶ added in v1.3.0
func (x *PubSubTopicDefNode) GetTopicName() string
func (*PubSubTopicDefNode) ProtoMessage ¶ added in v1.3.0
func (*PubSubTopicDefNode) ProtoMessage()
func (*PubSubTopicDefNode) ProtoReflect ¶ added in v1.3.0
func (x *PubSubTopicDefNode) ProtoReflect() protoreflect.Message
func (*PubSubTopicDefNode) Reset ¶ added in v1.3.0
func (x *PubSubTopicDefNode) Reset()
func (*PubSubTopicDefNode) String ¶ added in v1.3.0
func (x *PubSubTopicDefNode) String() string
type PubSubTopic_DeliveryGuarantee ¶ added in v1.3.0
type PubSubTopic_DeliveryGuarantee int32
const ( PubSubTopic_AT_LEAST_ONCE PubSubTopic_DeliveryGuarantee = 0 // All messages will be delivered to each subscription at least once PubSubTopic_EXACTLY_ONCE PubSubTopic_DeliveryGuarantee = 1 // All messages will be delivered to each subscription exactly once )
func (PubSubTopic_DeliveryGuarantee) Descriptor ¶ added in v1.3.0
func (PubSubTopic_DeliveryGuarantee) Descriptor() protoreflect.EnumDescriptor
func (PubSubTopic_DeliveryGuarantee) Enum ¶ added in v1.3.0
func (x PubSubTopic_DeliveryGuarantee) Enum() *PubSubTopic_DeliveryGuarantee
func (PubSubTopic_DeliveryGuarantee) EnumDescriptor
deprecated
added in
v1.3.0
func (PubSubTopic_DeliveryGuarantee) EnumDescriptor() ([]byte, []int)
Deprecated: Use PubSubTopic_DeliveryGuarantee.Descriptor instead.
func (PubSubTopic_DeliveryGuarantee) Number ¶ added in v1.3.0
func (x PubSubTopic_DeliveryGuarantee) Number() protoreflect.EnumNumber
func (PubSubTopic_DeliveryGuarantee) String ¶ added in v1.3.0
func (x PubSubTopic_DeliveryGuarantee) String() string
func (PubSubTopic_DeliveryGuarantee) Type ¶ added in v1.3.0
func (PubSubTopic_DeliveryGuarantee) Type() protoreflect.EnumType
type PubSubTopic_Publisher ¶ added in v1.3.0
type PubSubTopic_Publisher struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // The service the publisher is in // contains filtered or unexported fields }
func (*PubSubTopic_Publisher) Descriptor
deprecated
added in
v1.3.0
func (*PubSubTopic_Publisher) Descriptor() ([]byte, []int)
Deprecated: Use PubSubTopic_Publisher.ProtoReflect.Descriptor instead.
func (*PubSubTopic_Publisher) GetServiceName ¶ added in v1.3.0
func (x *PubSubTopic_Publisher) GetServiceName() string
func (*PubSubTopic_Publisher) ProtoMessage ¶ added in v1.3.0
func (*PubSubTopic_Publisher) ProtoMessage()
func (*PubSubTopic_Publisher) ProtoReflect ¶ added in v1.3.0
func (x *PubSubTopic_Publisher) ProtoReflect() protoreflect.Message
func (*PubSubTopic_Publisher) Reset ¶ added in v1.3.0
func (x *PubSubTopic_Publisher) Reset()
func (*PubSubTopic_Publisher) String ¶ added in v1.3.0
func (x *PubSubTopic_Publisher) String() string
type PubSubTopic_RetryPolicy ¶ added in v1.3.0
type PubSubTopic_RetryPolicy struct { MinBackoff int64 `protobuf:"varint,1,opt,name=min_backoff,json=minBackoff,proto3" json:"min_backoff,omitempty"` // min backoff in nanoseconds MaxBackoff int64 `protobuf:"varint,2,opt,name=max_backoff,json=maxBackoff,proto3" json:"max_backoff,omitempty"` // max backoff in nanoseconds MaxRetries int64 `protobuf:"varint,3,opt,name=max_retries,json=maxRetries,proto3" json:"max_retries,omitempty"` // max number of retries // contains filtered or unexported fields }
func (*PubSubTopic_RetryPolicy) Descriptor
deprecated
added in
v1.3.0
func (*PubSubTopic_RetryPolicy) Descriptor() ([]byte, []int)
Deprecated: Use PubSubTopic_RetryPolicy.ProtoReflect.Descriptor instead.
func (*PubSubTopic_RetryPolicy) GetMaxBackoff ¶ added in v1.3.0
func (x *PubSubTopic_RetryPolicy) GetMaxBackoff() int64
func (*PubSubTopic_RetryPolicy) GetMaxRetries ¶ added in v1.3.0
func (x *PubSubTopic_RetryPolicy) GetMaxRetries() int64
func (*PubSubTopic_RetryPolicy) GetMinBackoff ¶ added in v1.3.0
func (x *PubSubTopic_RetryPolicy) GetMinBackoff() int64
func (*PubSubTopic_RetryPolicy) ProtoMessage ¶ added in v1.3.0
func (*PubSubTopic_RetryPolicy) ProtoMessage()
func (*PubSubTopic_RetryPolicy) ProtoReflect ¶ added in v1.3.0
func (x *PubSubTopic_RetryPolicy) ProtoReflect() protoreflect.Message
func (*PubSubTopic_RetryPolicy) Reset ¶ added in v1.3.0
func (x *PubSubTopic_RetryPolicy) Reset()
func (*PubSubTopic_RetryPolicy) String ¶ added in v1.3.0
func (x *PubSubTopic_RetryPolicy) String() string
type PubSubTopic_Subscription ¶ added in v1.3.0
type PubSubTopic_Subscription struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The unique name of the subscription for this topic ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // The service that the subscriber is in AckDeadline int64 `protobuf:"varint,3,opt,name=ack_deadline,json=ackDeadline,proto3" json:"ack_deadline,omitempty"` // How long has a consumer got to process and ack a message in nanoseconds MessageRetention int64 `protobuf:"varint,4,opt,name=message_retention,json=messageRetention,proto3" json:"message_retention,omitempty"` // How long is an undelivered message kept in nanoseconds RetryPolicy *PubSubTopic_RetryPolicy `protobuf:"bytes,5,opt,name=retry_policy,json=retryPolicy,proto3" json:"retry_policy,omitempty"` // The retry policy for the subscription // How many messages each instance can process concurrently. // If not set, the default is provider-specific. MaxConcurrency *int32 `protobuf:"varint,6,opt,name=max_concurrency,json=maxConcurrency,proto3,oneof" json:"max_concurrency,omitempty"` // contains filtered or unexported fields }
func (*PubSubTopic_Subscription) Descriptor
deprecated
added in
v1.3.0
func (*PubSubTopic_Subscription) Descriptor() ([]byte, []int)
Deprecated: Use PubSubTopic_Subscription.ProtoReflect.Descriptor instead.
func (*PubSubTopic_Subscription) GetAckDeadline ¶ added in v1.3.0
func (x *PubSubTopic_Subscription) GetAckDeadline() int64
func (*PubSubTopic_Subscription) GetMaxConcurrency ¶ added in v1.35.3
func (x *PubSubTopic_Subscription) GetMaxConcurrency() int32
func (*PubSubTopic_Subscription) GetMessageRetention ¶ added in v1.3.0
func (x *PubSubTopic_Subscription) GetMessageRetention() int64
func (*PubSubTopic_Subscription) GetName ¶ added in v1.3.0
func (x *PubSubTopic_Subscription) GetName() string
func (*PubSubTopic_Subscription) GetRetryPolicy ¶ added in v1.3.0
func (x *PubSubTopic_Subscription) GetRetryPolicy() *PubSubTopic_RetryPolicy
func (*PubSubTopic_Subscription) GetServiceName ¶ added in v1.3.0
func (x *PubSubTopic_Subscription) GetServiceName() string
func (*PubSubTopic_Subscription) ProtoMessage ¶ added in v1.3.0
func (*PubSubTopic_Subscription) ProtoMessage()
func (*PubSubTopic_Subscription) ProtoReflect ¶ added in v1.3.0
func (x *PubSubTopic_Subscription) ProtoReflect() protoreflect.Message
func (*PubSubTopic_Subscription) Reset ¶ added in v1.3.0
func (x *PubSubTopic_Subscription) Reset()
func (*PubSubTopic_Subscription) String ¶ added in v1.3.0
func (x *PubSubTopic_Subscription) String() string
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,oneof" 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.Type `protobuf:"bytes,5,opt,name=request_schema,json=requestSchema,proto3,oneof" json:"request_schema,omitempty"` // request schema, or nil ResponseSchema *v1.Type `protobuf:"bytes,6,opt,name=response_schema,json=responseSchema,proto3,oneof" 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"` Tags []*Selector `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"` // sensitive reports whether the whole payload is sensitive. // If true, none of the request/response payload will be traced. Sensitive bool `protobuf:"varint,12,opt,name=sensitive,proto3" json:"sensitive,omitempty"` // Whether the endpoint can be called without auth parameters. AllowUnauthenticated bool `protobuf:"varint,13,opt,name=allow_unauthenticated,json=allowUnauthenticated,proto3" json:"allow_unauthenticated,omitempty"` // Whether the endpoint is exposed to the public, keyed by gateway. Expose map[string]*RPC_ExposeOptions `` /* 154-byte string literal not displayed */ // The maximum size of the request body in bytes. // If not set, defaults to no limit. BodyLimit *uint64 `protobuf:"varint,15,opt,name=body_limit,json=bodyLimit,proto3,oneof" json:"body_limit,omitempty"` // If the endpoint is streaming StreamingRequest bool `protobuf:"varint,16,opt,name=streaming_request,json=streamingRequest,proto3" json:"streaming_request,omitempty"` StreamingResponse bool `protobuf:"varint,17,opt,name=streaming_response,json=streamingResponse,proto3" json:"streaming_response,omitempty"` HandshakeSchema *v1.Type `protobuf:"bytes,18,opt,name=handshake_schema,json=handshakeSchema,proto3,oneof" json:"handshake_schema,omitempty"` // handshake schema, or nil // If the endpoint serves static assets. StaticAssets *RPC_StaticAssets `protobuf:"bytes,19,opt,name=static_assets,json=staticAssets,proto3,oneof" json:"static_assets,omitempty"` // contains filtered or unexported fields }
func (*RPC) Descriptor
deprecated
func (*RPC) GetAccessType ¶
func (x *RPC) GetAccessType() RPC_AccessType
func (*RPC) GetAllowUnauthenticated ¶ added in v1.33.0
func (*RPC) GetBodyLimit ¶ added in v1.39.0
func (*RPC) GetExpose ¶ added in v1.33.0
func (x *RPC) GetExpose() map[string]*RPC_ExposeOptions
func (*RPC) GetHandshakeSchema ¶ added in v1.40.0
func (*RPC) GetHttpMethods ¶ added in v0.16.2
func (*RPC) GetProto ¶
func (x *RPC) GetProto() RPC_Protocol
func (*RPC) GetRequestSchema ¶
func (*RPC) GetResponseSchema ¶
func (*RPC) GetSensitive ¶ added in v1.22.1
func (*RPC) GetServiceName ¶
func (*RPC) GetStaticAssets ¶ added in v1.41.1
func (x *RPC) GetStaticAssets() *RPC_StaticAssets
func (*RPC) GetStreamingRequest ¶ added in v1.40.0
func (*RPC) GetStreamingResponse ¶ added in v1.40.0
func (*RPC) ProtoMessage ¶
func (*RPC) ProtoMessage()
func (*RPC) ProtoReflect ¶
func (x *RPC) ProtoReflect() protoreflect.Message
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) Descriptor() protoreflect.EnumDescriptor
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 (x RPC_AccessType) Number() protoreflect.EnumNumber
func (RPC_AccessType) String ¶
func (x RPC_AccessType) String() string
func (RPC_AccessType) Type ¶
func (RPC_AccessType) Type() protoreflect.EnumType
type RPC_ExposeOptions ¶ added in v1.33.0
type RPC_ExposeOptions struct {
// contains filtered or unexported fields
}
func (*RPC_ExposeOptions) Descriptor
deprecated
added in
v1.33.0
func (*RPC_ExposeOptions) Descriptor() ([]byte, []int)
Deprecated: Use RPC_ExposeOptions.ProtoReflect.Descriptor instead.
func (*RPC_ExposeOptions) ProtoMessage ¶ added in v1.33.0
func (*RPC_ExposeOptions) ProtoMessage()
func (*RPC_ExposeOptions) ProtoReflect ¶ added in v1.33.0
func (x *RPC_ExposeOptions) ProtoReflect() protoreflect.Message
func (*RPC_ExposeOptions) Reset ¶ added in v1.33.0
func (x *RPC_ExposeOptions) Reset()
func (*RPC_ExposeOptions) String ¶ added in v1.33.0
func (x *RPC_ExposeOptions) String() string
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) Descriptor() protoreflect.EnumDescriptor
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 (x RPC_Protocol) Number() protoreflect.EnumNumber
func (RPC_Protocol) String ¶
func (x RPC_Protocol) String() string
func (RPC_Protocol) Type ¶
func (RPC_Protocol) Type() protoreflect.EnumType
type RPC_StaticAssets ¶ added in v1.41.1
type RPC_StaticAssets struct { // dir_rel_path is the slash-separated path to the static files directory, // relative to the app root. DirRelPath string `protobuf:"bytes,1,opt,name=dir_rel_path,json=dirRelPath,proto3" json:"dir_rel_path,omitempty"` // not_found_rel_path is the relative path to the file to serve when the requested // file is not found. It is relative to the files_rel_path directory. NotFoundRelPath *string `protobuf:"bytes,2,opt,name=not_found_rel_path,json=notFoundRelPath,proto3,oneof" json:"not_found_rel_path,omitempty"` // contains filtered or unexported fields }
func (*RPC_StaticAssets) Descriptor
deprecated
added in
v1.41.1
func (*RPC_StaticAssets) Descriptor() ([]byte, []int)
Deprecated: Use RPC_StaticAssets.ProtoReflect.Descriptor instead.
func (*RPC_StaticAssets) GetDirRelPath ¶ added in v1.41.1
func (x *RPC_StaticAssets) GetDirRelPath() string
func (*RPC_StaticAssets) GetNotFoundRelPath ¶ added in v1.41.1
func (x *RPC_StaticAssets) GetNotFoundRelPath() string
func (*RPC_StaticAssets) ProtoMessage ¶ added in v1.41.1
func (*RPC_StaticAssets) ProtoMessage()
func (*RPC_StaticAssets) ProtoReflect ¶ added in v1.41.1
func (x *RPC_StaticAssets) ProtoReflect() protoreflect.Message
func (*RPC_StaticAssets) Reset ¶ added in v1.41.1
func (x *RPC_StaticAssets) Reset()
func (*RPC_StaticAssets) String ¶ added in v1.41.1
func (x *RPC_StaticAssets) String() string
type SQLDatabase ¶ added in v1.16.3
type SQLDatabase struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Doc *string `protobuf:"bytes,2,opt,name=doc,proto3,oneof" json:"doc,omitempty"` // migration_rel_path is the slash-separated path to the migrations, // relative to the main module's root directory. MigrationRelPath *string `protobuf:"bytes,3,opt,name=migration_rel_path,json=migrationRelPath,proto3,oneof" json:"migration_rel_path,omitempty"` Migrations []*DBMigration `protobuf:"bytes,4,rep,name=migrations,proto3" json:"migrations,omitempty"` // contains filtered or unexported fields }
func (*SQLDatabase) Descriptor
deprecated
added in
v1.16.3
func (*SQLDatabase) Descriptor() ([]byte, []int)
Deprecated: Use SQLDatabase.ProtoReflect.Descriptor instead.
func (*SQLDatabase) GetDoc ¶ added in v1.16.3
func (x *SQLDatabase) GetDoc() string
func (*SQLDatabase) GetMigrationRelPath ¶ added in v1.16.3
func (x *SQLDatabase) GetMigrationRelPath() string
func (*SQLDatabase) GetMigrations ¶ added in v1.16.3
func (x *SQLDatabase) GetMigrations() []*DBMigration
func (*SQLDatabase) GetName ¶ added in v1.16.3
func (x *SQLDatabase) GetName() string
func (*SQLDatabase) ProtoMessage ¶ added in v1.16.3
func (*SQLDatabase) ProtoMessage()
func (*SQLDatabase) ProtoReflect ¶ added in v1.16.3
func (x *SQLDatabase) ProtoReflect() protoreflect.Message
func (*SQLDatabase) Reset ¶ added in v1.16.3
func (x *SQLDatabase) Reset()
func (*SQLDatabase) String ¶ added in v1.16.3
func (x *SQLDatabase) String() string
type Selector ¶ added in v1.5.0
type Selector struct { Type Selector_Type `protobuf:"varint,1,opt,name=type,proto3,enum=encore.parser.meta.v1.Selector_Type" json:"type,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Selector) Descriptor
deprecated
added in
v1.5.0
func (*Selector) GetType ¶ added in v1.5.0
func (x *Selector) GetType() Selector_Type
func (*Selector) ProtoMessage ¶ added in v1.5.0
func (*Selector) ProtoMessage()
func (*Selector) ProtoReflect ¶ added in v1.5.0
func (x *Selector) ProtoReflect() protoreflect.Message
type Selector_Type ¶ added in v1.5.0
type Selector_Type int32
const ( Selector_UNKNOWN Selector_Type = 0 Selector_ALL Selector_Type = 1 Selector_TAG Selector_Type = 2 // NOTE: If more types are added, update the (selector.Selector).ToProto method. )
func (Selector_Type) Descriptor ¶ added in v1.5.0
func (Selector_Type) Descriptor() protoreflect.EnumDescriptor
func (Selector_Type) Enum ¶ added in v1.5.0
func (x Selector_Type) Enum() *Selector_Type
func (Selector_Type) EnumDescriptor
deprecated
added in
v1.5.0
func (Selector_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Selector_Type.Descriptor instead.
func (Selector_Type) Number ¶ added in v1.5.0
func (x Selector_Type) Number() protoreflect.EnumNumber
func (Selector_Type) String ¶ added in v1.5.0
func (x Selector_Type) String() string
func (Selector_Type) Type ¶ added in v1.5.0
func (Selector_Type) Type() protoreflect.EnumType
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"` Databases []string `protobuf:"bytes,5,rep,name=databases,proto3" json:"databases,omitempty"` // databases this service connects to HasConfig bool `protobuf:"varint,6,opt,name=has_config,json=hasConfig,proto3" json:"has_config,omitempty"` // true if the service has uses config // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) GetDatabases ¶ added in v1.1.0
func (*Service) GetHasConfig ¶ added in v1.9.0
func (*Service) GetMigrations ¶
func (x *Service) GetMigrations() []*DBMigration
func (*Service) GetRelPath ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type ServiceInitNode ¶ added in v1.5.0
type ServiceInitNode struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` SetupFuncName string `protobuf:"bytes,2,opt,name=setup_func_name,json=setupFuncName,proto3" json:"setup_func_name,omitempty"` Context string `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"` // contains filtered or unexported fields }
func (*ServiceInitNode) Descriptor
deprecated
added in
v1.5.0
func (*ServiceInitNode) Descriptor() ([]byte, []int)
Deprecated: Use ServiceInitNode.ProtoReflect.Descriptor instead.
func (*ServiceInitNode) GetContext ¶ added in v1.5.0
func (x *ServiceInitNode) GetContext() string
func (*ServiceInitNode) GetServiceName ¶ added in v1.5.0
func (x *ServiceInitNode) GetServiceName() string
func (*ServiceInitNode) GetSetupFuncName ¶ added in v1.5.0
func (x *ServiceInitNode) GetSetupFuncName() string
func (*ServiceInitNode) ProtoMessage ¶ added in v1.5.0
func (*ServiceInitNode) ProtoMessage()
func (*ServiceInitNode) ProtoReflect ¶ added in v1.5.0
func (x *ServiceInitNode) ProtoReflect() protoreflect.Message
func (*ServiceInitNode) Reset ¶ added in v1.5.0
func (x *ServiceInitNode) Reset()
func (*ServiceInitNode) String ¶ added in v1.5.0
func (x *ServiceInitNode) 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) Descriptor() protoreflect.EnumDescriptor
func (StaticCallNode_Package) Enum ¶
func (x StaticCallNode_Package) Enum() *StaticCallNode_Package
func (StaticCallNode_Package) EnumDescriptor
deprecated
func (StaticCallNode_Package) EnumDescriptor() ([]byte, []int)
Deprecated: Use StaticCallNode_Package.Descriptor instead.
func (StaticCallNode_Package) Number ¶
func (x StaticCallNode_Package) Number() protoreflect.EnumNumber
func (StaticCallNode_Package) String ¶
func (x StaticCallNode_Package) String() string
func (StaticCallNode_Package) Type ¶
func (StaticCallNode_Package) Type() protoreflect.EnumType
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 // *TraceNode_PubsubTopicDef // *TraceNode_PubsubPublish // *TraceNode_PubsubSubscriber // *TraceNode_ServiceInit // *TraceNode_MiddlewareDef // *TraceNode_CacheKeyspace Context isTraceNode_Context `protobuf_oneof:"context"` // contains filtered or unexported fields }
func (*TraceNode) Descriptor
deprecated
func (*TraceNode) GetAuthHandlerDef ¶
func (x *TraceNode) GetAuthHandlerDef() *AuthHandlerDefNode
func (*TraceNode) GetCacheKeyspace ¶ added in v1.7.0
func (x *TraceNode) GetCacheKeyspace() *CacheKeyspaceDefNode
func (*TraceNode) GetContext ¶
func (m *TraceNode) GetContext() isTraceNode_Context
func (*TraceNode) GetFilepath ¶
func (*TraceNode) GetMiddlewareDef ¶ added in v1.5.0
func (x *TraceNode) GetMiddlewareDef() *MiddlewareDefNode
func (*TraceNode) GetPubsubPublish ¶ added in v1.3.0
func (x *TraceNode) GetPubsubPublish() *PubSubPublishNode
func (*TraceNode) GetPubsubSubscriber ¶ added in v1.3.0
func (x *TraceNode) GetPubsubSubscriber() *PubSubSubscriberNode
func (*TraceNode) GetPubsubTopicDef ¶ added in v1.3.0
func (x *TraceNode) GetPubsubTopicDef() *PubSubTopicDefNode
func (*TraceNode) GetRpcCall ¶
func (x *TraceNode) GetRpcCall() *RPCCallNode
func (*TraceNode) GetRpcDef ¶
func (x *TraceNode) GetRpcDef() *RPCDefNode
func (*TraceNode) GetServiceInit ¶ added in v1.5.0
func (x *TraceNode) GetServiceInit() *ServiceInitNode
func (*TraceNode) GetSrcColEnd ¶
func (*TraceNode) GetSrcColStart ¶
func (*TraceNode) GetSrcLineEnd ¶
func (*TraceNode) GetSrcLineStart ¶
func (*TraceNode) GetStartPos ¶
func (*TraceNode) GetStaticCall ¶
func (x *TraceNode) GetStaticCall() *StaticCallNode
func (*TraceNode) ProtoMessage ¶
func (*TraceNode) ProtoMessage()
func (*TraceNode) ProtoReflect ¶
func (x *TraceNode) ProtoReflect() protoreflect.Message
type TraceNode_AuthHandlerDef ¶
type TraceNode_AuthHandlerDef struct {
AuthHandlerDef *AuthHandlerDefNode `protobuf:"bytes,13,opt,name=auth_handler_def,json=authHandlerDef,proto3,oneof"`
}
type TraceNode_CacheKeyspace ¶ added in v1.7.0
type TraceNode_CacheKeyspace struct {
CacheKeyspace *CacheKeyspaceDefNode `protobuf:"bytes,19,opt,name=cache_keyspace,json=cacheKeyspace,proto3,oneof"`
}
type TraceNode_MiddlewareDef ¶ added in v1.5.0
type TraceNode_MiddlewareDef struct {
MiddlewareDef *MiddlewareDefNode `protobuf:"bytes,18,opt,name=middleware_def,json=middlewareDef,proto3,oneof"`
}
type TraceNode_PubsubPublish ¶ added in v1.3.0
type TraceNode_PubsubPublish struct {
PubsubPublish *PubSubPublishNode `protobuf:"bytes,15,opt,name=pubsub_publish,json=pubsubPublish,proto3,oneof"`
}
type TraceNode_PubsubSubscriber ¶ added in v1.3.0
type TraceNode_PubsubSubscriber struct {
PubsubSubscriber *PubSubSubscriberNode `protobuf:"bytes,16,opt,name=pubsub_subscriber,json=pubsubSubscriber,proto3,oneof"`
}
type TraceNode_PubsubTopicDef ¶ added in v1.3.0
type TraceNode_PubsubTopicDef struct {
PubsubTopicDef *PubSubTopicDefNode `protobuf:"bytes,14,opt,name=pubsub_topic_def,json=pubsubTopicDef,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_ServiceInit ¶ added in v1.5.0
type TraceNode_ServiceInit struct {
ServiceInit *ServiceInitNode `protobuf:"bytes,17,opt,name=service_init,json=serviceInit,proto3,oneof"`
}
type TraceNode_StaticCall ¶
type TraceNode_StaticCall struct {
StaticCall *StaticCallNode `protobuf:"bytes,12,opt,name=static_call,json=staticCall,proto3,oneof"`
}