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 Bucket
- func (*Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *Bucket) GetDoc() string
- func (x *Bucket) GetName() string
- func (x *Bucket) GetPublic() bool
- func (x *Bucket) GetVersioned() bool
- func (*Bucket) ProtoMessage()
- func (x *Bucket) ProtoReflect() protoreflect.Message
- func (x *Bucket) Reset()
- func (x *Bucket) String() string
- type BucketUsage
- func (*BucketUsage) Descriptor() ([]byte, []int)deprecated
- func (x *BucketUsage) GetBucket() string
- func (x *BucketUsage) GetOperations() []BucketUsage_Operation
- func (*BucketUsage) ProtoMessage()
- func (x *BucketUsage) ProtoReflect() protoreflect.Message
- func (x *BucketUsage) Reset()
- func (x *BucketUsage) String() string
- type BucketUsage_Operation
- func (BucketUsage_Operation) Descriptor() protoreflect.EnumDescriptor
- func (x BucketUsage_Operation) Enum() *BucketUsage_Operation
- func (BucketUsage_Operation) EnumDescriptor() ([]byte, []int)deprecated
- func (x BucketUsage_Operation) Number() protoreflect.EnumNumber
- func (x BucketUsage_Operation) String() string
- func (BucketUsage_Operation) Type() protoreflect.EnumType
- 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) GetBuckets() []*Bucket
- 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) GetValidation() *v1.ValidationExpr
- 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 (x *RPC_StaticAssets) GetNotFoundStatus() uint32
- 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) GetAllowNonSequentialMigrations() bool
- 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) GetBuckets() []*BucketUsage
- 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 ( BucketUsage_Operation_name = map[int32]string{ 0: "UNKNOWN", 1: "LIST_OBJECTS", 2: "READ_OBJECT_CONTENTS", 3: "WRITE_OBJECT", 4: "UPDATE_OBJECT_METADATA", 5: "GET_OBJECT_METADATA", 6: "DELETE_OBJECT", 7: "GET_PUBLIC_URL", 8: "SIGNED_UPLOAD_URL", 9: "SIGNED_DOWNLOAD_URL", } BucketUsage_Operation_value = map[string]int32{ "UNKNOWN": 0, "LIST_OBJECTS": 1, "READ_OBJECT_CONTENTS": 2, "WRITE_OBJECT": 3, "UPDATE_OBJECT_METADATA": 4, "GET_OBJECT_METADATA": 5, "DELETE_OBJECT": 6, "GET_PUBLIC_URL": 7, "SIGNED_UPLOAD_URL": 8, "SIGNED_DOWNLOAD_URL": 9, } )
Enum value maps for BucketUsage_Operation.
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 ¶
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 ¶
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 Bucket ¶
type Bucket 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"`
Versioned bool `protobuf:"varint,3,opt,name=versioned,proto3" json:"versioned,omitempty"`
Public bool `protobuf:"varint,4,opt,name=public,proto3" json:"public,omitempty"`
// contains filtered or unexported fields
}
func (*Bucket) Descriptor
deprecated
func (*Bucket) GetVersioned ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶
func (x *Bucket) ProtoReflect() protoreflect.Message
type BucketUsage ¶
type BucketUsage struct {
// The encore name of the bucket.
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
// Recorded operations.
Operations []BucketUsage_Operation `` /* 130-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*BucketUsage) Descriptor
deprecated
func (*BucketUsage) Descriptor() ([]byte, []int)
Deprecated: Use BucketUsage.ProtoReflect.Descriptor instead.
func (*BucketUsage) GetBucket ¶
func (x *BucketUsage) GetBucket() string
func (*BucketUsage) GetOperations ¶
func (x *BucketUsage) GetOperations() []BucketUsage_Operation
func (*BucketUsage) ProtoMessage ¶
func (*BucketUsage) ProtoMessage()
func (*BucketUsage) ProtoReflect ¶
func (x *BucketUsage) ProtoReflect() protoreflect.Message
func (*BucketUsage) Reset ¶
func (x *BucketUsage) Reset()
func (*BucketUsage) String ¶
func (x *BucketUsage) String() string
type BucketUsage_Operation ¶
type BucketUsage_Operation int32
const ( BucketUsage_UNKNOWN BucketUsage_Operation = 0 // Listing objects and accessing their metadata during listing. BucketUsage_LIST_OBJECTS BucketUsage_Operation = 1 // Reading the contents of an object. BucketUsage_READ_OBJECT_CONTENTS BucketUsage_Operation = 2 // Creating or updating an object, with contents and metadata. BucketUsage_WRITE_OBJECT BucketUsage_Operation = 3 // Updating the metadata of an object, without reading or writing its contents. BucketUsage_UPDATE_OBJECT_METADATA BucketUsage_Operation = 4 // Reading the metadata of an object, or checking for its existence. BucketUsage_GET_OBJECT_METADATA BucketUsage_Operation = 5 // Deleting an object. BucketUsage_DELETE_OBJECT BucketUsage_Operation = 6 // Get an bucket/object's public url. BucketUsage_GET_PUBLIC_URL BucketUsage_Operation = 7 // Generating a signed URL to allow an external recipient to create or // update an object. BucketUsage_SIGNED_UPLOAD_URL BucketUsage_Operation = 8 // Generating a signed URL to allow an external recipient to download an object. BucketUsage_SIGNED_DOWNLOAD_URL BucketUsage_Operation = 9 )
func (BucketUsage_Operation) Descriptor ¶
func (BucketUsage_Operation) Descriptor() protoreflect.EnumDescriptor
func (BucketUsage_Operation) Enum ¶
func (x BucketUsage_Operation) Enum() *BucketUsage_Operation
func (BucketUsage_Operation) EnumDescriptor
deprecated
func (BucketUsage_Operation) EnumDescriptor() ([]byte, []int)
Deprecated: Use BucketUsage_Operation.Descriptor instead.
func (BucketUsage_Operation) Number ¶
func (x BucketUsage_Operation) Number() protoreflect.EnumNumber
func (BucketUsage_Operation) String ¶
func (x BucketUsage_Operation) String() string
func (BucketUsage_Operation) Type ¶
func (BucketUsage_Operation) Type() protoreflect.EnumType
type CacheCluster ¶
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
func (*CacheCluster) Descriptor() ([]byte, []int)
Deprecated: Use CacheCluster.ProtoReflect.Descriptor instead.
func (*CacheCluster) GetDoc ¶
func (x *CacheCluster) GetDoc() string
func (*CacheCluster) GetEvictionPolicy ¶
func (x *CacheCluster) GetEvictionPolicy() string
func (*CacheCluster) GetKeyspaces ¶
func (x *CacheCluster) GetKeyspaces() []*CacheCluster_Keyspace
func (*CacheCluster) GetName ¶
func (x *CacheCluster) GetName() string
func (*CacheCluster) ProtoMessage ¶
func (*CacheCluster) ProtoMessage()
func (*CacheCluster) ProtoReflect ¶
func (x *CacheCluster) ProtoReflect() protoreflect.Message
func (*CacheCluster) Reset ¶
func (x *CacheCluster) Reset()
func (*CacheCluster) String ¶
func (x *CacheCluster) String() string
type CacheCluster_Keyspace ¶
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
func (*CacheCluster_Keyspace) Descriptor() ([]byte, []int)
Deprecated: Use CacheCluster_Keyspace.ProtoReflect.Descriptor instead.
func (*CacheCluster_Keyspace) GetDoc ¶
func (x *CacheCluster_Keyspace) GetDoc() string
func (*CacheCluster_Keyspace) GetKeyType ¶
func (x *CacheCluster_Keyspace) GetKeyType() *v1.Type
func (*CacheCluster_Keyspace) GetPathPattern ¶
func (x *CacheCluster_Keyspace) GetPathPattern() *Path
func (*CacheCluster_Keyspace) GetService ¶
func (x *CacheCluster_Keyspace) GetService() string
func (*CacheCluster_Keyspace) GetValueType ¶
func (x *CacheCluster_Keyspace) GetValueType() *v1.Type
func (*CacheCluster_Keyspace) ProtoMessage ¶
func (*CacheCluster_Keyspace) ProtoMessage()
func (*CacheCluster_Keyspace) ProtoReflect ¶
func (x *CacheCluster_Keyspace) ProtoReflect() protoreflect.Message
func (*CacheCluster_Keyspace) Reset ¶
func (x *CacheCluster_Keyspace) Reset()
func (*CacheCluster_Keyspace) String ¶
func (x *CacheCluster_Keyspace) String() string
type CacheKeyspaceDefNode ¶
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
func (*CacheKeyspaceDefNode) Descriptor() ([]byte, []int)
Deprecated: Use CacheKeyspaceDefNode.ProtoReflect.Descriptor instead.
func (*CacheKeyspaceDefNode) GetClusterName ¶
func (x *CacheKeyspaceDefNode) GetClusterName() string
func (*CacheKeyspaceDefNode) GetContext ¶
func (x *CacheKeyspaceDefNode) GetContext() string
func (*CacheKeyspaceDefNode) GetPkgRelPath ¶
func (x *CacheKeyspaceDefNode) GetPkgRelPath() string
func (*CacheKeyspaceDefNode) GetVarName ¶
func (x *CacheKeyspaceDefNode) GetVarName() string
func (*CacheKeyspaceDefNode) ProtoMessage ¶
func (*CacheKeyspaceDefNode) ProtoMessage()
func (*CacheKeyspaceDefNode) ProtoReflect ¶
func (x *CacheKeyspaceDefNode) ProtoReflect() protoreflect.Message
func (*CacheKeyspaceDefNode) Reset ¶
func (x *CacheKeyspaceDefNode) Reset()
func (*CacheKeyspaceDefNode) String ¶
func (x *CacheKeyspaceDefNode) String() string
type CronJob ¶
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
func (*CronJob) GetEndpoint ¶
func (x *CronJob) GetEndpoint() *QualifiedName
func (*CronJob) GetSchedule ¶
func (*CronJob) ProtoMessage ¶
func (*CronJob) ProtoMessage()
func (*CronJob) ProtoReflect ¶
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"`
Buckets []*Bucket `protobuf:"bytes,17,rep,name=buckets,proto3" json:"buckets,omitempty"`
// contains filtered or unexported fields
}
Data is the metadata associated with an app version.
func (*Data) Descriptor
deprecated
func (*Data) GetAppRevision ¶
func (*Data) GetAuthHandler ¶
func (x *Data) GetAuthHandler() *AuthHandler
func (*Data) GetBuckets ¶
func (*Data) GetCacheClusters ¶
func (x *Data) GetCacheClusters() []*CacheCluster
func (*Data) GetCronJobs ¶
func (*Data) GetExperiments ¶
func (*Data) GetGateways ¶
func (*Data) GetLanguage ¶
func (*Data) GetMetrics ¶
func (*Data) GetMiddleware ¶
func (x *Data) GetMiddleware() []*Middleware
func (*Data) GetModulePath ¶
func (*Data) GetPubsubTopics ¶
func (x *Data) GetPubsubTopics() []*PubSubTopic
func (*Data) GetSqlDatabases ¶
func (x *Data) GetSqlDatabases() []*SQLDatabase
func (*Data) GetUncommittedChanges ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Gateway ¶
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
func (*Gateway) GetEncoreName ¶
func (*Gateway) GetExplicit ¶
func (x *Gateway) GetExplicit() *Gateway_Explicit
func (*Gateway) ProtoMessage ¶
func (*Gateway) ProtoMessage()
func (*Gateway) ProtoReflect ¶
func (x *Gateway) ProtoReflect() protoreflect.Message
type Gateway_Explicit ¶
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
func (*Gateway_Explicit) Descriptor() ([]byte, []int)
Deprecated: Use Gateway_Explicit.ProtoReflect.Descriptor instead.
func (*Gateway_Explicit) GetAuthHandler ¶
func (x *Gateway_Explicit) GetAuthHandler() *AuthHandler
func (*Gateway_Explicit) GetServiceName ¶
func (x *Gateway_Explicit) GetServiceName() string
func (*Gateway_Explicit) ProtoMessage ¶
func (*Gateway_Explicit) ProtoMessage()
func (*Gateway_Explicit) ProtoReflect ¶
func (x *Gateway_Explicit) ProtoReflect() protoreflect.Message
func (*Gateway_Explicit) Reset ¶
func (x *Gateway_Explicit) Reset()
func (*Gateway_Explicit) String ¶
func (x *Gateway_Explicit) String() string
type Lang ¶
type Lang int32
Lang describes the language an application is written in. Defaults to Go if not set.
func (Lang) Descriptor ¶
func (Lang) Descriptor() protoreflect.EnumDescriptor
func (Lang) EnumDescriptor
deprecated
func (Lang) Number ¶
func (x Lang) Number() protoreflect.EnumNumber
func (Lang) Type ¶
func (Lang) Type() protoreflect.EnumType
type Metric ¶
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
func (*Metric) GetKind ¶
func (x *Metric) GetKind() Metric_MetricKind
func (*Metric) GetLabels ¶
func (x *Metric) GetLabels() []*Metric_Label
func (*Metric) GetServiceName ¶
func (*Metric) GetValueType ¶
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
func (*Metric) ProtoReflect ¶
func (x *Metric) ProtoReflect() protoreflect.Message
type Metric_Label ¶
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
func (*Metric_Label) Descriptor() ([]byte, []int)
Deprecated: Use Metric_Label.ProtoReflect.Descriptor instead.
func (*Metric_Label) GetDoc ¶
func (x *Metric_Label) GetDoc() string
func (*Metric_Label) GetKey ¶
func (x *Metric_Label) GetKey() string
func (*Metric_Label) GetType ¶
func (x *Metric_Label) GetType() v1.Builtin
func (*Metric_Label) ProtoMessage ¶
func (*Metric_Label) ProtoMessage()
func (*Metric_Label) ProtoReflect ¶
func (x *Metric_Label) ProtoReflect() protoreflect.Message
func (*Metric_Label) Reset ¶
func (x *Metric_Label) Reset()
func (*Metric_Label) String ¶
func (x *Metric_Label) String() string
type Metric_MetricKind ¶
type Metric_MetricKind int32
const ( Metric_COUNTER Metric_MetricKind = 0 Metric_GAUGE Metric_MetricKind = 1 Metric_HISTOGRAM Metric_MetricKind = 2 )
func (Metric_MetricKind) Descriptor ¶
func (Metric_MetricKind) Descriptor() protoreflect.EnumDescriptor
func (Metric_MetricKind) Enum ¶
func (x Metric_MetricKind) Enum() *Metric_MetricKind
func (Metric_MetricKind) EnumDescriptor
deprecated
func (Metric_MetricKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use Metric_MetricKind.Descriptor instead.
func (Metric_MetricKind) Number ¶
func (x Metric_MetricKind) Number() protoreflect.EnumNumber
func (Metric_MetricKind) String ¶
func (x Metric_MetricKind) String() string
func (Metric_MetricKind) Type ¶
func (Metric_MetricKind) Type() protoreflect.EnumType
type Middleware ¶
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
func (*Middleware) Descriptor() ([]byte, []int)
Deprecated: Use Middleware.ProtoReflect.Descriptor instead.
func (*Middleware) GetDoc ¶
func (x *Middleware) GetDoc() string
func (*Middleware) GetGlobal ¶
func (x *Middleware) GetGlobal() bool
func (*Middleware) GetLoc ¶
func (x *Middleware) GetLoc() *v1.Loc
func (*Middleware) GetName ¶
func (x *Middleware) GetName() *QualifiedName
func (*Middleware) GetServiceName ¶
func (x *Middleware) GetServiceName() string
func (*Middleware) GetTarget ¶
func (x *Middleware) GetTarget() []*Selector
func (*Middleware) ProtoMessage ¶
func (*Middleware) ProtoMessage()
func (*Middleware) ProtoReflect ¶
func (x *Middleware) ProtoReflect() protoreflect.Message
func (*Middleware) Reset ¶
func (x *Middleware) Reset()
func (*Middleware) String ¶
func (x *Middleware) String() string
type MiddlewareDefNode ¶
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
func (*MiddlewareDefNode) Descriptor() ([]byte, []int)
Deprecated: Use MiddlewareDefNode.ProtoReflect.Descriptor instead.
func (*MiddlewareDefNode) GetContext ¶
func (x *MiddlewareDefNode) GetContext() string
func (*MiddlewareDefNode) GetName ¶
func (x *MiddlewareDefNode) GetName() string
func (*MiddlewareDefNode) GetPkgRelPath ¶
func (x *MiddlewareDefNode) GetPkgRelPath() string
func (*MiddlewareDefNode) GetTarget ¶
func (x *MiddlewareDefNode) GetTarget() []*Selector
func (*MiddlewareDefNode) ProtoMessage ¶
func (*MiddlewareDefNode) ProtoMessage()
func (*MiddlewareDefNode) ProtoReflect ¶
func (x *MiddlewareDefNode) ProtoReflect() protoreflect.Message
func (*MiddlewareDefNode) Reset ¶
func (x *MiddlewareDefNode) Reset()
func (*MiddlewareDefNode) String ¶
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 ¶
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
func (*Path) GetSegments ¶
func (x *Path) GetSegments() []*PathSegment
func (*Path) ProtoMessage ¶
func (*Path) ProtoMessage()
func (*Path) ProtoReflect ¶
func (x *Path) ProtoReflect() protoreflect.Message
type PathSegment ¶
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 */
Validation *v1.ValidationExpr `protobuf:"bytes,4,opt,name=validation,proto3,oneof" json:"validation,omitempty"`
// contains filtered or unexported fields
}
func (*PathSegment) Descriptor
deprecated
func (*PathSegment) Descriptor() ([]byte, []int)
Deprecated: Use PathSegment.ProtoReflect.Descriptor instead.
func (*PathSegment) GetType ¶
func (x *PathSegment) GetType() PathSegment_SegmentType
func (*PathSegment) GetValidation ¶
func (x *PathSegment) GetValidation() *v1.ValidationExpr
func (*PathSegment) GetValue ¶
func (x *PathSegment) GetValue() string
func (*PathSegment) GetValueType ¶
func (x *PathSegment) GetValueType() PathSegment_ParamType
func (*PathSegment) ProtoMessage ¶
func (*PathSegment) ProtoMessage()
func (*PathSegment) ProtoReflect ¶
func (x *PathSegment) ProtoReflect() protoreflect.Message
func (*PathSegment) Reset ¶
func (x *PathSegment) Reset()
func (*PathSegment) String ¶
func (x *PathSegment) String() string
type PathSegment_ParamType ¶
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 ¶
func (PathSegment_ParamType) Descriptor() protoreflect.EnumDescriptor
func (PathSegment_ParamType) Enum ¶
func (x PathSegment_ParamType) Enum() *PathSegment_ParamType
func (PathSegment_ParamType) EnumDescriptor
deprecated
func (PathSegment_ParamType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PathSegment_ParamType.Descriptor instead.
func (PathSegment_ParamType) Number ¶
func (x PathSegment_ParamType) Number() protoreflect.EnumNumber
func (PathSegment_ParamType) String ¶
func (x PathSegment_ParamType) String() string
func (PathSegment_ParamType) Type ¶
func (PathSegment_ParamType) Type() protoreflect.EnumType
type PathSegment_SegmentType ¶
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 ¶
func (PathSegment_SegmentType) Descriptor() protoreflect.EnumDescriptor
func (PathSegment_SegmentType) Enum ¶
func (x PathSegment_SegmentType) Enum() *PathSegment_SegmentType
func (PathSegment_SegmentType) EnumDescriptor
deprecated
func (PathSegment_SegmentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PathSegment_SegmentType.Descriptor instead.
func (PathSegment_SegmentType) Number ¶
func (x PathSegment_SegmentType) Number() protoreflect.EnumNumber
func (PathSegment_SegmentType) String ¶
func (x PathSegment_SegmentType) String() string
func (PathSegment_SegmentType) Type ¶
func (PathSegment_SegmentType) Type() protoreflect.EnumType
type Path_Type ¶
type Path_Type int32
func (Path_Type) Descriptor ¶
func (Path_Type) Descriptor() protoreflect.EnumDescriptor
func (Path_Type) EnumDescriptor
deprecated
func (Path_Type) Number ¶
func (x Path_Type) Number() protoreflect.EnumNumber
func (Path_Type) Type ¶
func (Path_Type) Type() protoreflect.EnumType
type PubSubPublishNode ¶
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
func (*PubSubPublishNode) Descriptor() ([]byte, []int)
Deprecated: Use PubSubPublishNode.ProtoReflect.Descriptor instead.
func (*PubSubPublishNode) GetContext ¶
func (x *PubSubPublishNode) GetContext() string
func (*PubSubPublishNode) GetTopicName ¶
func (x *PubSubPublishNode) GetTopicName() string
func (*PubSubPublishNode) ProtoMessage ¶
func (*PubSubPublishNode) ProtoMessage()
func (*PubSubPublishNode) ProtoReflect ¶
func (x *PubSubPublishNode) ProtoReflect() protoreflect.Message
func (*PubSubPublishNode) Reset ¶
func (x *PubSubPublishNode) Reset()
func (*PubSubPublishNode) String ¶
func (x *PubSubPublishNode) String() string
type PubSubSubscriberNode ¶
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
func (*PubSubSubscriberNode) Descriptor() ([]byte, []int)
Deprecated: Use PubSubSubscriberNode.ProtoReflect.Descriptor instead.
func (*PubSubSubscriberNode) GetContext ¶
func (x *PubSubSubscriberNode) GetContext() string
func (*PubSubSubscriberNode) GetServiceName ¶
func (x *PubSubSubscriberNode) GetServiceName() string
func (*PubSubSubscriberNode) GetSubscriberName ¶
func (x *PubSubSubscriberNode) GetSubscriberName() string
func (*PubSubSubscriberNode) GetTopicName ¶
func (x *PubSubSubscriberNode) GetTopicName() string
func (*PubSubSubscriberNode) ProtoMessage ¶
func (*PubSubSubscriberNode) ProtoMessage()
func (*PubSubSubscriberNode) ProtoReflect ¶
func (x *PubSubSubscriberNode) ProtoReflect() protoreflect.Message
func (*PubSubSubscriberNode) Reset ¶
func (x *PubSubSubscriberNode) Reset()
func (*PubSubSubscriberNode) String ¶
func (x *PubSubSubscriberNode) String() string
type PubSubTopic ¶
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
func (*PubSubTopic) Descriptor() ([]byte, []int)
Deprecated: Use PubSubTopic.ProtoReflect.Descriptor instead.
func (*PubSubTopic) GetDeliveryGuarantee ¶
func (x *PubSubTopic) GetDeliveryGuarantee() PubSubTopic_DeliveryGuarantee
func (*PubSubTopic) GetDoc ¶
func (x *PubSubTopic) GetDoc() string
func (*PubSubTopic) GetMessageType ¶
func (x *PubSubTopic) GetMessageType() *v1.Type
func (*PubSubTopic) GetName ¶
func (x *PubSubTopic) GetName() string
func (*PubSubTopic) GetOrderingKey ¶
func (x *PubSubTopic) GetOrderingKey() string
func (*PubSubTopic) GetPublishers ¶
func (x *PubSubTopic) GetPublishers() []*PubSubTopic_Publisher
func (*PubSubTopic) GetSubscriptions ¶
func (x *PubSubTopic) GetSubscriptions() []*PubSubTopic_Subscription
func (*PubSubTopic) ProtoMessage ¶
func (*PubSubTopic) ProtoMessage()
func (*PubSubTopic) ProtoReflect ¶
func (x *PubSubTopic) ProtoReflect() protoreflect.Message
func (*PubSubTopic) Reset ¶
func (x *PubSubTopic) Reset()
func (*PubSubTopic) String ¶
func (x *PubSubTopic) String() string
type PubSubTopicDefNode ¶
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
func (*PubSubTopicDefNode) Descriptor() ([]byte, []int)
Deprecated: Use PubSubTopicDefNode.ProtoReflect.Descriptor instead.
func (*PubSubTopicDefNode) GetContext ¶
func (x *PubSubTopicDefNode) GetContext() string
func (*PubSubTopicDefNode) GetTopicName ¶
func (x *PubSubTopicDefNode) GetTopicName() string
func (*PubSubTopicDefNode) ProtoMessage ¶
func (*PubSubTopicDefNode) ProtoMessage()
func (*PubSubTopicDefNode) ProtoReflect ¶
func (x *PubSubTopicDefNode) ProtoReflect() protoreflect.Message
func (*PubSubTopicDefNode) Reset ¶
func (x *PubSubTopicDefNode) Reset()
func (*PubSubTopicDefNode) String ¶
func (x *PubSubTopicDefNode) String() string
type PubSubTopic_DeliveryGuarantee ¶
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 ¶
func (PubSubTopic_DeliveryGuarantee) Descriptor() protoreflect.EnumDescriptor
func (PubSubTopic_DeliveryGuarantee) Enum ¶
func (x PubSubTopic_DeliveryGuarantee) Enum() *PubSubTopic_DeliveryGuarantee
func (PubSubTopic_DeliveryGuarantee) EnumDescriptor
deprecated
func (PubSubTopic_DeliveryGuarantee) EnumDescriptor() ([]byte, []int)
Deprecated: Use PubSubTopic_DeliveryGuarantee.Descriptor instead.
func (PubSubTopic_DeliveryGuarantee) Number ¶
func (x PubSubTopic_DeliveryGuarantee) Number() protoreflect.EnumNumber
func (PubSubTopic_DeliveryGuarantee) String ¶
func (x PubSubTopic_DeliveryGuarantee) String() string
func (PubSubTopic_DeliveryGuarantee) Type ¶
func (PubSubTopic_DeliveryGuarantee) Type() protoreflect.EnumType
type PubSubTopic_Publisher ¶
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
func (*PubSubTopic_Publisher) Descriptor() ([]byte, []int)
Deprecated: Use PubSubTopic_Publisher.ProtoReflect.Descriptor instead.
func (*PubSubTopic_Publisher) GetServiceName ¶
func (x *PubSubTopic_Publisher) GetServiceName() string
func (*PubSubTopic_Publisher) ProtoMessage ¶
func (*PubSubTopic_Publisher) ProtoMessage()
func (*PubSubTopic_Publisher) ProtoReflect ¶
func (x *PubSubTopic_Publisher) ProtoReflect() protoreflect.Message
func (*PubSubTopic_Publisher) Reset ¶
func (x *PubSubTopic_Publisher) Reset()
func (*PubSubTopic_Publisher) String ¶
func (x *PubSubTopic_Publisher) String() string
type PubSubTopic_RetryPolicy ¶
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
func (*PubSubTopic_RetryPolicy) Descriptor() ([]byte, []int)
Deprecated: Use PubSubTopic_RetryPolicy.ProtoReflect.Descriptor instead.
func (*PubSubTopic_RetryPolicy) GetMaxBackoff ¶
func (x *PubSubTopic_RetryPolicy) GetMaxBackoff() int64
func (*PubSubTopic_RetryPolicy) GetMaxRetries ¶
func (x *PubSubTopic_RetryPolicy) GetMaxRetries() int64
func (*PubSubTopic_RetryPolicy) GetMinBackoff ¶
func (x *PubSubTopic_RetryPolicy) GetMinBackoff() int64
func (*PubSubTopic_RetryPolicy) ProtoMessage ¶
func (*PubSubTopic_RetryPolicy) ProtoMessage()
func (*PubSubTopic_RetryPolicy) ProtoReflect ¶
func (x *PubSubTopic_RetryPolicy) ProtoReflect() protoreflect.Message
func (*PubSubTopic_RetryPolicy) Reset ¶
func (x *PubSubTopic_RetryPolicy) Reset()
func (*PubSubTopic_RetryPolicy) String ¶
func (x *PubSubTopic_RetryPolicy) String() string
type PubSubTopic_Subscription ¶
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
func (*PubSubTopic_Subscription) Descriptor() ([]byte, []int)
Deprecated: Use PubSubTopic_Subscription.ProtoReflect.Descriptor instead.
func (*PubSubTopic_Subscription) GetAckDeadline ¶
func (x *PubSubTopic_Subscription) GetAckDeadline() int64
func (*PubSubTopic_Subscription) GetMaxConcurrency ¶
func (x *PubSubTopic_Subscription) GetMaxConcurrency() int32
func (*PubSubTopic_Subscription) GetMessageRetention ¶
func (x *PubSubTopic_Subscription) GetMessageRetention() int64
func (*PubSubTopic_Subscription) GetName ¶
func (x *PubSubTopic_Subscription) GetName() string
func (*PubSubTopic_Subscription) GetRetryPolicy ¶
func (x *PubSubTopic_Subscription) GetRetryPolicy() *PubSubTopic_RetryPolicy
func (*PubSubTopic_Subscription) GetServiceName ¶
func (x *PubSubTopic_Subscription) GetServiceName() string
func (*PubSubTopic_Subscription) ProtoMessage ¶
func (*PubSubTopic_Subscription) ProtoMessage()
func (*PubSubTopic_Subscription) ProtoReflect ¶
func (x *PubSubTopic_Subscription) ProtoReflect() protoreflect.Message
func (*PubSubTopic_Subscription) Reset ¶
func (x *PubSubTopic_Subscription) Reset()
func (*PubSubTopic_Subscription) String ¶
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 ¶
func (*RPC) GetBodyLimit ¶
func (*RPC) GetExpose ¶
func (x *RPC) GetExpose() map[string]*RPC_ExposeOptions
func (*RPC) GetHandshakeSchema ¶
func (*RPC) GetHttpMethods ¶
func (*RPC) GetProto ¶
func (x *RPC) GetProto() RPC_Protocol
func (*RPC) GetRequestSchema ¶
func (*RPC) GetResponseSchema ¶
func (*RPC) GetSensitive ¶
func (*RPC) GetServiceName ¶
func (*RPC) GetStaticAssets ¶
func (x *RPC) GetStaticAssets() *RPC_StaticAssets
func (*RPC) GetStreamingRequest ¶
func (*RPC) GetStreamingResponse ¶
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 ¶
type RPC_ExposeOptions struct {
// contains filtered or unexported fields
}
func (*RPC_ExposeOptions) Descriptor
deprecated
func (*RPC_ExposeOptions) Descriptor() ([]byte, []int)
Deprecated: Use RPC_ExposeOptions.ProtoReflect.Descriptor instead.
func (*RPC_ExposeOptions) ProtoMessage ¶
func (*RPC_ExposeOptions) ProtoMessage()
func (*RPC_ExposeOptions) ProtoReflect ¶
func (x *RPC_ExposeOptions) ProtoReflect() protoreflect.Message
func (*RPC_ExposeOptions) Reset ¶
func (x *RPC_ExposeOptions) Reset()
func (*RPC_ExposeOptions) String ¶
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 ¶
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"`
NotFoundStatus *uint32 `protobuf:"varint,3,opt,name=not_found_status,json=notFoundStatus,proto3,oneof" json:"not_found_status,omitempty"`
// contains filtered or unexported fields
}
func (*RPC_StaticAssets) Descriptor
deprecated
func (*RPC_StaticAssets) Descriptor() ([]byte, []int)
Deprecated: Use RPC_StaticAssets.ProtoReflect.Descriptor instead.
func (*RPC_StaticAssets) GetDirRelPath ¶
func (x *RPC_StaticAssets) GetDirRelPath() string
func (*RPC_StaticAssets) GetNotFoundRelPath ¶
func (x *RPC_StaticAssets) GetNotFoundRelPath() string
func (*RPC_StaticAssets) GetNotFoundStatus ¶
func (x *RPC_StaticAssets) GetNotFoundStatus() uint32
func (*RPC_StaticAssets) ProtoMessage ¶
func (*RPC_StaticAssets) ProtoMessage()
func (*RPC_StaticAssets) ProtoReflect ¶
func (x *RPC_StaticAssets) ProtoReflect() protoreflect.Message
func (*RPC_StaticAssets) Reset ¶
func (x *RPC_StaticAssets) Reset()
func (*RPC_StaticAssets) String ¶
func (x *RPC_StaticAssets) String() string
type SQLDatabase ¶
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"`
AllowNonSequentialMigrations bool `` /* 150-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*SQLDatabase) Descriptor
deprecated
func (*SQLDatabase) Descriptor() ([]byte, []int)
Deprecated: Use SQLDatabase.ProtoReflect.Descriptor instead.
func (*SQLDatabase) GetAllowNonSequentialMigrations ¶
func (x *SQLDatabase) GetAllowNonSequentialMigrations() bool
func (*SQLDatabase) GetDoc ¶
func (x *SQLDatabase) GetDoc() string
func (*SQLDatabase) GetMigrationRelPath ¶
func (x *SQLDatabase) GetMigrationRelPath() string
func (*SQLDatabase) GetMigrations ¶
func (x *SQLDatabase) GetMigrations() []*DBMigration
func (*SQLDatabase) GetName ¶
func (x *SQLDatabase) GetName() string
func (*SQLDatabase) ProtoMessage ¶
func (*SQLDatabase) ProtoMessage()
func (*SQLDatabase) ProtoReflect ¶
func (x *SQLDatabase) ProtoReflect() protoreflect.Message
func (*SQLDatabase) Reset ¶
func (x *SQLDatabase) Reset()
func (*SQLDatabase) String ¶
func (x *SQLDatabase) String() string
type Selector ¶
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
func (*Selector) GetType ¶
func (x *Selector) GetType() Selector_Type
func (*Selector) ProtoMessage ¶
func (*Selector) ProtoMessage()
func (*Selector) ProtoReflect ¶
func (x *Selector) ProtoReflect() protoreflect.Message
type Selector_Type ¶
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 ¶
func (Selector_Type) Descriptor() protoreflect.EnumDescriptor
func (Selector_Type) Enum ¶
func (x Selector_Type) Enum() *Selector_Type
func (Selector_Type) EnumDescriptor
deprecated
func (Selector_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Selector_Type.Descriptor instead.
func (Selector_Type) Number ¶
func (x Selector_Type) Number() protoreflect.EnumNumber
func (Selector_Type) String ¶
func (x Selector_Type) String() string
func (Selector_Type) Type ¶
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
Buckets []*BucketUsage `protobuf:"bytes,7,rep,name=buckets,proto3" json:"buckets,omitempty"` // buckets this service uses
// contains filtered or unexported fields
}
func (*Service) Descriptor
deprecated
func (*Service) GetBuckets ¶
func (x *Service) GetBuckets() []*BucketUsage
func (*Service) GetDatabases ¶
func (*Service) GetHasConfig ¶
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 ¶
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
func (*ServiceInitNode) Descriptor() ([]byte, []int)
Deprecated: Use ServiceInitNode.ProtoReflect.Descriptor instead.
func (*ServiceInitNode) GetContext ¶
func (x *ServiceInitNode) GetContext() string
func (*ServiceInitNode) GetServiceName ¶
func (x *ServiceInitNode) GetServiceName() string
func (*ServiceInitNode) GetSetupFuncName ¶
func (x *ServiceInitNode) GetSetupFuncName() string
func (*ServiceInitNode) ProtoMessage ¶
func (*ServiceInitNode) ProtoMessage()
func (*ServiceInitNode) ProtoReflect ¶
func (x *ServiceInitNode) ProtoReflect() protoreflect.Message
func (*ServiceInitNode) Reset ¶
func (x *ServiceInitNode) Reset()
func (*ServiceInitNode) String ¶
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 ¶
func (x *TraceNode) GetCacheKeyspace() *CacheKeyspaceDefNode
func (*TraceNode) GetContext ¶
func (m *TraceNode) GetContext() isTraceNode_Context
func (*TraceNode) GetFilepath ¶
func (*TraceNode) GetMiddlewareDef ¶
func (x *TraceNode) GetMiddlewareDef() *MiddlewareDefNode
func (*TraceNode) GetPubsubPublish ¶
func (x *TraceNode) GetPubsubPublish() *PubSubPublishNode
func (*TraceNode) GetPubsubSubscriber ¶
func (x *TraceNode) GetPubsubSubscriber() *PubSubSubscriberNode
func (*TraceNode) GetPubsubTopicDef ¶
func (x *TraceNode) GetPubsubTopicDef() *PubSubTopicDefNode
func (*TraceNode) GetRpcCall ¶
func (x *TraceNode) GetRpcCall() *RPCCallNode
func (*TraceNode) GetRpcDef ¶
func (x *TraceNode) GetRpcDef() *RPCDefNode
func (*TraceNode) GetServiceInit ¶
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 ¶
type TraceNode_CacheKeyspace struct {
CacheKeyspace *CacheKeyspaceDefNode `protobuf:"bytes,19,opt,name=cache_keyspace,json=cacheKeyspace,proto3,oneof"`
}
type TraceNode_MiddlewareDef ¶
type TraceNode_MiddlewareDef struct {
MiddlewareDef *MiddlewareDefNode `protobuf:"bytes,18,opt,name=middleware_def,json=middlewareDef,proto3,oneof"`
}
type TraceNode_PubsubPublish ¶
type TraceNode_PubsubPublish struct {
PubsubPublish *PubSubPublishNode `protobuf:"bytes,15,opt,name=pubsub_publish,json=pubsubPublish,proto3,oneof"`
}
type TraceNode_PubsubSubscriber ¶
type TraceNode_PubsubSubscriber struct {
PubsubSubscriber *PubSubSubscriberNode `protobuf:"bytes,16,opt,name=pubsub_subscriber,json=pubsubSubscriber,proto3,oneof"`
}
type TraceNode_PubsubTopicDef ¶
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 ¶
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"`
}