Documentation
¶
Index ¶
- Variables
- type AppSecret
- func (*AppSecret) Descriptor() ([]byte, []int)deprecated
- func (x *AppSecret) GetData() *SecretData
- func (x *AppSecret) GetEncoreName() string
- func (x *AppSecret) GetRid() string
- func (*AppSecret) ProtoMessage()
- func (x *AppSecret) ProtoReflect() protoreflect.Message
- func (x *AppSecret) Reset()
- func (x *AppSecret) String() string
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)deprecated
- func (x *Bucket) GetCloudName() string
- func (x *Bucket) GetEncoreName() string
- func (x *Bucket) GetKeyPrefix() string
- func (x *Bucket) GetPublicBaseUrl() string
- func (x *Bucket) GetRid() string
- func (*Bucket) ProtoMessage()
- func (x *Bucket) ProtoReflect() protoreflect.Message
- func (x *Bucket) Reset()
- func (x *Bucket) String() string
- type BucketCluster
- func (*BucketCluster) Descriptor() ([]byte, []int)deprecated
- func (x *BucketCluster) GetBuckets() []*Bucket
- func (x *BucketCluster) GetGcs() *BucketCluster_GCS
- func (m *BucketCluster) GetProvider() isBucketCluster_Provider
- func (x *BucketCluster) GetRid() string
- func (x *BucketCluster) GetS3() *BucketCluster_S3
- func (*BucketCluster) ProtoMessage()
- func (x *BucketCluster) ProtoReflect() protoreflect.Message
- func (x *BucketCluster) Reset()
- func (x *BucketCluster) String() string
- type BucketCluster_GCS
- func (*BucketCluster_GCS) Descriptor() ([]byte, []int)deprecated
- func (x *BucketCluster_GCS) GetAnonymous() bool
- func (x *BucketCluster_GCS) GetEndpoint() string
- func (x *BucketCluster_GCS) GetLocalSign() *BucketCluster_GCS_LocalSignOptions
- func (*BucketCluster_GCS) ProtoMessage()
- func (x *BucketCluster_GCS) ProtoReflect() protoreflect.Message
- func (x *BucketCluster_GCS) Reset()
- func (x *BucketCluster_GCS) String() string
- type BucketCluster_GCS_LocalSignOptions
- func (*BucketCluster_GCS_LocalSignOptions) Descriptor() ([]byte, []int)deprecated
- func (x *BucketCluster_GCS_LocalSignOptions) GetAccessId() string
- func (x *BucketCluster_GCS_LocalSignOptions) GetBaseUrl() string
- func (x *BucketCluster_GCS_LocalSignOptions) GetPrivateKey() string
- func (*BucketCluster_GCS_LocalSignOptions) ProtoMessage()
- func (x *BucketCluster_GCS_LocalSignOptions) ProtoReflect() protoreflect.Message
- func (x *BucketCluster_GCS_LocalSignOptions) Reset()
- func (x *BucketCluster_GCS_LocalSignOptions) String() string
- type BucketCluster_Gcs
- type BucketCluster_S3
- func (*BucketCluster_S3) Descriptor() ([]byte, []int)deprecated
- func (x *BucketCluster_S3) GetAccessKeyId() string
- func (x *BucketCluster_S3) GetEndpoint() string
- func (x *BucketCluster_S3) GetRegion() string
- func (x *BucketCluster_S3) GetSecretAccessKey() *SecretData
- func (*BucketCluster_S3) ProtoMessage()
- func (x *BucketCluster_S3) ProtoReflect() protoreflect.Message
- func (x *BucketCluster_S3) Reset()
- func (x *BucketCluster_S3) String() string
- type BucketCluster_S3_
- type ClientCert
- func (*ClientCert) Descriptor() ([]byte, []int)deprecated
- func (x *ClientCert) GetCert() string
- func (x *ClientCert) GetKey() *SecretData
- func (x *ClientCert) GetRid() string
- func (*ClientCert) ProtoMessage()
- func (x *ClientCert) ProtoReflect() protoreflect.Message
- func (x *ClientCert) Reset()
- func (x *ClientCert) String() string
- type Deployment
- func (*Deployment) Descriptor() ([]byte, []int)deprecated
- func (x *Deployment) GetAuthMethods() []*ServiceAuth
- func (x *Deployment) GetDeployId() string
- func (x *Deployment) GetDeployedAt() *timestamppb.Timestamp
- func (x *Deployment) GetDynamicExperiments() []string
- func (x *Deployment) GetGracefulShutdown() *GracefulShutdown
- func (x *Deployment) GetHostedGateways() []string
- func (x *Deployment) GetHostedServices() []*HostedService
- func (x *Deployment) GetObservability() *Observability
- func (x *Deployment) GetServiceDiscovery() *ServiceDiscovery
- func (*Deployment) ProtoMessage()
- func (x *Deployment) ProtoReflect() protoreflect.Message
- func (x *Deployment) Reset()
- func (x *Deployment) String() string
- type EncoreAuthKey
- func (*EncoreAuthKey) Descriptor() ([]byte, []int)deprecated
- func (x *EncoreAuthKey) GetData() *SecretData
- func (x *EncoreAuthKey) GetId() uint32
- func (*EncoreAuthKey) ProtoMessage()
- func (x *EncoreAuthKey) ProtoReflect() protoreflect.Message
- func (x *EncoreAuthKey) Reset()
- func (x *EncoreAuthKey) String() string
- type EncoreCloudProvider
- func (*EncoreCloudProvider) Descriptor() ([]byte, []int)deprecated
- func (x *EncoreCloudProvider) GetAuthKeys() []*EncoreAuthKey
- func (x *EncoreCloudProvider) GetRid() string
- func (x *EncoreCloudProvider) GetServerUrl() string
- func (*EncoreCloudProvider) ProtoMessage()
- func (x *EncoreCloudProvider) ProtoReflect() protoreflect.Message
- func (x *EncoreCloudProvider) Reset()
- func (x *EncoreCloudProvider) String() string
- type EncorePlatform
- func (*EncorePlatform) Descriptor() ([]byte, []int)deprecated
- func (x *EncorePlatform) GetEncoreCloud() *EncoreCloudProvider
- func (x *EncorePlatform) GetPlatformSigningKeys() []*EncoreAuthKey
- func (*EncorePlatform) ProtoMessage()
- func (x *EncorePlatform) ProtoReflect() protoreflect.Message
- func (x *EncorePlatform) Reset()
- func (x *EncorePlatform) String() string
- type Environment
- func (*Environment) Descriptor() ([]byte, []int)deprecated
- func (x *Environment) GetAppId() string
- func (x *Environment) GetAppSlug() string
- func (x *Environment) GetCloud() Environment_Cloud
- func (x *Environment) GetEnvId() string
- func (x *Environment) GetEnvName() string
- func (x *Environment) GetEnvType() Environment_Type
- func (*Environment) ProtoMessage()
- func (x *Environment) ProtoReflect() protoreflect.Message
- func (x *Environment) Reset()
- func (x *Environment) String() string
- type Environment_Cloud
- func (Environment_Cloud) Descriptor() protoreflect.EnumDescriptor
- func (x Environment_Cloud) Enum() *Environment_Cloud
- func (Environment_Cloud) EnumDescriptor() ([]byte, []int)deprecated
- func (x Environment_Cloud) Number() protoreflect.EnumNumber
- func (x Environment_Cloud) String() string
- func (Environment_Cloud) Type() protoreflect.EnumType
- type Environment_Type
- func (Environment_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Environment_Type) Enum() *Environment_Type
- func (Environment_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Environment_Type) Number() protoreflect.EnumNumber
- func (x Environment_Type) String() string
- func (Environment_Type) Type() protoreflect.EnumType
- type Gateway
- func (*Gateway) Descriptor() ([]byte, []int)deprecated
- func (x *Gateway) GetBaseUrl() string
- func (x *Gateway) GetCors() *Gateway_CORS
- func (x *Gateway) GetEncoreName() string
- func (x *Gateway) GetHostnames() []string
- func (x *Gateway) GetRid() string
- func (*Gateway) ProtoMessage()
- func (x *Gateway) ProtoReflect() protoreflect.Message
- func (x *Gateway) Reset()
- func (x *Gateway) String() string
- type Gateway_CORS
- func (*Gateway_CORS) Descriptor() ([]byte, []int)deprecated
- func (x *Gateway_CORS) GetAllowPrivateNetworkAccess() bool
- func (x *Gateway_CORS) GetAllowedOrigins() *Gateway_CORSAllowedOrigins
- func (m *Gateway_CORS) GetAllowedOriginsWithCredentials() isGateway_CORS_AllowedOriginsWithCredentials
- func (x *Gateway_CORS) GetAllowedOriginsWithoutCredentials() *Gateway_CORSAllowedOrigins
- func (x *Gateway_CORS) GetDebug() bool
- func (x *Gateway_CORS) GetDisableCredentials() bool
- func (x *Gateway_CORS) GetExtraAllowedHeaders() []string
- func (x *Gateway_CORS) GetExtraExposedHeaders() []string
- func (x *Gateway_CORS) GetUnsafeAllowAllOriginsWithCredentials() bool
- func (*Gateway_CORS) ProtoMessage()
- func (x *Gateway_CORS) ProtoReflect() protoreflect.Message
- func (x *Gateway_CORS) Reset()
- func (x *Gateway_CORS) String() string
- type Gateway_CORSAllowedOrigins
- func (*Gateway_CORSAllowedOrigins) Descriptor() ([]byte, []int)deprecated
- func (x *Gateway_CORSAllowedOrigins) GetAllowedOrigins() []string
- func (*Gateway_CORSAllowedOrigins) ProtoMessage()
- func (x *Gateway_CORSAllowedOrigins) ProtoReflect() protoreflect.Message
- func (x *Gateway_CORSAllowedOrigins) Reset()
- func (x *Gateway_CORSAllowedOrigins) String() string
- type Gateway_CORS_AllowedOrigins
- type Gateway_CORS_UnsafeAllowAllOriginsWithCredentials
- type GracefulShutdown
- func (*GracefulShutdown) Descriptor() ([]byte, []int)deprecated
- func (x *GracefulShutdown) GetHandlers() *durationpb.Duration
- func (x *GracefulShutdown) GetShutdownHooks() *durationpb.Duration
- func (x *GracefulShutdown) GetTotal() *durationpb.Duration
- func (*GracefulShutdown) ProtoMessage()
- func (x *GracefulShutdown) ProtoReflect() protoreflect.Message
- func (x *GracefulShutdown) Reset()
- func (x *GracefulShutdown) String() string
- type HostedService
- func (*HostedService) Descriptor() ([]byte, []int)deprecated
- func (x *HostedService) GetLogConfig() string
- func (x *HostedService) GetName() string
- func (x *HostedService) GetWorkerThreads() int32
- func (*HostedService) ProtoMessage()
- func (x *HostedService) ProtoReflect() protoreflect.Message
- func (x *HostedService) Reset()
- func (x *HostedService) String() string
- type Infrastructure
- func (*Infrastructure) Descriptor() ([]byte, []int)deprecated
- func (x *Infrastructure) GetCredentials() *Infrastructure_Credentials
- func (x *Infrastructure) GetResources() *Infrastructure_Resources
- func (*Infrastructure) ProtoMessage()
- func (x *Infrastructure) ProtoReflect() protoreflect.Message
- func (x *Infrastructure) Reset()
- func (x *Infrastructure) String() string
- type Infrastructure_Credentials
- func (*Infrastructure_Credentials) Descriptor() ([]byte, []int)deprecated
- func (x *Infrastructure_Credentials) GetClientCerts() []*ClientCert
- func (x *Infrastructure_Credentials) GetRedisRoles() []*RedisRole
- func (x *Infrastructure_Credentials) GetSqlRoles() []*SQLRole
- func (*Infrastructure_Credentials) ProtoMessage()
- func (x *Infrastructure_Credentials) ProtoReflect() protoreflect.Message
- func (x *Infrastructure_Credentials) Reset()
- func (x *Infrastructure_Credentials) String() string
- type Infrastructure_Resources
- func (*Infrastructure_Resources) Descriptor() ([]byte, []int)deprecated
- func (x *Infrastructure_Resources) GetAppSecrets() []*AppSecret
- func (x *Infrastructure_Resources) GetBucketClusters() []*BucketCluster
- func (x *Infrastructure_Resources) GetGateways() []*Gateway
- func (x *Infrastructure_Resources) GetPubsubClusters() []*PubSubCluster
- func (x *Infrastructure_Resources) GetRedisClusters() []*RedisCluster
- func (x *Infrastructure_Resources) GetSqlClusters() []*SQLCluster
- func (*Infrastructure_Resources) ProtoMessage()
- func (x *Infrastructure_Resources) ProtoReflect() protoreflect.Message
- func (x *Infrastructure_Resources) Reset()
- func (x *Infrastructure_Resources) String() string
- type LogsProvider
- type MetricsProvider
- func (*MetricsProvider) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsProvider) GetAws() *MetricsProvider_AWSCloudWatch
- func (x *MetricsProvider) GetCollectionInterval() *durationpb.Duration
- func (x *MetricsProvider) GetDatadog() *MetricsProvider_Datadog
- func (x *MetricsProvider) GetEncoreCloud() *MetricsProvider_GCPCloudMonitoring
- func (x *MetricsProvider) GetGcp() *MetricsProvider_GCPCloudMonitoring
- func (x *MetricsProvider) GetPromRemoteWrite() *MetricsProvider_PrometheusRemoteWrite
- func (m *MetricsProvider) GetProvider() isMetricsProvider_Provider
- func (x *MetricsProvider) GetRid() string
- func (*MetricsProvider) ProtoMessage()
- func (x *MetricsProvider) ProtoReflect() protoreflect.Message
- func (x *MetricsProvider) Reset()
- func (x *MetricsProvider) String() string
- type MetricsProvider_AWSCloudWatch
- func (*MetricsProvider_AWSCloudWatch) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsProvider_AWSCloudWatch) GetNamespace() string
- func (*MetricsProvider_AWSCloudWatch) ProtoMessage()
- func (x *MetricsProvider_AWSCloudWatch) ProtoReflect() protoreflect.Message
- func (x *MetricsProvider_AWSCloudWatch) Reset()
- func (x *MetricsProvider_AWSCloudWatch) String() string
- type MetricsProvider_Aws
- type MetricsProvider_Datadog
- func (*MetricsProvider_Datadog) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsProvider_Datadog) GetApiKey() *SecretData
- func (x *MetricsProvider_Datadog) GetSite() string
- func (*MetricsProvider_Datadog) ProtoMessage()
- func (x *MetricsProvider_Datadog) ProtoReflect() protoreflect.Message
- func (x *MetricsProvider_Datadog) Reset()
- func (x *MetricsProvider_Datadog) String() string
- type MetricsProvider_Datadog_
- type MetricsProvider_EncoreCloud
- type MetricsProvider_GCPCloudMonitoring
- func (*MetricsProvider_GCPCloudMonitoring) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsProvider_GCPCloudMonitoring) GetMetricNames() map[string]string
- func (x *MetricsProvider_GCPCloudMonitoring) GetMonitoredResourceLabels() map[string]string
- func (x *MetricsProvider_GCPCloudMonitoring) GetMonitoredResourceType() string
- func (x *MetricsProvider_GCPCloudMonitoring) GetProjectId() string
- func (*MetricsProvider_GCPCloudMonitoring) ProtoMessage()
- func (x *MetricsProvider_GCPCloudMonitoring) ProtoReflect() protoreflect.Message
- func (x *MetricsProvider_GCPCloudMonitoring) Reset()
- func (x *MetricsProvider_GCPCloudMonitoring) String() string
- type MetricsProvider_Gcp
- type MetricsProvider_PromRemoteWrite
- type MetricsProvider_PrometheusRemoteWrite
- func (*MetricsProvider_PrometheusRemoteWrite) Descriptor() ([]byte, []int)deprecated
- func (x *MetricsProvider_PrometheusRemoteWrite) GetRemoteWriteUrl() *SecretData
- func (*MetricsProvider_PrometheusRemoteWrite) ProtoMessage()
- func (x *MetricsProvider_PrometheusRemoteWrite) ProtoReflect() protoreflect.Message
- func (x *MetricsProvider_PrometheusRemoteWrite) Reset()
- func (x *MetricsProvider_PrometheusRemoteWrite) String() string
- type Observability
- func (*Observability) Descriptor() ([]byte, []int)deprecated
- func (x *Observability) GetLogs() []*LogsProvider
- func (x *Observability) GetMetrics() []*MetricsProvider
- func (x *Observability) GetTracing() []*TracingProvider
- func (*Observability) ProtoMessage()
- func (x *Observability) ProtoReflect() protoreflect.Message
- func (x *Observability) Reset()
- func (x *Observability) String() string
- type PubSubCluster
- func (*PubSubCluster) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubCluster) GetAws() *PubSubCluster_AWSSqsSns
- func (x *PubSubCluster) GetAzure() *PubSubCluster_AzureServiceBus
- func (x *PubSubCluster) GetEncore() *PubSubCluster_EncoreCloud
- func (x *PubSubCluster) GetGcp() *PubSubCluster_GCPPubSub
- func (x *PubSubCluster) GetNsq() *PubSubCluster_NSQ
- func (m *PubSubCluster) GetProvider() isPubSubCluster_Provider
- func (x *PubSubCluster) GetRid() string
- func (x *PubSubCluster) GetSubscriptions() []*PubSubSubscription
- func (x *PubSubCluster) GetTopics() []*PubSubTopic
- func (*PubSubCluster) ProtoMessage()
- func (x *PubSubCluster) ProtoReflect() protoreflect.Message
- func (x *PubSubCluster) Reset()
- func (x *PubSubCluster) String() string
- type PubSubCluster_AWSSqsSns
- type PubSubCluster_Aws
- type PubSubCluster_Azure
- type PubSubCluster_AzureServiceBus
- func (*PubSubCluster_AzureServiceBus) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubCluster_AzureServiceBus) GetNamespace() string
- func (*PubSubCluster_AzureServiceBus) ProtoMessage()
- func (x *PubSubCluster_AzureServiceBus) ProtoReflect() protoreflect.Message
- func (x *PubSubCluster_AzureServiceBus) Reset()
- func (x *PubSubCluster_AzureServiceBus) String() string
- type PubSubCluster_Encore
- type PubSubCluster_EncoreCloud
- type PubSubCluster_GCPPubSub
- type PubSubCluster_Gcp
- type PubSubCluster_NSQ
- type PubSubCluster_Nsq
- type PubSubSubscription
- func (*PubSubSubscription) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubSubscription) GetGcpConfig() *PubSubSubscription_GCPConfig
- func (m *PubSubSubscription) GetProviderConfig() isPubSubSubscription_ProviderConfig
- func (x *PubSubSubscription) GetPushOnly() bool
- func (x *PubSubSubscription) GetRid() string
- func (x *PubSubSubscription) GetSubscriptionCloudName() string
- func (x *PubSubSubscription) GetSubscriptionEncoreName() string
- func (x *PubSubSubscription) GetTopicCloudName() string
- func (x *PubSubSubscription) GetTopicEncoreName() string
- func (*PubSubSubscription) ProtoMessage()
- func (x *PubSubSubscription) ProtoReflect() protoreflect.Message
- func (x *PubSubSubscription) Reset()
- func (x *PubSubSubscription) String() string
- type PubSubSubscription_GCPConfig
- func (*PubSubSubscription_GCPConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubSubscription_GCPConfig) GetProjectId() string
- func (x *PubSubSubscription_GCPConfig) GetPushJwtAudience() string
- func (x *PubSubSubscription_GCPConfig) GetPushServiceAccount() string
- func (*PubSubSubscription_GCPConfig) ProtoMessage()
- func (x *PubSubSubscription_GCPConfig) ProtoReflect() protoreflect.Message
- func (x *PubSubSubscription_GCPConfig) Reset()
- func (x *PubSubSubscription_GCPConfig) String() string
- type PubSubSubscription_GcpConfig
- type PubSubTopic
- func (*PubSubTopic) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubTopic) GetCloudName() string
- func (x *PubSubTopic) GetDeliveryGuarantee() PubSubTopic_DeliveryGuarantee
- func (x *PubSubTopic) GetEncoreName() string
- func (x *PubSubTopic) GetGcpConfig() *PubSubTopic_GCPConfig
- func (x *PubSubTopic) GetOrderingAttr() string
- func (m *PubSubTopic) GetProviderConfig() isPubSubTopic_ProviderConfig
- func (x *PubSubTopic) GetRid() string
- func (*PubSubTopic) ProtoMessage()
- func (x *PubSubTopic) ProtoReflect() protoreflect.Message
- func (x *PubSubTopic) Reset()
- func (x *PubSubTopic) 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_GCPConfig
- func (*PubSubTopic_GCPConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PubSubTopic_GCPConfig) GetProjectId() string
- func (*PubSubTopic_GCPConfig) ProtoMessage()
- func (x *PubSubTopic_GCPConfig) ProtoReflect() protoreflect.Message
- func (x *PubSubTopic_GCPConfig) Reset()
- func (x *PubSubTopic_GCPConfig) String() string
- type PubSubTopic_GcpConfig
- type RateLimiter
- func (*RateLimiter) Descriptor() ([]byte, []int)deprecated
- func (m *RateLimiter) GetKind() isRateLimiter_Kind
- func (x *RateLimiter) GetTokenBucket() *RateLimiter_TokenBucket
- func (*RateLimiter) ProtoMessage()
- func (x *RateLimiter) ProtoReflect() protoreflect.Message
- func (x *RateLimiter) Reset()
- func (x *RateLimiter) String() string
- type RateLimiter_TokenBucket
- func (*RateLimiter_TokenBucket) Descriptor() ([]byte, []int)deprecated
- func (x *RateLimiter_TokenBucket) GetBurst() uint32
- func (x *RateLimiter_TokenBucket) GetRate() float64
- func (*RateLimiter_TokenBucket) ProtoMessage()
- func (x *RateLimiter_TokenBucket) ProtoReflect() protoreflect.Message
- func (x *RateLimiter_TokenBucket) Reset()
- func (x *RateLimiter_TokenBucket) String() string
- type RateLimiter_TokenBucket_
- type RedisCluster
- func (*RedisCluster) Descriptor() ([]byte, []int)deprecated
- func (x *RedisCluster) GetDatabases() []*RedisDatabase
- func (x *RedisCluster) GetRid() string
- func (x *RedisCluster) GetServers() []*RedisServer
- func (*RedisCluster) ProtoMessage()
- func (x *RedisCluster) ProtoReflect() protoreflect.Message
- func (x *RedisCluster) Reset()
- func (x *RedisCluster) String() string
- type RedisConnectionPool
- func (*RedisConnectionPool) Descriptor() ([]byte, []int)deprecated
- func (x *RedisConnectionPool) GetIsReadonly() bool
- func (x *RedisConnectionPool) GetMaxConnections() int32
- func (x *RedisConnectionPool) GetMinConnections() int32
- func (x *RedisConnectionPool) GetRoleRid() string
- func (*RedisConnectionPool) ProtoMessage()
- func (x *RedisConnectionPool) ProtoReflect() protoreflect.Message
- func (x *RedisConnectionPool) Reset()
- func (x *RedisConnectionPool) String() string
- type RedisDatabase
- func (*RedisDatabase) Descriptor() ([]byte, []int)deprecated
- func (x *RedisDatabase) GetConnPools() []*RedisConnectionPool
- func (x *RedisDatabase) GetDatabaseIdx() int32
- func (x *RedisDatabase) GetEncoreName() string
- func (x *RedisDatabase) GetKeyPrefix() string
- func (x *RedisDatabase) GetRid() string
- func (*RedisDatabase) ProtoMessage()
- func (x *RedisDatabase) ProtoReflect() protoreflect.Message
- func (x *RedisDatabase) Reset()
- func (x *RedisDatabase) String() string
- type RedisRole
- func (*RedisRole) Descriptor() ([]byte, []int)deprecated
- func (x *RedisRole) GetAcl() *RedisRole_AuthACL
- func (m *RedisRole) GetAuth() isRedisRole_Auth
- func (x *RedisRole) GetAuthString() *SecretData
- func (x *RedisRole) GetClientCertRid() string
- func (x *RedisRole) GetRid() string
- func (*RedisRole) ProtoMessage()
- func (x *RedisRole) ProtoReflect() protoreflect.Message
- func (x *RedisRole) Reset()
- func (x *RedisRole) String() string
- type RedisRole_Acl
- type RedisRole_AuthACL
- func (*RedisRole_AuthACL) Descriptor() ([]byte, []int)deprecated
- func (x *RedisRole_AuthACL) GetPassword() *SecretData
- func (x *RedisRole_AuthACL) GetUsername() string
- func (*RedisRole_AuthACL) ProtoMessage()
- func (x *RedisRole_AuthACL) ProtoReflect() protoreflect.Message
- func (x *RedisRole_AuthACL) Reset()
- func (x *RedisRole_AuthACL) String() string
- type RedisRole_AuthString
- type RedisServer
- func (*RedisServer) Descriptor() ([]byte, []int)deprecated
- func (x *RedisServer) GetHost() string
- func (x *RedisServer) GetKind() ServerKind
- func (x *RedisServer) GetRid() string
- func (x *RedisServer) GetTlsConfig() *TLSConfig
- func (*RedisServer) ProtoMessage()
- func (x *RedisServer) ProtoReflect() protoreflect.Message
- func (x *RedisServer) Reset()
- func (x *RedisServer) String() string
- type RuntimeConfig
- func (*RuntimeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeConfig) GetDeployment() *Deployment
- func (x *RuntimeConfig) GetEncorePlatform() *EncorePlatform
- func (x *RuntimeConfig) GetEnvironment() *Environment
- func (x *RuntimeConfig) GetInfra() *Infrastructure
- func (*RuntimeConfig) ProtoMessage()
- func (x *RuntimeConfig) ProtoReflect() protoreflect.Message
- func (x *RuntimeConfig) Reset()
- func (x *RuntimeConfig) String() string
- type SQLCluster
- func (*SQLCluster) Descriptor() ([]byte, []int)deprecated
- func (x *SQLCluster) GetDatabases() []*SQLDatabase
- func (x *SQLCluster) GetRid() string
- func (x *SQLCluster) GetServers() []*SQLServer
- func (*SQLCluster) ProtoMessage()
- func (x *SQLCluster) ProtoReflect() protoreflect.Message
- func (x *SQLCluster) Reset()
- func (x *SQLCluster) String() string
- type SQLConnectionPool
- func (*SQLConnectionPool) Descriptor() ([]byte, []int)deprecated
- func (x *SQLConnectionPool) GetIsReadonly() bool
- func (x *SQLConnectionPool) GetMaxConnections() int32
- func (x *SQLConnectionPool) GetMinConnections() int32
- func (x *SQLConnectionPool) GetRoleRid() string
- func (*SQLConnectionPool) ProtoMessage()
- func (x *SQLConnectionPool) ProtoReflect() protoreflect.Message
- func (x *SQLConnectionPool) Reset()
- func (x *SQLConnectionPool) String() string
- type SQLDatabase
- func (*SQLDatabase) Descriptor() ([]byte, []int)deprecated
- func (x *SQLDatabase) GetCloudName() string
- func (x *SQLDatabase) GetConnPools() []*SQLConnectionPool
- func (x *SQLDatabase) GetEncoreName() string
- func (x *SQLDatabase) GetRid() string
- func (*SQLDatabase) ProtoMessage()
- func (x *SQLDatabase) ProtoReflect() protoreflect.Message
- func (x *SQLDatabase) Reset()
- func (x *SQLDatabase) String() string
- type SQLRole
- func (*SQLRole) Descriptor() ([]byte, []int)deprecated
- func (x *SQLRole) GetClientCertRid() string
- func (x *SQLRole) GetPassword() *SecretData
- func (x *SQLRole) GetRid() string
- func (x *SQLRole) GetUsername() string
- func (*SQLRole) ProtoMessage()
- func (x *SQLRole) ProtoReflect() protoreflect.Message
- func (x *SQLRole) Reset()
- func (x *SQLRole) String() string
- type SQLServer
- func (*SQLServer) Descriptor() ([]byte, []int)deprecated
- func (x *SQLServer) GetHost() string
- func (x *SQLServer) GetKind() ServerKind
- func (x *SQLServer) GetRid() string
- func (x *SQLServer) GetTlsConfig() *TLSConfig
- func (*SQLServer) ProtoMessage()
- func (x *SQLServer) ProtoReflect() protoreflect.Message
- func (x *SQLServer) Reset()
- func (x *SQLServer) String() string
- type SecretData
- func (*SecretData) Descriptor() ([]byte, []int)deprecated
- func (x *SecretData) GetEmbedded() []byte
- func (x *SecretData) GetEncoding() SecretData_Encoding
- func (x *SecretData) GetEnv() string
- func (x *SecretData) GetJsonKey() string
- func (m *SecretData) GetSource() isSecretData_Source
- func (m *SecretData) GetSubPath() isSecretData_SubPath
- func (*SecretData) ProtoMessage()
- func (x *SecretData) ProtoReflect() protoreflect.Message
- func (x *SecretData) Reset()
- func (x *SecretData) String() string
- type SecretData_Embedded
- type SecretData_Encoding
- func (SecretData_Encoding) Descriptor() protoreflect.EnumDescriptor
- func (x SecretData_Encoding) Enum() *SecretData_Encoding
- func (SecretData_Encoding) EnumDescriptor() ([]byte, []int)deprecated
- func (x SecretData_Encoding) Number() protoreflect.EnumNumber
- func (x SecretData_Encoding) String() string
- func (SecretData_Encoding) Type() protoreflect.EnumType
- type SecretData_Env
- type SecretData_JsonKey
- type ServerKind
- type ServiceAuth
- func (*ServiceAuth) Descriptor() ([]byte, []int)deprecated
- func (m *ServiceAuth) GetAuthMethod() isServiceAuth_AuthMethod
- func (x *ServiceAuth) GetEncoreAuth() *ServiceAuth_EncoreAuth
- func (x *ServiceAuth) GetNoop() *ServiceAuth_NoopAuth
- func (*ServiceAuth) ProtoMessage()
- func (x *ServiceAuth) ProtoReflect() protoreflect.Message
- func (x *ServiceAuth) Reset()
- func (x *ServiceAuth) String() string
- type ServiceAuth_EncoreAuth
- func (*ServiceAuth_EncoreAuth) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceAuth_EncoreAuth) GetAuthKeys() []*EncoreAuthKey
- func (*ServiceAuth_EncoreAuth) ProtoMessage()
- func (x *ServiceAuth_EncoreAuth) ProtoReflect() protoreflect.Message
- func (x *ServiceAuth_EncoreAuth) Reset()
- func (x *ServiceAuth_EncoreAuth) String() string
- type ServiceAuth_EncoreAuth_
- type ServiceAuth_Noop
- type ServiceAuth_NoopAuth
- type ServiceDiscovery
- func (*ServiceDiscovery) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceDiscovery) GetServices() map[string]*ServiceDiscovery_Location
- func (*ServiceDiscovery) ProtoMessage()
- func (x *ServiceDiscovery) ProtoReflect() protoreflect.Message
- func (x *ServiceDiscovery) Reset()
- func (x *ServiceDiscovery) String() string
- type ServiceDiscovery_Location
- func (*ServiceDiscovery_Location) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceDiscovery_Location) GetAuthMethods() []*ServiceAuth
- func (x *ServiceDiscovery_Location) GetBaseUrl() string
- func (*ServiceDiscovery_Location) ProtoMessage()
- func (x *ServiceDiscovery_Location) ProtoReflect() protoreflect.Message
- func (x *ServiceDiscovery_Location) Reset()
- func (x *ServiceDiscovery_Location) String() string
- type TLSConfig
- func (*TLSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TLSConfig) GetDisableCaValidation() bool
- func (x *TLSConfig) GetDisableTlsHostnameVerification() bool
- func (x *TLSConfig) GetServerCaCert() string
- func (*TLSConfig) ProtoMessage()
- func (x *TLSConfig) ProtoReflect() protoreflect.Message
- func (x *TLSConfig) Reset()
- func (x *TLSConfig) String() string
- type TracingProvider
- func (*TracingProvider) Descriptor() ([]byte, []int)deprecated
- func (x *TracingProvider) GetEncore() *TracingProvider_EncoreTracingProvider
- func (m *TracingProvider) GetProvider() isTracingProvider_Provider
- func (x *TracingProvider) GetRid() string
- func (*TracingProvider) ProtoMessage()
- func (x *TracingProvider) ProtoReflect() protoreflect.Message
- func (x *TracingProvider) Reset()
- func (x *TracingProvider) String() string
- type TracingProvider_Encore
- type TracingProvider_EncoreTracingProvider
- func (*TracingProvider_EncoreTracingProvider) Descriptor() ([]byte, []int)deprecated
- func (x *TracingProvider_EncoreTracingProvider) GetSamplingRate() float64
- func (x *TracingProvider_EncoreTracingProvider) GetTraceEndpoint() string
- func (*TracingProvider_EncoreTracingProvider) ProtoMessage()
- func (x *TracingProvider_EncoreTracingProvider) ProtoReflect() protoreflect.Message
- func (x *TracingProvider_EncoreTracingProvider) Reset()
- func (x *TracingProvider_EncoreTracingProvider) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ServerKind_name = map[int32]string{ 0: "SERVER_KIND_UNSPECIFIED", 1: "SERVER_KIND_PRIMARY", 2: "SERVER_KIND_HOT_STANDBY", 3: "SERVER_KIND_READ_REPLICA", } ServerKind_value = map[string]int32{ "SERVER_KIND_UNSPECIFIED": 0, "SERVER_KIND_PRIMARY": 1, "SERVER_KIND_HOT_STANDBY": 2, "SERVER_KIND_READ_REPLICA": 3, } )
Enum value maps for ServerKind.
var ( PubSubTopic_DeliveryGuarantee_name = map[int32]string{ 0: "DELIVERY_GUARANTEE_UNSPECIFIED", 1: "DELIVERY_GUARANTEE_AT_LEAST_ONCE", 2: "DELIVERY_GUARANTEE_EXACTLY_ONCE", } PubSubTopic_DeliveryGuarantee_value = map[string]int32{ "DELIVERY_GUARANTEE_UNSPECIFIED": 0, "DELIVERY_GUARANTEE_AT_LEAST_ONCE": 1, "DELIVERY_GUARANTEE_EXACTLY_ONCE": 2, } )
Enum value maps for PubSubTopic_DeliveryGuarantee.
var ( Environment_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "TYPE_DEVELOPMENT", 2: "TYPE_PRODUCTION", 3: "TYPE_EPHEMERAL", 4: "TYPE_TEST", } Environment_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "TYPE_DEVELOPMENT": 1, "TYPE_PRODUCTION": 2, "TYPE_EPHEMERAL": 3, "TYPE_TEST": 4, } )
Enum value maps for Environment_Type.
var ( Environment_Cloud_name = map[int32]string{ 0: "CLOUD_UNSPECIFIED", 1: "CLOUD_LOCAL", 2: "CLOUD_ENCORE", 3: "CLOUD_AWS", 4: "CLOUD_GCP", 5: "CLOUD_AZURE", } Environment_Cloud_value = map[string]int32{ "CLOUD_UNSPECIFIED": 0, "CLOUD_LOCAL": 1, "CLOUD_ENCORE": 2, "CLOUD_AWS": 3, "CLOUD_GCP": 4, "CLOUD_AZURE": 5, } )
Enum value maps for Environment_Cloud.
var ( SecretData_Encoding_name = map[int32]string{ 0: "ENCODING_NONE", 1: "ENCODING_BASE64", } SecretData_Encoding_value = map[string]int32{ "ENCODING_NONE": 0, "ENCODING_BASE64": 1, } )
Enum value maps for SecretData_Encoding.
var File_encore_runtime_v1_infra_proto protoreflect.FileDescriptor
var File_encore_runtime_v1_runtime_proto protoreflect.FileDescriptor
var File_encore_runtime_v1_secretdata_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AppSecret ¶
type AppSecret struct {
// The unique resource id for this secret.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
// The encore name of the secret.
EncoreName string `protobuf:"bytes,2,opt,name=encore_name,json=encoreName,proto3" json:"encore_name,omitempty"`
// The secret data.
Data *SecretData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*AppSecret) Descriptor
deprecated
func (*AppSecret) GetData ¶
func (x *AppSecret) GetData() *SecretData
func (*AppSecret) GetEncoreName ¶
func (*AppSecret) ProtoMessage ¶
func (*AppSecret) ProtoMessage()
func (*AppSecret) ProtoReflect ¶
func (x *AppSecret) ProtoReflect() protoreflect.Message
type Bucket ¶
type Bucket struct {
// The unique resource id for this bucket.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
// The encore name of the bucket.
EncoreName string `protobuf:"bytes,2,opt,name=encore_name,json=encoreName,proto3" json:"encore_name,omitempty"`
// The cloud name of the bucket.
CloudName string `protobuf:"bytes,3,opt,name=cloud_name,json=cloudName,proto3" json:"cloud_name,omitempty"`
// Optional key prefix to prepend to all bucket keys.
//
// Note: make sure it ends with a slash ("/") if you want
// to group objects within a certain folder.
KeyPrefix *string `protobuf:"bytes,4,opt,name=key_prefix,json=keyPrefix,proto3,oneof" json:"key_prefix,omitempty"`
// Public base URL for accessing objects in this bucket.
// Must be set for public buckets.
PublicBaseUrl *string `protobuf:"bytes,5,opt,name=public_base_url,json=publicBaseUrl,proto3,oneof" json:"public_base_url,omitempty"`
// contains filtered or unexported fields
}
func (*Bucket) Descriptor
deprecated
func (*Bucket) GetCloudName ¶
func (*Bucket) GetEncoreName ¶
func (*Bucket) GetKeyPrefix ¶
func (*Bucket) GetPublicBaseUrl ¶
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) ProtoReflect ¶
func (x *Bucket) ProtoReflect() protoreflect.Message
type BucketCluster ¶
type BucketCluster struct {
// The unique resource id for this cluster.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
Buckets []*Bucket `protobuf:"bytes,2,rep,name=buckets,proto3" json:"buckets,omitempty"`
// Types that are assignable to Provider:
//
// *BucketCluster_S3_
// *BucketCluster_Gcs
Provider isBucketCluster_Provider `protobuf_oneof:"provider"`
// contains filtered or unexported fields
}
func (*BucketCluster) Descriptor
deprecated
func (*BucketCluster) Descriptor() ([]byte, []int)
Deprecated: Use BucketCluster.ProtoReflect.Descriptor instead.
func (*BucketCluster) GetBuckets ¶
func (x *BucketCluster) GetBuckets() []*Bucket
func (*BucketCluster) GetGcs ¶
func (x *BucketCluster) GetGcs() *BucketCluster_GCS
func (*BucketCluster) GetProvider ¶
func (m *BucketCluster) GetProvider() isBucketCluster_Provider
func (*BucketCluster) GetRid ¶
func (x *BucketCluster) GetRid() string
func (*BucketCluster) GetS3 ¶
func (x *BucketCluster) GetS3() *BucketCluster_S3
func (*BucketCluster) ProtoMessage ¶
func (*BucketCluster) ProtoMessage()
func (*BucketCluster) ProtoReflect ¶
func (x *BucketCluster) ProtoReflect() protoreflect.Message
func (*BucketCluster) Reset ¶
func (x *BucketCluster) Reset()
func (*BucketCluster) String ¶
func (x *BucketCluster) String() string
type BucketCluster_GCS ¶
type BucketCluster_GCS struct {
// Endpoint override, if any. Defaults to https://storage.googleapis.com if unset.
Endpoint *string `protobuf:"bytes,1,opt,name=endpoint,proto3,oneof" json:"endpoint,omitempty"`
// Whether to connect anonymously or if a service account should be resolved.
Anonymous bool `protobuf:"varint,2,opt,name=anonymous,proto3" json:"anonymous,omitempty"`
// Additional options for signed URLs when running in local dev mode.
// Only use with anonymous mode.
LocalSign *BucketCluster_GCS_LocalSignOptions `protobuf:"bytes,3,opt,name=local_sign,json=localSign,proto3,oneof" json:"local_sign,omitempty"`
// contains filtered or unexported fields
}
func (*BucketCluster_GCS) Descriptor
deprecated
func (*BucketCluster_GCS) Descriptor() ([]byte, []int)
Deprecated: Use BucketCluster_GCS.ProtoReflect.Descriptor instead.
func (*BucketCluster_GCS) GetAnonymous ¶
func (x *BucketCluster_GCS) GetAnonymous() bool
func (*BucketCluster_GCS) GetEndpoint ¶
func (x *BucketCluster_GCS) GetEndpoint() string
func (*BucketCluster_GCS) GetLocalSign ¶
func (x *BucketCluster_GCS) GetLocalSign() *BucketCluster_GCS_LocalSignOptions
func (*BucketCluster_GCS) ProtoMessage ¶
func (*BucketCluster_GCS) ProtoMessage()
func (*BucketCluster_GCS) ProtoReflect ¶
func (x *BucketCluster_GCS) ProtoReflect() protoreflect.Message
func (*BucketCluster_GCS) Reset ¶
func (x *BucketCluster_GCS) Reset()
func (*BucketCluster_GCS) String ¶
func (x *BucketCluster_GCS) String() string
type BucketCluster_GCS_LocalSignOptions ¶
type BucketCluster_GCS_LocalSignOptions struct {
// Base prefix to use for presigned URLs.
BaseUrl string `protobuf:"bytes,1,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
// Use these credentials to sign local URLs. Only pass dummy credentials
// here, no actual secrets.
AccessId string `protobuf:"bytes,2,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"`
PrivateKey string `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
// contains filtered or unexported fields
}
func (*BucketCluster_GCS_LocalSignOptions) Descriptor
deprecated
func (*BucketCluster_GCS_LocalSignOptions) Descriptor() ([]byte, []int)
Deprecated: Use BucketCluster_GCS_LocalSignOptions.ProtoReflect.Descriptor instead.
func (*BucketCluster_GCS_LocalSignOptions) GetAccessId ¶
func (x *BucketCluster_GCS_LocalSignOptions) GetAccessId() string
func (*BucketCluster_GCS_LocalSignOptions) GetBaseUrl ¶
func (x *BucketCluster_GCS_LocalSignOptions) GetBaseUrl() string
func (*BucketCluster_GCS_LocalSignOptions) GetPrivateKey ¶
func (x *BucketCluster_GCS_LocalSignOptions) GetPrivateKey() string
func (*BucketCluster_GCS_LocalSignOptions) ProtoMessage ¶
func (*BucketCluster_GCS_LocalSignOptions) ProtoMessage()
func (*BucketCluster_GCS_LocalSignOptions) ProtoReflect ¶
func (x *BucketCluster_GCS_LocalSignOptions) ProtoReflect() protoreflect.Message
func (*BucketCluster_GCS_LocalSignOptions) Reset ¶
func (x *BucketCluster_GCS_LocalSignOptions) Reset()
func (*BucketCluster_GCS_LocalSignOptions) String ¶
func (x *BucketCluster_GCS_LocalSignOptions) String() string
type BucketCluster_Gcs ¶
type BucketCluster_Gcs struct {
Gcs *BucketCluster_GCS `protobuf:"bytes,11,opt,name=gcs,proto3,oneof"`
}
type BucketCluster_S3 ¶
type BucketCluster_S3 struct {
// Region to connect to.
Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
// Endpoint override, if any. Must be specified if using a non-standard AWS region.
Endpoint *string `protobuf:"bytes,2,opt,name=endpoint,proto3,oneof" json:"endpoint,omitempty"`
// Set these to use explicit credentials for this bucket,
// as opposed to resolving using AWS's default credential chain.
AccessKeyId *string `protobuf:"bytes,3,opt,name=access_key_id,json=accessKeyId,proto3,oneof" json:"access_key_id,omitempty"`
SecretAccessKey *SecretData `protobuf:"bytes,4,opt,name=secret_access_key,json=secretAccessKey,proto3,oneof" json:"secret_access_key,omitempty"`
// contains filtered or unexported fields
}
func (*BucketCluster_S3) Descriptor
deprecated
func (*BucketCluster_S3) Descriptor() ([]byte, []int)
Deprecated: Use BucketCluster_S3.ProtoReflect.Descriptor instead.
func (*BucketCluster_S3) GetAccessKeyId ¶
func (x *BucketCluster_S3) GetAccessKeyId() string
func (*BucketCluster_S3) GetEndpoint ¶
func (x *BucketCluster_S3) GetEndpoint() string
func (*BucketCluster_S3) GetRegion ¶
func (x *BucketCluster_S3) GetRegion() string
func (*BucketCluster_S3) GetSecretAccessKey ¶
func (x *BucketCluster_S3) GetSecretAccessKey() *SecretData
func (*BucketCluster_S3) ProtoMessage ¶
func (*BucketCluster_S3) ProtoMessage()
func (*BucketCluster_S3) ProtoReflect ¶
func (x *BucketCluster_S3) ProtoReflect() protoreflect.Message
func (*BucketCluster_S3) Reset ¶
func (x *BucketCluster_S3) Reset()
func (*BucketCluster_S3) String ¶
func (x *BucketCluster_S3) String() string
type BucketCluster_S3_ ¶
type BucketCluster_S3_ struct {
S3 *BucketCluster_S3 `protobuf:"bytes,10,opt,name=s3,proto3,oneof"`
}
type ClientCert ¶
type ClientCert struct {
// The unique resource id for this certificate.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
Cert string `protobuf:"bytes,2,opt,name=cert,proto3" json:"cert,omitempty"`
Key *SecretData `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*ClientCert) Descriptor
deprecated
func (*ClientCert) Descriptor() ([]byte, []int)
Deprecated: Use ClientCert.ProtoReflect.Descriptor instead.
func (*ClientCert) GetCert ¶
func (x *ClientCert) GetCert() string
func (*ClientCert) GetKey ¶
func (x *ClientCert) GetKey() *SecretData
func (*ClientCert) GetRid ¶
func (x *ClientCert) GetRid() string
func (*ClientCert) ProtoMessage ¶
func (*ClientCert) ProtoMessage()
func (*ClientCert) ProtoReflect ¶
func (x *ClientCert) ProtoReflect() protoreflect.Message
func (*ClientCert) Reset ¶
func (x *ClientCert) Reset()
func (*ClientCert) String ¶
func (x *ClientCert) String() string
type Deployment ¶
type Deployment struct {
DeployId string `protobuf:"bytes,1,opt,name=deploy_id,json=deployId,proto3" json:"deploy_id,omitempty"`
DeployedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=deployed_at,json=deployedAt,proto3" json:"deployed_at,omitempty"`
// A list of experiments to enable at runtime.
DynamicExperiments []string `protobuf:"bytes,3,rep,name=dynamic_experiments,json=dynamicExperiments,proto3" json:"dynamic_experiments,omitempty"`
// The gateways hosted by this deployment, by rid.
HostedGateways []string `protobuf:"bytes,4,rep,name=hosted_gateways,json=hostedGateways,proto3" json:"hosted_gateways,omitempty"`
// The services hosted by this deployment.
HostedServices []*HostedService `protobuf:"bytes,5,rep,name=hosted_services,json=hostedServices,proto3" json:"hosted_services,omitempty"`
// The authentication method(s) that can be used when talking
// to this deployment for internal service-to-service calls.
//
// An empty list means no service-to-service calls can be made to this deployment.
AuthMethods []*ServiceAuth `protobuf:"bytes,6,rep,name=auth_methods,json=authMethods,proto3" json:"auth_methods,omitempty"`
// Observability-related configuration.
Observability *Observability `protobuf:"bytes,7,opt,name=observability,proto3" json:"observability,omitempty"`
// Service discovery configuration.
ServiceDiscovery *ServiceDiscovery `protobuf:"bytes,8,opt,name=service_discovery,json=serviceDiscovery,proto3" json:"service_discovery,omitempty"`
// Graceful shutdown behavior.
GracefulShutdown *GracefulShutdown `protobuf:"bytes,9,opt,name=graceful_shutdown,json=gracefulShutdown,proto3" json:"graceful_shutdown,omitempty"`
// contains filtered or unexported fields
}
Describes the configuration related to a specific deployment, meaning a group of services deployed together (think a single k8s Deployment).
func (*Deployment) Descriptor
deprecated
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (*Deployment) GetAuthMethods ¶
func (x *Deployment) GetAuthMethods() []*ServiceAuth
func (*Deployment) GetDeployId ¶
func (x *Deployment) GetDeployId() string
func (*Deployment) GetDeployedAt ¶
func (x *Deployment) GetDeployedAt() *timestamppb.Timestamp
func (*Deployment) GetDynamicExperiments ¶
func (x *Deployment) GetDynamicExperiments() []string
func (*Deployment) GetGracefulShutdown ¶
func (x *Deployment) GetGracefulShutdown() *GracefulShutdown
func (*Deployment) GetHostedGateways ¶
func (x *Deployment) GetHostedGateways() []string
func (*Deployment) GetHostedServices ¶
func (x *Deployment) GetHostedServices() []*HostedService
func (*Deployment) GetObservability ¶
func (x *Deployment) GetObservability() *Observability
func (*Deployment) GetServiceDiscovery ¶
func (x *Deployment) GetServiceDiscovery() *ServiceDiscovery
func (*Deployment) ProtoMessage ¶
func (*Deployment) ProtoMessage()
func (*Deployment) ProtoReflect ¶
func (x *Deployment) ProtoReflect() protoreflect.Message
func (*Deployment) Reset ¶
func (x *Deployment) Reset()
func (*Deployment) String ¶
func (x *Deployment) String() string
type EncoreAuthKey ¶
type EncoreAuthKey struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Data *SecretData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*EncoreAuthKey) Descriptor
deprecated
func (*EncoreAuthKey) Descriptor() ([]byte, []int)
Deprecated: Use EncoreAuthKey.ProtoReflect.Descriptor instead.
func (*EncoreAuthKey) GetData ¶
func (x *EncoreAuthKey) GetData() *SecretData
func (*EncoreAuthKey) GetId ¶
func (x *EncoreAuthKey) GetId() uint32
func (*EncoreAuthKey) ProtoMessage ¶
func (*EncoreAuthKey) ProtoMessage()
func (*EncoreAuthKey) ProtoReflect ¶
func (x *EncoreAuthKey) ProtoReflect() protoreflect.Message
func (*EncoreAuthKey) Reset ¶
func (x *EncoreAuthKey) Reset()
func (*EncoreAuthKey) String ¶
func (x *EncoreAuthKey) String() string
type EncoreCloudProvider ¶
type EncoreCloudProvider struct {
// The unique resource id for this provider.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
// URL to use to authenticate with the server.
ServerUrl string `protobuf:"bytes,2,opt,name=server_url,json=serverUrl,proto3" json:"server_url,omitempty"`
AuthKeys []*EncoreAuthKey `protobuf:"bytes,3,rep,name=auth_keys,json=authKeys,proto3" json:"auth_keys,omitempty"`
// contains filtered or unexported fields
}
func (*EncoreCloudProvider) Descriptor
deprecated
func (*EncoreCloudProvider) Descriptor() ([]byte, []int)
Deprecated: Use EncoreCloudProvider.ProtoReflect.Descriptor instead.
func (*EncoreCloudProvider) GetAuthKeys ¶
func (x *EncoreCloudProvider) GetAuthKeys() []*EncoreAuthKey
func (*EncoreCloudProvider) GetRid ¶
func (x *EncoreCloudProvider) GetRid() string
func (*EncoreCloudProvider) GetServerUrl ¶
func (x *EncoreCloudProvider) GetServerUrl() string
func (*EncoreCloudProvider) ProtoMessage ¶
func (*EncoreCloudProvider) ProtoMessage()
func (*EncoreCloudProvider) ProtoReflect ¶
func (x *EncoreCloudProvider) ProtoReflect() protoreflect.Message
func (*EncoreCloudProvider) Reset ¶
func (x *EncoreCloudProvider) Reset()
func (*EncoreCloudProvider) String ¶
func (x *EncoreCloudProvider) String() string
type EncorePlatform ¶
type EncorePlatform struct {
// Auth keys for validating signed requests from the Encore Platform.
PlatformSigningKeys []*EncoreAuthKey `protobuf:"bytes,1,rep,name=platform_signing_keys,json=platformSigningKeys,proto3" json:"platform_signing_keys,omitempty"`
// The Encore Cloud configuration to use, if running in Encore Cloud.
EncoreCloud *EncoreCloudProvider `protobuf:"bytes,2,opt,name=encore_cloud,json=encoreCloud,proto3,oneof" json:"encore_cloud,omitempty"`
// contains filtered or unexported fields
}
func (*EncorePlatform) Descriptor
deprecated
func (*EncorePlatform) Descriptor() ([]byte, []int)
Deprecated: Use EncorePlatform.ProtoReflect.Descriptor instead.
func (*EncorePlatform) GetEncoreCloud ¶
func (x *EncorePlatform) GetEncoreCloud() *EncoreCloudProvider
func (*EncorePlatform) GetPlatformSigningKeys ¶
func (x *EncorePlatform) GetPlatformSigningKeys() []*EncoreAuthKey
func (*EncorePlatform) ProtoMessage ¶
func (*EncorePlatform) ProtoMessage()
func (*EncorePlatform) ProtoReflect ¶
func (x *EncorePlatform) ProtoReflect() protoreflect.Message
func (*EncorePlatform) Reset ¶
func (x *EncorePlatform) Reset()
func (*EncorePlatform) String ¶
func (x *EncorePlatform) String() string
type Environment ¶
type Environment struct {
AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
AppSlug string `protobuf:"bytes,2,opt,name=app_slug,json=appSlug,proto3" json:"app_slug,omitempty"`
EnvId string `protobuf:"bytes,3,opt,name=env_id,json=envId,proto3" json:"env_id,omitempty"`
EnvName string `protobuf:"bytes,4,opt,name=env_name,json=envName,proto3" json:"env_name,omitempty"`
EnvType Environment_Type `protobuf:"varint,5,opt,name=env_type,json=envType,proto3,enum=encore.runtime.v1.Environment_Type" json:"env_type,omitempty"`
Cloud Environment_Cloud `protobuf:"varint,6,opt,name=cloud,proto3,enum=encore.runtime.v1.Environment_Cloud" json:"cloud,omitempty"`
// contains filtered or unexported fields
}
func (*Environment) Descriptor
deprecated
func (*Environment) Descriptor() ([]byte, []int)
Deprecated: Use Environment.ProtoReflect.Descriptor instead.
func (*Environment) GetAppId ¶
func (x *Environment) GetAppId() string
func (*Environment) GetAppSlug ¶
func (x *Environment) GetAppSlug() string
func (*Environment) GetCloud ¶
func (x *Environment) GetCloud() Environment_Cloud
func (*Environment) GetEnvId ¶
func (x *Environment) GetEnvId() string
func (*Environment) GetEnvName ¶
func (x *Environment) GetEnvName() string
func (*Environment) GetEnvType ¶
func (x *Environment) GetEnvType() Environment_Type
func (*Environment) ProtoMessage ¶
func (*Environment) ProtoMessage()
func (*Environment) ProtoReflect ¶
func (x *Environment) ProtoReflect() protoreflect.Message
func (*Environment) Reset ¶
func (x *Environment) Reset()
func (*Environment) String ¶
func (x *Environment) String() string
type Environment_Cloud ¶
type Environment_Cloud int32
const ( Environment_CLOUD_UNSPECIFIED Environment_Cloud = 0 Environment_CLOUD_LOCAL Environment_Cloud = 1 Environment_CLOUD_ENCORE Environment_Cloud = 2 Environment_CLOUD_AWS Environment_Cloud = 3 Environment_CLOUD_GCP Environment_Cloud = 4 Environment_CLOUD_AZURE Environment_Cloud = 5 )
func (Environment_Cloud) Descriptor ¶
func (Environment_Cloud) Descriptor() protoreflect.EnumDescriptor
func (Environment_Cloud) Enum ¶
func (x Environment_Cloud) Enum() *Environment_Cloud
func (Environment_Cloud) EnumDescriptor
deprecated
func (Environment_Cloud) EnumDescriptor() ([]byte, []int)
Deprecated: Use Environment_Cloud.Descriptor instead.
func (Environment_Cloud) Number ¶
func (x Environment_Cloud) Number() protoreflect.EnumNumber
func (Environment_Cloud) String ¶
func (x Environment_Cloud) String() string
func (Environment_Cloud) Type ¶
func (Environment_Cloud) Type() protoreflect.EnumType
type Environment_Type ¶
type Environment_Type int32
const ( Environment_TYPE_UNSPECIFIED Environment_Type = 0 Environment_TYPE_DEVELOPMENT Environment_Type = 1 Environment_TYPE_PRODUCTION Environment_Type = 2 Environment_TYPE_EPHEMERAL Environment_Type = 3 Environment_TYPE_TEST Environment_Type = 4 )
func (Environment_Type) Descriptor ¶
func (Environment_Type) Descriptor() protoreflect.EnumDescriptor
func (Environment_Type) Enum ¶
func (x Environment_Type) Enum() *Environment_Type
func (Environment_Type) EnumDescriptor
deprecated
func (Environment_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Environment_Type.Descriptor instead.
func (Environment_Type) Number ¶
func (x Environment_Type) Number() protoreflect.EnumNumber
func (Environment_Type) String ¶
func (x Environment_Type) String() string
func (Environment_Type) Type ¶
func (Environment_Type) Type() protoreflect.EnumType
type Gateway ¶
type Gateway struct {
// The unique id for this resource.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
// The encore name of the gateway.
EncoreName string `protobuf:"bytes,2,opt,name=encore_name,json=encoreName,proto3" json:"encore_name,omitempty"`
// The base url for reaching this gateway, for returning to the application
// via e.g. the metadata APIs.
BaseUrl string `protobuf:"bytes,3,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
// The hostnames this gateway accepts requests for.
Hostnames []string `protobuf:"bytes,4,rep,name=hostnames,proto3" json:"hostnames,omitempty"`
// CORS is the CORS configuration for this gateway.
Cors *Gateway_CORS `protobuf:"bytes,5,opt,name=cors,proto3" json:"cors,omitempty"`
// contains filtered or unexported fields
}
func (*Gateway) Descriptor
deprecated
func (*Gateway) GetBaseUrl ¶
func (*Gateway) GetCors ¶
func (x *Gateway) GetCors() *Gateway_CORS
func (*Gateway) GetEncoreName ¶
func (*Gateway) GetHostnames ¶
func (*Gateway) ProtoMessage ¶
func (*Gateway) ProtoMessage()
func (*Gateway) ProtoReflect ¶
func (x *Gateway) ProtoReflect() protoreflect.Message
type Gateway_CORS ¶
type Gateway_CORS struct {
Debug bool `protobuf:"varint,1,opt,name=debug,proto3" json:"debug,omitempty"`
// If true, causes Encore to respond to OPTIONS requests
// without setting Access-Control-Allow-Credentials: true.
DisableCredentials bool `protobuf:"varint,2,opt,name=disable_credentials,json=disableCredentials,proto3" json:"disable_credentials,omitempty"`
// Specifies the allowed origins for requests that include credentials.
// If a request is made from an Origin in this list
// Encore responds with Access-Control-Allow-Origin: <Origin>.
//
// If disable_credentials is true this field is not used.
//
// Types that are assignable to AllowedOriginsWithCredentials:
//
// *Gateway_CORS_AllowedOrigins
// *Gateway_CORS_UnsafeAllowAllOriginsWithCredentials
AllowedOriginsWithCredentials isGateway_CORS_AllowedOriginsWithCredentials `protobuf_oneof:"allowed_origins_with_credentials"`
// Specifies the allowed origins for requests
// that don't include credentials.
//
// The URLs in this list may include wildcards (e.g. "https://*.example.com"
// or "https://*-myapp.example.com").
AllowedOriginsWithoutCredentials *Gateway_CORSAllowedOrigins `` /* 161-byte string literal not displayed */
// Specifies extra headers to allow, beyond
// the default set always recognized by Encore.
// As a special case, if the list contains "*" all headers are allowed.
ExtraAllowedHeaders []string `protobuf:"bytes,6,rep,name=extra_allowed_headers,json=extraAllowedHeaders,proto3" json:"extra_allowed_headers,omitempty"`
// Specifies extra headers to expose, beyond
// the default set always recognized by Encore.
// As a special case, if the list contains "*" all headers are allowed.
ExtraExposedHeaders []string `protobuf:"bytes,7,rep,name=extra_exposed_headers,json=extraExposedHeaders,proto3" json:"extra_exposed_headers,omitempty"`
// If true, allows requests to Encore apps running
// on private networks from websites.
// See: https://wicg.github.io/private-network-access/
AllowPrivateNetworkAccess bool `` /* 141-byte string literal not displayed */
// contains filtered or unexported fields
}
CORS describes the CORS configuration for a gateway.
func (*Gateway_CORS) Descriptor
deprecated
func (*Gateway_CORS) Descriptor() ([]byte, []int)
Deprecated: Use Gateway_CORS.ProtoReflect.Descriptor instead.
func (*Gateway_CORS) GetAllowPrivateNetworkAccess ¶
func (x *Gateway_CORS) GetAllowPrivateNetworkAccess() bool
func (*Gateway_CORS) GetAllowedOrigins ¶
func (x *Gateway_CORS) GetAllowedOrigins() *Gateway_CORSAllowedOrigins
func (*Gateway_CORS) GetAllowedOriginsWithCredentials ¶
func (m *Gateway_CORS) GetAllowedOriginsWithCredentials() isGateway_CORS_AllowedOriginsWithCredentials
func (*Gateway_CORS) GetAllowedOriginsWithoutCredentials ¶
func (x *Gateway_CORS) GetAllowedOriginsWithoutCredentials() *Gateway_CORSAllowedOrigins
func (*Gateway_CORS) GetDebug ¶
func (x *Gateway_CORS) GetDebug() bool
func (*Gateway_CORS) GetDisableCredentials ¶
func (x *Gateway_CORS) GetDisableCredentials() bool
func (*Gateway_CORS) GetExtraAllowedHeaders ¶
func (x *Gateway_CORS) GetExtraAllowedHeaders() []string
func (*Gateway_CORS) GetExtraExposedHeaders ¶
func (x *Gateway_CORS) GetExtraExposedHeaders() []string
func (*Gateway_CORS) GetUnsafeAllowAllOriginsWithCredentials ¶
func (x *Gateway_CORS) GetUnsafeAllowAllOriginsWithCredentials() bool
func (*Gateway_CORS) ProtoMessage ¶
func (*Gateway_CORS) ProtoMessage()
func (*Gateway_CORS) ProtoReflect ¶
func (x *Gateway_CORS) ProtoReflect() protoreflect.Message
func (*Gateway_CORS) Reset ¶
func (x *Gateway_CORS) Reset()
func (*Gateway_CORS) String ¶
func (x *Gateway_CORS) String() string
type Gateway_CORSAllowedOrigins ¶
type Gateway_CORSAllowedOrigins struct {
// The list of allowed origins.
// The URLs in this list may include wildcards (e.g. "https://*.example.com"
// or "https://*-myapp.example.com").
//
// The string "*" allows all origins, except for requests with credentials;
// use CORS.unsafe_allow_unsafe_all_origins_with_credentials for that.
AllowedOrigins []string `protobuf:"bytes,1,rep,name=allowed_origins,json=allowedOrigins,proto3" json:"allowed_origins,omitempty"`
// contains filtered or unexported fields
}
func (*Gateway_CORSAllowedOrigins) Descriptor
deprecated
func (*Gateway_CORSAllowedOrigins) Descriptor() ([]byte, []int)
Deprecated: Use Gateway_CORSAllowedOrigins.ProtoReflect.Descriptor instead.
func (*Gateway_CORSAllowedOrigins) GetAllowedOrigins ¶
func (x *Gateway_CORSAllowedOrigins) GetAllowedOrigins() []string
func (*Gateway_CORSAllowedOrigins) ProtoMessage ¶
func (*Gateway_CORSAllowedOrigins) ProtoMessage()
func (*Gateway_CORSAllowedOrigins) ProtoReflect ¶
func (x *Gateway_CORSAllowedOrigins) ProtoReflect() protoreflect.Message
func (*Gateway_CORSAllowedOrigins) Reset ¶
func (x *Gateway_CORSAllowedOrigins) Reset()
func (*Gateway_CORSAllowedOrigins) String ¶
func (x *Gateway_CORSAllowedOrigins) String() string
type Gateway_CORS_AllowedOrigins ¶
type Gateway_CORS_AllowedOrigins struct {
AllowedOrigins *Gateway_CORSAllowedOrigins `protobuf:"bytes,3,opt,name=allowed_origins,json=allowedOrigins,proto3,oneof"`
}
type Gateway_CORS_UnsafeAllowAllOriginsWithCredentials ¶
type Gateway_CORS_UnsafeAllowAllOriginsWithCredentials struct {
UnsafeAllowAllOriginsWithCredentials bool `protobuf:"varint,4,opt,name=unsafe_allow_all_origins_with_credentials,json=unsafeAllowAllOriginsWithCredentials,proto3,oneof"`
}
type GracefulShutdown ¶
type GracefulShutdown struct {
// Total is how long we allow the total shutdown to take
// before the process forcibly exits.
Total *durationpb.Duration `protobuf:"bytes,1,opt,name=total,proto3" json:"total,omitempty"`
// ShutdownHooks is how long before [total] runs out that we cancel
// the context that is passed to the shutdown hooks.
//
// It is expected that ShutdownHooks is a larger value than Handlers.
ShutdownHooks *durationpb.Duration `protobuf:"bytes,2,opt,name=shutdown_hooks,json=shutdownHooks,proto3" json:"shutdown_hooks,omitempty"`
// Handlers is how long before [total] runs out that we cancel
// the context that is passed to API and PubSub Subscription handlers.
//
// For example, if [total] is 10 seconds and [handlers] is 2 seconds,
// then we will cancel the context passed to handlers 8 seconds after
// a graceful shutdown is initiated.
Handlers *durationpb.Duration `protobuf:"bytes,3,opt,name=handlers,proto3" json:"handlers,omitempty"`
// contains filtered or unexported fields
}
GracefulShutdown defines the graceful shutdown timings.
func (*GracefulShutdown) Descriptor
deprecated
func (*GracefulShutdown) Descriptor() ([]byte, []int)
Deprecated: Use GracefulShutdown.ProtoReflect.Descriptor instead.
func (*GracefulShutdown) GetHandlers ¶
func (x *GracefulShutdown) GetHandlers() *durationpb.Duration
func (*GracefulShutdown) GetShutdownHooks ¶
func (x *GracefulShutdown) GetShutdownHooks() *durationpb.Duration
func (*GracefulShutdown) GetTotal ¶
func (x *GracefulShutdown) GetTotal() *durationpb.Duration
func (*GracefulShutdown) ProtoMessage ¶
func (*GracefulShutdown) ProtoMessage()
func (*GracefulShutdown) ProtoReflect ¶
func (x *GracefulShutdown) ProtoReflect() protoreflect.Message
func (*GracefulShutdown) Reset ¶
func (x *GracefulShutdown) Reset()
func (*GracefulShutdown) String ¶
func (x *GracefulShutdown) String() string
type HostedService ¶
type HostedService struct {
// The name of the service.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Number of worker threads to use.
// If unset it defaults to 1. If set to 0 the runtime
// automatically determines the number of threads to use
// based on the number of CPUs available.
WorkerThreads *int32 `protobuf:"varint,2,opt,name=worker_threads,json=workerThreads,proto3,oneof" json:"worker_threads,omitempty"`
// The log configuration to use for this service.
// If unset it defaults to "trace".
LogConfig *string `protobuf:"bytes,3,opt,name=log_config,json=logConfig,proto3,oneof" json:"log_config,omitempty"`
// contains filtered or unexported fields
}
func (*HostedService) Descriptor
deprecated
func (*HostedService) Descriptor() ([]byte, []int)
Deprecated: Use HostedService.ProtoReflect.Descriptor instead.
func (*HostedService) GetLogConfig ¶
func (x *HostedService) GetLogConfig() string
func (*HostedService) GetName ¶
func (x *HostedService) GetName() string
func (*HostedService) GetWorkerThreads ¶
func (x *HostedService) GetWorkerThreads() int32
func (*HostedService) ProtoMessage ¶
func (*HostedService) ProtoMessage()
func (*HostedService) ProtoReflect ¶
func (x *HostedService) ProtoReflect() protoreflect.Message
func (*HostedService) Reset ¶
func (x *HostedService) Reset()
func (*HostedService) String ¶
func (x *HostedService) String() string
type Infrastructure ¶
type Infrastructure struct {
Resources *Infrastructure_Resources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"`
Credentials *Infrastructure_Credentials `protobuf:"bytes,2,opt,name=credentials,proto3" json:"credentials,omitempty"`
// contains filtered or unexported fields
}
func (*Infrastructure) Descriptor
deprecated
func (*Infrastructure) Descriptor() ([]byte, []int)
Deprecated: Use Infrastructure.ProtoReflect.Descriptor instead.
func (*Infrastructure) GetCredentials ¶
func (x *Infrastructure) GetCredentials() *Infrastructure_Credentials
func (*Infrastructure) GetResources ¶
func (x *Infrastructure) GetResources() *Infrastructure_Resources
func (*Infrastructure) ProtoMessage ¶
func (*Infrastructure) ProtoMessage()
func (*Infrastructure) ProtoReflect ¶
func (x *Infrastructure) ProtoReflect() protoreflect.Message
func (*Infrastructure) Reset ¶
func (x *Infrastructure) Reset()
func (*Infrastructure) String ¶
func (x *Infrastructure) String() string
type Infrastructure_Credentials ¶
type Infrastructure_Credentials struct {
ClientCerts []*ClientCert `protobuf:"bytes,1,rep,name=client_certs,json=clientCerts,proto3" json:"client_certs,omitempty"`
SqlRoles []*SQLRole `protobuf:"bytes,2,rep,name=sql_roles,json=sqlRoles,proto3" json:"sql_roles,omitempty"`
RedisRoles []*RedisRole `protobuf:"bytes,3,rep,name=redis_roles,json=redisRoles,proto3" json:"redis_roles,omitempty"`
// contains filtered or unexported fields
}
func (*Infrastructure_Credentials) Descriptor
deprecated
func (*Infrastructure_Credentials) Descriptor() ([]byte, []int)
Deprecated: Use Infrastructure_Credentials.ProtoReflect.Descriptor instead.
func (*Infrastructure_Credentials) GetClientCerts ¶
func (x *Infrastructure_Credentials) GetClientCerts() []*ClientCert
func (*Infrastructure_Credentials) GetRedisRoles ¶
func (x *Infrastructure_Credentials) GetRedisRoles() []*RedisRole
func (*Infrastructure_Credentials) GetSqlRoles ¶
func (x *Infrastructure_Credentials) GetSqlRoles() []*SQLRole
func (*Infrastructure_Credentials) ProtoMessage ¶
func (*Infrastructure_Credentials) ProtoMessage()
func (*Infrastructure_Credentials) ProtoReflect ¶
func (x *Infrastructure_Credentials) ProtoReflect() protoreflect.Message
func (*Infrastructure_Credentials) Reset ¶
func (x *Infrastructure_Credentials) Reset()
func (*Infrastructure_Credentials) String ¶
func (x *Infrastructure_Credentials) String() string
type Infrastructure_Resources ¶
type Infrastructure_Resources struct {
Gateways []*Gateway `protobuf:"bytes,1,rep,name=gateways,proto3" json:"gateways,omitempty"`
SqlClusters []*SQLCluster `protobuf:"bytes,2,rep,name=sql_clusters,json=sqlClusters,proto3" json:"sql_clusters,omitempty"`
PubsubClusters []*PubSubCluster `protobuf:"bytes,3,rep,name=pubsub_clusters,json=pubsubClusters,proto3" json:"pubsub_clusters,omitempty"`
RedisClusters []*RedisCluster `protobuf:"bytes,4,rep,name=redis_clusters,json=redisClusters,proto3" json:"redis_clusters,omitempty"`
AppSecrets []*AppSecret `protobuf:"bytes,5,rep,name=app_secrets,json=appSecrets,proto3" json:"app_secrets,omitempty"`
BucketClusters []*BucketCluster `protobuf:"bytes,6,rep,name=bucket_clusters,json=bucketClusters,proto3" json:"bucket_clusters,omitempty"`
// contains filtered or unexported fields
}
func (*Infrastructure_Resources) Descriptor
deprecated
func (*Infrastructure_Resources) Descriptor() ([]byte, []int)
Deprecated: Use Infrastructure_Resources.ProtoReflect.Descriptor instead.
func (*Infrastructure_Resources) GetAppSecrets ¶
func (x *Infrastructure_Resources) GetAppSecrets() []*AppSecret
func (*Infrastructure_Resources) GetBucketClusters ¶
func (x *Infrastructure_Resources) GetBucketClusters() []*BucketCluster
func (*Infrastructure_Resources) GetGateways ¶
func (x *Infrastructure_Resources) GetGateways() []*Gateway
func (*Infrastructure_Resources) GetPubsubClusters ¶
func (x *Infrastructure_Resources) GetPubsubClusters() []*PubSubCluster
func (*Infrastructure_Resources) GetRedisClusters ¶
func (x *Infrastructure_Resources) GetRedisClusters() []*RedisCluster
func (*Infrastructure_Resources) GetSqlClusters ¶
func (x *Infrastructure_Resources) GetSqlClusters() []*SQLCluster
func (*Infrastructure_Resources) ProtoMessage ¶
func (*Infrastructure_Resources) ProtoMessage()
func (*Infrastructure_Resources) ProtoReflect ¶
func (x *Infrastructure_Resources) ProtoReflect() protoreflect.Message
func (*Infrastructure_Resources) Reset ¶
func (x *Infrastructure_Resources) Reset()
func (*Infrastructure_Resources) String ¶
func (x *Infrastructure_Resources) String() string
type LogsProvider ¶
type LogsProvider struct {
// The unique resource id for this provider.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
// contains filtered or unexported fields
}
func (*LogsProvider) Descriptor
deprecated
func (*LogsProvider) Descriptor() ([]byte, []int)
Deprecated: Use LogsProvider.ProtoReflect.Descriptor instead.
func (*LogsProvider) GetRid ¶
func (x *LogsProvider) GetRid() string
func (*LogsProvider) ProtoMessage ¶
func (*LogsProvider) ProtoMessage()
func (*LogsProvider) ProtoReflect ¶
func (x *LogsProvider) ProtoReflect() protoreflect.Message
func (*LogsProvider) Reset ¶
func (x *LogsProvider) Reset()
func (*LogsProvider) String ¶
func (x *LogsProvider) String() string
type MetricsProvider ¶
type MetricsProvider struct {
// The unique resource id for this provider.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
CollectionInterval *durationpb.Duration `protobuf:"bytes,2,opt,name=collection_interval,json=collectionInterval,proto3" json:"collection_interval,omitempty"`
// Types that are assignable to Provider:
//
// *MetricsProvider_EncoreCloud
// *MetricsProvider_Gcp
// *MetricsProvider_Aws
// *MetricsProvider_PromRemoteWrite
// *MetricsProvider_Datadog_
Provider isMetricsProvider_Provider `protobuf_oneof:"provider"`
// contains filtered or unexported fields
}
func (*MetricsProvider) Descriptor
deprecated
func (*MetricsProvider) Descriptor() ([]byte, []int)
Deprecated: Use MetricsProvider.ProtoReflect.Descriptor instead.
func (*MetricsProvider) GetAws ¶
func (x *MetricsProvider) GetAws() *MetricsProvider_AWSCloudWatch
func (*MetricsProvider) GetCollectionInterval ¶
func (x *MetricsProvider) GetCollectionInterval() *durationpb.Duration
func (*MetricsProvider) GetDatadog ¶
func (x *MetricsProvider) GetDatadog() *MetricsProvider_Datadog
func (*MetricsProvider) GetEncoreCloud ¶
func (x *MetricsProvider) GetEncoreCloud() *MetricsProvider_GCPCloudMonitoring
func (*MetricsProvider) GetGcp ¶
func (x *MetricsProvider) GetGcp() *MetricsProvider_GCPCloudMonitoring
func (*MetricsProvider) GetPromRemoteWrite ¶
func (x *MetricsProvider) GetPromRemoteWrite() *MetricsProvider_PrometheusRemoteWrite
func (*MetricsProvider) GetProvider ¶
func (m *MetricsProvider) GetProvider() isMetricsProvider_Provider
func (*MetricsProvider) GetRid ¶
func (x *MetricsProvider) GetRid() string
func (*MetricsProvider) ProtoMessage ¶
func (*MetricsProvider) ProtoMessage()
func (*MetricsProvider) ProtoReflect ¶
func (x *MetricsProvider) ProtoReflect() protoreflect.Message
func (*MetricsProvider) Reset ¶
func (x *MetricsProvider) Reset()
func (*MetricsProvider) String ¶
func (x *MetricsProvider) String() string
type MetricsProvider_AWSCloudWatch ¶
type MetricsProvider_AWSCloudWatch struct {
// The namespace to use for metrics.
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
// contains filtered or unexported fields
}
func (*MetricsProvider_AWSCloudWatch) Descriptor
deprecated
func (*MetricsProvider_AWSCloudWatch) Descriptor() ([]byte, []int)
Deprecated: Use MetricsProvider_AWSCloudWatch.ProtoReflect.Descriptor instead.
func (*MetricsProvider_AWSCloudWatch) GetNamespace ¶
func (x *MetricsProvider_AWSCloudWatch) GetNamespace() string
func (*MetricsProvider_AWSCloudWatch) ProtoMessage ¶
func (*MetricsProvider_AWSCloudWatch) ProtoMessage()
func (*MetricsProvider_AWSCloudWatch) ProtoReflect ¶
func (x *MetricsProvider_AWSCloudWatch) ProtoReflect() protoreflect.Message
func (*MetricsProvider_AWSCloudWatch) Reset ¶
func (x *MetricsProvider_AWSCloudWatch) Reset()
func (*MetricsProvider_AWSCloudWatch) String ¶
func (x *MetricsProvider_AWSCloudWatch) String() string
type MetricsProvider_Aws ¶
type MetricsProvider_Aws struct {
Aws *MetricsProvider_AWSCloudWatch `protobuf:"bytes,12,opt,name=aws,proto3,oneof"`
}
type MetricsProvider_Datadog ¶
type MetricsProvider_Datadog struct {
Site string `protobuf:"bytes,1,opt,name=site,proto3" json:"site,omitempty"`
ApiKey *SecretData `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
// contains filtered or unexported fields
}
func (*MetricsProvider_Datadog) Descriptor
deprecated
func (*MetricsProvider_Datadog) Descriptor() ([]byte, []int)
Deprecated: Use MetricsProvider_Datadog.ProtoReflect.Descriptor instead.
func (*MetricsProvider_Datadog) GetApiKey ¶
func (x *MetricsProvider_Datadog) GetApiKey() *SecretData
func (*MetricsProvider_Datadog) GetSite ¶
func (x *MetricsProvider_Datadog) GetSite() string
func (*MetricsProvider_Datadog) ProtoMessage ¶
func (*MetricsProvider_Datadog) ProtoMessage()
func (*MetricsProvider_Datadog) ProtoReflect ¶
func (x *MetricsProvider_Datadog) ProtoReflect() protoreflect.Message
func (*MetricsProvider_Datadog) Reset ¶
func (x *MetricsProvider_Datadog) Reset()
func (*MetricsProvider_Datadog) String ¶
func (x *MetricsProvider_Datadog) String() string
type MetricsProvider_Datadog_ ¶
type MetricsProvider_Datadog_ struct {
Datadog *MetricsProvider_Datadog `protobuf:"bytes,14,opt,name=datadog,proto3,oneof"`
}
type MetricsProvider_EncoreCloud ¶
type MetricsProvider_EncoreCloud struct {
EncoreCloud *MetricsProvider_GCPCloudMonitoring `protobuf:"bytes,10,opt,name=encore_cloud,json=encoreCloud,proto3,oneof"`
}
type MetricsProvider_GCPCloudMonitoring ¶
type MetricsProvider_GCPCloudMonitoring struct {
// The GCP project id to send metrics to.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// The enum value for the monitored resource this application is monitoring.
// See https://cloud.google.com/monitoring/api/resources for valid values.
MonitoredResourceType string `` /* 126-byte string literal not displayed */
// The labels to specify for the monitored resource.
// Each monitored resource type has a pre-defined set of labels that must be set.
// See https://cloud.google.com/monitoring/api/resources for expected labels.
MonitoredResourceLabels map[string]string `` /* 220-byte string literal not displayed */
// The mapping between metric names in Encore and metric names in GCP.
MetricNames map[string]string `` /* 182-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*MetricsProvider_GCPCloudMonitoring) Descriptor
deprecated
func (*MetricsProvider_GCPCloudMonitoring) Descriptor() ([]byte, []int)
Deprecated: Use MetricsProvider_GCPCloudMonitoring.ProtoReflect.Descriptor instead.
func (*MetricsProvider_GCPCloudMonitoring) GetMetricNames ¶
func (x *MetricsProvider_GCPCloudMonitoring) GetMetricNames() map[string]string
func (*MetricsProvider_GCPCloudMonitoring) GetMonitoredResourceLabels ¶
func (x *MetricsProvider_GCPCloudMonitoring) GetMonitoredResourceLabels() map[string]string
func (*MetricsProvider_GCPCloudMonitoring) GetMonitoredResourceType ¶
func (x *MetricsProvider_GCPCloudMonitoring) GetMonitoredResourceType() string
func (*MetricsProvider_GCPCloudMonitoring) GetProjectId ¶
func (x *MetricsProvider_GCPCloudMonitoring) GetProjectId() string
func (*MetricsProvider_GCPCloudMonitoring) ProtoMessage ¶
func (*MetricsProvider_GCPCloudMonitoring) ProtoMessage()
func (*MetricsProvider_GCPCloudMonitoring) ProtoReflect ¶
func (x *MetricsProvider_GCPCloudMonitoring) ProtoReflect() protoreflect.Message
func (*MetricsProvider_GCPCloudMonitoring) Reset ¶
func (x *MetricsProvider_GCPCloudMonitoring) Reset()
func (*MetricsProvider_GCPCloudMonitoring) String ¶
func (x *MetricsProvider_GCPCloudMonitoring) String() string
type MetricsProvider_Gcp ¶
type MetricsProvider_Gcp struct {
Gcp *MetricsProvider_GCPCloudMonitoring `protobuf:"bytes,11,opt,name=gcp,proto3,oneof"`
}
type MetricsProvider_PromRemoteWrite ¶
type MetricsProvider_PromRemoteWrite struct {
PromRemoteWrite *MetricsProvider_PrometheusRemoteWrite `protobuf:"bytes,13,opt,name=prom_remote_write,json=promRemoteWrite,proto3,oneof"`
}
type MetricsProvider_PrometheusRemoteWrite ¶
type MetricsProvider_PrometheusRemoteWrite struct {
// The URL to send metrics to.
RemoteWriteUrl *SecretData `protobuf:"bytes,1,opt,name=remote_write_url,json=remoteWriteUrl,proto3" json:"remote_write_url,omitempty"`
// contains filtered or unexported fields
}
func (*MetricsProvider_PrometheusRemoteWrite) Descriptor
deprecated
func (*MetricsProvider_PrometheusRemoteWrite) Descriptor() ([]byte, []int)
Deprecated: Use MetricsProvider_PrometheusRemoteWrite.ProtoReflect.Descriptor instead.
func (*MetricsProvider_PrometheusRemoteWrite) GetRemoteWriteUrl ¶
func (x *MetricsProvider_PrometheusRemoteWrite) GetRemoteWriteUrl() *SecretData
func (*MetricsProvider_PrometheusRemoteWrite) ProtoMessage ¶
func (*MetricsProvider_PrometheusRemoteWrite) ProtoMessage()
func (*MetricsProvider_PrometheusRemoteWrite) ProtoReflect ¶
func (x *MetricsProvider_PrometheusRemoteWrite) ProtoReflect() protoreflect.Message
func (*MetricsProvider_PrometheusRemoteWrite) Reset ¶
func (x *MetricsProvider_PrometheusRemoteWrite) Reset()
func (*MetricsProvider_PrometheusRemoteWrite) String ¶
func (x *MetricsProvider_PrometheusRemoteWrite) String() string
type Observability ¶
type Observability struct {
// The observability providers to use.
Tracing []*TracingProvider `protobuf:"bytes,1,rep,name=tracing,proto3" json:"tracing,omitempty"`
Metrics []*MetricsProvider `protobuf:"bytes,2,rep,name=metrics,proto3" json:"metrics,omitempty"`
Logs []*LogsProvider `protobuf:"bytes,3,rep,name=logs,proto3" json:"logs,omitempty"`
// contains filtered or unexported fields
}
func (*Observability) Descriptor
deprecated
func (*Observability) Descriptor() ([]byte, []int)
Deprecated: Use Observability.ProtoReflect.Descriptor instead.
func (*Observability) GetLogs ¶
func (x *Observability) GetLogs() []*LogsProvider
func (*Observability) GetMetrics ¶
func (x *Observability) GetMetrics() []*MetricsProvider
func (*Observability) GetTracing ¶
func (x *Observability) GetTracing() []*TracingProvider
func (*Observability) ProtoMessage ¶
func (*Observability) ProtoMessage()
func (*Observability) ProtoReflect ¶
func (x *Observability) ProtoReflect() protoreflect.Message
func (*Observability) Reset ¶
func (x *Observability) Reset()
func (*Observability) String ¶
func (x *Observability) String() string
type PubSubCluster ¶
type PubSubCluster struct {
// The unique resource id for this cluster.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
Topics []*PubSubTopic `protobuf:"bytes,2,rep,name=topics,proto3" json:"topics,omitempty"`
Subscriptions []*PubSubSubscription `protobuf:"bytes,3,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`
// Types that are assignable to Provider:
//
// *PubSubCluster_Encore
// *PubSubCluster_Aws
// *PubSubCluster_Gcp
// *PubSubCluster_Azure
// *PubSubCluster_Nsq
Provider isPubSubCluster_Provider `protobuf_oneof:"provider"`
// contains filtered or unexported fields
}
func (*PubSubCluster) Descriptor
deprecated
func (*PubSubCluster) Descriptor() ([]byte, []int)
Deprecated: Use PubSubCluster.ProtoReflect.Descriptor instead.
func (*PubSubCluster) GetAws ¶
func (x *PubSubCluster) GetAws() *PubSubCluster_AWSSqsSns
func (*PubSubCluster) GetAzure ¶
func (x *PubSubCluster) GetAzure() *PubSubCluster_AzureServiceBus
func (*PubSubCluster) GetEncore ¶
func (x *PubSubCluster) GetEncore() *PubSubCluster_EncoreCloud
func (*PubSubCluster) GetGcp ¶
func (x *PubSubCluster) GetGcp() *PubSubCluster_GCPPubSub
func (*PubSubCluster) GetNsq ¶
func (x *PubSubCluster) GetNsq() *PubSubCluster_NSQ
func (*PubSubCluster) GetProvider ¶
func (m *PubSubCluster) GetProvider() isPubSubCluster_Provider
func (*PubSubCluster) GetRid ¶
func (x *PubSubCluster) GetRid() string
func (*PubSubCluster) GetSubscriptions ¶
func (x *PubSubCluster) GetSubscriptions() []*PubSubSubscription
func (*PubSubCluster) GetTopics ¶
func (x *PubSubCluster) GetTopics() []*PubSubTopic
func (*PubSubCluster) ProtoMessage ¶
func (*PubSubCluster) ProtoMessage()
func (*PubSubCluster) ProtoReflect ¶
func (x *PubSubCluster) ProtoReflect() protoreflect.Message
func (*PubSubCluster) Reset ¶
func (x *PubSubCluster) Reset()
func (*PubSubCluster) String ¶
func (x *PubSubCluster) String() string
type PubSubCluster_AWSSqsSns ¶
type PubSubCluster_AWSSqsSns struct {
// contains filtered or unexported fields
}
func (*PubSubCluster_AWSSqsSns) Descriptor
deprecated
func (*PubSubCluster_AWSSqsSns) Descriptor() ([]byte, []int)
Deprecated: Use PubSubCluster_AWSSqsSns.ProtoReflect.Descriptor instead.
func (*PubSubCluster_AWSSqsSns) ProtoMessage ¶
func (*PubSubCluster_AWSSqsSns) ProtoMessage()
func (*PubSubCluster_AWSSqsSns) ProtoReflect ¶
func (x *PubSubCluster_AWSSqsSns) ProtoReflect() protoreflect.Message
func (*PubSubCluster_AWSSqsSns) Reset ¶
func (x *PubSubCluster_AWSSqsSns) Reset()
func (*PubSubCluster_AWSSqsSns) String ¶
func (x *PubSubCluster_AWSSqsSns) String() string
type PubSubCluster_Aws ¶
type PubSubCluster_Aws struct {
Aws *PubSubCluster_AWSSqsSns `protobuf:"bytes,6,opt,name=aws,proto3,oneof"`
}
type PubSubCluster_Azure ¶
type PubSubCluster_Azure struct {
Azure *PubSubCluster_AzureServiceBus `protobuf:"bytes,8,opt,name=azure,proto3,oneof"`
}
type PubSubCluster_AzureServiceBus ¶
type PubSubCluster_AzureServiceBus struct {
Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
// contains filtered or unexported fields
}
func (*PubSubCluster_AzureServiceBus) Descriptor
deprecated
func (*PubSubCluster_AzureServiceBus) Descriptor() ([]byte, []int)
Deprecated: Use PubSubCluster_AzureServiceBus.ProtoReflect.Descriptor instead.
func (*PubSubCluster_AzureServiceBus) GetNamespace ¶
func (x *PubSubCluster_AzureServiceBus) GetNamespace() string
func (*PubSubCluster_AzureServiceBus) ProtoMessage ¶
func (*PubSubCluster_AzureServiceBus) ProtoMessage()
func (*PubSubCluster_AzureServiceBus) ProtoReflect ¶
func (x *PubSubCluster_AzureServiceBus) ProtoReflect() protoreflect.Message
func (*PubSubCluster_AzureServiceBus) Reset ¶
func (x *PubSubCluster_AzureServiceBus) Reset()
func (*PubSubCluster_AzureServiceBus) String ¶
func (x *PubSubCluster_AzureServiceBus) String() string
type PubSubCluster_Encore ¶
type PubSubCluster_Encore struct {
Encore *PubSubCluster_EncoreCloud `protobuf:"bytes,5,opt,name=encore,proto3,oneof"`
}
type PubSubCluster_EncoreCloud ¶
type PubSubCluster_EncoreCloud struct {
// contains filtered or unexported fields
}
func (*PubSubCluster_EncoreCloud) Descriptor
deprecated
func (*PubSubCluster_EncoreCloud) Descriptor() ([]byte, []int)
Deprecated: Use PubSubCluster_EncoreCloud.ProtoReflect.Descriptor instead.
func (*PubSubCluster_EncoreCloud) ProtoMessage ¶
func (*PubSubCluster_EncoreCloud) ProtoMessage()
func (*PubSubCluster_EncoreCloud) ProtoReflect ¶
func (x *PubSubCluster_EncoreCloud) ProtoReflect() protoreflect.Message
func (*PubSubCluster_EncoreCloud) Reset ¶
func (x *PubSubCluster_EncoreCloud) Reset()
func (*PubSubCluster_EncoreCloud) String ¶
func (x *PubSubCluster_EncoreCloud) String() string
type PubSubCluster_GCPPubSub ¶
type PubSubCluster_GCPPubSub struct {
// contains filtered or unexported fields
}
func (*PubSubCluster_GCPPubSub) Descriptor
deprecated
func (*PubSubCluster_GCPPubSub) Descriptor() ([]byte, []int)
Deprecated: Use PubSubCluster_GCPPubSub.ProtoReflect.Descriptor instead.
func (*PubSubCluster_GCPPubSub) ProtoMessage ¶
func (*PubSubCluster_GCPPubSub) ProtoMessage()
func (*PubSubCluster_GCPPubSub) ProtoReflect ¶
func (x *PubSubCluster_GCPPubSub) ProtoReflect() protoreflect.Message
func (*PubSubCluster_GCPPubSub) Reset ¶
func (x *PubSubCluster_GCPPubSub) Reset()
func (*PubSubCluster_GCPPubSub) String ¶
func (x *PubSubCluster_GCPPubSub) String() string
type PubSubCluster_Gcp ¶
type PubSubCluster_Gcp struct {
Gcp *PubSubCluster_GCPPubSub `protobuf:"bytes,7,opt,name=gcp,proto3,oneof"`
}
type PubSubCluster_NSQ ¶
type PubSubCluster_NSQ struct {
// The hosts to connect to NSQ. Must be non-empty.
Hosts []string `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
// contains filtered or unexported fields
}
func (*PubSubCluster_NSQ) Descriptor
deprecated
func (*PubSubCluster_NSQ) Descriptor() ([]byte, []int)
Deprecated: Use PubSubCluster_NSQ.ProtoReflect.Descriptor instead.
func (*PubSubCluster_NSQ) GetHosts ¶
func (x *PubSubCluster_NSQ) GetHosts() []string
func (*PubSubCluster_NSQ) ProtoMessage ¶
func (*PubSubCluster_NSQ) ProtoMessage()
func (*PubSubCluster_NSQ) ProtoReflect ¶
func (x *PubSubCluster_NSQ) ProtoReflect() protoreflect.Message
func (*PubSubCluster_NSQ) Reset ¶
func (x *PubSubCluster_NSQ) Reset()
func (*PubSubCluster_NSQ) String ¶
func (x *PubSubCluster_NSQ) String() string
type PubSubCluster_Nsq ¶
type PubSubCluster_Nsq struct {
Nsq *PubSubCluster_NSQ `protobuf:"bytes,9,opt,name=nsq,proto3,oneof"`
}
type PubSubSubscription ¶
type PubSubSubscription struct {
// The unique resource id for this subscription.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
// The encore name of the topic this subscription is for.
TopicEncoreName string `protobuf:"bytes,2,opt,name=topic_encore_name,json=topicEncoreName,proto3" json:"topic_encore_name,omitempty"`
// The encore name of the subscription.
SubscriptionEncoreName string `` /* 129-byte string literal not displayed */
// The cloud name of the subscription.
TopicCloudName string `protobuf:"bytes,4,opt,name=topic_cloud_name,json=topicCloudName,proto3" json:"topic_cloud_name,omitempty"`
// The cloud name of the subscription.
SubscriptionCloudName string `` /* 126-byte string literal not displayed */
// If true the application will not actively subscribe but wait
// for incoming messages to be pushed to it.
PushOnly bool `protobuf:"varint,6,opt,name=push_only,json=pushOnly,proto3" json:"push_only,omitempty"`
// Subscription-specific provider configuration.
// Not all providers require this, but it must always be set
// for the providers that are present.
//
// Types that are assignable to ProviderConfig:
//
// *PubSubSubscription_GcpConfig
ProviderConfig isPubSubSubscription_ProviderConfig `protobuf_oneof:"provider_config"`
// contains filtered or unexported fields
}
func (*PubSubSubscription) Descriptor
deprecated
func (*PubSubSubscription) Descriptor() ([]byte, []int)
Deprecated: Use PubSubSubscription.ProtoReflect.Descriptor instead.
func (*PubSubSubscription) GetGcpConfig ¶
func (x *PubSubSubscription) GetGcpConfig() *PubSubSubscription_GCPConfig
func (*PubSubSubscription) GetProviderConfig ¶
func (m *PubSubSubscription) GetProviderConfig() isPubSubSubscription_ProviderConfig
func (*PubSubSubscription) GetPushOnly ¶
func (x *PubSubSubscription) GetPushOnly() bool
func (*PubSubSubscription) GetRid ¶
func (x *PubSubSubscription) GetRid() string
func (*PubSubSubscription) GetSubscriptionCloudName ¶
func (x *PubSubSubscription) GetSubscriptionCloudName() string
func (*PubSubSubscription) GetSubscriptionEncoreName ¶
func (x *PubSubSubscription) GetSubscriptionEncoreName() string
func (*PubSubSubscription) GetTopicCloudName ¶
func (x *PubSubSubscription) GetTopicCloudName() string
func (*PubSubSubscription) GetTopicEncoreName ¶
func (x *PubSubSubscription) GetTopicEncoreName() string
func (*PubSubSubscription) ProtoMessage ¶
func (*PubSubSubscription) ProtoMessage()
func (*PubSubSubscription) ProtoReflect ¶
func (x *PubSubSubscription) ProtoReflect() protoreflect.Message
func (*PubSubSubscription) Reset ¶
func (x *PubSubSubscription) Reset()
func (*PubSubSubscription) String ¶
func (x *PubSubSubscription) String() string
type PubSubSubscription_GCPConfig ¶
type PubSubSubscription_GCPConfig struct {
// The GCP project id where the subscription exists.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// The service account used to authenticate messages being delivered over push.
// If unset, pushes are rejected.
PushServiceAccount *string `protobuf:"bytes,2,opt,name=push_service_account,json=pushServiceAccount,proto3,oneof" json:"push_service_account,omitempty"`
// The audience to use when validating JWTs delivered over push.
// If set, the JWT audience claim must match. If unset, any JWT audience is allowed.
PushJwtAudience *string `protobuf:"bytes,3,opt,name=push_jwt_audience,json=pushJwtAudience,proto3,oneof" json:"push_jwt_audience,omitempty"`
// contains filtered or unexported fields
}
func (*PubSubSubscription_GCPConfig) Descriptor
deprecated
func (*PubSubSubscription_GCPConfig) Descriptor() ([]byte, []int)
Deprecated: Use PubSubSubscription_GCPConfig.ProtoReflect.Descriptor instead.
func (*PubSubSubscription_GCPConfig) GetProjectId ¶
func (x *PubSubSubscription_GCPConfig) GetProjectId() string
func (*PubSubSubscription_GCPConfig) GetPushJwtAudience ¶
func (x *PubSubSubscription_GCPConfig) GetPushJwtAudience() string
func (*PubSubSubscription_GCPConfig) GetPushServiceAccount ¶
func (x *PubSubSubscription_GCPConfig) GetPushServiceAccount() string
func (*PubSubSubscription_GCPConfig) ProtoMessage ¶
func (*PubSubSubscription_GCPConfig) ProtoMessage()
func (*PubSubSubscription_GCPConfig) ProtoReflect ¶
func (x *PubSubSubscription_GCPConfig) ProtoReflect() protoreflect.Message
func (*PubSubSubscription_GCPConfig) Reset ¶
func (x *PubSubSubscription_GCPConfig) Reset()
func (*PubSubSubscription_GCPConfig) String ¶
func (x *PubSubSubscription_GCPConfig) String() string
type PubSubSubscription_GcpConfig ¶
type PubSubSubscription_GcpConfig struct {
GcpConfig *PubSubSubscription_GCPConfig `protobuf:"bytes,10,opt,name=gcp_config,json=gcpConfig,proto3,oneof"` // Null: no provider-specific configuration.
}
type PubSubTopic ¶
type PubSubTopic struct {
// The unique resource id for this topic.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
// The encore name of the topic.
EncoreName string `protobuf:"bytes,2,opt,name=encore_name,json=encoreName,proto3" json:"encore_name,omitempty"`
// The cloud name of the topic.
CloudName string `protobuf:"bytes,3,opt,name=cloud_name,json=cloudName,proto3" json:"cloud_name,omitempty"`
// The delivery guarantee.
DeliveryGuarantee PubSubTopic_DeliveryGuarantee `` /* 166-byte string literal not displayed */
// Optional ordering attribute. Specifies the attribute name
// to use for message ordering.
OrderingAttr *string `protobuf:"bytes,5,opt,name=ordering_attr,json=orderingAttr,proto3,oneof" json:"ordering_attr,omitempty"`
// Provider-specific configuration.
// Not all providers require this, but it must always be set
// for the providers that are present.
//
// Types that are assignable to ProviderConfig:
//
// *PubSubTopic_GcpConfig
ProviderConfig isPubSubTopic_ProviderConfig `protobuf_oneof:"provider_config"`
// contains filtered or unexported fields
}
func (*PubSubTopic) Descriptor
deprecated
func (*PubSubTopic) Descriptor() ([]byte, []int)
Deprecated: Use PubSubTopic.ProtoReflect.Descriptor instead.
func (*PubSubTopic) GetCloudName ¶
func (x *PubSubTopic) GetCloudName() string
func (*PubSubTopic) GetDeliveryGuarantee ¶
func (x *PubSubTopic) GetDeliveryGuarantee() PubSubTopic_DeliveryGuarantee
func (*PubSubTopic) GetEncoreName ¶
func (x *PubSubTopic) GetEncoreName() string
func (*PubSubTopic) GetGcpConfig ¶
func (x *PubSubTopic) GetGcpConfig() *PubSubTopic_GCPConfig
func (*PubSubTopic) GetOrderingAttr ¶
func (x *PubSubTopic) GetOrderingAttr() string
func (*PubSubTopic) GetProviderConfig ¶
func (m *PubSubTopic) GetProviderConfig() isPubSubTopic_ProviderConfig
func (*PubSubTopic) GetRid ¶
func (x *PubSubTopic) GetRid() string
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 PubSubTopic_DeliveryGuarantee ¶
type PubSubTopic_DeliveryGuarantee int32
const ( PubSubTopic_DELIVERY_GUARANTEE_UNSPECIFIED PubSubTopic_DeliveryGuarantee = 0 PubSubTopic_DELIVERY_GUARANTEE_AT_LEAST_ONCE PubSubTopic_DeliveryGuarantee = 1 // All messages will be delivered to each subscription at least once PubSubTopic_DELIVERY_GUARANTEE_EXACTLY_ONCE PubSubTopic_DeliveryGuarantee = 2 // 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_GCPConfig ¶
type PubSubTopic_GCPConfig struct {
// The GCP project id where the topic exists.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// contains filtered or unexported fields
}
func (*PubSubTopic_GCPConfig) Descriptor
deprecated
func (*PubSubTopic_GCPConfig) Descriptor() ([]byte, []int)
Deprecated: Use PubSubTopic_GCPConfig.ProtoReflect.Descriptor instead.
func (*PubSubTopic_GCPConfig) GetProjectId ¶
func (x *PubSubTopic_GCPConfig) GetProjectId() string
func (*PubSubTopic_GCPConfig) ProtoMessage ¶
func (*PubSubTopic_GCPConfig) ProtoMessage()
func (*PubSubTopic_GCPConfig) ProtoReflect ¶
func (x *PubSubTopic_GCPConfig) ProtoReflect() protoreflect.Message
func (*PubSubTopic_GCPConfig) Reset ¶
func (x *PubSubTopic_GCPConfig) Reset()
func (*PubSubTopic_GCPConfig) String ¶
func (x *PubSubTopic_GCPConfig) String() string
type PubSubTopic_GcpConfig ¶
type PubSubTopic_GcpConfig struct {
GcpConfig *PubSubTopic_GCPConfig `protobuf:"bytes,10,opt,name=gcp_config,json=gcpConfig,proto3,oneof"` // Null: no provider-specific configuration.
}
type RateLimiter ¶
type RateLimiter struct {
// Types that are assignable to Kind:
//
// *RateLimiter_TokenBucket_
Kind isRateLimiter_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
func (*RateLimiter) Descriptor
deprecated
func (*RateLimiter) Descriptor() ([]byte, []int)
Deprecated: Use RateLimiter.ProtoReflect.Descriptor instead.
func (*RateLimiter) GetKind ¶
func (m *RateLimiter) GetKind() isRateLimiter_Kind
func (*RateLimiter) GetTokenBucket ¶
func (x *RateLimiter) GetTokenBucket() *RateLimiter_TokenBucket
func (*RateLimiter) ProtoMessage ¶
func (*RateLimiter) ProtoMessage()
func (*RateLimiter) ProtoReflect ¶
func (x *RateLimiter) ProtoReflect() protoreflect.Message
func (*RateLimiter) Reset ¶
func (x *RateLimiter) Reset()
func (*RateLimiter) String ¶
func (x *RateLimiter) String() string
type RateLimiter_TokenBucket ¶
type RateLimiter_TokenBucket struct {
// The rate (in events per per second) to allow.
Rate float64 `protobuf:"fixed64,1,opt,name=rate,proto3" json:"rate,omitempty"`
// The burst size to allow.
Burst uint32 `protobuf:"varint,2,opt,name=burst,proto3" json:"burst,omitempty"`
// contains filtered or unexported fields
}
func (*RateLimiter_TokenBucket) Descriptor
deprecated
func (*RateLimiter_TokenBucket) Descriptor() ([]byte, []int)
Deprecated: Use RateLimiter_TokenBucket.ProtoReflect.Descriptor instead.
func (*RateLimiter_TokenBucket) GetBurst ¶
func (x *RateLimiter_TokenBucket) GetBurst() uint32
func (*RateLimiter_TokenBucket) GetRate ¶
func (x *RateLimiter_TokenBucket) GetRate() float64
func (*RateLimiter_TokenBucket) ProtoMessage ¶
func (*RateLimiter_TokenBucket) ProtoMessage()
func (*RateLimiter_TokenBucket) ProtoReflect ¶
func (x *RateLimiter_TokenBucket) ProtoReflect() protoreflect.Message
func (*RateLimiter_TokenBucket) Reset ¶
func (x *RateLimiter_TokenBucket) Reset()
func (*RateLimiter_TokenBucket) String ¶
func (x *RateLimiter_TokenBucket) String() string
type RateLimiter_TokenBucket_ ¶
type RateLimiter_TokenBucket_ struct {
TokenBucket *RateLimiter_TokenBucket `protobuf:"bytes,1,opt,name=token_bucket,json=tokenBucket,proto3,oneof"`
}
type RedisCluster ¶
type RedisCluster struct {
// The unique resource id for this cluster.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
Servers []*RedisServer `protobuf:"bytes,2,rep,name=servers,proto3" json:"servers,omitempty"`
Databases []*RedisDatabase `protobuf:"bytes,3,rep,name=databases,proto3" json:"databases,omitempty"`
// contains filtered or unexported fields
}
func (*RedisCluster) Descriptor
deprecated
func (*RedisCluster) Descriptor() ([]byte, []int)
Deprecated: Use RedisCluster.ProtoReflect.Descriptor instead.
func (*RedisCluster) GetDatabases ¶
func (x *RedisCluster) GetDatabases() []*RedisDatabase
func (*RedisCluster) GetRid ¶
func (x *RedisCluster) GetRid() string
func (*RedisCluster) GetServers ¶
func (x *RedisCluster) GetServers() []*RedisServer
func (*RedisCluster) ProtoMessage ¶
func (*RedisCluster) ProtoMessage()
func (*RedisCluster) ProtoReflect ¶
func (x *RedisCluster) ProtoReflect() protoreflect.Message
func (*RedisCluster) Reset ¶
func (x *RedisCluster) Reset()
func (*RedisCluster) String ¶
func (x *RedisCluster) String() string
type RedisConnectionPool ¶
type RedisConnectionPool struct {
// Whether this connection pool is for read-only servers.
IsReadonly bool `protobuf:"varint,1,opt,name=is_readonly,json=isReadonly,proto3" json:"is_readonly,omitempty"`
// The role to use to authenticate.
RoleRid string `protobuf:"bytes,2,opt,name=role_rid,json=roleRid,proto3" json:"role_rid,omitempty"`
// The minimum and maximum number of connections to use.
MinConnections int32 `protobuf:"varint,3,opt,name=min_connections,json=minConnections,proto3" json:"min_connections,omitempty"`
MaxConnections int32 `protobuf:"varint,4,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"`
// contains filtered or unexported fields
}
func (*RedisConnectionPool) Descriptor
deprecated
func (*RedisConnectionPool) Descriptor() ([]byte, []int)
Deprecated: Use RedisConnectionPool.ProtoReflect.Descriptor instead.
func (*RedisConnectionPool) GetIsReadonly ¶
func (x *RedisConnectionPool) GetIsReadonly() bool
func (*RedisConnectionPool) GetMaxConnections ¶
func (x *RedisConnectionPool) GetMaxConnections() int32
func (*RedisConnectionPool) GetMinConnections ¶
func (x *RedisConnectionPool) GetMinConnections() int32
func (*RedisConnectionPool) GetRoleRid ¶
func (x *RedisConnectionPool) GetRoleRid() string
func (*RedisConnectionPool) ProtoMessage ¶
func (*RedisConnectionPool) ProtoMessage()
func (*RedisConnectionPool) ProtoReflect ¶
func (x *RedisConnectionPool) ProtoReflect() protoreflect.Message
func (*RedisConnectionPool) Reset ¶
func (x *RedisConnectionPool) Reset()
func (*RedisConnectionPool) String ¶
func (x *RedisConnectionPool) String() string
type RedisDatabase ¶
type RedisDatabase struct {
// Unique resource id for this database.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
// The encore name of the database.
EncoreName string `protobuf:"bytes,2,opt,name=encore_name,json=encoreName,proto3" json:"encore_name,omitempty"`
// The database index to use, [0-15].
DatabaseIdx int32 `protobuf:"varint,3,opt,name=database_idx,json=databaseIdx,proto3" json:"database_idx,omitempty"`
// KeyPrefix specifies a prefix to add to all cache keys
// for this database. It exists to enable multiple cache clusters
// to use the same physical Redis database for local development
// without having to coordinate and persist database index ids.
KeyPrefix *string `protobuf:"bytes,4,opt,name=key_prefix,json=keyPrefix,proto3,oneof" json:"key_prefix,omitempty"`
// Connection pools to use for connecting to the database.
ConnPools []*RedisConnectionPool `protobuf:"bytes,5,rep,name=conn_pools,json=connPools,proto3" json:"conn_pools,omitempty"`
// contains filtered or unexported fields
}
func (*RedisDatabase) Descriptor
deprecated
func (*RedisDatabase) Descriptor() ([]byte, []int)
Deprecated: Use RedisDatabase.ProtoReflect.Descriptor instead.
func (*RedisDatabase) GetConnPools ¶
func (x *RedisDatabase) GetConnPools() []*RedisConnectionPool
func (*RedisDatabase) GetDatabaseIdx ¶
func (x *RedisDatabase) GetDatabaseIdx() int32
func (*RedisDatabase) GetEncoreName ¶
func (x *RedisDatabase) GetEncoreName() string
func (*RedisDatabase) GetKeyPrefix ¶
func (x *RedisDatabase) GetKeyPrefix() string
func (*RedisDatabase) GetRid ¶
func (x *RedisDatabase) GetRid() string
func (*RedisDatabase) ProtoMessage ¶
func (*RedisDatabase) ProtoMessage()
func (*RedisDatabase) ProtoReflect ¶
func (x *RedisDatabase) ProtoReflect() protoreflect.Message
func (*RedisDatabase) Reset ¶
func (x *RedisDatabase) Reset()
func (*RedisDatabase) String ¶
func (x *RedisDatabase) String() string
type RedisRole ¶
type RedisRole struct {
// The unique resource id for this role.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
// The client cert to use to authenticate, if any.
ClientCertRid *string `protobuf:"bytes,2,opt,name=client_cert_rid,json=clientCertRid,proto3,oneof" json:"client_cert_rid,omitempty"`
// How to authenticate with Redis.
// If unset, no authentication is used.
//
// Types that are assignable to Auth:
//
// *RedisRole_Acl
// *RedisRole_AuthString
Auth isRedisRole_Auth `protobuf_oneof:"auth"`
// contains filtered or unexported fields
}
func (*RedisRole) Descriptor
deprecated
func (*RedisRole) GetAcl ¶
func (x *RedisRole) GetAcl() *RedisRole_AuthACL
func (*RedisRole) GetAuthString ¶
func (x *RedisRole) GetAuthString() *SecretData
func (*RedisRole) GetClientCertRid ¶
func (*RedisRole) ProtoMessage ¶
func (*RedisRole) ProtoMessage()
func (*RedisRole) ProtoReflect ¶
func (x *RedisRole) ProtoReflect() protoreflect.Message
type RedisRole_Acl ¶
type RedisRole_Acl struct {
Acl *RedisRole_AuthACL `protobuf:"bytes,10,opt,name=acl,proto3,oneof"` // Redis ACL
}
type RedisRole_AuthACL ¶
type RedisRole_AuthACL struct {
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
Password *SecretData `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
func (*RedisRole_AuthACL) Descriptor
deprecated
func (*RedisRole_AuthACL) Descriptor() ([]byte, []int)
Deprecated: Use RedisRole_AuthACL.ProtoReflect.Descriptor instead.
func (*RedisRole_AuthACL) GetPassword ¶
func (x *RedisRole_AuthACL) GetPassword() *SecretData
func (*RedisRole_AuthACL) GetUsername ¶
func (x *RedisRole_AuthACL) GetUsername() string
func (*RedisRole_AuthACL) ProtoMessage ¶
func (*RedisRole_AuthACL) ProtoMessage()
func (*RedisRole_AuthACL) ProtoReflect ¶
func (x *RedisRole_AuthACL) ProtoReflect() protoreflect.Message
func (*RedisRole_AuthACL) Reset ¶
func (x *RedisRole_AuthACL) Reset()
func (*RedisRole_AuthACL) String ¶
func (x *RedisRole_AuthACL) String() string
type RedisRole_AuthString ¶
type RedisRole_AuthString struct {
AuthString *SecretData `protobuf:"bytes,11,opt,name=auth_string,json=authString,proto3,oneof"` // Redis AUTH string
}
type RedisServer ¶
type RedisServer struct {
// The unique resource id for this server.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
// Host is the host to connect to.
// Valid formats are "hostname", "hostname:port", and "/path/to/unix.socket".
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
Kind ServerKind `protobuf:"varint,3,opt,name=kind,proto3,enum=encore.runtime.v1.ServerKind" json:"kind,omitempty"`
// TLS configuration to use when connecting.
// If nil, TLS is not used.
TlsConfig *TLSConfig `protobuf:"bytes,4,opt,name=tls_config,json=tlsConfig,proto3,oneof" json:"tls_config,omitempty"`
// contains filtered or unexported fields
}
func (*RedisServer) Descriptor
deprecated
func (*RedisServer) Descriptor() ([]byte, []int)
Deprecated: Use RedisServer.ProtoReflect.Descriptor instead.
func (*RedisServer) GetHost ¶
func (x *RedisServer) GetHost() string
func (*RedisServer) GetKind ¶
func (x *RedisServer) GetKind() ServerKind
func (*RedisServer) GetRid ¶
func (x *RedisServer) GetRid() string
func (*RedisServer) GetTlsConfig ¶
func (x *RedisServer) GetTlsConfig() *TLSConfig
func (*RedisServer) ProtoMessage ¶
func (*RedisServer) ProtoMessage()
func (*RedisServer) ProtoReflect ¶
func (x *RedisServer) ProtoReflect() protoreflect.Message
func (*RedisServer) Reset ¶
func (x *RedisServer) Reset()
func (*RedisServer) String ¶
func (x *RedisServer) String() string
type RuntimeConfig ¶
type RuntimeConfig struct {
Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
Infra *Infrastructure `protobuf:"bytes,2,opt,name=infra,proto3" json:"infra,omitempty"`
Deployment *Deployment `protobuf:"bytes,3,opt,name=deployment,proto3" json:"deployment,omitempty"`
EncorePlatform *EncorePlatform `protobuf:"bytes,5,opt,name=encore_platform,json=encorePlatform,proto3,oneof" json:"encore_platform,omitempty"`
// contains filtered or unexported fields
}
func (*RuntimeConfig) Descriptor
deprecated
func (*RuntimeConfig) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeConfig.ProtoReflect.Descriptor instead.
func (*RuntimeConfig) GetDeployment ¶
func (x *RuntimeConfig) GetDeployment() *Deployment
func (*RuntimeConfig) GetEncorePlatform ¶
func (x *RuntimeConfig) GetEncorePlatform() *EncorePlatform
func (*RuntimeConfig) GetEnvironment ¶
func (x *RuntimeConfig) GetEnvironment() *Environment
func (*RuntimeConfig) GetInfra ¶
func (x *RuntimeConfig) GetInfra() *Infrastructure
func (*RuntimeConfig) ProtoMessage ¶
func (*RuntimeConfig) ProtoMessage()
func (*RuntimeConfig) ProtoReflect ¶
func (x *RuntimeConfig) ProtoReflect() protoreflect.Message
func (*RuntimeConfig) Reset ¶
func (x *RuntimeConfig) Reset()
func (*RuntimeConfig) String ¶
func (x *RuntimeConfig) String() string
type SQLCluster ¶
type SQLCluster struct {
// The unique resource id for this cluster.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
Servers []*SQLServer `protobuf:"bytes,2,rep,name=servers,proto3" json:"servers,omitempty"`
Databases []*SQLDatabase `protobuf:"bytes,3,rep,name=databases,proto3" json:"databases,omitempty"`
// contains filtered or unexported fields
}
func (*SQLCluster) Descriptor
deprecated
func (*SQLCluster) Descriptor() ([]byte, []int)
Deprecated: Use SQLCluster.ProtoReflect.Descriptor instead.
func (*SQLCluster) GetDatabases ¶
func (x *SQLCluster) GetDatabases() []*SQLDatabase
func (*SQLCluster) GetRid ¶
func (x *SQLCluster) GetRid() string
func (*SQLCluster) GetServers ¶
func (x *SQLCluster) GetServers() []*SQLServer
func (*SQLCluster) ProtoMessage ¶
func (*SQLCluster) ProtoMessage()
func (*SQLCluster) ProtoReflect ¶
func (x *SQLCluster) ProtoReflect() protoreflect.Message
func (*SQLCluster) Reset ¶
func (x *SQLCluster) Reset()
func (*SQLCluster) String ¶
func (x *SQLCluster) String() string
type SQLConnectionPool ¶
type SQLConnectionPool struct {
// Whether this connection pool is for read-only servers.
IsReadonly bool `protobuf:"varint,1,opt,name=is_readonly,json=isReadonly,proto3" json:"is_readonly,omitempty"`
// The role to use to authenticate.
RoleRid string `protobuf:"bytes,2,opt,name=role_rid,json=roleRid,proto3" json:"role_rid,omitempty"`
// The minimum and maximum number of connections to use.
MinConnections int32 `protobuf:"varint,3,opt,name=min_connections,json=minConnections,proto3" json:"min_connections,omitempty"`
MaxConnections int32 `protobuf:"varint,4,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"`
// contains filtered or unexported fields
}
func (*SQLConnectionPool) Descriptor
deprecated
func (*SQLConnectionPool) Descriptor() ([]byte, []int)
Deprecated: Use SQLConnectionPool.ProtoReflect.Descriptor instead.
func (*SQLConnectionPool) GetIsReadonly ¶
func (x *SQLConnectionPool) GetIsReadonly() bool
func (*SQLConnectionPool) GetMaxConnections ¶
func (x *SQLConnectionPool) GetMaxConnections() int32
func (*SQLConnectionPool) GetMinConnections ¶
func (x *SQLConnectionPool) GetMinConnections() int32
func (*SQLConnectionPool) GetRoleRid ¶
func (x *SQLConnectionPool) GetRoleRid() string
func (*SQLConnectionPool) ProtoMessage ¶
func (*SQLConnectionPool) ProtoMessage()
func (*SQLConnectionPool) ProtoReflect ¶
func (x *SQLConnectionPool) ProtoReflect() protoreflect.Message
func (*SQLConnectionPool) Reset ¶
func (x *SQLConnectionPool) Reset()
func (*SQLConnectionPool) String ¶
func (x *SQLConnectionPool) String() string
type SQLDatabase ¶
type SQLDatabase struct {
// The unique resource id for this database.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
EncoreName string `protobuf:"bytes,2,opt,name=encore_name,json=encoreName,proto3" json:"encore_name,omitempty"`
// The physical name of the database in the cluster.
CloudName string `protobuf:"bytes,3,opt,name=cloud_name,json=cloudName,proto3" json:"cloud_name,omitempty"`
// Connection pools to use for connecting to the database.
ConnPools []*SQLConnectionPool `protobuf:"bytes,4,rep,name=conn_pools,json=connPools,proto3" json:"conn_pools,omitempty"`
// contains filtered or unexported fields
}
func (*SQLDatabase) Descriptor
deprecated
func (*SQLDatabase) Descriptor() ([]byte, []int)
Deprecated: Use SQLDatabase.ProtoReflect.Descriptor instead.
func (*SQLDatabase) GetCloudName ¶
func (x *SQLDatabase) GetCloudName() string
func (*SQLDatabase) GetConnPools ¶
func (x *SQLDatabase) GetConnPools() []*SQLConnectionPool
func (*SQLDatabase) GetEncoreName ¶
func (x *SQLDatabase) GetEncoreName() string
func (*SQLDatabase) GetRid ¶
func (x *SQLDatabase) GetRid() 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 SQLRole ¶
type SQLRole struct {
// The unique resource id for this role.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
Password *SecretData `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
// The client cert to use to authenticate, if any.
ClientCertRid *string `protobuf:"bytes,4,opt,name=client_cert_rid,json=clientCertRid,proto3,oneof" json:"client_cert_rid,omitempty"`
// contains filtered or unexported fields
}
func (*SQLRole) Descriptor
deprecated
func (*SQLRole) GetClientCertRid ¶
func (*SQLRole) GetPassword ¶
func (x *SQLRole) GetPassword() *SecretData
func (*SQLRole) GetUsername ¶
func (*SQLRole) ProtoMessage ¶
func (*SQLRole) ProtoMessage()
func (*SQLRole) ProtoReflect ¶
func (x *SQLRole) ProtoReflect() protoreflect.Message
type SQLServer ¶
type SQLServer struct {
// The unique resource id for this server.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
// Host is the host to connect to.
// Valid formats are "hostname", "hostname:port", and "/path/to/unix.socket".
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
Kind ServerKind `protobuf:"varint,3,opt,name=kind,proto3,enum=encore.runtime.v1.ServerKind" json:"kind,omitempty"`
// TLS configuration to use when connecting.
TlsConfig *TLSConfig `protobuf:"bytes,4,opt,name=tls_config,json=tlsConfig,proto3,oneof" json:"tls_config,omitempty"`
// contains filtered or unexported fields
}
func (*SQLServer) Descriptor
deprecated
func (*SQLServer) GetKind ¶
func (x *SQLServer) GetKind() ServerKind
func (*SQLServer) GetTlsConfig ¶
func (*SQLServer) ProtoMessage ¶
func (*SQLServer) ProtoMessage()
func (*SQLServer) ProtoReflect ¶
func (x *SQLServer) ProtoReflect() protoreflect.Message
type SecretData ¶
type SecretData struct {
// How to resolve the initial secret value.
// The output of this step is always a byte slice.
//
// Types that are assignable to Source:
//
// *SecretData_Embedded
// *SecretData_Env
Source isSecretData_Source `protobuf_oneof:"source"`
// How the value is encoded.
Encoding SecretData_Encoding `protobuf:"varint,20,opt,name=encoding,proto3,enum=encore.runtime.v1.SecretData_Encoding" json:"encoding,omitempty"`
// sub_path is an optional path to a sub-value within the secret data.
//
// Types that are assignable to SubPath:
//
// *SecretData_JsonKey
SubPath isSecretData_SubPath `protobuf_oneof:"sub_path"`
// contains filtered or unexported fields
}
Defines how to resolve a secret value.
func (*SecretData) Descriptor
deprecated
func (*SecretData) Descriptor() ([]byte, []int)
Deprecated: Use SecretData.ProtoReflect.Descriptor instead.
func (*SecretData) GetEmbedded ¶
func (x *SecretData) GetEmbedded() []byte
func (*SecretData) GetEncoding ¶
func (x *SecretData) GetEncoding() SecretData_Encoding
func (*SecretData) GetEnv ¶
func (x *SecretData) GetEnv() string
func (*SecretData) GetJsonKey ¶
func (x *SecretData) GetJsonKey() string
func (*SecretData) GetSource ¶
func (m *SecretData) GetSource() isSecretData_Source
func (*SecretData) GetSubPath ¶
func (m *SecretData) GetSubPath() isSecretData_SubPath
func (*SecretData) ProtoMessage ¶
func (*SecretData) ProtoMessage()
func (*SecretData) ProtoReflect ¶
func (x *SecretData) ProtoReflect() protoreflect.Message
func (*SecretData) Reset ¶
func (x *SecretData) Reset()
func (*SecretData) String ¶
func (x *SecretData) String() string
type SecretData_Embedded ¶
type SecretData_Embedded struct {
// The secret data is embedded directly in the configuration.
// This is insecure unless `encrypted` is true, and should only
// be used for local development.
Embedded []byte `protobuf:"bytes,1,opt,name=embedded,proto3,oneof"`
}
type SecretData_Encoding ¶
type SecretData_Encoding int32
const ( // Indicates the value is used as-is. SecretData_ENCODING_NONE SecretData_Encoding = 0 // Indicates the value is base64-encoded. SecretData_ENCODING_BASE64 SecretData_Encoding = 1 )
func (SecretData_Encoding) Descriptor ¶
func (SecretData_Encoding) Descriptor() protoreflect.EnumDescriptor
func (SecretData_Encoding) Enum ¶
func (x SecretData_Encoding) Enum() *SecretData_Encoding
func (SecretData_Encoding) EnumDescriptor
deprecated
func (SecretData_Encoding) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecretData_Encoding.Descriptor instead.
func (SecretData_Encoding) Number ¶
func (x SecretData_Encoding) Number() protoreflect.EnumNumber
func (SecretData_Encoding) String ¶
func (x SecretData_Encoding) String() string
func (SecretData_Encoding) Type ¶
func (SecretData_Encoding) Type() protoreflect.EnumType
type SecretData_Env ¶
type SecretData_Env struct {
// Look up the secret data in an env variable with the given name.
// Assumes the
Env string `protobuf:"bytes,2,opt,name=env,proto3,oneof"`
}
type SecretData_JsonKey ¶
type SecretData_JsonKey struct {
// json_key indicates the secret data is a JSON map,
// and the resolved secret value is a key in that map.
//
// The value is encoded differently based on its type.
// Supported types are utf-8 strings and raw bytes:
// - For strings, the value is the string itself, e.g. "foo".
// - For raw bytes, the value is a JSON object with a single key "bytes" and the value is the base64-encoded bytes.
//
// For example: '{"foo": "string-value", "bar": {"bytes": "aGVsbG8="}}'.
JsonKey string `protobuf:"bytes,10,opt,name=json_key,json=jsonKey,proto3,oneof"`
}
type ServerKind ¶
type ServerKind int32
const ( ServerKind_SERVER_KIND_UNSPECIFIED ServerKind = 0 ServerKind_SERVER_KIND_PRIMARY ServerKind = 1 // A hot-standby (a read replica designed to take over write traffic // at a moment's notice). ServerKind_SERVER_KIND_HOT_STANDBY ServerKind = 2 // A read-replica. ServerKind_SERVER_KIND_READ_REPLICA ServerKind = 3 )
func (ServerKind) Descriptor ¶
func (ServerKind) Descriptor() protoreflect.EnumDescriptor
func (ServerKind) Enum ¶
func (x ServerKind) Enum() *ServerKind
func (ServerKind) EnumDescriptor
deprecated
func (ServerKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServerKind.Descriptor instead.
func (ServerKind) Number ¶
func (x ServerKind) Number() protoreflect.EnumNumber
func (ServerKind) String ¶
func (x ServerKind) String() string
func (ServerKind) Type ¶
func (ServerKind) Type() protoreflect.EnumType
type ServiceAuth ¶
type ServiceAuth struct {
// The auth method to use.
//
// Types that are assignable to AuthMethod:
//
// *ServiceAuth_Noop
// *ServiceAuth_EncoreAuth_
AuthMethod isServiceAuth_AuthMethod `protobuf_oneof:"auth_method"`
// contains filtered or unexported fields
}
func (*ServiceAuth) Descriptor
deprecated
func (*ServiceAuth) Descriptor() ([]byte, []int)
Deprecated: Use ServiceAuth.ProtoReflect.Descriptor instead.
func (*ServiceAuth) GetAuthMethod ¶
func (m *ServiceAuth) GetAuthMethod() isServiceAuth_AuthMethod
func (*ServiceAuth) GetEncoreAuth ¶
func (x *ServiceAuth) GetEncoreAuth() *ServiceAuth_EncoreAuth
func (*ServiceAuth) GetNoop ¶
func (x *ServiceAuth) GetNoop() *ServiceAuth_NoopAuth
func (*ServiceAuth) ProtoMessage ¶
func (*ServiceAuth) ProtoMessage()
func (*ServiceAuth) ProtoReflect ¶
func (x *ServiceAuth) ProtoReflect() protoreflect.Message
func (*ServiceAuth) Reset ¶
func (x *ServiceAuth) Reset()
func (*ServiceAuth) String ¶
func (x *ServiceAuth) String() string
type ServiceAuth_EncoreAuth ¶
type ServiceAuth_EncoreAuth struct {
AuthKeys []*EncoreAuthKey `protobuf:"bytes,1,rep,name=auth_keys,json=authKeys,proto3" json:"auth_keys,omitempty"`
// contains filtered or unexported fields
}
func (*ServiceAuth_EncoreAuth) Descriptor
deprecated
func (*ServiceAuth_EncoreAuth) Descriptor() ([]byte, []int)
Deprecated: Use ServiceAuth_EncoreAuth.ProtoReflect.Descriptor instead.
func (*ServiceAuth_EncoreAuth) GetAuthKeys ¶
func (x *ServiceAuth_EncoreAuth) GetAuthKeys() []*EncoreAuthKey
func (*ServiceAuth_EncoreAuth) ProtoMessage ¶
func (*ServiceAuth_EncoreAuth) ProtoMessage()
func (*ServiceAuth_EncoreAuth) ProtoReflect ¶
func (x *ServiceAuth_EncoreAuth) ProtoReflect() protoreflect.Message
func (*ServiceAuth_EncoreAuth) Reset ¶
func (x *ServiceAuth_EncoreAuth) Reset()
func (*ServiceAuth_EncoreAuth) String ¶
func (x *ServiceAuth_EncoreAuth) String() string
type ServiceAuth_EncoreAuth_ ¶
type ServiceAuth_EncoreAuth_ struct {
EncoreAuth *ServiceAuth_EncoreAuth `protobuf:"bytes,11,opt,name=encore_auth,json=encoreAuth,proto3,oneof"`
}
type ServiceAuth_Noop ¶
type ServiceAuth_Noop struct {
// Messages start at 10 to allow for other fields on ServiceAuth.
Noop *ServiceAuth_NoopAuth `protobuf:"bytes,10,opt,name=noop,proto3,oneof"`
}
type ServiceAuth_NoopAuth ¶
type ServiceAuth_NoopAuth struct {
// contains filtered or unexported fields
}
func (*ServiceAuth_NoopAuth) Descriptor
deprecated
func (*ServiceAuth_NoopAuth) Descriptor() ([]byte, []int)
Deprecated: Use ServiceAuth_NoopAuth.ProtoReflect.Descriptor instead.
func (*ServiceAuth_NoopAuth) ProtoMessage ¶
func (*ServiceAuth_NoopAuth) ProtoMessage()
func (*ServiceAuth_NoopAuth) ProtoReflect ¶
func (x *ServiceAuth_NoopAuth) ProtoReflect() protoreflect.Message
func (*ServiceAuth_NoopAuth) Reset ¶
func (x *ServiceAuth_NoopAuth) Reset()
func (*ServiceAuth_NoopAuth) String ¶
func (x *ServiceAuth_NoopAuth) String() string
type ServiceDiscovery ¶
type ServiceDiscovery struct {
// Where services are located, keyed by the service name.
Services map[string]*ServiceDiscovery_Location `` /* 157-byte string literal not displayed */
// contains filtered or unexported fields
}
Describes service discovery configuration.
func (*ServiceDiscovery) Descriptor
deprecated
func (*ServiceDiscovery) Descriptor() ([]byte, []int)
Deprecated: Use ServiceDiscovery.ProtoReflect.Descriptor instead.
func (*ServiceDiscovery) GetServices ¶
func (x *ServiceDiscovery) GetServices() map[string]*ServiceDiscovery_Location
func (*ServiceDiscovery) ProtoMessage ¶
func (*ServiceDiscovery) ProtoMessage()
func (*ServiceDiscovery) ProtoReflect ¶
func (x *ServiceDiscovery) ProtoReflect() protoreflect.Message
func (*ServiceDiscovery) Reset ¶
func (x *ServiceDiscovery) Reset()
func (*ServiceDiscovery) String ¶
func (x *ServiceDiscovery) String() string
type ServiceDiscovery_Location ¶
type ServiceDiscovery_Location struct {
// The base URL of the service (including scheme and port).
BaseUrl string `protobuf:"bytes,1,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
// The auth methods to use when talking to this service.
AuthMethods []*ServiceAuth `protobuf:"bytes,2,rep,name=auth_methods,json=authMethods,proto3" json:"auth_methods,omitempty"`
// contains filtered or unexported fields
}
func (*ServiceDiscovery_Location) Descriptor
deprecated
func (*ServiceDiscovery_Location) Descriptor() ([]byte, []int)
Deprecated: Use ServiceDiscovery_Location.ProtoReflect.Descriptor instead.
func (*ServiceDiscovery_Location) GetAuthMethods ¶
func (x *ServiceDiscovery_Location) GetAuthMethods() []*ServiceAuth
func (*ServiceDiscovery_Location) GetBaseUrl ¶
func (x *ServiceDiscovery_Location) GetBaseUrl() string
func (*ServiceDiscovery_Location) ProtoMessage ¶
func (*ServiceDiscovery_Location) ProtoMessage()
func (*ServiceDiscovery_Location) ProtoReflect ¶
func (x *ServiceDiscovery_Location) ProtoReflect() protoreflect.Message
func (*ServiceDiscovery_Location) Reset ¶
func (x *ServiceDiscovery_Location) Reset()
func (*ServiceDiscovery_Location) String ¶
func (x *ServiceDiscovery_Location) String() string
type TLSConfig ¶
type TLSConfig struct {
// Server CA Cert PEM to use for verifying the server's certificate.
ServerCaCert *string `protobuf:"bytes,1,opt,name=server_ca_cert,json=serverCaCert,proto3,oneof" json:"server_ca_cert,omitempty"`
// If true, skips hostname verification when connecting.
// If invalid hostnames are trusted, *any* valid certificate for *any* site will be trusted for use.
// This introduces significant vulnerabilities, and should only be used as a last resort.
DisableTlsHostnameVerification bool `` /* 156-byte string literal not displayed */
// If true, skips CA cert validation when connecting.
// This introduces significant vulnerabilities, and should only be used as a last resort.
DisableCaValidation bool `protobuf:"varint,3,opt,name=disable_ca_validation,json=disableCaValidation,proto3" json:"disable_ca_validation,omitempty"`
// contains filtered or unexported fields
}
func (*TLSConfig) Descriptor
deprecated
func (*TLSConfig) GetDisableCaValidation ¶
func (*TLSConfig) GetDisableTlsHostnameVerification ¶
func (*TLSConfig) GetServerCaCert ¶
func (*TLSConfig) ProtoMessage ¶
func (*TLSConfig) ProtoMessage()
func (*TLSConfig) ProtoReflect ¶
func (x *TLSConfig) ProtoReflect() protoreflect.Message
type TracingProvider ¶
type TracingProvider struct {
// The unique resource id for this provider.
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
// Types that are assignable to Provider:
//
// *TracingProvider_Encore
Provider isTracingProvider_Provider `protobuf_oneof:"provider"`
// contains filtered or unexported fields
}
func (*TracingProvider) Descriptor
deprecated
func (*TracingProvider) Descriptor() ([]byte, []int)
Deprecated: Use TracingProvider.ProtoReflect.Descriptor instead.
func (*TracingProvider) GetEncore ¶
func (x *TracingProvider) GetEncore() *TracingProvider_EncoreTracingProvider
func (*TracingProvider) GetProvider ¶
func (m *TracingProvider) GetProvider() isTracingProvider_Provider
func (*TracingProvider) GetRid ¶
func (x *TracingProvider) GetRid() string
func (*TracingProvider) ProtoMessage ¶
func (*TracingProvider) ProtoMessage()
func (*TracingProvider) ProtoReflect ¶
func (x *TracingProvider) ProtoReflect() protoreflect.Message
func (*TracingProvider) Reset ¶
func (x *TracingProvider) Reset()
func (*TracingProvider) String ¶
func (x *TracingProvider) String() string
type TracingProvider_Encore ¶
type TracingProvider_Encore struct {
Encore *TracingProvider_EncoreTracingProvider `protobuf:"bytes,10,opt,name=encore,proto3,oneof"`
}
type TracingProvider_EncoreTracingProvider ¶
type TracingProvider_EncoreTracingProvider struct {
TraceEndpoint string `protobuf:"bytes,1,opt,name=trace_endpoint,json=traceEndpoint,proto3" json:"trace_endpoint,omitempty"`
// The sampling rate to use for traces, between [0, 1].
// If unset it defaults to 1 (meaning all requests are traced).
SamplingRate *float64 `protobuf:"fixed64,2,opt,name=sampling_rate,json=samplingRate,proto3,oneof" json:"sampling_rate,omitempty"`
// contains filtered or unexported fields
}
func (*TracingProvider_EncoreTracingProvider) Descriptor
deprecated
func (*TracingProvider_EncoreTracingProvider) Descriptor() ([]byte, []int)
Deprecated: Use TracingProvider_EncoreTracingProvider.ProtoReflect.Descriptor instead.
func (*TracingProvider_EncoreTracingProvider) GetSamplingRate ¶
func (x *TracingProvider_EncoreTracingProvider) GetSamplingRate() float64
func (*TracingProvider_EncoreTracingProvider) GetTraceEndpoint ¶
func (x *TracingProvider_EncoreTracingProvider) GetTraceEndpoint() string
func (*TracingProvider_EncoreTracingProvider) ProtoMessage ¶
func (*TracingProvider_EncoreTracingProvider) ProtoMessage()
func (*TracingProvider_EncoreTracingProvider) ProtoReflect ¶
func (x *TracingProvider_EncoreTracingProvider) ProtoReflect() protoreflect.Message
func (*TracingProvider_EncoreTracingProvider) Reset ¶
func (x *TracingProvider_EncoreTracingProvider) Reset()
func (*TracingProvider_EncoreTracingProvider) String ¶
func (x *TracingProvider_EncoreTracingProvider) String() string