Documentation
¶
Index ¶
- Variables
- type AuthorizationConfig
- func (*AuthorizationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizationConfig) GetAllowedMethodPaths() []string
- func (x *AuthorizationConfig) GetExpiredTime() *durationpb.Duration
- func (x *AuthorizationConfig) GetOldSigningKey() string
- func (x *AuthorizationConfig) GetSigningKey() string
- func (x *AuthorizationConfig) GetSigningMethod() string
- func (*AuthorizationConfig) ProtoMessage()
- func (x *AuthorizationConfig) ProtoReflect() protoreflect.Message
- func (x *AuthorizationConfig) Reset()
- func (x *AuthorizationConfig) String() string
- func (m *AuthorizationConfig) Validate() error
- func (m *AuthorizationConfig) ValidateAll() error
- type AuthorizationConfigMultiError
- type AuthorizationConfigValidationError
- func (e AuthorizationConfigValidationError) Cause() error
- func (e AuthorizationConfigValidationError) Error() string
- func (e AuthorizationConfigValidationError) ErrorName() string
- func (e AuthorizationConfigValidationError) Field() string
- func (e AuthorizationConfigValidationError) Key() bool
- func (e AuthorizationConfigValidationError) Reason() string
- type CasbinConfig
- func (*CasbinConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CasbinConfig) GetAllowedMethodPaths() []string
- func (x *CasbinConfig) GetModelFile() string
- func (x *CasbinConfig) GetPolicyFile() string
- func (*CasbinConfig) ProtoMessage()
- func (x *CasbinConfig) ProtoReflect() protoreflect.Message
- func (x *CasbinConfig) Reset()
- func (x *CasbinConfig) String() string
- func (m *CasbinConfig) Validate() error
- func (m *CasbinConfig) ValidateAll() error
- type CasbinConfigMultiError
- type CasbinConfigValidationError
- func (e CasbinConfigValidationError) Cause() error
- func (e CasbinConfigValidationError) Error() string
- func (e CasbinConfigValidationError) ErrorName() string
- func (e CasbinConfigValidationError) Field() string
- func (e CasbinConfigValidationError) Key() bool
- func (e CasbinConfigValidationError) Reason() string
- type CorsConfig
- func (*CorsConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CorsConfig) GetAllowBrowserExtensions() bool
- func (x *CorsConfig) GetAllowCredentials() bool
- func (x *CorsConfig) GetAllowFiles() bool
- func (x *CorsConfig) GetAllowHeaders() []string
- func (x *CorsConfig) GetAllowMethods() []string
- func (x *CorsConfig) GetAllowOrigins() []string
- func (x *CorsConfig) GetAllowPrivateNetwork() bool
- func (x *CorsConfig) GetAllowWebSockets() bool
- func (x *CorsConfig) GetAllowWildcard() bool
- func (x *CorsConfig) GetExposeHeaders() []string
- func (x *CorsConfig) GetMaxAge() *durationpb.Duration
- func (*CorsConfig) ProtoMessage()
- func (x *CorsConfig) ProtoReflect() protoreflect.Message
- func (x *CorsConfig) Reset()
- func (x *CorsConfig) String() string
- func (m *CorsConfig) Validate() error
- func (m *CorsConfig) ValidateAll() error
- type CorsConfigMultiError
- type CorsConfigValidationError
- type DataConfig
- type DataConfigMultiError
- type DataConfigValidationError
- type DataConfig_Database
- func (*DataConfig_Database) Descriptor() ([]byte, []int)deprecated
- func (x *DataConfig_Database) GetConnectionMaxLifetime() *durationpb.Duration
- func (x *DataConfig_Database) GetDebug() bool
- func (x *DataConfig_Database) GetDriver() string
- func (x *DataConfig_Database) GetEnableMetrics() bool
- func (x *DataConfig_Database) GetEnableTrace() bool
- func (x *DataConfig_Database) GetMaxIdleConnections() int32
- func (x *DataConfig_Database) GetMaxOpenConnections() int32
- func (x *DataConfig_Database) GetMigrate() bool
- func (x *DataConfig_Database) GetSource() string
- func (*DataConfig_Database) ProtoMessage()
- func (x *DataConfig_Database) ProtoReflect() protoreflect.Message
- func (x *DataConfig_Database) Reset()
- func (x *DataConfig_Database) String() string
- func (m *DataConfig_Database) Validate() error
- func (m *DataConfig_Database) ValidateAll() error
- type DataConfig_DatabaseMultiError
- type DataConfig_DatabaseValidationError
- func (e DataConfig_DatabaseValidationError) Cause() error
- func (e DataConfig_DatabaseValidationError) Error() string
- func (e DataConfig_DatabaseValidationError) ErrorName() string
- func (e DataConfig_DatabaseValidationError) Field() string
- func (e DataConfig_DatabaseValidationError) Key() bool
- func (e DataConfig_DatabaseValidationError) Reason() string
- type EntrySelectorConfig
- func (*EntrySelectorConfig) Descriptor() ([]byte, []int)deprecated
- func (x *EntrySelectorConfig) GetGlobal() bool
- func (x *EntrySelectorConfig) GetName() string
- func (x *EntrySelectorConfig) GetVersion() string
- func (*EntrySelectorConfig) ProtoMessage()
- func (x *EntrySelectorConfig) ProtoReflect() protoreflect.Message
- func (x *EntrySelectorConfig) Reset()
- func (x *EntrySelectorConfig) String() string
- func (m *EntrySelectorConfig) Validate() error
- func (m *EntrySelectorConfig) ValidateAll() error
- type EntrySelectorConfigMultiError
- type EntrySelectorConfigValidationError
- func (e EntrySelectorConfigValidationError) Cause() error
- func (e EntrySelectorConfigValidationError) Error() string
- func (e EntrySelectorConfigValidationError) ErrorName() string
- func (e EntrySelectorConfigValidationError) Field() string
- func (e EntrySelectorConfigValidationError) Key() bool
- func (e EntrySelectorConfigValidationError) Reason() string
- type LoggerConfig
- func (*LoggerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *LoggerConfig) GetLevel() LoggerConfig_Level
- func (x *LoggerConfig) GetName() string
- func (*LoggerConfig) ProtoMessage()
- func (x *LoggerConfig) ProtoReflect() protoreflect.Message
- func (x *LoggerConfig) Reset()
- func (x *LoggerConfig) String() string
- func (m *LoggerConfig) Validate() error
- func (m *LoggerConfig) ValidateAll() error
- type LoggerConfigMultiError
- type LoggerConfigValidationError
- func (e LoggerConfigValidationError) Cause() error
- func (e LoggerConfigValidationError) Error() string
- func (e LoggerConfigValidationError) ErrorName() string
- func (e LoggerConfigValidationError) Field() string
- func (e LoggerConfigValidationError) Key() bool
- func (e LoggerConfigValidationError) Reason() string
- type LoggerConfig_Level
- func (LoggerConfig_Level) Descriptor() protoreflect.EnumDescriptor
- func (x LoggerConfig_Level) Enum() *LoggerConfig_Level
- func (LoggerConfig_Level) EnumDescriptor() ([]byte, []int)deprecated
- func (x LoggerConfig_Level) Number() protoreflect.EnumNumber
- func (x LoggerConfig_Level) String() string
- func (LoggerConfig_Level) Type() protoreflect.EnumType
- type MessageConfig
- func (*MessageConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MessageConfig) GetActivemq() *MessageConfig_ActiveMQ
- func (x *MessageConfig) GetKafka() *MessageConfig_Kafka
- func (x *MessageConfig) GetMqtt() *MessageConfig_MQTT
- func (x *MessageConfig) GetName() string
- func (x *MessageConfig) GetNats() *MessageConfig_NATS
- func (x *MessageConfig) GetNsq() *MessageConfig_NSQ
- func (x *MessageConfig) GetPulsar() *MessageConfig_Pulsar
- func (x *MessageConfig) GetRabbitmq() *MessageConfig_RabbitMQ
- func (x *MessageConfig) GetRedis() *MessageConfig_Redis
- func (x *MessageConfig) GetRocketmq() *MessageConfig_RocketMQ
- func (*MessageConfig) ProtoMessage()
- func (x *MessageConfig) ProtoReflect() protoreflect.Message
- func (x *MessageConfig) Reset()
- func (x *MessageConfig) String() string
- func (m *MessageConfig) Validate() error
- func (m *MessageConfig) ValidateAll() error
- type MessageConfigMultiError
- type MessageConfigValidationError
- func (e MessageConfigValidationError) Cause() error
- func (e MessageConfigValidationError) Error() string
- func (e MessageConfigValidationError) ErrorName() string
- func (e MessageConfigValidationError) Field() string
- func (e MessageConfigValidationError) Key() bool
- func (e MessageConfigValidationError) Reason() string
- type MessageConfig_ActiveMQ
- func (*MessageConfig_ActiveMQ) Descriptor() ([]byte, []int)deprecated
- func (x *MessageConfig_ActiveMQ) GetCodec() string
- func (x *MessageConfig_ActiveMQ) GetEndpoint() string
- func (*MessageConfig_ActiveMQ) ProtoMessage()
- func (x *MessageConfig_ActiveMQ) ProtoReflect() protoreflect.Message
- func (x *MessageConfig_ActiveMQ) Reset()
- func (x *MessageConfig_ActiveMQ) String() string
- func (m *MessageConfig_ActiveMQ) Validate() error
- func (m *MessageConfig_ActiveMQ) ValidateAll() error
- type MessageConfig_ActiveMQMultiError
- type MessageConfig_ActiveMQValidationError
- func (e MessageConfig_ActiveMQValidationError) Cause() error
- func (e MessageConfig_ActiveMQValidationError) Error() string
- func (e MessageConfig_ActiveMQValidationError) ErrorName() string
- func (e MessageConfig_ActiveMQValidationError) Field() string
- func (e MessageConfig_ActiveMQValidationError) Key() bool
- func (e MessageConfig_ActiveMQValidationError) Reason() string
- type MessageConfig_Kafka
- func (*MessageConfig_Kafka) Descriptor() ([]byte, []int)deprecated
- func (x *MessageConfig_Kafka) GetCodec() string
- func (x *MessageConfig_Kafka) GetEndpoint() string
- func (*MessageConfig_Kafka) ProtoMessage()
- func (x *MessageConfig_Kafka) ProtoReflect() protoreflect.Message
- func (x *MessageConfig_Kafka) Reset()
- func (x *MessageConfig_Kafka) String() string
- func (m *MessageConfig_Kafka) Validate() error
- func (m *MessageConfig_Kafka) ValidateAll() error
- type MessageConfig_KafkaMultiError
- type MessageConfig_KafkaValidationError
- func (e MessageConfig_KafkaValidationError) Cause() error
- func (e MessageConfig_KafkaValidationError) Error() string
- func (e MessageConfig_KafkaValidationError) ErrorName() string
- func (e MessageConfig_KafkaValidationError) Field() string
- func (e MessageConfig_KafkaValidationError) Key() bool
- func (e MessageConfig_KafkaValidationError) Reason() string
- type MessageConfig_MQTT
- func (*MessageConfig_MQTT) Descriptor() ([]byte, []int)deprecated
- func (x *MessageConfig_MQTT) GetCodec() string
- func (x *MessageConfig_MQTT) GetEndpoint() string
- func (*MessageConfig_MQTT) ProtoMessage()
- func (x *MessageConfig_MQTT) ProtoReflect() protoreflect.Message
- func (x *MessageConfig_MQTT) Reset()
- func (x *MessageConfig_MQTT) String() string
- func (m *MessageConfig_MQTT) Validate() error
- func (m *MessageConfig_MQTT) ValidateAll() error
- type MessageConfig_MQTTMultiError
- type MessageConfig_MQTTValidationError
- func (e MessageConfig_MQTTValidationError) Cause() error
- func (e MessageConfig_MQTTValidationError) Error() string
- func (e MessageConfig_MQTTValidationError) ErrorName() string
- func (e MessageConfig_MQTTValidationError) Field() string
- func (e MessageConfig_MQTTValidationError) Key() bool
- func (e MessageConfig_MQTTValidationError) Reason() string
- type MessageConfig_NATS
- func (*MessageConfig_NATS) Descriptor() ([]byte, []int)deprecated
- func (x *MessageConfig_NATS) GetCodec() string
- func (x *MessageConfig_NATS) GetEndpoint() string
- func (*MessageConfig_NATS) ProtoMessage()
- func (x *MessageConfig_NATS) ProtoReflect() protoreflect.Message
- func (x *MessageConfig_NATS) Reset()
- func (x *MessageConfig_NATS) String() string
- func (m *MessageConfig_NATS) Validate() error
- func (m *MessageConfig_NATS) ValidateAll() error
- type MessageConfig_NATSMultiError
- type MessageConfig_NATSValidationError
- func (e MessageConfig_NATSValidationError) Cause() error
- func (e MessageConfig_NATSValidationError) Error() string
- func (e MessageConfig_NATSValidationError) ErrorName() string
- func (e MessageConfig_NATSValidationError) Field() string
- func (e MessageConfig_NATSValidationError) Key() bool
- func (e MessageConfig_NATSValidationError) Reason() string
- type MessageConfig_NSQ
- func (*MessageConfig_NSQ) Descriptor() ([]byte, []int)deprecated
- func (x *MessageConfig_NSQ) GetCodec() string
- func (x *MessageConfig_NSQ) GetEndpoint() string
- func (*MessageConfig_NSQ) ProtoMessage()
- func (x *MessageConfig_NSQ) ProtoReflect() protoreflect.Message
- func (x *MessageConfig_NSQ) Reset()
- func (x *MessageConfig_NSQ) String() string
- func (m *MessageConfig_NSQ) Validate() error
- func (m *MessageConfig_NSQ) ValidateAll() error
- type MessageConfig_NSQMultiError
- type MessageConfig_NSQValidationError
- func (e MessageConfig_NSQValidationError) Cause() error
- func (e MessageConfig_NSQValidationError) Error() string
- func (e MessageConfig_NSQValidationError) ErrorName() string
- func (e MessageConfig_NSQValidationError) Field() string
- func (e MessageConfig_NSQValidationError) Key() bool
- func (e MessageConfig_NSQValidationError) Reason() string
- type MessageConfig_Pulsar
- func (*MessageConfig_Pulsar) Descriptor() ([]byte, []int)deprecated
- func (x *MessageConfig_Pulsar) GetCodec() string
- func (x *MessageConfig_Pulsar) GetEndpoint() string
- func (*MessageConfig_Pulsar) ProtoMessage()
- func (x *MessageConfig_Pulsar) ProtoReflect() protoreflect.Message
- func (x *MessageConfig_Pulsar) Reset()
- func (x *MessageConfig_Pulsar) String() string
- func (m *MessageConfig_Pulsar) Validate() error
- func (m *MessageConfig_Pulsar) ValidateAll() error
- type MessageConfig_PulsarMultiError
- type MessageConfig_PulsarValidationError
- func (e MessageConfig_PulsarValidationError) Cause() error
- func (e MessageConfig_PulsarValidationError) Error() string
- func (e MessageConfig_PulsarValidationError) ErrorName() string
- func (e MessageConfig_PulsarValidationError) Field() string
- func (e MessageConfig_PulsarValidationError) Key() bool
- func (e MessageConfig_PulsarValidationError) Reason() string
- type MessageConfig_RabbitMQ
- func (*MessageConfig_RabbitMQ) Descriptor() ([]byte, []int)deprecated
- func (x *MessageConfig_RabbitMQ) GetCodec() string
- func (x *MessageConfig_RabbitMQ) GetEndpoint() string
- func (*MessageConfig_RabbitMQ) ProtoMessage()
- func (x *MessageConfig_RabbitMQ) ProtoReflect() protoreflect.Message
- func (x *MessageConfig_RabbitMQ) Reset()
- func (x *MessageConfig_RabbitMQ) String() string
- func (m *MessageConfig_RabbitMQ) Validate() error
- func (m *MessageConfig_RabbitMQ) ValidateAll() error
- type MessageConfig_RabbitMQMultiError
- type MessageConfig_RabbitMQValidationError
- func (e MessageConfig_RabbitMQValidationError) Cause() error
- func (e MessageConfig_RabbitMQValidationError) Error() string
- func (e MessageConfig_RabbitMQValidationError) ErrorName() string
- func (e MessageConfig_RabbitMQValidationError) Field() string
- func (e MessageConfig_RabbitMQValidationError) Key() bool
- func (e MessageConfig_RabbitMQValidationError) Reason() string
- type MessageConfig_Redis
- func (*MessageConfig_Redis) Descriptor() ([]byte, []int)deprecated
- func (x *MessageConfig_Redis) GetCodec() string
- func (x *MessageConfig_Redis) GetEndpoint() string
- func (*MessageConfig_Redis) ProtoMessage()
- func (x *MessageConfig_Redis) ProtoReflect() protoreflect.Message
- func (x *MessageConfig_Redis) Reset()
- func (x *MessageConfig_Redis) String() string
- func (m *MessageConfig_Redis) Validate() error
- func (m *MessageConfig_Redis) ValidateAll() error
- type MessageConfig_RedisMultiError
- type MessageConfig_RedisValidationError
- func (e MessageConfig_RedisValidationError) Cause() error
- func (e MessageConfig_RedisValidationError) Error() string
- func (e MessageConfig_RedisValidationError) ErrorName() string
- func (e MessageConfig_RedisValidationError) Field() string
- func (e MessageConfig_RedisValidationError) Key() bool
- func (e MessageConfig_RedisValidationError) Reason() string
- type MessageConfig_RocketMQ
- func (*MessageConfig_RocketMQ) Descriptor() ([]byte, []int)deprecated
- func (x *MessageConfig_RocketMQ) GetAccessKey() string
- func (x *MessageConfig_RocketMQ) GetCodec() string
- func (x *MessageConfig_RocketMQ) GetEnableTrace() bool
- func (x *MessageConfig_RocketMQ) GetEndpoint() string
- func (x *MessageConfig_RocketMQ) GetGroupName() string
- func (x *MessageConfig_RocketMQ) GetInstanceName() string
- func (x *MessageConfig_RocketMQ) GetNameServerDomain() string
- func (x *MessageConfig_RocketMQ) GetNameServers() []string
- func (x *MessageConfig_RocketMQ) GetNamespace() string
- func (x *MessageConfig_RocketMQ) GetSecretKey() string
- func (x *MessageConfig_RocketMQ) GetSecurityToken() string
- func (*MessageConfig_RocketMQ) ProtoMessage()
- func (x *MessageConfig_RocketMQ) ProtoReflect() protoreflect.Message
- func (x *MessageConfig_RocketMQ) Reset()
- func (x *MessageConfig_RocketMQ) String() string
- func (m *MessageConfig_RocketMQ) Validate() error
- func (m *MessageConfig_RocketMQ) ValidateAll() error
- type MessageConfig_RocketMQMultiError
- type MessageConfig_RocketMQValidationError
- func (e MessageConfig_RocketMQValidationError) Cause() error
- func (e MessageConfig_RocketMQValidationError) Error() string
- func (e MessageConfig_RocketMQValidationError) ErrorName() string
- func (e MessageConfig_RocketMQValidationError) Field() string
- func (e MessageConfig_RocketMQValidationError) Key() bool
- func (e MessageConfig_RocketMQValidationError) Reason() string
- type MetricConfig
- func (*MetricConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MetricConfig) GetIncludes() []string
- func (x *MetricConfig) GetName() string
- func (*MetricConfig) ProtoMessage()
- func (x *MetricConfig) ProtoReflect() protoreflect.Message
- func (x *MetricConfig) Reset()
- func (x *MetricConfig) String() string
- func (m *MetricConfig) Validate() error
- func (m *MetricConfig) ValidateAll() error
- type MetricConfigMultiError
- type MetricConfigValidationError
- func (e MetricConfigValidationError) Cause() error
- func (e MetricConfigValidationError) Error() string
- func (e MetricConfigValidationError) ErrorName() string
- func (e MetricConfigValidationError) Field() string
- func (e MetricConfigValidationError) Key() bool
- func (e MetricConfigValidationError) Reason() string
- type MiddlewareConfig
- func (*MiddlewareConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MiddlewareConfig) GetCors() *CorsConfig
- func (x *MiddlewareConfig) GetLogger() *LoggerConfig
- func (x *MiddlewareConfig) GetMetric() *MetricConfig
- func (x *MiddlewareConfig) GetSecurity() *SecurityConfig
- func (x *MiddlewareConfig) GetTimeout() *durationpb.Duration
- func (*MiddlewareConfig) ProtoMessage()
- func (x *MiddlewareConfig) ProtoReflect() protoreflect.Message
- func (x *MiddlewareConfig) Reset()
- func (x *MiddlewareConfig) String() string
- func (m *MiddlewareConfig) Validate() error
- func (m *MiddlewareConfig) ValidateAll() error
- type MiddlewareConfigMultiError
- type MiddlewareConfigValidationError
- func (e MiddlewareConfigValidationError) Cause() error
- func (e MiddlewareConfigValidationError) Error() string
- func (e MiddlewareConfigValidationError) ErrorName() string
- func (e MiddlewareConfigValidationError) Field() string
- func (e MiddlewareConfigValidationError) Key() bool
- func (e MiddlewareConfigValidationError) Reason() string
- type RegistryConfig
- func (*RegistryConfig) Descriptor() ([]byte, []int)deprecated
- func (x *RegistryConfig) GetConsul() *RegistryConfig_Consul
- func (x *RegistryConfig) GetEtcd() *RegistryConfig_ETCD
- func (x *RegistryConfig) GetName() string
- func (x *RegistryConfig) GetType() string
- func (*RegistryConfig) ProtoMessage()
- func (x *RegistryConfig) ProtoReflect() protoreflect.Message
- func (x *RegistryConfig) Reset()
- func (x *RegistryConfig) String() string
- func (m *RegistryConfig) Validate() error
- func (m *RegistryConfig) ValidateAll() error
- type RegistryConfigMultiError
- type RegistryConfigValidationError
- func (e RegistryConfigValidationError) Cause() error
- func (e RegistryConfigValidationError) Error() string
- func (e RegistryConfigValidationError) ErrorName() string
- func (e RegistryConfigValidationError) Field() string
- func (e RegistryConfigValidationError) Key() bool
- func (e RegistryConfigValidationError) Reason() string
- type RegistryConfig_Consul
- func (*RegistryConfig_Consul) Descriptor() ([]byte, []int)deprecated
- func (x *RegistryConfig_Consul) GetAddress() string
- func (x *RegistryConfig_Consul) GetDatacenter() string
- func (x *RegistryConfig_Consul) GetDeregisterCriticalServiceAfter() uint32
- func (x *RegistryConfig_Consul) GetHealthCheck() bool
- func (x *RegistryConfig_Consul) GetHealthCheckInterval() uint32
- func (x *RegistryConfig_Consul) GetHeartBeat() bool
- func (x *RegistryConfig_Consul) GetScheme() string
- func (x *RegistryConfig_Consul) GetTimeout() *durationpb.Duration
- func (x *RegistryConfig_Consul) GetToken() string
- func (*RegistryConfig_Consul) ProtoMessage()
- func (x *RegistryConfig_Consul) ProtoReflect() protoreflect.Message
- func (x *RegistryConfig_Consul) Reset()
- func (x *RegistryConfig_Consul) String() string
- func (m *RegistryConfig_Consul) Validate() error
- func (m *RegistryConfig_Consul) ValidateAll() error
- type RegistryConfig_ConsulMultiError
- type RegistryConfig_ConsulValidationError
- func (e RegistryConfig_ConsulValidationError) Cause() error
- func (e RegistryConfig_ConsulValidationError) Error() string
- func (e RegistryConfig_ConsulValidationError) ErrorName() string
- func (e RegistryConfig_ConsulValidationError) Field() string
- func (e RegistryConfig_ConsulValidationError) Key() bool
- func (e RegistryConfig_ConsulValidationError) Reason() string
- type RegistryConfig_ETCD
- func (*RegistryConfig_ETCD) Descriptor() ([]byte, []int)deprecated
- func (x *RegistryConfig_ETCD) GetEndpoints() []string
- func (*RegistryConfig_ETCD) ProtoMessage()
- func (x *RegistryConfig_ETCD) ProtoReflect() protoreflect.Message
- func (x *RegistryConfig_ETCD) Reset()
- func (x *RegistryConfig_ETCD) String() string
- func (m *RegistryConfig_ETCD) Validate() error
- func (m *RegistryConfig_ETCD) ValidateAll() error
- type RegistryConfig_ETCDMultiError
- type RegistryConfig_ETCDValidationError
- func (e RegistryConfig_ETCDValidationError) Cause() error
- func (e RegistryConfig_ETCDValidationError) Error() string
- func (e RegistryConfig_ETCDValidationError) ErrorName() string
- func (e RegistryConfig_ETCDValidationError) Field() string
- func (e RegistryConfig_ETCDValidationError) Key() bool
- func (e RegistryConfig_ETCDValidationError) Reason() string
- type SecurityConfig
- func (*SecurityConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SecurityConfig) GetAllowedMethodPaths() []string
- func (x *SecurityConfig) GetAuthorization() *AuthorizationConfig
- func (x *SecurityConfig) GetCasbin() *CasbinConfig
- func (*SecurityConfig) ProtoMessage()
- func (x *SecurityConfig) ProtoReflect() protoreflect.Message
- func (x *SecurityConfig) Reset()
- func (x *SecurityConfig) String() string
- func (m *SecurityConfig) Validate() error
- func (m *SecurityConfig) ValidateAll() error
- type SecurityConfigMultiError
- type SecurityConfigValidationError
- func (e SecurityConfigValidationError) Cause() error
- func (e SecurityConfigValidationError) Error() string
- func (e SecurityConfigValidationError) ErrorName() string
- func (e SecurityConfigValidationError) Field() string
- func (e SecurityConfigValidationError) Key() bool
- func (e SecurityConfigValidationError) Reason() string
- type ServiceConfig
- func (*ServiceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig) GetEntry() *ServiceConfig_Entry
- func (x *ServiceConfig) GetGins() *ServiceConfig_GINS
- func (x *ServiceConfig) GetGrpc() *ServiceConfig_GRPC
- func (x *ServiceConfig) GetHost() string
- func (x *ServiceConfig) GetHttp() *ServiceConfig_HTTP
- func (x *ServiceConfig) GetMessage() *MessageConfig
- func (x *ServiceConfig) GetTask() *TaskConfig
- func (x *ServiceConfig) GetWebsocket() *ServiceConfig_Websocket
- func (*ServiceConfig) ProtoMessage()
- func (x *ServiceConfig) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig) Reset()
- func (x *ServiceConfig) String() string
- func (m *ServiceConfig) Validate() error
- func (m *ServiceConfig) ValidateAll() error
- type ServiceConfigMultiError
- type ServiceConfigValidationError
- func (e ServiceConfigValidationError) Cause() error
- func (e ServiceConfigValidationError) Error() string
- func (e ServiceConfigValidationError) ErrorName() string
- func (e ServiceConfigValidationError) Field() string
- func (e ServiceConfigValidationError) Key() bool
- func (e ServiceConfigValidationError) Reason() string
- type ServiceConfig_Entry
- func (*ServiceConfig_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig_Entry) GetAddr() string
- func (x *ServiceConfig_Entry) GetEnablePprof() bool
- func (x *ServiceConfig_Entry) GetEnableSwagger() bool
- func (x *ServiceConfig_Entry) GetName() string
- func (x *ServiceConfig_Entry) GetNetwork() string
- func (x *ServiceConfig_Entry) GetSelector() *EntrySelectorConfig
- func (x *ServiceConfig_Entry) GetTimeout() *durationpb.Duration
- func (x *ServiceConfig_Entry) GetWeight() string
- func (*ServiceConfig_Entry) ProtoMessage()
- func (x *ServiceConfig_Entry) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig_Entry) Reset()
- func (x *ServiceConfig_Entry) String() string
- func (m *ServiceConfig_Entry) Validate() error
- func (m *ServiceConfig_Entry) ValidateAll() error
- type ServiceConfig_EntryMultiError
- type ServiceConfig_EntryValidationError
- func (e ServiceConfig_EntryValidationError) Cause() error
- func (e ServiceConfig_EntryValidationError) Error() string
- func (e ServiceConfig_EntryValidationError) ErrorName() string
- func (e ServiceConfig_EntryValidationError) Field() string
- func (e ServiceConfig_EntryValidationError) Key() bool
- func (e ServiceConfig_EntryValidationError) Reason() string
- type ServiceConfig_GINS
- func (*ServiceConfig_GINS) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig_GINS) GetAddr() string
- func (x *ServiceConfig_GINS) GetCertFile() string
- func (x *ServiceConfig_GINS) GetEndpoint() string
- func (x *ServiceConfig_GINS) GetIdleTimeout() *durationpb.Duration
- func (x *ServiceConfig_GINS) GetKeyFile() string
- func (x *ServiceConfig_GINS) GetNetwork() string
- func (x *ServiceConfig_GINS) GetReadTimeout() *durationpb.Duration
- func (x *ServiceConfig_GINS) GetShutdownTimeout() *durationpb.Duration
- func (x *ServiceConfig_GINS) GetTimeout() *durationpb.Duration
- func (x *ServiceConfig_GINS) GetUseTls() bool
- func (x *ServiceConfig_GINS) GetWriteTimeout() *durationpb.Duration
- func (*ServiceConfig_GINS) ProtoMessage()
- func (x *ServiceConfig_GINS) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig_GINS) Reset()
- func (x *ServiceConfig_GINS) String() string
- func (m *ServiceConfig_GINS) Validate() error
- func (m *ServiceConfig_GINS) ValidateAll() error
- type ServiceConfig_GINSMultiError
- type ServiceConfig_GINSValidationError
- func (e ServiceConfig_GINSValidationError) Cause() error
- func (e ServiceConfig_GINSValidationError) Error() string
- func (e ServiceConfig_GINSValidationError) ErrorName() string
- func (e ServiceConfig_GINSValidationError) Field() string
- func (e ServiceConfig_GINSValidationError) Key() bool
- func (e ServiceConfig_GINSValidationError) Reason() string
- type ServiceConfig_GRPC
- func (*ServiceConfig_GRPC) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig_GRPC) GetAddr() string
- func (x *ServiceConfig_GRPC) GetCertFile() string
- func (x *ServiceConfig_GRPC) GetEndpoint() string
- func (x *ServiceConfig_GRPC) GetIdleTimeout() *durationpb.Duration
- func (x *ServiceConfig_GRPC) GetKeyFile() string
- func (x *ServiceConfig_GRPC) GetNetwork() string
- func (x *ServiceConfig_GRPC) GetReadTimeout() *durationpb.Duration
- func (x *ServiceConfig_GRPC) GetShutdownTimeout() *durationpb.Duration
- func (x *ServiceConfig_GRPC) GetTimeout() *durationpb.Duration
- func (x *ServiceConfig_GRPC) GetUseTls() bool
- func (x *ServiceConfig_GRPC) GetWriteTimeout() *durationpb.Duration
- func (*ServiceConfig_GRPC) ProtoMessage()
- func (x *ServiceConfig_GRPC) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig_GRPC) Reset()
- func (x *ServiceConfig_GRPC) String() string
- func (m *ServiceConfig_GRPC) Validate() error
- func (m *ServiceConfig_GRPC) ValidateAll() error
- type ServiceConfig_GRPCMultiError
- type ServiceConfig_GRPCValidationError
- func (e ServiceConfig_GRPCValidationError) Cause() error
- func (e ServiceConfig_GRPCValidationError) Error() string
- func (e ServiceConfig_GRPCValidationError) ErrorName() string
- func (e ServiceConfig_GRPCValidationError) Field() string
- func (e ServiceConfig_GRPCValidationError) Key() bool
- func (e ServiceConfig_GRPCValidationError) Reason() string
- type ServiceConfig_HTTP
- func (*ServiceConfig_HTTP) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig_HTTP) GetAddr() string
- func (x *ServiceConfig_HTTP) GetCertFile() string
- func (x *ServiceConfig_HTTP) GetEndpoint() string
- func (x *ServiceConfig_HTTP) GetIdleTimeout() *durationpb.Duration
- func (x *ServiceConfig_HTTP) GetKeyFile() string
- func (x *ServiceConfig_HTTP) GetNetwork() string
- func (x *ServiceConfig_HTTP) GetReadTimeout() *durationpb.Duration
- func (x *ServiceConfig_HTTP) GetShutdownTimeout() *durationpb.Duration
- func (x *ServiceConfig_HTTP) GetTimeout() *durationpb.Duration
- func (x *ServiceConfig_HTTP) GetUseTls() bool
- func (x *ServiceConfig_HTTP) GetWriteTimeout() *durationpb.Duration
- func (*ServiceConfig_HTTP) ProtoMessage()
- func (x *ServiceConfig_HTTP) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig_HTTP) Reset()
- func (x *ServiceConfig_HTTP) String() string
- func (m *ServiceConfig_HTTP) Validate() error
- func (m *ServiceConfig_HTTP) ValidateAll() error
- type ServiceConfig_HTTPMultiError
- type ServiceConfig_HTTPValidationError
- func (e ServiceConfig_HTTPValidationError) Cause() error
- func (e ServiceConfig_HTTPValidationError) Error() string
- func (e ServiceConfig_HTTPValidationError) ErrorName() string
- func (e ServiceConfig_HTTPValidationError) Field() string
- func (e ServiceConfig_HTTPValidationError) Key() bool
- func (e ServiceConfig_HTTPValidationError) Reason() string
- type ServiceConfig_Middleware
- func (*ServiceConfig_Middleware) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig_Middleware) GetCors() *ServiceConfig_Middleware_Cors
- func (x *ServiceConfig_Middleware) GetLogger() *ServiceConfig_Middleware_Logger
- func (x *ServiceConfig_Middleware) GetMetrics() *ServiceConfig_Middleware_Metrics
- func (x *ServiceConfig_Middleware) GetTraces() *ServiceConfig_Middleware_Traces
- func (*ServiceConfig_Middleware) ProtoMessage()
- func (x *ServiceConfig_Middleware) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig_Middleware) Reset()
- func (x *ServiceConfig_Middleware) String() string
- func (m *ServiceConfig_Middleware) Validate() error
- func (m *ServiceConfig_Middleware) ValidateAll() error
- type ServiceConfig_MiddlewareMultiError
- type ServiceConfig_MiddlewareValidationError
- func (e ServiceConfig_MiddlewareValidationError) Cause() error
- func (e ServiceConfig_MiddlewareValidationError) Error() string
- func (e ServiceConfig_MiddlewareValidationError) ErrorName() string
- func (e ServiceConfig_MiddlewareValidationError) Field() string
- func (e ServiceConfig_MiddlewareValidationError) Key() bool
- func (e ServiceConfig_MiddlewareValidationError) Reason() string
- type ServiceConfig_Middleware_Cors
- func (*ServiceConfig_Middleware_Cors) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig_Middleware_Cors) GetAllowAllOrigins() bool
- func (x *ServiceConfig_Middleware_Cors) GetAllowBrowserExtensions() bool
- func (x *ServiceConfig_Middleware_Cors) GetAllowCredentials() bool
- func (x *ServiceConfig_Middleware_Cors) GetAllowFiles() bool
- func (x *ServiceConfig_Middleware_Cors) GetAllowHeaders() []string
- func (x *ServiceConfig_Middleware_Cors) GetAllowMethods() []string
- func (x *ServiceConfig_Middleware_Cors) GetAllowOrigins() []string
- func (x *ServiceConfig_Middleware_Cors) GetAllowWebSockets() bool
- func (x *ServiceConfig_Middleware_Cors) GetAllowWildcard() bool
- func (x *ServiceConfig_Middleware_Cors) GetExposeHeaders() []string
- func (x *ServiceConfig_Middleware_Cors) GetMaxAge() int32
- func (*ServiceConfig_Middleware_Cors) ProtoMessage()
- func (x *ServiceConfig_Middleware_Cors) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig_Middleware_Cors) Reset()
- func (x *ServiceConfig_Middleware_Cors) String() string
- func (m *ServiceConfig_Middleware_Cors) Validate() error
- func (m *ServiceConfig_Middleware_Cors) ValidateAll() error
- type ServiceConfig_Middleware_CorsMultiError
- type ServiceConfig_Middleware_CorsValidationError
- func (e ServiceConfig_Middleware_CorsValidationError) Cause() error
- func (e ServiceConfig_Middleware_CorsValidationError) Error() string
- func (e ServiceConfig_Middleware_CorsValidationError) ErrorName() string
- func (e ServiceConfig_Middleware_CorsValidationError) Field() string
- func (e ServiceConfig_Middleware_CorsValidationError) Key() bool
- func (e ServiceConfig_Middleware_CorsValidationError) Reason() string
- type ServiceConfig_Middleware_Logger
- func (*ServiceConfig_Middleware_Logger) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig_Middleware_Logger) GetName() string
- func (*ServiceConfig_Middleware_Logger) ProtoMessage()
- func (x *ServiceConfig_Middleware_Logger) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig_Middleware_Logger) Reset()
- func (x *ServiceConfig_Middleware_Logger) String() string
- func (m *ServiceConfig_Middleware_Logger) Validate() error
- func (m *ServiceConfig_Middleware_Logger) ValidateAll() error
- type ServiceConfig_Middleware_LoggerMultiError
- type ServiceConfig_Middleware_LoggerValidationError
- func (e ServiceConfig_Middleware_LoggerValidationError) Cause() error
- func (e ServiceConfig_Middleware_LoggerValidationError) Error() string
- func (e ServiceConfig_Middleware_LoggerValidationError) ErrorName() string
- func (e ServiceConfig_Middleware_LoggerValidationError) Field() string
- func (e ServiceConfig_Middleware_LoggerValidationError) Key() bool
- func (e ServiceConfig_Middleware_LoggerValidationError) Reason() string
- type ServiceConfig_Middleware_Metrics
- func (*ServiceConfig_Middleware_Metrics) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig_Middleware_Metrics) GetName() string
- func (*ServiceConfig_Middleware_Metrics) ProtoMessage()
- func (x *ServiceConfig_Middleware_Metrics) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig_Middleware_Metrics) Reset()
- func (x *ServiceConfig_Middleware_Metrics) String() string
- func (m *ServiceConfig_Middleware_Metrics) Validate() error
- func (m *ServiceConfig_Middleware_Metrics) ValidateAll() error
- type ServiceConfig_Middleware_MetricsMultiError
- type ServiceConfig_Middleware_MetricsValidationError
- func (e ServiceConfig_Middleware_MetricsValidationError) Cause() error
- func (e ServiceConfig_Middleware_MetricsValidationError) Error() string
- func (e ServiceConfig_Middleware_MetricsValidationError) ErrorName() string
- func (e ServiceConfig_Middleware_MetricsValidationError) Field() string
- func (e ServiceConfig_Middleware_MetricsValidationError) Key() bool
- func (e ServiceConfig_Middleware_MetricsValidationError) Reason() string
- type ServiceConfig_Middleware_Traces
- func (*ServiceConfig_Middleware_Traces) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig_Middleware_Traces) GetName() string
- func (*ServiceConfig_Middleware_Traces) ProtoMessage()
- func (x *ServiceConfig_Middleware_Traces) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig_Middleware_Traces) Reset()
- func (x *ServiceConfig_Middleware_Traces) String() string
- func (m *ServiceConfig_Middleware_Traces) Validate() error
- func (m *ServiceConfig_Middleware_Traces) ValidateAll() error
- type ServiceConfig_Middleware_TracesMultiError
- type ServiceConfig_Middleware_TracesValidationError
- func (e ServiceConfig_Middleware_TracesValidationError) Cause() error
- func (e ServiceConfig_Middleware_TracesValidationError) Error() string
- func (e ServiceConfig_Middleware_TracesValidationError) ErrorName() string
- func (e ServiceConfig_Middleware_TracesValidationError) Field() string
- func (e ServiceConfig_Middleware_TracesValidationError) Key() bool
- func (e ServiceConfig_Middleware_TracesValidationError) Reason() string
- type ServiceConfig_Websocket
- func (*ServiceConfig_Websocket) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceConfig_Websocket) GetAddr() string
- func (x *ServiceConfig_Websocket) GetCodec() string
- func (x *ServiceConfig_Websocket) GetNetwork() string
- func (x *ServiceConfig_Websocket) GetPath() string
- func (x *ServiceConfig_Websocket) GetTimeout() *durationpb.Duration
- func (*ServiceConfig_Websocket) ProtoMessage()
- func (x *ServiceConfig_Websocket) ProtoReflect() protoreflect.Message
- func (x *ServiceConfig_Websocket) Reset()
- func (x *ServiceConfig_Websocket) String() string
- func (m *ServiceConfig_Websocket) Validate() error
- func (m *ServiceConfig_Websocket) ValidateAll() error
- type ServiceConfig_WebsocketMultiError
- type ServiceConfig_WebsocketValidationError
- func (e ServiceConfig_WebsocketValidationError) Cause() error
- func (e ServiceConfig_WebsocketValidationError) Error() string
- func (e ServiceConfig_WebsocketValidationError) ErrorName() string
- func (e ServiceConfig_WebsocketValidationError) Field() string
- func (e ServiceConfig_WebsocketValidationError) Key() bool
- func (e ServiceConfig_WebsocketValidationError) Reason() string
- type SourceConfig
- func (*SourceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SourceConfig) GetConsul() *SourceConfig_Consul
- func (x *SourceConfig) GetEnvArgs() map[string]string
- func (x *SourceConfig) GetEnvPrefixes() []string
- func (x *SourceConfig) GetEtcd() *SourceConfig_ETCD
- func (x *SourceConfig) GetFile() *SourceConfig_File
- func (x *SourceConfig) GetFormats() []string
- func (x *SourceConfig) GetName() string
- func (x *SourceConfig) GetType() string
- func (*SourceConfig) ProtoMessage()
- func (x *SourceConfig) ProtoReflect() protoreflect.Message
- func (x *SourceConfig) Reset()
- func (x *SourceConfig) String() string
- func (m *SourceConfig) Validate() error
- func (m *SourceConfig) ValidateAll() error
- type SourceConfigMultiError
- type SourceConfigValidationError
- func (e SourceConfigValidationError) Cause() error
- func (e SourceConfigValidationError) Error() string
- func (e SourceConfigValidationError) ErrorName() string
- func (e SourceConfigValidationError) Field() string
- func (e SourceConfigValidationError) Key() bool
- func (e SourceConfigValidationError) Reason() string
- type SourceConfig_Consul
- func (*SourceConfig_Consul) Descriptor() ([]byte, []int)deprecated
- func (x *SourceConfig_Consul) GetAddress() string
- func (x *SourceConfig_Consul) GetPath() string
- func (x *SourceConfig_Consul) GetScheme() string
- func (x *SourceConfig_Consul) GetToken() string
- func (*SourceConfig_Consul) ProtoMessage()
- func (x *SourceConfig_Consul) ProtoReflect() protoreflect.Message
- func (x *SourceConfig_Consul) Reset()
- func (x *SourceConfig_Consul) String() string
- func (m *SourceConfig_Consul) Validate() error
- func (m *SourceConfig_Consul) ValidateAll() error
- type SourceConfig_ConsulMultiError
- type SourceConfig_ConsulValidationError
- func (e SourceConfig_ConsulValidationError) Cause() error
- func (e SourceConfig_ConsulValidationError) Error() string
- func (e SourceConfig_ConsulValidationError) ErrorName() string
- func (e SourceConfig_ConsulValidationError) Field() string
- func (e SourceConfig_ConsulValidationError) Key() bool
- func (e SourceConfig_ConsulValidationError) Reason() string
- type SourceConfig_ETCD
- func (*SourceConfig_ETCD) Descriptor() ([]byte, []int)deprecated
- func (x *SourceConfig_ETCD) GetEndpoints() []string
- func (*SourceConfig_ETCD) ProtoMessage()
- func (x *SourceConfig_ETCD) ProtoReflect() protoreflect.Message
- func (x *SourceConfig_ETCD) Reset()
- func (x *SourceConfig_ETCD) String() string
- func (m *SourceConfig_ETCD) Validate() error
- func (m *SourceConfig_ETCD) ValidateAll() error
- type SourceConfig_ETCDMultiError
- type SourceConfig_ETCDValidationError
- func (e SourceConfig_ETCDValidationError) Cause() error
- func (e SourceConfig_ETCDValidationError) Error() string
- func (e SourceConfig_ETCDValidationError) ErrorName() string
- func (e SourceConfig_ETCDValidationError) Field() string
- func (e SourceConfig_ETCDValidationError) Key() bool
- func (e SourceConfig_ETCDValidationError) Reason() string
- type SourceConfig_File
- func (*SourceConfig_File) Descriptor() ([]byte, []int)deprecated
- func (x *SourceConfig_File) GetFormat() string
- func (x *SourceConfig_File) GetPath() string
- func (*SourceConfig_File) ProtoMessage()
- func (x *SourceConfig_File) ProtoReflect() protoreflect.Message
- func (x *SourceConfig_File) Reset()
- func (x *SourceConfig_File) String() string
- func (m *SourceConfig_File) Validate() error
- func (m *SourceConfig_File) ValidateAll() error
- type SourceConfig_FileMultiError
- type SourceConfig_FileValidationError
- func (e SourceConfig_FileValidationError) Cause() error
- func (e SourceConfig_FileValidationError) Error() string
- func (e SourceConfig_FileValidationError) ErrorName() string
- func (e SourceConfig_FileValidationError) Field() string
- func (e SourceConfig_FileValidationError) Key() bool
- func (e SourceConfig_FileValidationError) Reason() string
- type TaskConfig
- func (*TaskConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TaskConfig) GetAsynq() *TaskConfig_Asynq
- func (x *TaskConfig) GetCron() *TaskConfig_Cron
- func (x *TaskConfig) GetMachinery() *TaskConfig_Machinery
- func (x *TaskConfig) GetName() string
- func (*TaskConfig) ProtoMessage()
- func (x *TaskConfig) ProtoReflect() protoreflect.Message
- func (x *TaskConfig) Reset()
- func (x *TaskConfig) String() string
- func (m *TaskConfig) Validate() error
- func (m *TaskConfig) ValidateAll() error
- type TaskConfigMultiError
- type TaskConfigValidationError
- type TaskConfig_Asynq
- func (*TaskConfig_Asynq) Descriptor() ([]byte, []int)deprecated
- func (x *TaskConfig_Asynq) GetDb() int32
- func (x *TaskConfig_Asynq) GetEndpoint() string
- func (x *TaskConfig_Asynq) GetLocation() string
- func (x *TaskConfig_Asynq) GetPassword() string
- func (*TaskConfig_Asynq) ProtoMessage()
- func (x *TaskConfig_Asynq) ProtoReflect() protoreflect.Message
- func (x *TaskConfig_Asynq) Reset()
- func (x *TaskConfig_Asynq) String() string
- func (m *TaskConfig_Asynq) Validate() error
- func (m *TaskConfig_Asynq) ValidateAll() error
- type TaskConfig_AsynqMultiError
- type TaskConfig_AsynqValidationError
- func (e TaskConfig_AsynqValidationError) Cause() error
- func (e TaskConfig_AsynqValidationError) Error() string
- func (e TaskConfig_AsynqValidationError) ErrorName() string
- func (e TaskConfig_AsynqValidationError) Field() string
- func (e TaskConfig_AsynqValidationError) Key() bool
- func (e TaskConfig_AsynqValidationError) Reason() string
- type TaskConfig_Cron
- func (*TaskConfig_Cron) Descriptor() ([]byte, []int)deprecated
- func (x *TaskConfig_Cron) GetDb() int32
- func (x *TaskConfig_Cron) GetEndpoint() string
- func (x *TaskConfig_Cron) GetLocation() string
- func (x *TaskConfig_Cron) GetPassword() string
- func (*TaskConfig_Cron) ProtoMessage()
- func (x *TaskConfig_Cron) ProtoReflect() protoreflect.Message
- func (x *TaskConfig_Cron) Reset()
- func (x *TaskConfig_Cron) String() string
- func (m *TaskConfig_Cron) Validate() error
- func (m *TaskConfig_Cron) ValidateAll() error
- type TaskConfig_CronMultiError
- type TaskConfig_CronValidationError
- func (e TaskConfig_CronValidationError) Cause() error
- func (e TaskConfig_CronValidationError) Error() string
- func (e TaskConfig_CronValidationError) ErrorName() string
- func (e TaskConfig_CronValidationError) Field() string
- func (e TaskConfig_CronValidationError) Key() bool
- func (e TaskConfig_CronValidationError) Reason() string
- type TaskConfig_Machinery
- func (*TaskConfig_Machinery) Descriptor() ([]byte, []int)deprecated
- func (x *TaskConfig_Machinery) GetBackends() []string
- func (x *TaskConfig_Machinery) GetBrokers() []string
- func (*TaskConfig_Machinery) ProtoMessage()
- func (x *TaskConfig_Machinery) ProtoReflect() protoreflect.Message
- func (x *TaskConfig_Machinery) Reset()
- func (x *TaskConfig_Machinery) String() string
- func (m *TaskConfig_Machinery) Validate() error
- func (m *TaskConfig_Machinery) ValidateAll() error
- type TaskConfig_MachineryMultiError
- type TaskConfig_MachineryValidationError
- func (e TaskConfig_MachineryValidationError) Cause() error
- func (e TaskConfig_MachineryValidationError) Error() string
- func (e TaskConfig_MachineryValidationError) ErrorName() string
- func (e TaskConfig_MachineryValidationError) Field() string
- func (e TaskConfig_MachineryValidationError) Key() bool
- func (e TaskConfig_MachineryValidationError) Reason() string
- type TraceConfig
- func (*TraceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TraceConfig) GetEndpoint() string
- func (x *TraceConfig) GetName() string
- func (*TraceConfig) ProtoMessage()
- func (x *TraceConfig) ProtoReflect() protoreflect.Message
- func (x *TraceConfig) Reset()
- func (x *TraceConfig) String() string
- func (m *TraceConfig) Validate() error
- func (m *TraceConfig) ValidateAll() error
- type TraceConfigMultiError
- type TraceConfigValidationError
- func (e TraceConfigValidationError) Cause() error
- func (e TraceConfigValidationError) Error() string
- func (e TraceConfigValidationError) ErrorName() string
- func (e TraceConfigValidationError) Field() string
- func (e TraceConfigValidationError) Key() bool
- func (e TraceConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( LoggerConfig_Level_name = map[int32]string{ 0: "LEVEL_UNSPECIFIED", 1: "LEVEL_DEBUG", 2: "LEVEL_INFO", 3: "LEVEL_WARN", 4: "LEVEL_ERROR", 5: "LEVEL_FATAL", } LoggerConfig_Level_value = map[string]int32{ "LEVEL_UNSPECIFIED": 0, "LEVEL_DEBUG": 1, "LEVEL_INFO": 2, "LEVEL_WARN": 3, "LEVEL_ERROR": 4, "LEVEL_FATAL": 5, } )
Enum value maps for LoggerConfig_Level.
var File_config_v1_cors_proto protoreflect.FileDescriptor
var File_config_v1_data_proto protoreflect.FileDescriptor
var File_config_v1_logger_proto protoreflect.FileDescriptor
var File_config_v1_metrics_proto protoreflect.FileDescriptor
var File_config_v1_middleware_proto protoreflect.FileDescriptor
var File_config_v1_registry_proto protoreflect.FileDescriptor
var File_config_v1_security_proto protoreflect.FileDescriptor
var File_config_v1_service_proto protoreflect.FileDescriptor
var File_config_v1_source_proto protoreflect.FileDescriptor
var File_config_v1_tracer_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthorizationConfig ¶
type AuthorizationConfig struct {
AllowedMethodPaths []string `protobuf:"bytes,2,rep,name=allowed_method_paths,proto3" json:"allowed_method_paths,omitempty"` // Direct release method paths
SigningMethod string `protobuf:"bytes,3,opt,name=signing_method,proto3" json:"signing_method,omitempty"`
SigningKey string `protobuf:"bytes,4,opt,name=signing_key,proto3" json:"signing_key,omitempty"`
OldSigningKey string `protobuf:"bytes,5,opt,name=old_signing_key,proto3" json:"old_signing_key,omitempty"`
ExpiredTime *durationpb.Duration `protobuf:"bytes,6,opt,name=expired_time,proto3" json:"expired_time,omitempty"` // Expired time
// contains filtered or unexported fields
}
func (*AuthorizationConfig) Descriptor
deprecated
func (*AuthorizationConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizationConfig.ProtoReflect.Descriptor instead.
func (*AuthorizationConfig) GetAllowedMethodPaths ¶
func (x *AuthorizationConfig) GetAllowedMethodPaths() []string
func (*AuthorizationConfig) GetExpiredTime ¶
func (x *AuthorizationConfig) GetExpiredTime() *durationpb.Duration
func (*AuthorizationConfig) GetOldSigningKey ¶
func (x *AuthorizationConfig) GetOldSigningKey() string
func (*AuthorizationConfig) GetSigningKey ¶
func (x *AuthorizationConfig) GetSigningKey() string
func (*AuthorizationConfig) GetSigningMethod ¶
func (x *AuthorizationConfig) GetSigningMethod() string
func (*AuthorizationConfig) ProtoMessage ¶
func (*AuthorizationConfig) ProtoMessage()
func (*AuthorizationConfig) ProtoReflect ¶
func (x *AuthorizationConfig) ProtoReflect() protoreflect.Message
func (*AuthorizationConfig) Reset ¶
func (x *AuthorizationConfig) Reset()
func (*AuthorizationConfig) String ¶
func (x *AuthorizationConfig) String() string
func (*AuthorizationConfig) Validate ¶
func (m *AuthorizationConfig) Validate() error
Validate checks the field values on AuthorizationConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthorizationConfig) ValidateAll ¶
func (m *AuthorizationConfig) ValidateAll() error
ValidateAll checks the field values on AuthorizationConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthorizationConfigMultiError, or nil if none found.
type AuthorizationConfigMultiError ¶
type AuthorizationConfigMultiError []error
AuthorizationConfigMultiError is an error wrapping multiple validation errors returned by AuthorizationConfig.ValidateAll() if the designated constraints aren't met.
func (AuthorizationConfigMultiError) AllErrors ¶
func (m AuthorizationConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthorizationConfigMultiError) Error ¶
func (m AuthorizationConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthorizationConfigValidationError ¶
type AuthorizationConfigValidationError struct {
// contains filtered or unexported fields
}
AuthorizationConfigValidationError is the validation error returned by AuthorizationConfig.Validate if the designated constraints aren't met.
func (AuthorizationConfigValidationError) Cause ¶
func (e AuthorizationConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthorizationConfigValidationError) Error ¶
func (e AuthorizationConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthorizationConfigValidationError) ErrorName ¶
func (e AuthorizationConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthorizationConfigValidationError) Field ¶
func (e AuthorizationConfigValidationError) Field() string
Field function returns field value.
func (AuthorizationConfigValidationError) Key ¶
func (e AuthorizationConfigValidationError) Key() bool
Key function returns key value.
func (AuthorizationConfigValidationError) Reason ¶
func (e AuthorizationConfigValidationError) Reason() string
Reason function returns reason value.
type CasbinConfig ¶
type CasbinConfig struct {
AllowedMethodPaths []string `protobuf:"bytes,2,rep,name=allowed_method_paths,proto3" json:"allowed_method_paths,omitempty"` // Direct release method paths
PolicyFile string `protobuf:"bytes,3,opt,name=policy_file,proto3" json:"policy_file,omitempty"` // Policy file
ModelFile string `protobuf:"bytes,4,opt,name=model_file,proto3" json:"model_file,omitempty"` // Model file
// contains filtered or unexported fields
}
func (*CasbinConfig) Descriptor
deprecated
func (*CasbinConfig) Descriptor() ([]byte, []int)
Deprecated: Use CasbinConfig.ProtoReflect.Descriptor instead.
func (*CasbinConfig) GetAllowedMethodPaths ¶
func (x *CasbinConfig) GetAllowedMethodPaths() []string
func (*CasbinConfig) GetModelFile ¶
func (x *CasbinConfig) GetModelFile() string
func (*CasbinConfig) GetPolicyFile ¶
func (x *CasbinConfig) GetPolicyFile() string
func (*CasbinConfig) ProtoMessage ¶
func (*CasbinConfig) ProtoMessage()
func (*CasbinConfig) ProtoReflect ¶
func (x *CasbinConfig) ProtoReflect() protoreflect.Message
func (*CasbinConfig) Reset ¶
func (x *CasbinConfig) Reset()
func (*CasbinConfig) String ¶
func (x *CasbinConfig) String() string
func (*CasbinConfig) Validate ¶
func (m *CasbinConfig) Validate() error
Validate checks the field values on CasbinConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CasbinConfig) ValidateAll ¶
func (m *CasbinConfig) ValidateAll() error
ValidateAll checks the field values on CasbinConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CasbinConfigMultiError, or nil if none found.
type CasbinConfigMultiError ¶
type CasbinConfigMultiError []error
CasbinConfigMultiError is an error wrapping multiple validation errors returned by CasbinConfig.ValidateAll() if the designated constraints aren't met.
func (CasbinConfigMultiError) AllErrors ¶
func (m CasbinConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CasbinConfigMultiError) Error ¶
func (m CasbinConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CasbinConfigValidationError ¶
type CasbinConfigValidationError struct {
// contains filtered or unexported fields
}
CasbinConfigValidationError is the validation error returned by CasbinConfig.Validate if the designated constraints aren't met.
func (CasbinConfigValidationError) Cause ¶
func (e CasbinConfigValidationError) Cause() error
Cause function returns cause value.
func (CasbinConfigValidationError) Error ¶
func (e CasbinConfigValidationError) Error() string
Error satisfies the builtin error interface
func (CasbinConfigValidationError) ErrorName ¶
func (e CasbinConfigValidationError) ErrorName() string
ErrorName returns error name.
func (CasbinConfigValidationError) Field ¶
func (e CasbinConfigValidationError) Field() string
Field function returns field value.
func (CasbinConfigValidationError) Key ¶
func (e CasbinConfigValidationError) Key() bool
Key function returns key value.
func (CasbinConfigValidationError) Reason ¶
func (e CasbinConfigValidationError) Reason() string
Reason function returns reason value.
type CorsConfig ¶
type CorsConfig struct {
// AllowCredentials indicates whether the request can include user credentials like
// cookies, HTTP authentication or client side SSL certificates.
AllowCredentials bool `protobuf:"varint,2,opt,name=allow_credentials,proto3" json:"allow_credentials,omitempty"`
// AllowOrigins is a list of origins a cross-domain request can be executed from.
// If the special "*" value is present in the list, all origins will be allowed.
// Default value is [*]
AllowOrigins []string `protobuf:"bytes,3,rep,name=allow_origins,proto3" json:"allow_origins,omitempty"`
// AllowMethods is a list of methods the client is allowed to use with
// cross-domain requests. Default value is simple methods (GET, POST, PUT, PATCH, DELETE, HEAD, and OPTIONS)
AllowMethods []string `protobuf:"bytes,4,rep,name=allow_methods,proto3" json:"allow_methods,omitempty"`
// AllowHeaders is list of non simple headers the client is allowed to use with
// cross-domain requests.
AllowHeaders []string `protobuf:"bytes,5,rep,name=allow_headers,proto3" json:"allow_headers,omitempty"`
// ExposeHeaders indicates which headers are safe to expose to the API of a CORS
// API specification
ExposeHeaders []string `protobuf:"bytes,6,rep,name=expose_headers,proto3" json:"expose_headers,omitempty"`
// MaxAge indicates how long (with second-precision) the results of a preflight request
// can be cached
MaxAge *durationpb.Duration `protobuf:"bytes,7,opt,name=max_age,proto3" json:"max_age,omitempty"`
// Allows to add origins like http://some-domain/*, https://api.* or http://some.*.subdomain.com
AllowWildcard bool `protobuf:"varint,8,opt,name=allow_wildcard,proto3" json:"allow_wildcard,omitempty"`
// Allows usage of popular browser extensions schemas
AllowBrowserExtensions bool `protobuf:"varint,9,opt,name=allow_browser_extensions,proto3" json:"allow_browser_extensions,omitempty"`
// Allows usage of WebSocket protocol
AllowWebSockets bool `protobuf:"varint,10,opt,name=allow_web_sockets,proto3" json:"allow_web_sockets,omitempty"`
// Allows usage of private network addresses (127.0.0.1, [::1], localhost)
AllowPrivateNetwork bool `protobuf:"varint,11,opt,name=allow_private_network,proto3" json:"allow_private_network,omitempty"`
// Allows usage of file:// schema (dangerous!) use it only when you 100% sure it's needed
AllowFiles bool `protobuf:"varint,12,opt,name=allow_files,proto3" json:"allow_files,omitempty"`
// contains filtered or unexported fields
}
cors config.
func (*CorsConfig) Descriptor
deprecated
func (*CorsConfig) Descriptor() ([]byte, []int)
Deprecated: Use CorsConfig.ProtoReflect.Descriptor instead.
func (*CorsConfig) GetAllowBrowserExtensions ¶
func (x *CorsConfig) GetAllowBrowserExtensions() bool
func (*CorsConfig) GetAllowCredentials ¶
func (x *CorsConfig) GetAllowCredentials() bool
func (*CorsConfig) GetAllowFiles ¶
func (x *CorsConfig) GetAllowFiles() bool
func (*CorsConfig) GetAllowHeaders ¶
func (x *CorsConfig) GetAllowHeaders() []string
func (*CorsConfig) GetAllowMethods ¶
func (x *CorsConfig) GetAllowMethods() []string
func (*CorsConfig) GetAllowOrigins ¶
func (x *CorsConfig) GetAllowOrigins() []string
func (*CorsConfig) GetAllowPrivateNetwork ¶
func (x *CorsConfig) GetAllowPrivateNetwork() bool
func (*CorsConfig) GetAllowWebSockets ¶
func (x *CorsConfig) GetAllowWebSockets() bool
func (*CorsConfig) GetAllowWildcard ¶
func (x *CorsConfig) GetAllowWildcard() bool
func (*CorsConfig) GetExposeHeaders ¶
func (x *CorsConfig) GetExposeHeaders() []string
func (*CorsConfig) GetMaxAge ¶
func (x *CorsConfig) GetMaxAge() *durationpb.Duration
func (*CorsConfig) ProtoMessage ¶
func (*CorsConfig) ProtoMessage()
func (*CorsConfig) ProtoReflect ¶
func (x *CorsConfig) ProtoReflect() protoreflect.Message
func (*CorsConfig) Reset ¶
func (x *CorsConfig) Reset()
func (*CorsConfig) String ¶
func (x *CorsConfig) String() string
func (*CorsConfig) Validate ¶
func (m *CorsConfig) Validate() error
Validate checks the field values on CorsConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CorsConfig) ValidateAll ¶
func (m *CorsConfig) ValidateAll() error
ValidateAll checks the field values on CorsConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CorsConfigMultiError, or nil if none found.
type CorsConfigMultiError ¶
type CorsConfigMultiError []error
CorsConfigMultiError is an error wrapping multiple validation errors returned by CorsConfig.ValidateAll() if the designated constraints aren't met.
func (CorsConfigMultiError) AllErrors ¶
func (m CorsConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CorsConfigMultiError) Error ¶
func (m CorsConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CorsConfigValidationError ¶
type CorsConfigValidationError struct {
// contains filtered or unexported fields
}
CorsConfigValidationError is the validation error returned by CorsConfig.Validate if the designated constraints aren't met.
func (CorsConfigValidationError) Cause ¶
func (e CorsConfigValidationError) Cause() error
Cause function returns cause value.
func (CorsConfigValidationError) Error ¶
func (e CorsConfigValidationError) Error() string
Error satisfies the builtin error interface
func (CorsConfigValidationError) ErrorName ¶
func (e CorsConfigValidationError) ErrorName() string
ErrorName returns error name.
func (CorsConfigValidationError) Field ¶
func (e CorsConfigValidationError) Field() string
Field function returns field value.
func (CorsConfigValidationError) Key ¶
func (e CorsConfigValidationError) Key() bool
Key function returns key value.
func (CorsConfigValidationError) Reason ¶
func (e CorsConfigValidationError) Reason() string
Reason function returns reason value.
type DataConfig ¶
type DataConfig struct {
// contains filtered or unexported fields
}
func (*DataConfig) Descriptor
deprecated
func (*DataConfig) Descriptor() ([]byte, []int)
Deprecated: Use DataConfig.ProtoReflect.Descriptor instead.
func (*DataConfig) ProtoMessage ¶
func (*DataConfig) ProtoMessage()
func (*DataConfig) ProtoReflect ¶
func (x *DataConfig) ProtoReflect() protoreflect.Message
func (*DataConfig) Reset ¶
func (x *DataConfig) Reset()
func (*DataConfig) String ¶
func (x *DataConfig) String() string
func (*DataConfig) Validate ¶
func (m *DataConfig) Validate() error
Validate checks the field values on DataConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DataConfig) ValidateAll ¶
func (m *DataConfig) ValidateAll() error
ValidateAll checks the field values on DataConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DataConfigMultiError, or nil if none found.
type DataConfigMultiError ¶
type DataConfigMultiError []error
DataConfigMultiError is an error wrapping multiple validation errors returned by DataConfig.ValidateAll() if the designated constraints aren't met.
func (DataConfigMultiError) AllErrors ¶
func (m DataConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DataConfigMultiError) Error ¶
func (m DataConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DataConfigValidationError ¶
type DataConfigValidationError struct {
// contains filtered or unexported fields
}
DataConfigValidationError is the validation error returned by DataConfig.Validate if the designated constraints aren't met.
func (DataConfigValidationError) Cause ¶
func (e DataConfigValidationError) Cause() error
Cause function returns cause value.
func (DataConfigValidationError) Error ¶
func (e DataConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DataConfigValidationError) ErrorName ¶
func (e DataConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DataConfigValidationError) Field ¶
func (e DataConfigValidationError) Field() string
Field function returns field value.
func (DataConfigValidationError) Key ¶
func (e DataConfigValidationError) Key() bool
Key function returns key value.
func (DataConfigValidationError) Reason ¶
func (e DataConfigValidationError) Reason() string
Reason function returns reason value.
type DataConfig_Database ¶
type DataConfig_Database struct {
Debug bool `protobuf:"varint,1,opt,name=debug,proto3" json:"debug,omitempty"` // Debugging
Driver string `protobuf:"bytes,2,opt,name=driver,proto3" json:"driver,omitempty"` // Driver name: mysql, postgresql, mongodb, sqlite......
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"` // Data source (DSN string)
Migrate bool `protobuf:"varint,10,opt,name=migrate,proto3" json:"migrate,omitempty"` // Data migration switch
EnableTrace bool `protobuf:"varint,12,opt,name=enable_trace,json=enableTrace,proto3" json:"enable_trace,omitempty"` // Link tracking switch
EnableMetrics bool `protobuf:"varint,13,opt,name=enable_metrics,json=enableMetrics,proto3" json:"enable_metrics,omitempty"` // Performance analysis switch
MaxIdleConnections int32 `protobuf:"varint,20,opt,name=max_idle_connections,json=maxIdleConnections,proto3" json:"max_idle_connections,omitempty"` // Maximum number of free connections in the connection pool
MaxOpenConnections int32 `protobuf:"varint,21,opt,name=max_open_connections,json=maxOpenConnections,proto3" json:"max_open_connections,omitempty"` // Maximum number of open connections in the connection pool
ConnectionMaxLifetime *durationpb.Duration `` // Maximum length of time that the connection can be reused
/* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
Database
func (*DataConfig_Database) Descriptor
deprecated
func (*DataConfig_Database) Descriptor() ([]byte, []int)
Deprecated: Use DataConfig_Database.ProtoReflect.Descriptor instead.
func (*DataConfig_Database) GetConnectionMaxLifetime ¶
func (x *DataConfig_Database) GetConnectionMaxLifetime() *durationpb.Duration
func (*DataConfig_Database) GetDebug ¶
func (x *DataConfig_Database) GetDebug() bool
func (*DataConfig_Database) GetDriver ¶
func (x *DataConfig_Database) GetDriver() string
func (*DataConfig_Database) GetEnableMetrics ¶
func (x *DataConfig_Database) GetEnableMetrics() bool
func (*DataConfig_Database) GetEnableTrace ¶
func (x *DataConfig_Database) GetEnableTrace() bool
func (*DataConfig_Database) GetMaxIdleConnections ¶
func (x *DataConfig_Database) GetMaxIdleConnections() int32
func (*DataConfig_Database) GetMaxOpenConnections ¶
func (x *DataConfig_Database) GetMaxOpenConnections() int32
func (*DataConfig_Database) GetMigrate ¶
func (x *DataConfig_Database) GetMigrate() bool
func (*DataConfig_Database) GetSource ¶
func (x *DataConfig_Database) GetSource() string
func (*DataConfig_Database) ProtoMessage ¶
func (*DataConfig_Database) ProtoMessage()
func (*DataConfig_Database) ProtoReflect ¶
func (x *DataConfig_Database) ProtoReflect() protoreflect.Message
func (*DataConfig_Database) Reset ¶
func (x *DataConfig_Database) Reset()
func (*DataConfig_Database) String ¶
func (x *DataConfig_Database) String() string
func (*DataConfig_Database) Validate ¶
func (m *DataConfig_Database) Validate() error
Validate checks the field values on DataConfig_Database with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DataConfig_Database) ValidateAll ¶
func (m *DataConfig_Database) ValidateAll() error
ValidateAll checks the field values on DataConfig_Database with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DataConfig_DatabaseMultiError, or nil if none found.
type DataConfig_DatabaseMultiError ¶
type DataConfig_DatabaseMultiError []error
DataConfig_DatabaseMultiError is an error wrapping multiple validation errors returned by DataConfig_Database.ValidateAll() if the designated constraints aren't met.
func (DataConfig_DatabaseMultiError) AllErrors ¶
func (m DataConfig_DatabaseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DataConfig_DatabaseMultiError) Error ¶
func (m DataConfig_DatabaseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DataConfig_DatabaseValidationError ¶
type DataConfig_DatabaseValidationError struct {
// contains filtered or unexported fields
}
DataConfig_DatabaseValidationError is the validation error returned by DataConfig_Database.Validate if the designated constraints aren't met.
func (DataConfig_DatabaseValidationError) Cause ¶
func (e DataConfig_DatabaseValidationError) Cause() error
Cause function returns cause value.
func (DataConfig_DatabaseValidationError) Error ¶
func (e DataConfig_DatabaseValidationError) Error() string
Error satisfies the builtin error interface
func (DataConfig_DatabaseValidationError) ErrorName ¶
func (e DataConfig_DatabaseValidationError) ErrorName() string
ErrorName returns error name.
func (DataConfig_DatabaseValidationError) Field ¶
func (e DataConfig_DatabaseValidationError) Field() string
Field function returns field value.
func (DataConfig_DatabaseValidationError) Key ¶
func (e DataConfig_DatabaseValidationError) Key() bool
Key function returns key value.
func (DataConfig_DatabaseValidationError) Reason ¶
func (e DataConfig_DatabaseValidationError) Reason() string
Reason function returns reason value.
type EntrySelectorConfig ¶
type EntrySelectorConfig struct {
Global bool `protobuf:"varint,2,opt,name=global,proto3" json:"global,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
func (*EntrySelectorConfig) Descriptor
deprecated
func (*EntrySelectorConfig) Descriptor() ([]byte, []int)
Deprecated: Use EntrySelectorConfig.ProtoReflect.Descriptor instead.
func (*EntrySelectorConfig) GetGlobal ¶
func (x *EntrySelectorConfig) GetGlobal() bool
func (*EntrySelectorConfig) GetName ¶
func (x *EntrySelectorConfig) GetName() string
func (*EntrySelectorConfig) GetVersion ¶
func (x *EntrySelectorConfig) GetVersion() string
func (*EntrySelectorConfig) ProtoMessage ¶
func (*EntrySelectorConfig) ProtoMessage()
func (*EntrySelectorConfig) ProtoReflect ¶
func (x *EntrySelectorConfig) ProtoReflect() protoreflect.Message
func (*EntrySelectorConfig) Reset ¶
func (x *EntrySelectorConfig) Reset()
func (*EntrySelectorConfig) String ¶
func (x *EntrySelectorConfig) String() string
func (*EntrySelectorConfig) Validate ¶
func (m *EntrySelectorConfig) Validate() error
Validate checks the field values on EntrySelectorConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EntrySelectorConfig) ValidateAll ¶
func (m *EntrySelectorConfig) ValidateAll() error
ValidateAll checks the field values on EntrySelectorConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EntrySelectorConfigMultiError, or nil if none found.
type EntrySelectorConfigMultiError ¶
type EntrySelectorConfigMultiError []error
EntrySelectorConfigMultiError is an error wrapping multiple validation errors returned by EntrySelectorConfig.ValidateAll() if the designated constraints aren't met.
func (EntrySelectorConfigMultiError) AllErrors ¶
func (m EntrySelectorConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EntrySelectorConfigMultiError) Error ¶
func (m EntrySelectorConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EntrySelectorConfigValidationError ¶
type EntrySelectorConfigValidationError struct {
// contains filtered or unexported fields
}
EntrySelectorConfigValidationError is the validation error returned by EntrySelectorConfig.Validate if the designated constraints aren't met.
func (EntrySelectorConfigValidationError) Cause ¶
func (e EntrySelectorConfigValidationError) Cause() error
Cause function returns cause value.
func (EntrySelectorConfigValidationError) Error ¶
func (e EntrySelectorConfigValidationError) Error() string
Error satisfies the builtin error interface
func (EntrySelectorConfigValidationError) ErrorName ¶
func (e EntrySelectorConfigValidationError) ErrorName() string
ErrorName returns error name.
func (EntrySelectorConfigValidationError) Field ¶
func (e EntrySelectorConfigValidationError) Field() string
Field function returns field value.
func (EntrySelectorConfigValidationError) Key ¶
func (e EntrySelectorConfigValidationError) Key() bool
Key function returns key value.
func (EntrySelectorConfigValidationError) Reason ¶
func (e EntrySelectorConfigValidationError) Reason() string
Reason function returns reason value.
type LoggerConfig ¶
type LoggerConfig struct {
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Level LoggerConfig_Level `protobuf:"varint,3,opt,name=level,proto3,enum=config.v1.LoggerConfig_Level" json:"level,omitempty"`
// contains filtered or unexported fields
}
logger config.
func (*LoggerConfig) Descriptor
deprecated
func (*LoggerConfig) Descriptor() ([]byte, []int)
Deprecated: Use LoggerConfig.ProtoReflect.Descriptor instead.
func (*LoggerConfig) GetLevel ¶
func (x *LoggerConfig) GetLevel() LoggerConfig_Level
func (*LoggerConfig) GetName ¶
func (x *LoggerConfig) GetName() string
func (*LoggerConfig) ProtoMessage ¶
func (*LoggerConfig) ProtoMessage()
func (*LoggerConfig) ProtoReflect ¶
func (x *LoggerConfig) ProtoReflect() protoreflect.Message
func (*LoggerConfig) Reset ¶
func (x *LoggerConfig) Reset()
func (*LoggerConfig) String ¶
func (x *LoggerConfig) String() string
func (*LoggerConfig) Validate ¶
func (m *LoggerConfig) Validate() error
Validate checks the field values on LoggerConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LoggerConfig) ValidateAll ¶
func (m *LoggerConfig) ValidateAll() error
ValidateAll checks the field values on LoggerConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LoggerConfigMultiError, or nil if none found.
type LoggerConfigMultiError ¶
type LoggerConfigMultiError []error
LoggerConfigMultiError is an error wrapping multiple validation errors returned by LoggerConfig.ValidateAll() if the designated constraints aren't met.
func (LoggerConfigMultiError) AllErrors ¶
func (m LoggerConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoggerConfigMultiError) Error ¶
func (m LoggerConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoggerConfigValidationError ¶
type LoggerConfigValidationError struct {
// contains filtered or unexported fields
}
LoggerConfigValidationError is the validation error returned by LoggerConfig.Validate if the designated constraints aren't met.
func (LoggerConfigValidationError) Cause ¶
func (e LoggerConfigValidationError) Cause() error
Cause function returns cause value.
func (LoggerConfigValidationError) Error ¶
func (e LoggerConfigValidationError) Error() string
Error satisfies the builtin error interface
func (LoggerConfigValidationError) ErrorName ¶
func (e LoggerConfigValidationError) ErrorName() string
ErrorName returns error name.
func (LoggerConfigValidationError) Field ¶
func (e LoggerConfigValidationError) Field() string
Field function returns field value.
func (LoggerConfigValidationError) Key ¶
func (e LoggerConfigValidationError) Key() bool
Key function returns key value.
func (LoggerConfigValidationError) Reason ¶
func (e LoggerConfigValidationError) Reason() string
Reason function returns reason value.
type LoggerConfig_Level ¶
type LoggerConfig_Level int32
const ( LoggerConfig_LEVEL_UNSPECIFIED LoggerConfig_Level = 0 LoggerConfig_LEVEL_DEBUG LoggerConfig_Level = 1 LoggerConfig_LEVEL_INFO LoggerConfig_Level = 2 LoggerConfig_LEVEL_WARN LoggerConfig_Level = 3 LoggerConfig_LEVEL_ERROR LoggerConfig_Level = 4 LoggerConfig_LEVEL_FATAL LoggerConfig_Level = 5 )
func (LoggerConfig_Level) Descriptor ¶
func (LoggerConfig_Level) Descriptor() protoreflect.EnumDescriptor
func (LoggerConfig_Level) Enum ¶
func (x LoggerConfig_Level) Enum() *LoggerConfig_Level
func (LoggerConfig_Level) EnumDescriptor
deprecated
func (LoggerConfig_Level) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoggerConfig_Level.Descriptor instead.
func (LoggerConfig_Level) Number ¶
func (x LoggerConfig_Level) Number() protoreflect.EnumNumber
func (LoggerConfig_Level) String ¶
func (x LoggerConfig_Level) String() string
func (LoggerConfig_Level) Type ¶
func (LoggerConfig_Level) Type() protoreflect.EnumType
type MessageConfig ¶
type MessageConfig struct {
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Mqtt *MessageConfig_MQTT `protobuf:"bytes,3,opt,name=mqtt,proto3" json:"mqtt,omitempty"`
Kafka *MessageConfig_Kafka `protobuf:"bytes,4,opt,name=kafka,proto3" json:"kafka,omitempty"`
Rabbitmq *MessageConfig_RabbitMQ `protobuf:"bytes,5,opt,name=rabbitmq,proto3" json:"rabbitmq,omitempty"`
Activemq *MessageConfig_ActiveMQ `protobuf:"bytes,6,opt,name=activemq,proto3" json:"activemq,omitempty"`
Nats *MessageConfig_NATS `protobuf:"bytes,7,opt,name=nats,proto3" json:"nats,omitempty"`
Nsq *MessageConfig_NSQ `protobuf:"bytes,8,opt,name=nsq,proto3" json:"nsq,omitempty"`
Pulsar *MessageConfig_Pulsar `protobuf:"bytes,9,opt,name=pulsar,proto3" json:"pulsar,omitempty"`
Redis *MessageConfig_Redis `protobuf:"bytes,10,opt,name=redis,proto3" json:"redis,omitempty"`
Rocketmq *MessageConfig_RocketMQ `protobuf:"bytes,11,opt,name=rocketmq,proto3" json:"rocketmq,omitempty"`
// contains filtered or unexported fields
}
func (*MessageConfig) Descriptor
deprecated
func (*MessageConfig) Descriptor() ([]byte, []int)
Deprecated: Use MessageConfig.ProtoReflect.Descriptor instead.
func (*MessageConfig) GetActivemq ¶
func (x *MessageConfig) GetActivemq() *MessageConfig_ActiveMQ
func (*MessageConfig) GetKafka ¶
func (x *MessageConfig) GetKafka() *MessageConfig_Kafka
func (*MessageConfig) GetMqtt ¶
func (x *MessageConfig) GetMqtt() *MessageConfig_MQTT
func (*MessageConfig) GetName ¶
func (x *MessageConfig) GetName() string
func (*MessageConfig) GetNats ¶
func (x *MessageConfig) GetNats() *MessageConfig_NATS
func (*MessageConfig) GetNsq ¶
func (x *MessageConfig) GetNsq() *MessageConfig_NSQ
func (*MessageConfig) GetPulsar ¶
func (x *MessageConfig) GetPulsar() *MessageConfig_Pulsar
func (*MessageConfig) GetRabbitmq ¶
func (x *MessageConfig) GetRabbitmq() *MessageConfig_RabbitMQ
func (*MessageConfig) GetRedis ¶
func (x *MessageConfig) GetRedis() *MessageConfig_Redis
func (*MessageConfig) GetRocketmq ¶
func (x *MessageConfig) GetRocketmq() *MessageConfig_RocketMQ
func (*MessageConfig) ProtoMessage ¶
func (*MessageConfig) ProtoMessage()
func (*MessageConfig) ProtoReflect ¶
func (x *MessageConfig) ProtoReflect() protoreflect.Message
func (*MessageConfig) Reset ¶
func (x *MessageConfig) Reset()
func (*MessageConfig) String ¶
func (x *MessageConfig) String() string
func (*MessageConfig) Validate ¶
func (m *MessageConfig) Validate() error
Validate checks the field values on MessageConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageConfig) ValidateAll ¶
func (m *MessageConfig) ValidateAll() error
ValidateAll checks the field values on MessageConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageConfigMultiError, or nil if none found.
type MessageConfigMultiError ¶
type MessageConfigMultiError []error
MessageConfigMultiError is an error wrapping multiple validation errors returned by MessageConfig.ValidateAll() if the designated constraints aren't met.
func (MessageConfigMultiError) AllErrors ¶
func (m MessageConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageConfigMultiError) Error ¶
func (m MessageConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageConfigValidationError ¶
type MessageConfigValidationError struct {
// contains filtered or unexported fields
}
MessageConfigValidationError is the validation error returned by MessageConfig.Validate if the designated constraints aren't met.
func (MessageConfigValidationError) Cause ¶
func (e MessageConfigValidationError) Cause() error
Cause function returns cause value.
func (MessageConfigValidationError) Error ¶
func (e MessageConfigValidationError) Error() string
Error satisfies the builtin error interface
func (MessageConfigValidationError) ErrorName ¶
func (e MessageConfigValidationError) ErrorName() string
ErrorName returns error name.
func (MessageConfigValidationError) Field ¶
func (e MessageConfigValidationError) Field() string
Field function returns field value.
func (MessageConfigValidationError) Key ¶
func (e MessageConfigValidationError) Key() bool
Key function returns key value.
func (MessageConfigValidationError) Reason ¶
func (e MessageConfigValidationError) Reason() string
Reason function returns reason value.
type MessageConfig_ActiveMQ ¶
type MessageConfig_ActiveMQ struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // Codec: json,xml,yaml...
// contains filtered or unexported fields
}
func (*MessageConfig_ActiveMQ) Descriptor
deprecated
func (*MessageConfig_ActiveMQ) Descriptor() ([]byte, []int)
Deprecated: Use MessageConfig_ActiveMQ.ProtoReflect.Descriptor instead.
func (*MessageConfig_ActiveMQ) GetCodec ¶
func (x *MessageConfig_ActiveMQ) GetCodec() string
func (*MessageConfig_ActiveMQ) GetEndpoint ¶
func (x *MessageConfig_ActiveMQ) GetEndpoint() string
func (*MessageConfig_ActiveMQ) ProtoMessage ¶
func (*MessageConfig_ActiveMQ) ProtoMessage()
func (*MessageConfig_ActiveMQ) ProtoReflect ¶
func (x *MessageConfig_ActiveMQ) ProtoReflect() protoreflect.Message
func (*MessageConfig_ActiveMQ) Reset ¶
func (x *MessageConfig_ActiveMQ) Reset()
func (*MessageConfig_ActiveMQ) String ¶
func (x *MessageConfig_ActiveMQ) String() string
func (*MessageConfig_ActiveMQ) Validate ¶
func (m *MessageConfig_ActiveMQ) Validate() error
Validate checks the field values on MessageConfig_ActiveMQ with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageConfig_ActiveMQ) ValidateAll ¶
func (m *MessageConfig_ActiveMQ) ValidateAll() error
ValidateAll checks the field values on MessageConfig_ActiveMQ with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageConfig_ActiveMQMultiError, or nil if none found.
type MessageConfig_ActiveMQMultiError ¶
type MessageConfig_ActiveMQMultiError []error
MessageConfig_ActiveMQMultiError is an error wrapping multiple validation errors returned by MessageConfig_ActiveMQ.ValidateAll() if the designated constraints aren't met.
func (MessageConfig_ActiveMQMultiError) AllErrors ¶
func (m MessageConfig_ActiveMQMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageConfig_ActiveMQMultiError) Error ¶
func (m MessageConfig_ActiveMQMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageConfig_ActiveMQValidationError ¶
type MessageConfig_ActiveMQValidationError struct {
// contains filtered or unexported fields
}
MessageConfig_ActiveMQValidationError is the validation error returned by MessageConfig_ActiveMQ.Validate if the designated constraints aren't met.
func (MessageConfig_ActiveMQValidationError) Cause ¶
func (e MessageConfig_ActiveMQValidationError) Cause() error
Cause function returns cause value.
func (MessageConfig_ActiveMQValidationError) Error ¶
func (e MessageConfig_ActiveMQValidationError) Error() string
Error satisfies the builtin error interface
func (MessageConfig_ActiveMQValidationError) ErrorName ¶
func (e MessageConfig_ActiveMQValidationError) ErrorName() string
ErrorName returns error name.
func (MessageConfig_ActiveMQValidationError) Field ¶
func (e MessageConfig_ActiveMQValidationError) Field() string
Field function returns field value.
func (MessageConfig_ActiveMQValidationError) Key ¶
func (e MessageConfig_ActiveMQValidationError) Key() bool
Key function returns key value.
func (MessageConfig_ActiveMQValidationError) Reason ¶
func (e MessageConfig_ActiveMQValidationError) Reason() string
Reason function returns reason value.
type MessageConfig_Kafka ¶
type MessageConfig_Kafka struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // Codec: json,xml,yaml...
// contains filtered or unexported fields
}
Kafka
func (*MessageConfig_Kafka) Descriptor
deprecated
func (*MessageConfig_Kafka) Descriptor() ([]byte, []int)
Deprecated: Use MessageConfig_Kafka.ProtoReflect.Descriptor instead.
func (*MessageConfig_Kafka) GetCodec ¶
func (x *MessageConfig_Kafka) GetCodec() string
func (*MessageConfig_Kafka) GetEndpoint ¶
func (x *MessageConfig_Kafka) GetEndpoint() string
func (*MessageConfig_Kafka) ProtoMessage ¶
func (*MessageConfig_Kafka) ProtoMessage()
func (*MessageConfig_Kafka) ProtoReflect ¶
func (x *MessageConfig_Kafka) ProtoReflect() protoreflect.Message
func (*MessageConfig_Kafka) Reset ¶
func (x *MessageConfig_Kafka) Reset()
func (*MessageConfig_Kafka) String ¶
func (x *MessageConfig_Kafka) String() string
func (*MessageConfig_Kafka) Validate ¶
func (m *MessageConfig_Kafka) Validate() error
Validate checks the field values on MessageConfig_Kafka with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageConfig_Kafka) ValidateAll ¶
func (m *MessageConfig_Kafka) ValidateAll() error
ValidateAll checks the field values on MessageConfig_Kafka with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageConfig_KafkaMultiError, or nil if none found.
type MessageConfig_KafkaMultiError ¶
type MessageConfig_KafkaMultiError []error
MessageConfig_KafkaMultiError is an error wrapping multiple validation errors returned by MessageConfig_Kafka.ValidateAll() if the designated constraints aren't met.
func (MessageConfig_KafkaMultiError) AllErrors ¶
func (m MessageConfig_KafkaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageConfig_KafkaMultiError) Error ¶
func (m MessageConfig_KafkaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageConfig_KafkaValidationError ¶
type MessageConfig_KafkaValidationError struct {
// contains filtered or unexported fields
}
MessageConfig_KafkaValidationError is the validation error returned by MessageConfig_Kafka.Validate if the designated constraints aren't met.
func (MessageConfig_KafkaValidationError) Cause ¶
func (e MessageConfig_KafkaValidationError) Cause() error
Cause function returns cause value.
func (MessageConfig_KafkaValidationError) Error ¶
func (e MessageConfig_KafkaValidationError) Error() string
Error satisfies the builtin error interface
func (MessageConfig_KafkaValidationError) ErrorName ¶
func (e MessageConfig_KafkaValidationError) ErrorName() string
ErrorName returns error name.
func (MessageConfig_KafkaValidationError) Field ¶
func (e MessageConfig_KafkaValidationError) Field() string
Field function returns field value.
func (MessageConfig_KafkaValidationError) Key ¶
func (e MessageConfig_KafkaValidationError) Key() bool
Key function returns key value.
func (MessageConfig_KafkaValidationError) Reason ¶
func (e MessageConfig_KafkaValidationError) Reason() string
Reason function returns reason value.
type MessageConfig_MQTT ¶
type MessageConfig_MQTT struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // Codec: json,xml,yaml...
// contains filtered or unexported fields
}
MQTT
func (*MessageConfig_MQTT) Descriptor
deprecated
func (*MessageConfig_MQTT) Descriptor() ([]byte, []int)
Deprecated: Use MessageConfig_MQTT.ProtoReflect.Descriptor instead.
func (*MessageConfig_MQTT) GetCodec ¶
func (x *MessageConfig_MQTT) GetCodec() string
func (*MessageConfig_MQTT) GetEndpoint ¶
func (x *MessageConfig_MQTT) GetEndpoint() string
func (*MessageConfig_MQTT) ProtoMessage ¶
func (*MessageConfig_MQTT) ProtoMessage()
func (*MessageConfig_MQTT) ProtoReflect ¶
func (x *MessageConfig_MQTT) ProtoReflect() protoreflect.Message
func (*MessageConfig_MQTT) Reset ¶
func (x *MessageConfig_MQTT) Reset()
func (*MessageConfig_MQTT) String ¶
func (x *MessageConfig_MQTT) String() string
func (*MessageConfig_MQTT) Validate ¶
func (m *MessageConfig_MQTT) Validate() error
Validate checks the field values on MessageConfig_MQTT with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageConfig_MQTT) ValidateAll ¶
func (m *MessageConfig_MQTT) ValidateAll() error
ValidateAll checks the field values on MessageConfig_MQTT with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageConfig_MQTTMultiError, or nil if none found.
type MessageConfig_MQTTMultiError ¶
type MessageConfig_MQTTMultiError []error
MessageConfig_MQTTMultiError is an error wrapping multiple validation errors returned by MessageConfig_MQTT.ValidateAll() if the designated constraints aren't met.
func (MessageConfig_MQTTMultiError) AllErrors ¶
func (m MessageConfig_MQTTMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageConfig_MQTTMultiError) Error ¶
func (m MessageConfig_MQTTMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageConfig_MQTTValidationError ¶
type MessageConfig_MQTTValidationError struct {
// contains filtered or unexported fields
}
MessageConfig_MQTTValidationError is the validation error returned by MessageConfig_MQTT.Validate if the designated constraints aren't met.
func (MessageConfig_MQTTValidationError) Cause ¶
func (e MessageConfig_MQTTValidationError) Cause() error
Cause function returns cause value.
func (MessageConfig_MQTTValidationError) Error ¶
func (e MessageConfig_MQTTValidationError) Error() string
Error satisfies the builtin error interface
func (MessageConfig_MQTTValidationError) ErrorName ¶
func (e MessageConfig_MQTTValidationError) ErrorName() string
ErrorName returns error name.
func (MessageConfig_MQTTValidationError) Field ¶
func (e MessageConfig_MQTTValidationError) Field() string
Field function returns field value.
func (MessageConfig_MQTTValidationError) Key ¶
func (e MessageConfig_MQTTValidationError) Key() bool
Key function returns key value.
func (MessageConfig_MQTTValidationError) Reason ¶
func (e MessageConfig_MQTTValidationError) Reason() string
Reason function returns reason value.
type MessageConfig_NATS ¶
type MessageConfig_NATS struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // Codec: json,xml,yaml...
// contains filtered or unexported fields
}
func (*MessageConfig_NATS) Descriptor
deprecated
func (*MessageConfig_NATS) Descriptor() ([]byte, []int)
Deprecated: Use MessageConfig_NATS.ProtoReflect.Descriptor instead.
func (*MessageConfig_NATS) GetCodec ¶
func (x *MessageConfig_NATS) GetCodec() string
func (*MessageConfig_NATS) GetEndpoint ¶
func (x *MessageConfig_NATS) GetEndpoint() string
func (*MessageConfig_NATS) ProtoMessage ¶
func (*MessageConfig_NATS) ProtoMessage()
func (*MessageConfig_NATS) ProtoReflect ¶
func (x *MessageConfig_NATS) ProtoReflect() protoreflect.Message
func (*MessageConfig_NATS) Reset ¶
func (x *MessageConfig_NATS) Reset()
func (*MessageConfig_NATS) String ¶
func (x *MessageConfig_NATS) String() string
func (*MessageConfig_NATS) Validate ¶
func (m *MessageConfig_NATS) Validate() error
Validate checks the field values on MessageConfig_NATS with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageConfig_NATS) ValidateAll ¶
func (m *MessageConfig_NATS) ValidateAll() error
ValidateAll checks the field values on MessageConfig_NATS with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageConfig_NATSMultiError, or nil if none found.
type MessageConfig_NATSMultiError ¶
type MessageConfig_NATSMultiError []error
MessageConfig_NATSMultiError is an error wrapping multiple validation errors returned by MessageConfig_NATS.ValidateAll() if the designated constraints aren't met.
func (MessageConfig_NATSMultiError) AllErrors ¶
func (m MessageConfig_NATSMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageConfig_NATSMultiError) Error ¶
func (m MessageConfig_NATSMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageConfig_NATSValidationError ¶
type MessageConfig_NATSValidationError struct {
// contains filtered or unexported fields
}
MessageConfig_NATSValidationError is the validation error returned by MessageConfig_NATS.Validate if the designated constraints aren't met.
func (MessageConfig_NATSValidationError) Cause ¶
func (e MessageConfig_NATSValidationError) Cause() error
Cause function returns cause value.
func (MessageConfig_NATSValidationError) Error ¶
func (e MessageConfig_NATSValidationError) Error() string
Error satisfies the builtin error interface
func (MessageConfig_NATSValidationError) ErrorName ¶
func (e MessageConfig_NATSValidationError) ErrorName() string
ErrorName returns error name.
func (MessageConfig_NATSValidationError) Field ¶
func (e MessageConfig_NATSValidationError) Field() string
Field function returns field value.
func (MessageConfig_NATSValidationError) Key ¶
func (e MessageConfig_NATSValidationError) Key() bool
Key function returns key value.
func (MessageConfig_NATSValidationError) Reason ¶
func (e MessageConfig_NATSValidationError) Reason() string
Reason function returns reason value.
type MessageConfig_NSQ ¶
type MessageConfig_NSQ struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // Codec: json,xml,yaml...
// contains filtered or unexported fields
}
func (*MessageConfig_NSQ) Descriptor
deprecated
func (*MessageConfig_NSQ) Descriptor() ([]byte, []int)
Deprecated: Use MessageConfig_NSQ.ProtoReflect.Descriptor instead.
func (*MessageConfig_NSQ) GetCodec ¶
func (x *MessageConfig_NSQ) GetCodec() string
func (*MessageConfig_NSQ) GetEndpoint ¶
func (x *MessageConfig_NSQ) GetEndpoint() string
func (*MessageConfig_NSQ) ProtoMessage ¶
func (*MessageConfig_NSQ) ProtoMessage()
func (*MessageConfig_NSQ) ProtoReflect ¶
func (x *MessageConfig_NSQ) ProtoReflect() protoreflect.Message
func (*MessageConfig_NSQ) Reset ¶
func (x *MessageConfig_NSQ) Reset()
func (*MessageConfig_NSQ) String ¶
func (x *MessageConfig_NSQ) String() string
func (*MessageConfig_NSQ) Validate ¶
func (m *MessageConfig_NSQ) Validate() error
Validate checks the field values on MessageConfig_NSQ with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageConfig_NSQ) ValidateAll ¶
func (m *MessageConfig_NSQ) ValidateAll() error
ValidateAll checks the field values on MessageConfig_NSQ with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageConfig_NSQMultiError, or nil if none found.
type MessageConfig_NSQMultiError ¶
type MessageConfig_NSQMultiError []error
MessageConfig_NSQMultiError is an error wrapping multiple validation errors returned by MessageConfig_NSQ.ValidateAll() if the designated constraints aren't met.
func (MessageConfig_NSQMultiError) AllErrors ¶
func (m MessageConfig_NSQMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageConfig_NSQMultiError) Error ¶
func (m MessageConfig_NSQMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageConfig_NSQValidationError ¶
type MessageConfig_NSQValidationError struct {
// contains filtered or unexported fields
}
MessageConfig_NSQValidationError is the validation error returned by MessageConfig_NSQ.Validate if the designated constraints aren't met.
func (MessageConfig_NSQValidationError) Cause ¶
func (e MessageConfig_NSQValidationError) Cause() error
Cause function returns cause value.
func (MessageConfig_NSQValidationError) Error ¶
func (e MessageConfig_NSQValidationError) Error() string
Error satisfies the builtin error interface
func (MessageConfig_NSQValidationError) ErrorName ¶
func (e MessageConfig_NSQValidationError) ErrorName() string
ErrorName returns error name.
func (MessageConfig_NSQValidationError) Field ¶
func (e MessageConfig_NSQValidationError) Field() string
Field function returns field value.
func (MessageConfig_NSQValidationError) Key ¶
func (e MessageConfig_NSQValidationError) Key() bool
Key function returns key value.
func (MessageConfig_NSQValidationError) Reason ¶
func (e MessageConfig_NSQValidationError) Reason() string
Reason function returns reason value.
type MessageConfig_Pulsar ¶
type MessageConfig_Pulsar struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // Codec: json,xml,yaml...
// contains filtered or unexported fields
}
func (*MessageConfig_Pulsar) Descriptor
deprecated
func (*MessageConfig_Pulsar) Descriptor() ([]byte, []int)
Deprecated: Use MessageConfig_Pulsar.ProtoReflect.Descriptor instead.
func (*MessageConfig_Pulsar) GetCodec ¶
func (x *MessageConfig_Pulsar) GetCodec() string
func (*MessageConfig_Pulsar) GetEndpoint ¶
func (x *MessageConfig_Pulsar) GetEndpoint() string
func (*MessageConfig_Pulsar) ProtoMessage ¶
func (*MessageConfig_Pulsar) ProtoMessage()
func (*MessageConfig_Pulsar) ProtoReflect ¶
func (x *MessageConfig_Pulsar) ProtoReflect() protoreflect.Message
func (*MessageConfig_Pulsar) Reset ¶
func (x *MessageConfig_Pulsar) Reset()
func (*MessageConfig_Pulsar) String ¶
func (x *MessageConfig_Pulsar) String() string
func (*MessageConfig_Pulsar) Validate ¶
func (m *MessageConfig_Pulsar) Validate() error
Validate checks the field values on MessageConfig_Pulsar with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageConfig_Pulsar) ValidateAll ¶
func (m *MessageConfig_Pulsar) ValidateAll() error
ValidateAll checks the field values on MessageConfig_Pulsar with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageConfig_PulsarMultiError, or nil if none found.
type MessageConfig_PulsarMultiError ¶
type MessageConfig_PulsarMultiError []error
MessageConfig_PulsarMultiError is an error wrapping multiple validation errors returned by MessageConfig_Pulsar.ValidateAll() if the designated constraints aren't met.
func (MessageConfig_PulsarMultiError) AllErrors ¶
func (m MessageConfig_PulsarMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageConfig_PulsarMultiError) Error ¶
func (m MessageConfig_PulsarMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageConfig_PulsarValidationError ¶
type MessageConfig_PulsarValidationError struct {
// contains filtered or unexported fields
}
MessageConfig_PulsarValidationError is the validation error returned by MessageConfig_Pulsar.Validate if the designated constraints aren't met.
func (MessageConfig_PulsarValidationError) Cause ¶
func (e MessageConfig_PulsarValidationError) Cause() error
Cause function returns cause value.
func (MessageConfig_PulsarValidationError) Error ¶
func (e MessageConfig_PulsarValidationError) Error() string
Error satisfies the builtin error interface
func (MessageConfig_PulsarValidationError) ErrorName ¶
func (e MessageConfig_PulsarValidationError) ErrorName() string
ErrorName returns error name.
func (MessageConfig_PulsarValidationError) Field ¶
func (e MessageConfig_PulsarValidationError) Field() string
Field function returns field value.
func (MessageConfig_PulsarValidationError) Key ¶
func (e MessageConfig_PulsarValidationError) Key() bool
Key function returns key value.
func (MessageConfig_PulsarValidationError) Reason ¶
func (e MessageConfig_PulsarValidationError) Reason() string
Reason function returns reason value.
type MessageConfig_RabbitMQ ¶
type MessageConfig_RabbitMQ struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // Codec: json,xml,yaml...
// contains filtered or unexported fields
}
RabbitMQ
func (*MessageConfig_RabbitMQ) Descriptor
deprecated
func (*MessageConfig_RabbitMQ) Descriptor() ([]byte, []int)
Deprecated: Use MessageConfig_RabbitMQ.ProtoReflect.Descriptor instead.
func (*MessageConfig_RabbitMQ) GetCodec ¶
func (x *MessageConfig_RabbitMQ) GetCodec() string
func (*MessageConfig_RabbitMQ) GetEndpoint ¶
func (x *MessageConfig_RabbitMQ) GetEndpoint() string
func (*MessageConfig_RabbitMQ) ProtoMessage ¶
func (*MessageConfig_RabbitMQ) ProtoMessage()
func (*MessageConfig_RabbitMQ) ProtoReflect ¶
func (x *MessageConfig_RabbitMQ) ProtoReflect() protoreflect.Message
func (*MessageConfig_RabbitMQ) Reset ¶
func (x *MessageConfig_RabbitMQ) Reset()
func (*MessageConfig_RabbitMQ) String ¶
func (x *MessageConfig_RabbitMQ) String() string
func (*MessageConfig_RabbitMQ) Validate ¶
func (m *MessageConfig_RabbitMQ) Validate() error
Validate checks the field values on MessageConfig_RabbitMQ with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageConfig_RabbitMQ) ValidateAll ¶
func (m *MessageConfig_RabbitMQ) ValidateAll() error
ValidateAll checks the field values on MessageConfig_RabbitMQ with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageConfig_RabbitMQMultiError, or nil if none found.
type MessageConfig_RabbitMQMultiError ¶
type MessageConfig_RabbitMQMultiError []error
MessageConfig_RabbitMQMultiError is an error wrapping multiple validation errors returned by MessageConfig_RabbitMQ.ValidateAll() if the designated constraints aren't met.
func (MessageConfig_RabbitMQMultiError) AllErrors ¶
func (m MessageConfig_RabbitMQMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageConfig_RabbitMQMultiError) Error ¶
func (m MessageConfig_RabbitMQMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageConfig_RabbitMQValidationError ¶
type MessageConfig_RabbitMQValidationError struct {
// contains filtered or unexported fields
}
MessageConfig_RabbitMQValidationError is the validation error returned by MessageConfig_RabbitMQ.Validate if the designated constraints aren't met.
func (MessageConfig_RabbitMQValidationError) Cause ¶
func (e MessageConfig_RabbitMQValidationError) Cause() error
Cause function returns cause value.
func (MessageConfig_RabbitMQValidationError) Error ¶
func (e MessageConfig_RabbitMQValidationError) Error() string
Error satisfies the builtin error interface
func (MessageConfig_RabbitMQValidationError) ErrorName ¶
func (e MessageConfig_RabbitMQValidationError) ErrorName() string
ErrorName returns error name.
func (MessageConfig_RabbitMQValidationError) Field ¶
func (e MessageConfig_RabbitMQValidationError) Field() string
Field function returns field value.
func (MessageConfig_RabbitMQValidationError) Key ¶
func (e MessageConfig_RabbitMQValidationError) Key() bool
Key function returns key value.
func (MessageConfig_RabbitMQValidationError) Reason ¶
func (e MessageConfig_RabbitMQValidationError) Reason() string
Reason function returns reason value.
type MessageConfig_Redis ¶
type MessageConfig_Redis struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // Codec: json,xml,yaml...
// contains filtered or unexported fields
}
func (*MessageConfig_Redis) Descriptor
deprecated
func (*MessageConfig_Redis) Descriptor() ([]byte, []int)
Deprecated: Use MessageConfig_Redis.ProtoReflect.Descriptor instead.
func (*MessageConfig_Redis) GetCodec ¶
func (x *MessageConfig_Redis) GetCodec() string
func (*MessageConfig_Redis) GetEndpoint ¶
func (x *MessageConfig_Redis) GetEndpoint() string
func (*MessageConfig_Redis) ProtoMessage ¶
func (*MessageConfig_Redis) ProtoMessage()
func (*MessageConfig_Redis) ProtoReflect ¶
func (x *MessageConfig_Redis) ProtoReflect() protoreflect.Message
func (*MessageConfig_Redis) Reset ¶
func (x *MessageConfig_Redis) Reset()
func (*MessageConfig_Redis) String ¶
func (x *MessageConfig_Redis) String() string
func (*MessageConfig_Redis) Validate ¶
func (m *MessageConfig_Redis) Validate() error
Validate checks the field values on MessageConfig_Redis with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageConfig_Redis) ValidateAll ¶
func (m *MessageConfig_Redis) ValidateAll() error
ValidateAll checks the field values on MessageConfig_Redis with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageConfig_RedisMultiError, or nil if none found.
type MessageConfig_RedisMultiError ¶
type MessageConfig_RedisMultiError []error
MessageConfig_RedisMultiError is an error wrapping multiple validation errors returned by MessageConfig_Redis.ValidateAll() if the designated constraints aren't met.
func (MessageConfig_RedisMultiError) AllErrors ¶
func (m MessageConfig_RedisMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageConfig_RedisMultiError) Error ¶
func (m MessageConfig_RedisMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageConfig_RedisValidationError ¶
type MessageConfig_RedisValidationError struct {
// contains filtered or unexported fields
}
MessageConfig_RedisValidationError is the validation error returned by MessageConfig_Redis.Validate if the designated constraints aren't met.
func (MessageConfig_RedisValidationError) Cause ¶
func (e MessageConfig_RedisValidationError) Cause() error
Cause function returns cause value.
func (MessageConfig_RedisValidationError) Error ¶
func (e MessageConfig_RedisValidationError) Error() string
Error satisfies the builtin error interface
func (MessageConfig_RedisValidationError) ErrorName ¶
func (e MessageConfig_RedisValidationError) ErrorName() string
ErrorName returns error name.
func (MessageConfig_RedisValidationError) Field ¶
func (e MessageConfig_RedisValidationError) Field() string
Field function returns field value.
func (MessageConfig_RedisValidationError) Key ¶
func (e MessageConfig_RedisValidationError) Key() bool
Key function returns key value.
func (MessageConfig_RedisValidationError) Reason ¶
func (e MessageConfig_RedisValidationError) Reason() string
Reason function returns reason value.
type MessageConfig_RocketMQ ¶
type MessageConfig_RocketMQ struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"` // Codec: json,xml,yaml...
EnableTrace bool `protobuf:"varint,3,opt,name=enable_trace,json=enableTrace,proto3" json:"enable_trace,omitempty"`
NameServers []string `protobuf:"bytes,4,rep,name=name_servers,json=nameServers,proto3" json:"name_servers,omitempty"`
NameServerDomain string `protobuf:"bytes,5,opt,name=name_server_domain,json=nameServerDomain,proto3" json:"name_server_domain,omitempty"`
AccessKey string `protobuf:"bytes,6,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"`
SecretKey string `protobuf:"bytes,7,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"`
SecurityToken string `protobuf:"bytes,8,opt,name=security_token,json=securityToken,proto3" json:"security_token,omitempty"`
Namespace string `protobuf:"bytes,9,opt,name=namespace,proto3" json:"namespace,omitempty"`
InstanceName string `protobuf:"bytes,10,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"`
GroupName string `protobuf:"bytes,11,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"`
// contains filtered or unexported fields
}
func (*MessageConfig_RocketMQ) Descriptor
deprecated
func (*MessageConfig_RocketMQ) Descriptor() ([]byte, []int)
Deprecated: Use MessageConfig_RocketMQ.ProtoReflect.Descriptor instead.
func (*MessageConfig_RocketMQ) GetAccessKey ¶
func (x *MessageConfig_RocketMQ) GetAccessKey() string
func (*MessageConfig_RocketMQ) GetCodec ¶
func (x *MessageConfig_RocketMQ) GetCodec() string
func (*MessageConfig_RocketMQ) GetEnableTrace ¶
func (x *MessageConfig_RocketMQ) GetEnableTrace() bool
func (*MessageConfig_RocketMQ) GetEndpoint ¶
func (x *MessageConfig_RocketMQ) GetEndpoint() string
func (*MessageConfig_RocketMQ) GetGroupName ¶
func (x *MessageConfig_RocketMQ) GetGroupName() string
func (*MessageConfig_RocketMQ) GetInstanceName ¶
func (x *MessageConfig_RocketMQ) GetInstanceName() string
func (*MessageConfig_RocketMQ) GetNameServerDomain ¶
func (x *MessageConfig_RocketMQ) GetNameServerDomain() string
func (*MessageConfig_RocketMQ) GetNameServers ¶
func (x *MessageConfig_RocketMQ) GetNameServers() []string
func (*MessageConfig_RocketMQ) GetNamespace ¶
func (x *MessageConfig_RocketMQ) GetNamespace() string
func (*MessageConfig_RocketMQ) GetSecretKey ¶
func (x *MessageConfig_RocketMQ) GetSecretKey() string
func (*MessageConfig_RocketMQ) GetSecurityToken ¶
func (x *MessageConfig_RocketMQ) GetSecurityToken() string
func (*MessageConfig_RocketMQ) ProtoMessage ¶
func (*MessageConfig_RocketMQ) ProtoMessage()
func (*MessageConfig_RocketMQ) ProtoReflect ¶
func (x *MessageConfig_RocketMQ) ProtoReflect() protoreflect.Message
func (*MessageConfig_RocketMQ) Reset ¶
func (x *MessageConfig_RocketMQ) Reset()
func (*MessageConfig_RocketMQ) String ¶
func (x *MessageConfig_RocketMQ) String() string
func (*MessageConfig_RocketMQ) Validate ¶
func (m *MessageConfig_RocketMQ) Validate() error
Validate checks the field values on MessageConfig_RocketMQ with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageConfig_RocketMQ) ValidateAll ¶
func (m *MessageConfig_RocketMQ) ValidateAll() error
ValidateAll checks the field values on MessageConfig_RocketMQ with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageConfig_RocketMQMultiError, or nil if none found.
type MessageConfig_RocketMQMultiError ¶
type MessageConfig_RocketMQMultiError []error
MessageConfig_RocketMQMultiError is an error wrapping multiple validation errors returned by MessageConfig_RocketMQ.ValidateAll() if the designated constraints aren't met.
func (MessageConfig_RocketMQMultiError) AllErrors ¶
func (m MessageConfig_RocketMQMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageConfig_RocketMQMultiError) Error ¶
func (m MessageConfig_RocketMQMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageConfig_RocketMQValidationError ¶
type MessageConfig_RocketMQValidationError struct {
// contains filtered or unexported fields
}
MessageConfig_RocketMQValidationError is the validation error returned by MessageConfig_RocketMQ.Validate if the designated constraints aren't met.
func (MessageConfig_RocketMQValidationError) Cause ¶
func (e MessageConfig_RocketMQValidationError) Cause() error
Cause function returns cause value.
func (MessageConfig_RocketMQValidationError) Error ¶
func (e MessageConfig_RocketMQValidationError) Error() string
Error satisfies the builtin error interface
func (MessageConfig_RocketMQValidationError) ErrorName ¶
func (e MessageConfig_RocketMQValidationError) ErrorName() string
ErrorName returns error name.
func (MessageConfig_RocketMQValidationError) Field ¶
func (e MessageConfig_RocketMQValidationError) Field() string
Field function returns field value.
func (MessageConfig_RocketMQValidationError) Key ¶
func (e MessageConfig_RocketMQValidationError) Key() bool
Key function returns key value.
func (MessageConfig_RocketMQValidationError) Reason ¶
func (e MessageConfig_RocketMQValidationError) Reason() string
Reason function returns reason value.
type MetricConfig ¶
type MetricConfig struct {
Includes []string `protobuf:"bytes,2,rep,name=includes,proto3" json:"includes,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
metric config.
func (*MetricConfig) Descriptor
deprecated
func (*MetricConfig) Descriptor() ([]byte, []int)
Deprecated: Use MetricConfig.ProtoReflect.Descriptor instead.
func (*MetricConfig) GetIncludes ¶
func (x *MetricConfig) GetIncludes() []string
func (*MetricConfig) GetName ¶
func (x *MetricConfig) GetName() string
func (*MetricConfig) ProtoMessage ¶
func (*MetricConfig) ProtoMessage()
func (*MetricConfig) ProtoReflect ¶
func (x *MetricConfig) ProtoReflect() protoreflect.Message
func (*MetricConfig) Reset ¶
func (x *MetricConfig) Reset()
func (*MetricConfig) String ¶
func (x *MetricConfig) String() string
func (*MetricConfig) Validate ¶
func (m *MetricConfig) Validate() error
Validate checks the field values on MetricConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MetricConfig) ValidateAll ¶
func (m *MetricConfig) ValidateAll() error
ValidateAll checks the field values on MetricConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MetricConfigMultiError, or nil if none found.
type MetricConfigMultiError ¶
type MetricConfigMultiError []error
MetricConfigMultiError is an error wrapping multiple validation errors returned by MetricConfig.ValidateAll() if the designated constraints aren't met.
func (MetricConfigMultiError) AllErrors ¶
func (m MetricConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MetricConfigMultiError) Error ¶
func (m MetricConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MetricConfigValidationError ¶
type MetricConfigValidationError struct {
// contains filtered or unexported fields
}
MetricConfigValidationError is the validation error returned by MetricConfig.Validate if the designated constraints aren't met.
func (MetricConfigValidationError) Cause ¶
func (e MetricConfigValidationError) Cause() error
Cause function returns cause value.
func (MetricConfigValidationError) Error ¶
func (e MetricConfigValidationError) Error() string
Error satisfies the builtin error interface
func (MetricConfigValidationError) ErrorName ¶
func (e MetricConfigValidationError) ErrorName() string
ErrorName returns error name.
func (MetricConfigValidationError) Field ¶
func (e MetricConfigValidationError) Field() string
Field function returns field value.
func (MetricConfigValidationError) Key ¶
func (e MetricConfigValidationError) Key() bool
Key function returns key value.
func (MetricConfigValidationError) Reason ¶
func (e MetricConfigValidationError) Reason() string
Reason function returns reason value.
type MiddlewareConfig ¶
type MiddlewareConfig struct {
Cors *CorsConfig `protobuf:"bytes,1,opt,name=cors,proto3" json:"cors,omitempty"`
Metric *MetricConfig `protobuf:"bytes,2,opt,name=metric,proto3" json:"metric,omitempty"`
Logger *LoggerConfig `protobuf:"bytes,3,opt,name=logger,proto3" json:"logger,omitempty"`
Security *SecurityConfig `protobuf:"bytes,4,opt,name=security,proto3" json:"security,omitempty"`
Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
func (*MiddlewareConfig) Descriptor
deprecated
func (*MiddlewareConfig) Descriptor() ([]byte, []int)
Deprecated: Use MiddlewareConfig.ProtoReflect.Descriptor instead.
func (*MiddlewareConfig) GetCors ¶
func (x *MiddlewareConfig) GetCors() *CorsConfig
func (*MiddlewareConfig) GetLogger ¶
func (x *MiddlewareConfig) GetLogger() *LoggerConfig
func (*MiddlewareConfig) GetMetric ¶
func (x *MiddlewareConfig) GetMetric() *MetricConfig
func (*MiddlewareConfig) GetSecurity ¶
func (x *MiddlewareConfig) GetSecurity() *SecurityConfig
func (*MiddlewareConfig) GetTimeout ¶
func (x *MiddlewareConfig) GetTimeout() *durationpb.Duration
func (*MiddlewareConfig) ProtoMessage ¶
func (*MiddlewareConfig) ProtoMessage()
func (*MiddlewareConfig) ProtoReflect ¶
func (x *MiddlewareConfig) ProtoReflect() protoreflect.Message
func (*MiddlewareConfig) Reset ¶
func (x *MiddlewareConfig) Reset()
func (*MiddlewareConfig) String ¶
func (x *MiddlewareConfig) String() string
func (*MiddlewareConfig) Validate ¶
func (m *MiddlewareConfig) Validate() error
Validate checks the field values on MiddlewareConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MiddlewareConfig) ValidateAll ¶
func (m *MiddlewareConfig) ValidateAll() error
ValidateAll checks the field values on MiddlewareConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MiddlewareConfigMultiError, or nil if none found.
type MiddlewareConfigMultiError ¶
type MiddlewareConfigMultiError []error
MiddlewareConfigMultiError is an error wrapping multiple validation errors returned by MiddlewareConfig.ValidateAll() if the designated constraints aren't met.
func (MiddlewareConfigMultiError) AllErrors ¶
func (m MiddlewareConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MiddlewareConfigMultiError) Error ¶
func (m MiddlewareConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MiddlewareConfigValidationError ¶
type MiddlewareConfigValidationError struct {
// contains filtered or unexported fields
}
MiddlewareConfigValidationError is the validation error returned by MiddlewareConfig.Validate if the designated constraints aren't met.
func (MiddlewareConfigValidationError) Cause ¶
func (e MiddlewareConfigValidationError) Cause() error
Cause function returns cause value.
func (MiddlewareConfigValidationError) Error ¶
func (e MiddlewareConfigValidationError) Error() string
Error satisfies the builtin error interface
func (MiddlewareConfigValidationError) ErrorName ¶
func (e MiddlewareConfigValidationError) ErrorName() string
ErrorName returns error name.
func (MiddlewareConfigValidationError) Field ¶
func (e MiddlewareConfigValidationError) Field() string
Field function returns field value.
func (MiddlewareConfigValidationError) Key ¶
func (e MiddlewareConfigValidationError) Key() bool
Key function returns key value.
func (MiddlewareConfigValidationError) Reason ¶
func (e MiddlewareConfigValidationError) Reason() string
Reason function returns reason value.
type RegistryConfig ¶
type RegistryConfig struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Type
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Name
Consul *RegistryConfig_Consul `protobuf:"bytes,3,opt,name=consul,proto3,oneof" json:"consul,omitempty"` // Consul
Etcd *RegistryConfig_ETCD `protobuf:"bytes,4,opt,name=etcd,proto3,oneof" json:"etcd,omitempty"` // ETCD
// contains filtered or unexported fields
}
Registration registry center
func (*RegistryConfig) Descriptor
deprecated
func (*RegistryConfig) Descriptor() ([]byte, []int)
Deprecated: Use RegistryConfig.ProtoReflect.Descriptor instead.
func (*RegistryConfig) GetConsul ¶
func (x *RegistryConfig) GetConsul() *RegistryConfig_Consul
func (*RegistryConfig) GetEtcd ¶
func (x *RegistryConfig) GetEtcd() *RegistryConfig_ETCD
func (*RegistryConfig) GetName ¶
func (x *RegistryConfig) GetName() string
func (*RegistryConfig) GetType ¶
func (x *RegistryConfig) GetType() string
func (*RegistryConfig) ProtoMessage ¶
func (*RegistryConfig) ProtoMessage()
func (*RegistryConfig) ProtoReflect ¶
func (x *RegistryConfig) ProtoReflect() protoreflect.Message
func (*RegistryConfig) Reset ¶
func (x *RegistryConfig) Reset()
func (*RegistryConfig) String ¶
func (x *RegistryConfig) String() string
func (*RegistryConfig) Validate ¶
func (m *RegistryConfig) Validate() error
Validate checks the field values on RegistryConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegistryConfig) ValidateAll ¶
func (m *RegistryConfig) ValidateAll() error
ValidateAll checks the field values on RegistryConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegistryConfigMultiError, or nil if none found.
type RegistryConfigMultiError ¶
type RegistryConfigMultiError []error
RegistryConfigMultiError is an error wrapping multiple validation errors returned by RegistryConfig.ValidateAll() if the designated constraints aren't met.
func (RegistryConfigMultiError) AllErrors ¶
func (m RegistryConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegistryConfigMultiError) Error ¶
func (m RegistryConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegistryConfigValidationError ¶
type RegistryConfigValidationError struct {
// contains filtered or unexported fields
}
RegistryConfigValidationError is the validation error returned by RegistryConfig.Validate if the designated constraints aren't met.
func (RegistryConfigValidationError) Cause ¶
func (e RegistryConfigValidationError) Cause() error
Cause function returns cause value.
func (RegistryConfigValidationError) Error ¶
func (e RegistryConfigValidationError) Error() string
Error satisfies the builtin error interface
func (RegistryConfigValidationError) ErrorName ¶
func (e RegistryConfigValidationError) ErrorName() string
ErrorName returns error name.
func (RegistryConfigValidationError) Field ¶
func (e RegistryConfigValidationError) Field() string
Field function returns field value.
func (RegistryConfigValidationError) Key ¶
func (e RegistryConfigValidationError) Key() bool
Key function returns key value.
func (RegistryConfigValidationError) Reason ¶
func (e RegistryConfigValidationError) Reason() string
Reason function returns reason value.
type RegistryConfig_Consul ¶
type RegistryConfig_Consul struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"`
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
HeartBeat bool `protobuf:"varint,4,opt,name=heart_beat,proto3" json:"heart_beat,omitempty"`
HealthCheck bool `protobuf:"varint,5,opt,name=health_check,proto3" json:"health_check,omitempty"`
Datacenter string `protobuf:"bytes,6,opt,name=datacenter,proto3" json:"datacenter,omitempty"`
// string tag = 7 [json_name = "tag"];
HealthCheckInterval uint32 `protobuf:"varint,8,opt,name=health_check_interval,proto3" json:"health_check_interval,omitempty"`
// string health_check_timeout = 9[json_name = "health_check_timeout"];
Timeout *durationpb.Duration `protobuf:"bytes,10,opt,name=timeout,proto3" json:"timeout,omitempty"`
DeregisterCriticalServiceAfter uint32 `protobuf:"varint,11,opt,name=deregister_critical_service_after,proto3" json:"deregister_critical_service_after,omitempty"`
// contains filtered or unexported fields
}
Consul
func (*RegistryConfig_Consul) Descriptor
deprecated
func (*RegistryConfig_Consul) Descriptor() ([]byte, []int)
Deprecated: Use RegistryConfig_Consul.ProtoReflect.Descriptor instead.
func (*RegistryConfig_Consul) GetAddress ¶
func (x *RegistryConfig_Consul) GetAddress() string
func (*RegistryConfig_Consul) GetDatacenter ¶
func (x *RegistryConfig_Consul) GetDatacenter() string
func (*RegistryConfig_Consul) GetDeregisterCriticalServiceAfter ¶
func (x *RegistryConfig_Consul) GetDeregisterCriticalServiceAfter() uint32
func (*RegistryConfig_Consul) GetHealthCheck ¶
func (x *RegistryConfig_Consul) GetHealthCheck() bool
func (*RegistryConfig_Consul) GetHealthCheckInterval ¶
func (x *RegistryConfig_Consul) GetHealthCheckInterval() uint32
func (*RegistryConfig_Consul) GetHeartBeat ¶
func (x *RegistryConfig_Consul) GetHeartBeat() bool
func (*RegistryConfig_Consul) GetScheme ¶
func (x *RegistryConfig_Consul) GetScheme() string
func (*RegistryConfig_Consul) GetTimeout ¶
func (x *RegistryConfig_Consul) GetTimeout() *durationpb.Duration
func (*RegistryConfig_Consul) GetToken ¶
func (x *RegistryConfig_Consul) GetToken() string
func (*RegistryConfig_Consul) ProtoMessage ¶
func (*RegistryConfig_Consul) ProtoMessage()
func (*RegistryConfig_Consul) ProtoReflect ¶
func (x *RegistryConfig_Consul) ProtoReflect() protoreflect.Message
func (*RegistryConfig_Consul) Reset ¶
func (x *RegistryConfig_Consul) Reset()
func (*RegistryConfig_Consul) String ¶
func (x *RegistryConfig_Consul) String() string
func (*RegistryConfig_Consul) Validate ¶
func (m *RegistryConfig_Consul) Validate() error
Validate checks the field values on RegistryConfig_Consul with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegistryConfig_Consul) ValidateAll ¶
func (m *RegistryConfig_Consul) ValidateAll() error
ValidateAll checks the field values on RegistryConfig_Consul with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegistryConfig_ConsulMultiError, or nil if none found.
type RegistryConfig_ConsulMultiError ¶
type RegistryConfig_ConsulMultiError []error
RegistryConfig_ConsulMultiError is an error wrapping multiple validation errors returned by RegistryConfig_Consul.ValidateAll() if the designated constraints aren't met.
func (RegistryConfig_ConsulMultiError) AllErrors ¶
func (m RegistryConfig_ConsulMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegistryConfig_ConsulMultiError) Error ¶
func (m RegistryConfig_ConsulMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegistryConfig_ConsulValidationError ¶
type RegistryConfig_ConsulValidationError struct {
// contains filtered or unexported fields
}
RegistryConfig_ConsulValidationError is the validation error returned by RegistryConfig_Consul.Validate if the designated constraints aren't met.
func (RegistryConfig_ConsulValidationError) Cause ¶
func (e RegistryConfig_ConsulValidationError) Cause() error
Cause function returns cause value.
func (RegistryConfig_ConsulValidationError) Error ¶
func (e RegistryConfig_ConsulValidationError) Error() string
Error satisfies the builtin error interface
func (RegistryConfig_ConsulValidationError) ErrorName ¶
func (e RegistryConfig_ConsulValidationError) ErrorName() string
ErrorName returns error name.
func (RegistryConfig_ConsulValidationError) Field ¶
func (e RegistryConfig_ConsulValidationError) Field() string
Field function returns field value.
func (RegistryConfig_ConsulValidationError) Key ¶
func (e RegistryConfig_ConsulValidationError) Key() bool
Key function returns key value.
func (RegistryConfig_ConsulValidationError) Reason ¶
func (e RegistryConfig_ConsulValidationError) Reason() string
Reason function returns reason value.
type RegistryConfig_ETCD ¶
type RegistryConfig_ETCD struct {
Endpoints []string `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
// contains filtered or unexported fields
}
func (*RegistryConfig_ETCD) Descriptor
deprecated
func (*RegistryConfig_ETCD) Descriptor() ([]byte, []int)
Deprecated: Use RegistryConfig_ETCD.ProtoReflect.Descriptor instead.
func (*RegistryConfig_ETCD) GetEndpoints ¶
func (x *RegistryConfig_ETCD) GetEndpoints() []string
func (*RegistryConfig_ETCD) ProtoMessage ¶
func (*RegistryConfig_ETCD) ProtoMessage()
func (*RegistryConfig_ETCD) ProtoReflect ¶
func (x *RegistryConfig_ETCD) ProtoReflect() protoreflect.Message
func (*RegistryConfig_ETCD) Reset ¶
func (x *RegistryConfig_ETCD) Reset()
func (*RegistryConfig_ETCD) String ¶
func (x *RegistryConfig_ETCD) String() string
func (*RegistryConfig_ETCD) Validate ¶
func (m *RegistryConfig_ETCD) Validate() error
Validate checks the field values on RegistryConfig_ETCD with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegistryConfig_ETCD) ValidateAll ¶
func (m *RegistryConfig_ETCD) ValidateAll() error
ValidateAll checks the field values on RegistryConfig_ETCD with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegistryConfig_ETCDMultiError, or nil if none found.
type RegistryConfig_ETCDMultiError ¶
type RegistryConfig_ETCDMultiError []error
RegistryConfig_ETCDMultiError is an error wrapping multiple validation errors returned by RegistryConfig_ETCD.ValidateAll() if the designated constraints aren't met.
func (RegistryConfig_ETCDMultiError) AllErrors ¶
func (m RegistryConfig_ETCDMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegistryConfig_ETCDMultiError) Error ¶
func (m RegistryConfig_ETCDMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegistryConfig_ETCDValidationError ¶
type RegistryConfig_ETCDValidationError struct {
// contains filtered or unexported fields
}
RegistryConfig_ETCDValidationError is the validation error returned by RegistryConfig_ETCD.Validate if the designated constraints aren't met.
func (RegistryConfig_ETCDValidationError) Cause ¶
func (e RegistryConfig_ETCDValidationError) Cause() error
Cause function returns cause value.
func (RegistryConfig_ETCDValidationError) Error ¶
func (e RegistryConfig_ETCDValidationError) Error() string
Error satisfies the builtin error interface
func (RegistryConfig_ETCDValidationError) ErrorName ¶
func (e RegistryConfig_ETCDValidationError) ErrorName() string
ErrorName returns error name.
func (RegistryConfig_ETCDValidationError) Field ¶
func (e RegistryConfig_ETCDValidationError) Field() string
Field function returns field value.
func (RegistryConfig_ETCDValidationError) Key ¶
func (e RegistryConfig_ETCDValidationError) Key() bool
Key function returns key value.
func (RegistryConfig_ETCDValidationError) Reason ¶
func (e RegistryConfig_ETCDValidationError) Reason() string
Reason function returns reason value.
type SecurityConfig ¶
type SecurityConfig struct {
AllowedMethodPaths []string `protobuf:"bytes,2,rep,name=allowed_method_paths,proto3" json:"allowed_method_paths,omitempty"` // Direct release method paths
Authorization *AuthorizationConfig `protobuf:"bytes,5,opt,name=authorization,proto3" json:"authorization,omitempty"` // AuthorizationConfig
Casbin *CasbinConfig `protobuf:"bytes,6,opt,name=casbin,proto3" json:"casbin,omitempty"` // CasbinConfig
// contains filtered or unexported fields
}
Security middleware config.
func (*SecurityConfig) Descriptor
deprecated
func (*SecurityConfig) Descriptor() ([]byte, []int)
Deprecated: Use SecurityConfig.ProtoReflect.Descriptor instead.
func (*SecurityConfig) GetAllowedMethodPaths ¶
func (x *SecurityConfig) GetAllowedMethodPaths() []string
func (*SecurityConfig) GetAuthorization ¶
func (x *SecurityConfig) GetAuthorization() *AuthorizationConfig
func (*SecurityConfig) GetCasbin ¶
func (x *SecurityConfig) GetCasbin() *CasbinConfig
func (*SecurityConfig) ProtoMessage ¶
func (*SecurityConfig) ProtoMessage()
func (*SecurityConfig) ProtoReflect ¶
func (x *SecurityConfig) ProtoReflect() protoreflect.Message
func (*SecurityConfig) Reset ¶
func (x *SecurityConfig) Reset()
func (*SecurityConfig) String ¶
func (x *SecurityConfig) String() string
func (*SecurityConfig) Validate ¶
func (m *SecurityConfig) Validate() error
Validate checks the field values on SecurityConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SecurityConfig) ValidateAll ¶
func (m *SecurityConfig) ValidateAll() error
ValidateAll checks the field values on SecurityConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SecurityConfigMultiError, or nil if none found.
type SecurityConfigMultiError ¶
type SecurityConfigMultiError []error
SecurityConfigMultiError is an error wrapping multiple validation errors returned by SecurityConfig.ValidateAll() if the designated constraints aren't met.
func (SecurityConfigMultiError) AllErrors ¶
func (m SecurityConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SecurityConfigMultiError) Error ¶
func (m SecurityConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SecurityConfigValidationError ¶
type SecurityConfigValidationError struct {
// contains filtered or unexported fields
}
SecurityConfigValidationError is the validation error returned by SecurityConfig.Validate if the designated constraints aren't met.
func (SecurityConfigValidationError) Cause ¶
func (e SecurityConfigValidationError) Cause() error
Cause function returns cause value.
func (SecurityConfigValidationError) Error ¶
func (e SecurityConfigValidationError) Error() string
Error satisfies the builtin error interface
func (SecurityConfigValidationError) ErrorName ¶
func (e SecurityConfigValidationError) ErrorName() string
ErrorName returns error name.
func (SecurityConfigValidationError) Field ¶
func (e SecurityConfigValidationError) Field() string
Field function returns field value.
func (SecurityConfigValidationError) Key ¶
func (e SecurityConfigValidationError) Key() bool
Key function returns key value.
func (SecurityConfigValidationError) Reason ¶
func (e SecurityConfigValidationError) Reason() string
Reason function returns reason value.
type ServiceConfig ¶
type ServiceConfig struct {
Entry *ServiceConfig_Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
Gins *ServiceConfig_GINS `protobuf:"bytes,2,opt,name=gins,proto3" json:"gins,omitempty"`
Http *ServiceConfig_HTTP `protobuf:"bytes,3,opt,name=http,proto3" json:"http,omitempty"`
Grpc *ServiceConfig_GRPC `protobuf:"bytes,4,opt,name=grpc,proto3" json:"grpc,omitempty"`
Websocket *ServiceConfig_Websocket `protobuf:"bytes,5,opt,name=websocket,proto3" json:"websocket,omitempty"`
Message *MessageConfig `protobuf:"bytes,10,opt,name=message,proto3" json:"message,omitempty"`
Task *TaskConfig `protobuf:"bytes,20,opt,name=task,proto3" json:"task,omitempty"`
Host string `protobuf:"bytes,99,opt,name=host,proto3" json:"host,omitempty"`
// contains filtered or unexported fields
}
func (*ServiceConfig) Descriptor
deprecated
func (*ServiceConfig) Descriptor() ([]byte, []int)
Deprecated: Use ServiceConfig.ProtoReflect.Descriptor instead.
func (*ServiceConfig) GetEntry ¶
func (x *ServiceConfig) GetEntry() *ServiceConfig_Entry
func (*ServiceConfig) GetGins ¶
func (x *ServiceConfig) GetGins() *ServiceConfig_GINS
func (*ServiceConfig) GetGrpc ¶
func (x *ServiceConfig) GetGrpc() *ServiceConfig_GRPC
func (*ServiceConfig) GetHost ¶
func (x *ServiceConfig) GetHost() string
func (*ServiceConfig) GetHttp ¶
func (x *ServiceConfig) GetHttp() *ServiceConfig_HTTP
func (*ServiceConfig) GetMessage ¶
func (x *ServiceConfig) GetMessage() *MessageConfig
func (*ServiceConfig) GetTask ¶
func (x *ServiceConfig) GetTask() *TaskConfig
func (*ServiceConfig) GetWebsocket ¶
func (x *ServiceConfig) GetWebsocket() *ServiceConfig_Websocket
func (*ServiceConfig) ProtoMessage ¶
func (*ServiceConfig) ProtoMessage()
func (*ServiceConfig) ProtoReflect ¶
func (x *ServiceConfig) ProtoReflect() protoreflect.Message
func (*ServiceConfig) Reset ¶
func (x *ServiceConfig) Reset()
func (*ServiceConfig) String ¶
func (x *ServiceConfig) String() string
func (*ServiceConfig) Validate ¶
func (m *ServiceConfig) Validate() error
Validate checks the field values on ServiceConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceConfig) ValidateAll ¶
func (m *ServiceConfig) ValidateAll() error
ValidateAll checks the field values on ServiceConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceConfigMultiError, or nil if none found.
type ServiceConfigMultiError ¶
type ServiceConfigMultiError []error
ServiceConfigMultiError is an error wrapping multiple validation errors returned by ServiceConfig.ValidateAll() if the designated constraints aren't met.
func (ServiceConfigMultiError) AllErrors ¶
func (m ServiceConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceConfigMultiError) Error ¶
func (m ServiceConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceConfigValidationError ¶
type ServiceConfigValidationError struct {
// contains filtered or unexported fields
}
ServiceConfigValidationError is the validation error returned by ServiceConfig.Validate if the designated constraints aren't met.
func (ServiceConfigValidationError) Cause ¶
func (e ServiceConfigValidationError) Cause() error
Cause function returns cause value.
func (ServiceConfigValidationError) Error ¶
func (e ServiceConfigValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceConfigValidationError) ErrorName ¶
func (e ServiceConfigValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceConfigValidationError) Field ¶
func (e ServiceConfigValidationError) Field() string
Field function returns field value.
func (ServiceConfigValidationError) Key ¶
func (e ServiceConfigValidationError) Key() bool
Key function returns key value.
func (ServiceConfigValidationError) Reason ¶
func (e ServiceConfigValidationError) Reason() string
Reason function returns reason value.
type ServiceConfig_Entry ¶
type ServiceConfig_Entry struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
Weight string `protobuf:"bytes,4,opt,name=weight,proto3" json:"weight,omitempty"`
Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
EnableSwagger bool `protobuf:"varint,6,opt,name=enable_swagger,proto3" json:"enable_swagger,omitempty"`
EnablePprof bool `protobuf:"varint,7,opt,name=enable_pprof,proto3" json:"enable_pprof,omitempty"`
Selector *EntrySelectorConfig `protobuf:"bytes,8,opt,name=selector,proto3" json:"selector,omitempty"`
// contains filtered or unexported fields
}
Entry
func (*ServiceConfig_Entry) Descriptor
deprecated
func (*ServiceConfig_Entry) Descriptor() ([]byte, []int)
Deprecated: Use ServiceConfig_Entry.ProtoReflect.Descriptor instead.
func (*ServiceConfig_Entry) GetAddr ¶
func (x *ServiceConfig_Entry) GetAddr() string
func (*ServiceConfig_Entry) GetEnablePprof ¶
func (x *ServiceConfig_Entry) GetEnablePprof() bool
func (*ServiceConfig_Entry) GetEnableSwagger ¶
func (x *ServiceConfig_Entry) GetEnableSwagger() bool
func (*ServiceConfig_Entry) GetName ¶
func (x *ServiceConfig_Entry) GetName() string
func (*ServiceConfig_Entry) GetNetwork ¶
func (x *ServiceConfig_Entry) GetNetwork() string
func (*ServiceConfig_Entry) GetSelector ¶
func (x *ServiceConfig_Entry) GetSelector() *EntrySelectorConfig
func (*ServiceConfig_Entry) GetTimeout ¶
func (x *ServiceConfig_Entry) GetTimeout() *durationpb.Duration
func (*ServiceConfig_Entry) GetWeight ¶
func (x *ServiceConfig_Entry) GetWeight() string
func (*ServiceConfig_Entry) ProtoMessage ¶
func (*ServiceConfig_Entry) ProtoMessage()
func (*ServiceConfig_Entry) ProtoReflect ¶
func (x *ServiceConfig_Entry) ProtoReflect() protoreflect.Message
func (*ServiceConfig_Entry) Reset ¶
func (x *ServiceConfig_Entry) Reset()
func (*ServiceConfig_Entry) String ¶
func (x *ServiceConfig_Entry) String() string
func (*ServiceConfig_Entry) Validate ¶
func (m *ServiceConfig_Entry) Validate() error
Validate checks the field values on ServiceConfig_Entry with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceConfig_Entry) ValidateAll ¶
func (m *ServiceConfig_Entry) ValidateAll() error
ValidateAll checks the field values on ServiceConfig_Entry with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceConfig_EntryMultiError, or nil if none found.
type ServiceConfig_EntryMultiError ¶
type ServiceConfig_EntryMultiError []error
ServiceConfig_EntryMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Entry.ValidateAll() if the designated constraints aren't met.
func (ServiceConfig_EntryMultiError) AllErrors ¶
func (m ServiceConfig_EntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceConfig_EntryMultiError) Error ¶
func (m ServiceConfig_EntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceConfig_EntryValidationError ¶
type ServiceConfig_EntryValidationError struct {
// contains filtered or unexported fields
}
ServiceConfig_EntryValidationError is the validation error returned by ServiceConfig_Entry.Validate if the designated constraints aren't met.
func (ServiceConfig_EntryValidationError) Cause ¶
func (e ServiceConfig_EntryValidationError) Cause() error
Cause function returns cause value.
func (ServiceConfig_EntryValidationError) Error ¶
func (e ServiceConfig_EntryValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceConfig_EntryValidationError) ErrorName ¶
func (e ServiceConfig_EntryValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceConfig_EntryValidationError) Field ¶
func (e ServiceConfig_EntryValidationError) Field() string
Field function returns field value.
func (ServiceConfig_EntryValidationError) Key ¶
func (e ServiceConfig_EntryValidationError) Key() bool
Key function returns key value.
func (ServiceConfig_EntryValidationError) Reason ¶
func (e ServiceConfig_EntryValidationError) Reason() string
Reason function returns reason value.
type ServiceConfig_GINS ¶
type ServiceConfig_GINS struct {
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
UseTls bool `protobuf:"varint,3,opt,name=use_tls,proto3" json:"use_tls,omitempty"`
CertFile string `protobuf:"bytes,4,opt,name=cert_file,proto3" json:"cert_file,omitempty"`
KeyFile string `protobuf:"bytes,5,opt,name=key_file,proto3" json:"key_file,omitempty"`
Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
ShutdownTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=shutdown_timeout,proto3,oneof" json:"shutdown_timeout,omitempty"`
ReadTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=read_timeout,proto3,oneof" json:"read_timeout,omitempty"`
WriteTimeout *durationpb.Duration `protobuf:"bytes,9,opt,name=write_timeout,proto3,oneof" json:"write_timeout,omitempty"`
IdleTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=idle_timeout,proto3,oneof" json:"idle_timeout,omitempty"`
Endpoint string `protobuf:"bytes,11,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// contains filtered or unexported fields
}
GINS
func (*ServiceConfig_GINS) Descriptor
deprecated
func (*ServiceConfig_GINS) Descriptor() ([]byte, []int)
Deprecated: Use ServiceConfig_GINS.ProtoReflect.Descriptor instead.
func (*ServiceConfig_GINS) GetAddr ¶
func (x *ServiceConfig_GINS) GetAddr() string
func (*ServiceConfig_GINS) GetCertFile ¶
func (x *ServiceConfig_GINS) GetCertFile() string
func (*ServiceConfig_GINS) GetEndpoint ¶
func (x *ServiceConfig_GINS) GetEndpoint() string
func (*ServiceConfig_GINS) GetIdleTimeout ¶
func (x *ServiceConfig_GINS) GetIdleTimeout() *durationpb.Duration
func (*ServiceConfig_GINS) GetKeyFile ¶
func (x *ServiceConfig_GINS) GetKeyFile() string
func (*ServiceConfig_GINS) GetNetwork ¶
func (x *ServiceConfig_GINS) GetNetwork() string
func (*ServiceConfig_GINS) GetReadTimeout ¶
func (x *ServiceConfig_GINS) GetReadTimeout() *durationpb.Duration
func (*ServiceConfig_GINS) GetShutdownTimeout ¶
func (x *ServiceConfig_GINS) GetShutdownTimeout() *durationpb.Duration
func (*ServiceConfig_GINS) GetTimeout ¶
func (x *ServiceConfig_GINS) GetTimeout() *durationpb.Duration
func (*ServiceConfig_GINS) GetUseTls ¶
func (x *ServiceConfig_GINS) GetUseTls() bool
func (*ServiceConfig_GINS) GetWriteTimeout ¶
func (x *ServiceConfig_GINS) GetWriteTimeout() *durationpb.Duration
func (*ServiceConfig_GINS) ProtoMessage ¶
func (*ServiceConfig_GINS) ProtoMessage()
func (*ServiceConfig_GINS) ProtoReflect ¶
func (x *ServiceConfig_GINS) ProtoReflect() protoreflect.Message
func (*ServiceConfig_GINS) Reset ¶
func (x *ServiceConfig_GINS) Reset()
func (*ServiceConfig_GINS) String ¶
func (x *ServiceConfig_GINS) String() string
func (*ServiceConfig_GINS) Validate ¶
func (m *ServiceConfig_GINS) Validate() error
Validate checks the field values on ServiceConfig_GINS with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceConfig_GINS) ValidateAll ¶
func (m *ServiceConfig_GINS) ValidateAll() error
ValidateAll checks the field values on ServiceConfig_GINS with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceConfig_GINSMultiError, or nil if none found.
type ServiceConfig_GINSMultiError ¶
type ServiceConfig_GINSMultiError []error
ServiceConfig_GINSMultiError is an error wrapping multiple validation errors returned by ServiceConfig_GINS.ValidateAll() if the designated constraints aren't met.
func (ServiceConfig_GINSMultiError) AllErrors ¶
func (m ServiceConfig_GINSMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceConfig_GINSMultiError) Error ¶
func (m ServiceConfig_GINSMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceConfig_GINSValidationError ¶
type ServiceConfig_GINSValidationError struct {
// contains filtered or unexported fields
}
ServiceConfig_GINSValidationError is the validation error returned by ServiceConfig_GINS.Validate if the designated constraints aren't met.
func (ServiceConfig_GINSValidationError) Cause ¶
func (e ServiceConfig_GINSValidationError) Cause() error
Cause function returns cause value.
func (ServiceConfig_GINSValidationError) Error ¶
func (e ServiceConfig_GINSValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceConfig_GINSValidationError) ErrorName ¶
func (e ServiceConfig_GINSValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceConfig_GINSValidationError) Field ¶
func (e ServiceConfig_GINSValidationError) Field() string
Field function returns field value.
func (ServiceConfig_GINSValidationError) Key ¶
func (e ServiceConfig_GINSValidationError) Key() bool
Key function returns key value.
func (ServiceConfig_GINSValidationError) Reason ¶
func (e ServiceConfig_GINSValidationError) Reason() string
Reason function returns reason value.
type ServiceConfig_GRPC ¶
type ServiceConfig_GRPC struct {
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
UseTls bool `protobuf:"varint,3,opt,name=use_tls,proto3" json:"use_tls,omitempty"`
CertFile string `protobuf:"bytes,4,opt,name=cert_file,proto3" json:"cert_file,omitempty"`
KeyFile string `protobuf:"bytes,5,opt,name=key_file,proto3" json:"key_file,omitempty"`
Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
ShutdownTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=shutdown_timeout,proto3,oneof" json:"shutdown_timeout,omitempty"`
ReadTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=read_timeout,proto3,oneof" json:"read_timeout,omitempty"`
WriteTimeout *durationpb.Duration `protobuf:"bytes,9,opt,name=write_timeout,proto3,oneof" json:"write_timeout,omitempty"`
IdleTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=idle_timeout,proto3,oneof" json:"idle_timeout,omitempty"`
Endpoint string `protobuf:"bytes,11,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// contains filtered or unexported fields
}
GRPC
func (*ServiceConfig_GRPC) Descriptor
deprecated
func (*ServiceConfig_GRPC) Descriptor() ([]byte, []int)
Deprecated: Use ServiceConfig_GRPC.ProtoReflect.Descriptor instead.
func (*ServiceConfig_GRPC) GetAddr ¶
func (x *ServiceConfig_GRPC) GetAddr() string
func (*ServiceConfig_GRPC) GetCertFile ¶
func (x *ServiceConfig_GRPC) GetCertFile() string
func (*ServiceConfig_GRPC) GetEndpoint ¶
func (x *ServiceConfig_GRPC) GetEndpoint() string
func (*ServiceConfig_GRPC) GetIdleTimeout ¶
func (x *ServiceConfig_GRPC) GetIdleTimeout() *durationpb.Duration
func (*ServiceConfig_GRPC) GetKeyFile ¶
func (x *ServiceConfig_GRPC) GetKeyFile() string
func (*ServiceConfig_GRPC) GetNetwork ¶
func (x *ServiceConfig_GRPC) GetNetwork() string
func (*ServiceConfig_GRPC) GetReadTimeout ¶
func (x *ServiceConfig_GRPC) GetReadTimeout() *durationpb.Duration
func (*ServiceConfig_GRPC) GetShutdownTimeout ¶
func (x *ServiceConfig_GRPC) GetShutdownTimeout() *durationpb.Duration
func (*ServiceConfig_GRPC) GetTimeout ¶
func (x *ServiceConfig_GRPC) GetTimeout() *durationpb.Duration
func (*ServiceConfig_GRPC) GetUseTls ¶
func (x *ServiceConfig_GRPC) GetUseTls() bool
func (*ServiceConfig_GRPC) GetWriteTimeout ¶
func (x *ServiceConfig_GRPC) GetWriteTimeout() *durationpb.Duration
func (*ServiceConfig_GRPC) ProtoMessage ¶
func (*ServiceConfig_GRPC) ProtoMessage()
func (*ServiceConfig_GRPC) ProtoReflect ¶
func (x *ServiceConfig_GRPC) ProtoReflect() protoreflect.Message
func (*ServiceConfig_GRPC) Reset ¶
func (x *ServiceConfig_GRPC) Reset()
func (*ServiceConfig_GRPC) String ¶
func (x *ServiceConfig_GRPC) String() string
func (*ServiceConfig_GRPC) Validate ¶
func (m *ServiceConfig_GRPC) Validate() error
Validate checks the field values on ServiceConfig_GRPC with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceConfig_GRPC) ValidateAll ¶
func (m *ServiceConfig_GRPC) ValidateAll() error
ValidateAll checks the field values on ServiceConfig_GRPC with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceConfig_GRPCMultiError, or nil if none found.
type ServiceConfig_GRPCMultiError ¶
type ServiceConfig_GRPCMultiError []error
ServiceConfig_GRPCMultiError is an error wrapping multiple validation errors returned by ServiceConfig_GRPC.ValidateAll() if the designated constraints aren't met.
func (ServiceConfig_GRPCMultiError) AllErrors ¶
func (m ServiceConfig_GRPCMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceConfig_GRPCMultiError) Error ¶
func (m ServiceConfig_GRPCMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceConfig_GRPCValidationError ¶
type ServiceConfig_GRPCValidationError struct {
// contains filtered or unexported fields
}
ServiceConfig_GRPCValidationError is the validation error returned by ServiceConfig_GRPC.Validate if the designated constraints aren't met.
func (ServiceConfig_GRPCValidationError) Cause ¶
func (e ServiceConfig_GRPCValidationError) Cause() error
Cause function returns cause value.
func (ServiceConfig_GRPCValidationError) Error ¶
func (e ServiceConfig_GRPCValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceConfig_GRPCValidationError) ErrorName ¶
func (e ServiceConfig_GRPCValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceConfig_GRPCValidationError) Field ¶
func (e ServiceConfig_GRPCValidationError) Field() string
Field function returns field value.
func (ServiceConfig_GRPCValidationError) Key ¶
func (e ServiceConfig_GRPCValidationError) Key() bool
Key function returns key value.
func (ServiceConfig_GRPCValidationError) Reason ¶
func (e ServiceConfig_GRPCValidationError) Reason() string
Reason function returns reason value.
type ServiceConfig_HTTP ¶
type ServiceConfig_HTTP struct {
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
UseTls bool `protobuf:"varint,3,opt,name=use_tls,proto3" json:"use_tls,omitempty"`
CertFile string `protobuf:"bytes,4,opt,name=cert_file,proto3" json:"cert_file,omitempty"`
KeyFile string `protobuf:"bytes,5,opt,name=key_file,proto3" json:"key_file,omitempty"`
Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
ShutdownTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=shutdown_timeout,proto3" json:"shutdown_timeout,omitempty"`
ReadTimeout *durationpb.Duration `protobuf:"bytes,8,opt,name=read_timeout,proto3" json:"read_timeout,omitempty"`
WriteTimeout *durationpb.Duration `protobuf:"bytes,9,opt,name=write_timeout,proto3" json:"write_timeout,omitempty"`
IdleTimeout *durationpb.Duration `protobuf:"bytes,10,opt,name=idle_timeout,proto3" json:"idle_timeout,omitempty"`
Endpoint string `protobuf:"bytes,11,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// contains filtered or unexported fields
}
HTTP
func (*ServiceConfig_HTTP) Descriptor
deprecated
func (*ServiceConfig_HTTP) Descriptor() ([]byte, []int)
Deprecated: Use ServiceConfig_HTTP.ProtoReflect.Descriptor instead.
func (*ServiceConfig_HTTP) GetAddr ¶
func (x *ServiceConfig_HTTP) GetAddr() string
func (*ServiceConfig_HTTP) GetCertFile ¶
func (x *ServiceConfig_HTTP) GetCertFile() string
func (*ServiceConfig_HTTP) GetEndpoint ¶
func (x *ServiceConfig_HTTP) GetEndpoint() string
func (*ServiceConfig_HTTP) GetIdleTimeout ¶
func (x *ServiceConfig_HTTP) GetIdleTimeout() *durationpb.Duration
func (*ServiceConfig_HTTP) GetKeyFile ¶
func (x *ServiceConfig_HTTP) GetKeyFile() string
func (*ServiceConfig_HTTP) GetNetwork ¶
func (x *ServiceConfig_HTTP) GetNetwork() string
func (*ServiceConfig_HTTP) GetReadTimeout ¶
func (x *ServiceConfig_HTTP) GetReadTimeout() *durationpb.Duration
func (*ServiceConfig_HTTP) GetShutdownTimeout ¶
func (x *ServiceConfig_HTTP) GetShutdownTimeout() *durationpb.Duration
func (*ServiceConfig_HTTP) GetTimeout ¶
func (x *ServiceConfig_HTTP) GetTimeout() *durationpb.Duration
func (*ServiceConfig_HTTP) GetUseTls ¶
func (x *ServiceConfig_HTTP) GetUseTls() bool
func (*ServiceConfig_HTTP) GetWriteTimeout ¶
func (x *ServiceConfig_HTTP) GetWriteTimeout() *durationpb.Duration
func (*ServiceConfig_HTTP) ProtoMessage ¶
func (*ServiceConfig_HTTP) ProtoMessage()
func (*ServiceConfig_HTTP) ProtoReflect ¶
func (x *ServiceConfig_HTTP) ProtoReflect() protoreflect.Message
func (*ServiceConfig_HTTP) Reset ¶
func (x *ServiceConfig_HTTP) Reset()
func (*ServiceConfig_HTTP) String ¶
func (x *ServiceConfig_HTTP) String() string
func (*ServiceConfig_HTTP) Validate ¶
func (m *ServiceConfig_HTTP) Validate() error
Validate checks the field values on ServiceConfig_HTTP with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceConfig_HTTP) ValidateAll ¶
func (m *ServiceConfig_HTTP) ValidateAll() error
ValidateAll checks the field values on ServiceConfig_HTTP with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceConfig_HTTPMultiError, or nil if none found.
type ServiceConfig_HTTPMultiError ¶
type ServiceConfig_HTTPMultiError []error
ServiceConfig_HTTPMultiError is an error wrapping multiple validation errors returned by ServiceConfig_HTTP.ValidateAll() if the designated constraints aren't met.
func (ServiceConfig_HTTPMultiError) AllErrors ¶
func (m ServiceConfig_HTTPMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceConfig_HTTPMultiError) Error ¶
func (m ServiceConfig_HTTPMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceConfig_HTTPValidationError ¶
type ServiceConfig_HTTPValidationError struct {
// contains filtered or unexported fields
}
ServiceConfig_HTTPValidationError is the validation error returned by ServiceConfig_HTTP.Validate if the designated constraints aren't met.
func (ServiceConfig_HTTPValidationError) Cause ¶
func (e ServiceConfig_HTTPValidationError) Cause() error
Cause function returns cause value.
func (ServiceConfig_HTTPValidationError) Error ¶
func (e ServiceConfig_HTTPValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceConfig_HTTPValidationError) ErrorName ¶
func (e ServiceConfig_HTTPValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceConfig_HTTPValidationError) Field ¶
func (e ServiceConfig_HTTPValidationError) Field() string
Field function returns field value.
func (ServiceConfig_HTTPValidationError) Key ¶
func (e ServiceConfig_HTTPValidationError) Key() bool
Key function returns key value.
func (ServiceConfig_HTTPValidationError) Reason ¶
func (e ServiceConfig_HTTPValidationError) Reason() string
Reason function returns reason value.
type ServiceConfig_Middleware ¶
type ServiceConfig_Middleware struct {
Cors *ServiceConfig_Middleware_Cors `protobuf:"bytes,1,opt,name=cors,proto3" json:"cors,omitempty"`
Metrics *ServiceConfig_Middleware_Metrics `protobuf:"bytes,2,opt,name=metrics,proto3" json:"metrics,omitempty"`
Traces *ServiceConfig_Middleware_Traces `protobuf:"bytes,3,opt,name=traces,proto3" json:"traces,omitempty"`
Logger *ServiceConfig_Middleware_Logger `protobuf:"bytes,4,opt,name=logger,proto3" json:"logger,omitempty"`
// contains filtered or unexported fields
}
func (*ServiceConfig_Middleware) Descriptor
deprecated
func (*ServiceConfig_Middleware) Descriptor() ([]byte, []int)
Deprecated: Use ServiceConfig_Middleware.ProtoReflect.Descriptor instead.
func (*ServiceConfig_Middleware) GetCors ¶
func (x *ServiceConfig_Middleware) GetCors() *ServiceConfig_Middleware_Cors
func (*ServiceConfig_Middleware) GetLogger ¶
func (x *ServiceConfig_Middleware) GetLogger() *ServiceConfig_Middleware_Logger
func (*ServiceConfig_Middleware) GetMetrics ¶
func (x *ServiceConfig_Middleware) GetMetrics() *ServiceConfig_Middleware_Metrics
func (*ServiceConfig_Middleware) GetTraces ¶
func (x *ServiceConfig_Middleware) GetTraces() *ServiceConfig_Middleware_Traces
func (*ServiceConfig_Middleware) ProtoMessage ¶
func (*ServiceConfig_Middleware) ProtoMessage()
func (*ServiceConfig_Middleware) ProtoReflect ¶
func (x *ServiceConfig_Middleware) ProtoReflect() protoreflect.Message
func (*ServiceConfig_Middleware) Reset ¶
func (x *ServiceConfig_Middleware) Reset()
func (*ServiceConfig_Middleware) String ¶
func (x *ServiceConfig_Middleware) String() string
func (*ServiceConfig_Middleware) Validate ¶
func (m *ServiceConfig_Middleware) Validate() error
Validate checks the field values on ServiceConfig_Middleware with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceConfig_Middleware) ValidateAll ¶
func (m *ServiceConfig_Middleware) ValidateAll() error
ValidateAll checks the field values on ServiceConfig_Middleware with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceConfig_MiddlewareMultiError, or nil if none found.
type ServiceConfig_MiddlewareMultiError ¶
type ServiceConfig_MiddlewareMultiError []error
ServiceConfig_MiddlewareMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Middleware.ValidateAll() if the designated constraints aren't met.
func (ServiceConfig_MiddlewareMultiError) AllErrors ¶
func (m ServiceConfig_MiddlewareMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceConfig_MiddlewareMultiError) Error ¶
func (m ServiceConfig_MiddlewareMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceConfig_MiddlewareValidationError ¶
type ServiceConfig_MiddlewareValidationError struct {
// contains filtered or unexported fields
}
ServiceConfig_MiddlewareValidationError is the validation error returned by ServiceConfig_Middleware.Validate if the designated constraints aren't met.
func (ServiceConfig_MiddlewareValidationError) Cause ¶
func (e ServiceConfig_MiddlewareValidationError) Cause() error
Cause function returns cause value.
func (ServiceConfig_MiddlewareValidationError) Error ¶
func (e ServiceConfig_MiddlewareValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceConfig_MiddlewareValidationError) ErrorName ¶
func (e ServiceConfig_MiddlewareValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceConfig_MiddlewareValidationError) Field ¶
func (e ServiceConfig_MiddlewareValidationError) Field() string
Field function returns field value.
func (ServiceConfig_MiddlewareValidationError) Key ¶
func (e ServiceConfig_MiddlewareValidationError) Key() bool
Key function returns key value.
func (ServiceConfig_MiddlewareValidationError) Reason ¶
func (e ServiceConfig_MiddlewareValidationError) Reason() string
Reason function returns reason value.
type ServiceConfig_Middleware_Cors ¶
type ServiceConfig_Middleware_Cors struct {
AllowAllOrigins bool `protobuf:"varint,2,opt,name=allow_all_origins,proto3" json:"allow_all_origins,omitempty"`
AllowOrigins []string `protobuf:"bytes,3,rep,name=allow_origins,proto3" json:"allow_origins,omitempty"`
AllowMethods []string `protobuf:"bytes,4,rep,name=allow_methods,proto3" json:"allow_methods,omitempty"`
AllowHeaders []string `protobuf:"bytes,5,rep,name=allow_headers,proto3" json:"allow_headers,omitempty"`
AllowCredentials bool `protobuf:"varint,6,opt,name=allow_credentials,proto3" json:"allow_credentials,omitempty"`
ExposeHeaders []string `protobuf:"bytes,7,rep,name=expose_headers,proto3" json:"expose_headers,omitempty"`
MaxAge int32 `protobuf:"varint,8,opt,name=max_age,proto3" json:"max_age,omitempty"`
AllowWildcard bool `protobuf:"varint,9,opt,name=allow_wildcard,proto3" json:"allow_wildcard,omitempty"`
AllowBrowserExtensions bool `protobuf:"varint,10,opt,name=allow_browser_extensions,proto3" json:"allow_browser_extensions,omitempty"`
AllowWebSockets bool `protobuf:"varint,11,opt,name=allow_web_sockets,proto3" json:"allow_web_sockets,omitempty"`
AllowFiles bool `protobuf:"varint,12,opt,name=allow_files,proto3" json:"allow_files,omitempty"`
// contains filtered or unexported fields
}
func (*ServiceConfig_Middleware_Cors) Descriptor
deprecated
func (*ServiceConfig_Middleware_Cors) Descriptor() ([]byte, []int)
Deprecated: Use ServiceConfig_Middleware_Cors.ProtoReflect.Descriptor instead.
func (*ServiceConfig_Middleware_Cors) GetAllowAllOrigins ¶
func (x *ServiceConfig_Middleware_Cors) GetAllowAllOrigins() bool
func (*ServiceConfig_Middleware_Cors) GetAllowBrowserExtensions ¶
func (x *ServiceConfig_Middleware_Cors) GetAllowBrowserExtensions() bool
func (*ServiceConfig_Middleware_Cors) GetAllowCredentials ¶
func (x *ServiceConfig_Middleware_Cors) GetAllowCredentials() bool
func (*ServiceConfig_Middleware_Cors) GetAllowFiles ¶
func (x *ServiceConfig_Middleware_Cors) GetAllowFiles() bool
func (*ServiceConfig_Middleware_Cors) GetAllowHeaders ¶
func (x *ServiceConfig_Middleware_Cors) GetAllowHeaders() []string
func (*ServiceConfig_Middleware_Cors) GetAllowMethods ¶
func (x *ServiceConfig_Middleware_Cors) GetAllowMethods() []string
func (*ServiceConfig_Middleware_Cors) GetAllowOrigins ¶
func (x *ServiceConfig_Middleware_Cors) GetAllowOrigins() []string
func (*ServiceConfig_Middleware_Cors) GetAllowWebSockets ¶
func (x *ServiceConfig_Middleware_Cors) GetAllowWebSockets() bool
func (*ServiceConfig_Middleware_Cors) GetAllowWildcard ¶
func (x *ServiceConfig_Middleware_Cors) GetAllowWildcard() bool
func (*ServiceConfig_Middleware_Cors) GetExposeHeaders ¶
func (x *ServiceConfig_Middleware_Cors) GetExposeHeaders() []string
func (*ServiceConfig_Middleware_Cors) GetMaxAge ¶
func (x *ServiceConfig_Middleware_Cors) GetMaxAge() int32
func (*ServiceConfig_Middleware_Cors) ProtoMessage ¶
func (*ServiceConfig_Middleware_Cors) ProtoMessage()
func (*ServiceConfig_Middleware_Cors) ProtoReflect ¶
func (x *ServiceConfig_Middleware_Cors) ProtoReflect() protoreflect.Message
func (*ServiceConfig_Middleware_Cors) Reset ¶
func (x *ServiceConfig_Middleware_Cors) Reset()
func (*ServiceConfig_Middleware_Cors) String ¶
func (x *ServiceConfig_Middleware_Cors) String() string
func (*ServiceConfig_Middleware_Cors) Validate ¶
func (m *ServiceConfig_Middleware_Cors) Validate() error
Validate checks the field values on ServiceConfig_Middleware_Cors with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceConfig_Middleware_Cors) ValidateAll ¶
func (m *ServiceConfig_Middleware_Cors) ValidateAll() error
ValidateAll checks the field values on ServiceConfig_Middleware_Cors with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceConfig_Middleware_CorsMultiError, or nil if none found.
type ServiceConfig_Middleware_CorsMultiError ¶
type ServiceConfig_Middleware_CorsMultiError []error
ServiceConfig_Middleware_CorsMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Middleware_Cors.ValidateAll() if the designated constraints aren't met.
func (ServiceConfig_Middleware_CorsMultiError) AllErrors ¶
func (m ServiceConfig_Middleware_CorsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceConfig_Middleware_CorsMultiError) Error ¶
func (m ServiceConfig_Middleware_CorsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceConfig_Middleware_CorsValidationError ¶
type ServiceConfig_Middleware_CorsValidationError struct {
// contains filtered or unexported fields
}
ServiceConfig_Middleware_CorsValidationError is the validation error returned by ServiceConfig_Middleware_Cors.Validate if the designated constraints aren't met.
func (ServiceConfig_Middleware_CorsValidationError) Cause ¶
func (e ServiceConfig_Middleware_CorsValidationError) Cause() error
Cause function returns cause value.
func (ServiceConfig_Middleware_CorsValidationError) Error ¶
func (e ServiceConfig_Middleware_CorsValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceConfig_Middleware_CorsValidationError) ErrorName ¶
func (e ServiceConfig_Middleware_CorsValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceConfig_Middleware_CorsValidationError) Field ¶
func (e ServiceConfig_Middleware_CorsValidationError) Field() string
Field function returns field value.
func (ServiceConfig_Middleware_CorsValidationError) Key ¶
func (e ServiceConfig_Middleware_CorsValidationError) Key() bool
Key function returns key value.
func (ServiceConfig_Middleware_CorsValidationError) Reason ¶
func (e ServiceConfig_Middleware_CorsValidationError) Reason() string
Reason function returns reason value.
type ServiceConfig_Middleware_Logger ¶
type ServiceConfig_Middleware_Logger struct {
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*ServiceConfig_Middleware_Logger) Descriptor
deprecated
func (*ServiceConfig_Middleware_Logger) Descriptor() ([]byte, []int)
Deprecated: Use ServiceConfig_Middleware_Logger.ProtoReflect.Descriptor instead.
func (*ServiceConfig_Middleware_Logger) GetName ¶
func (x *ServiceConfig_Middleware_Logger) GetName() string
func (*ServiceConfig_Middleware_Logger) ProtoMessage ¶
func (*ServiceConfig_Middleware_Logger) ProtoMessage()
func (*ServiceConfig_Middleware_Logger) ProtoReflect ¶
func (x *ServiceConfig_Middleware_Logger) ProtoReflect() protoreflect.Message
func (*ServiceConfig_Middleware_Logger) Reset ¶
func (x *ServiceConfig_Middleware_Logger) Reset()
func (*ServiceConfig_Middleware_Logger) String ¶
func (x *ServiceConfig_Middleware_Logger) String() string
func (*ServiceConfig_Middleware_Logger) Validate ¶
func (m *ServiceConfig_Middleware_Logger) Validate() error
Validate checks the field values on ServiceConfig_Middleware_Logger with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceConfig_Middleware_Logger) ValidateAll ¶
func (m *ServiceConfig_Middleware_Logger) ValidateAll() error
ValidateAll checks the field values on ServiceConfig_Middleware_Logger with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceConfig_Middleware_LoggerMultiError, or nil if none found.
type ServiceConfig_Middleware_LoggerMultiError ¶
type ServiceConfig_Middleware_LoggerMultiError []error
ServiceConfig_Middleware_LoggerMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Middleware_Logger.ValidateAll() if the designated constraints aren't met.
func (ServiceConfig_Middleware_LoggerMultiError) AllErrors ¶
func (m ServiceConfig_Middleware_LoggerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceConfig_Middleware_LoggerMultiError) Error ¶
func (m ServiceConfig_Middleware_LoggerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceConfig_Middleware_LoggerValidationError ¶
type ServiceConfig_Middleware_LoggerValidationError struct {
// contains filtered or unexported fields
}
ServiceConfig_Middleware_LoggerValidationError is the validation error returned by ServiceConfig_Middleware_Logger.Validate if the designated constraints aren't met.
func (ServiceConfig_Middleware_LoggerValidationError) Cause ¶
func (e ServiceConfig_Middleware_LoggerValidationError) Cause() error
Cause function returns cause value.
func (ServiceConfig_Middleware_LoggerValidationError) Error ¶
func (e ServiceConfig_Middleware_LoggerValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceConfig_Middleware_LoggerValidationError) ErrorName ¶
func (e ServiceConfig_Middleware_LoggerValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceConfig_Middleware_LoggerValidationError) Field ¶
func (e ServiceConfig_Middleware_LoggerValidationError) Field() string
Field function returns field value.
func (ServiceConfig_Middleware_LoggerValidationError) Key ¶
func (e ServiceConfig_Middleware_LoggerValidationError) Key() bool
Key function returns key value.
func (ServiceConfig_Middleware_LoggerValidationError) Reason ¶
func (e ServiceConfig_Middleware_LoggerValidationError) Reason() string
Reason function returns reason value.
type ServiceConfig_Middleware_Metrics ¶
type ServiceConfig_Middleware_Metrics struct {
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*ServiceConfig_Middleware_Metrics) Descriptor
deprecated
func (*ServiceConfig_Middleware_Metrics) Descriptor() ([]byte, []int)
Deprecated: Use ServiceConfig_Middleware_Metrics.ProtoReflect.Descriptor instead.
func (*ServiceConfig_Middleware_Metrics) GetName ¶
func (x *ServiceConfig_Middleware_Metrics) GetName() string
func (*ServiceConfig_Middleware_Metrics) ProtoMessage ¶
func (*ServiceConfig_Middleware_Metrics) ProtoMessage()
func (*ServiceConfig_Middleware_Metrics) ProtoReflect ¶
func (x *ServiceConfig_Middleware_Metrics) ProtoReflect() protoreflect.Message
func (*ServiceConfig_Middleware_Metrics) Reset ¶
func (x *ServiceConfig_Middleware_Metrics) Reset()
func (*ServiceConfig_Middleware_Metrics) String ¶
func (x *ServiceConfig_Middleware_Metrics) String() string
func (*ServiceConfig_Middleware_Metrics) Validate ¶
func (m *ServiceConfig_Middleware_Metrics) Validate() error
Validate checks the field values on ServiceConfig_Middleware_Metrics with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceConfig_Middleware_Metrics) ValidateAll ¶
func (m *ServiceConfig_Middleware_Metrics) ValidateAll() error
ValidateAll checks the field values on ServiceConfig_Middleware_Metrics with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceConfig_Middleware_MetricsMultiError, or nil if none found.
type ServiceConfig_Middleware_MetricsMultiError ¶
type ServiceConfig_Middleware_MetricsMultiError []error
ServiceConfig_Middleware_MetricsMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Middleware_Metrics.ValidateAll() if the designated constraints aren't met.
func (ServiceConfig_Middleware_MetricsMultiError) AllErrors ¶
func (m ServiceConfig_Middleware_MetricsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceConfig_Middleware_MetricsMultiError) Error ¶
func (m ServiceConfig_Middleware_MetricsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceConfig_Middleware_MetricsValidationError ¶
type ServiceConfig_Middleware_MetricsValidationError struct {
// contains filtered or unexported fields
}
ServiceConfig_Middleware_MetricsValidationError is the validation error returned by ServiceConfig_Middleware_Metrics.Validate if the designated constraints aren't met.
func (ServiceConfig_Middleware_MetricsValidationError) Cause ¶
func (e ServiceConfig_Middleware_MetricsValidationError) Cause() error
Cause function returns cause value.
func (ServiceConfig_Middleware_MetricsValidationError) Error ¶
func (e ServiceConfig_Middleware_MetricsValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceConfig_Middleware_MetricsValidationError) ErrorName ¶
func (e ServiceConfig_Middleware_MetricsValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceConfig_Middleware_MetricsValidationError) Field ¶
func (e ServiceConfig_Middleware_MetricsValidationError) Field() string
Field function returns field value.
func (ServiceConfig_Middleware_MetricsValidationError) Key ¶
func (e ServiceConfig_Middleware_MetricsValidationError) Key() bool
Key function returns key value.
func (ServiceConfig_Middleware_MetricsValidationError) Reason ¶
func (e ServiceConfig_Middleware_MetricsValidationError) Reason() string
Reason function returns reason value.
type ServiceConfig_Middleware_Traces ¶
type ServiceConfig_Middleware_Traces struct {
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*ServiceConfig_Middleware_Traces) Descriptor
deprecated
func (*ServiceConfig_Middleware_Traces) Descriptor() ([]byte, []int)
Deprecated: Use ServiceConfig_Middleware_Traces.ProtoReflect.Descriptor instead.
func (*ServiceConfig_Middleware_Traces) GetName ¶
func (x *ServiceConfig_Middleware_Traces) GetName() string
func (*ServiceConfig_Middleware_Traces) ProtoMessage ¶
func (*ServiceConfig_Middleware_Traces) ProtoMessage()
func (*ServiceConfig_Middleware_Traces) ProtoReflect ¶
func (x *ServiceConfig_Middleware_Traces) ProtoReflect() protoreflect.Message
func (*ServiceConfig_Middleware_Traces) Reset ¶
func (x *ServiceConfig_Middleware_Traces) Reset()
func (*ServiceConfig_Middleware_Traces) String ¶
func (x *ServiceConfig_Middleware_Traces) String() string
func (*ServiceConfig_Middleware_Traces) Validate ¶
func (m *ServiceConfig_Middleware_Traces) Validate() error
Validate checks the field values on ServiceConfig_Middleware_Traces with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceConfig_Middleware_Traces) ValidateAll ¶
func (m *ServiceConfig_Middleware_Traces) ValidateAll() error
ValidateAll checks the field values on ServiceConfig_Middleware_Traces with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceConfig_Middleware_TracesMultiError, or nil if none found.
type ServiceConfig_Middleware_TracesMultiError ¶
type ServiceConfig_Middleware_TracesMultiError []error
ServiceConfig_Middleware_TracesMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Middleware_Traces.ValidateAll() if the designated constraints aren't met.
func (ServiceConfig_Middleware_TracesMultiError) AllErrors ¶
func (m ServiceConfig_Middleware_TracesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceConfig_Middleware_TracesMultiError) Error ¶
func (m ServiceConfig_Middleware_TracesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceConfig_Middleware_TracesValidationError ¶
type ServiceConfig_Middleware_TracesValidationError struct {
// contains filtered or unexported fields
}
ServiceConfig_Middleware_TracesValidationError is the validation error returned by ServiceConfig_Middleware_Traces.Validate if the designated constraints aren't met.
func (ServiceConfig_Middleware_TracesValidationError) Cause ¶
func (e ServiceConfig_Middleware_TracesValidationError) Cause() error
Cause function returns cause value.
func (ServiceConfig_Middleware_TracesValidationError) Error ¶
func (e ServiceConfig_Middleware_TracesValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceConfig_Middleware_TracesValidationError) ErrorName ¶
func (e ServiceConfig_Middleware_TracesValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceConfig_Middleware_TracesValidationError) Field ¶
func (e ServiceConfig_Middleware_TracesValidationError) Field() string
Field function returns field value.
func (ServiceConfig_Middleware_TracesValidationError) Key ¶
func (e ServiceConfig_Middleware_TracesValidationError) Key() bool
Key function returns key value.
func (ServiceConfig_Middleware_TracesValidationError) Reason ¶
func (e ServiceConfig_Middleware_TracesValidationError) Reason() string
Reason function returns reason value.
type ServiceConfig_Websocket ¶
type ServiceConfig_Websocket struct {
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"`
Codec string `protobuf:"bytes,4,opt,name=codec,proto3" json:"codec,omitempty"`
Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
Websocket
func (*ServiceConfig_Websocket) Descriptor
deprecated
func (*ServiceConfig_Websocket) Descriptor() ([]byte, []int)
Deprecated: Use ServiceConfig_Websocket.ProtoReflect.Descriptor instead.
func (*ServiceConfig_Websocket) GetAddr ¶
func (x *ServiceConfig_Websocket) GetAddr() string
func (*ServiceConfig_Websocket) GetCodec ¶
func (x *ServiceConfig_Websocket) GetCodec() string
func (*ServiceConfig_Websocket) GetNetwork ¶
func (x *ServiceConfig_Websocket) GetNetwork() string
func (*ServiceConfig_Websocket) GetPath ¶
func (x *ServiceConfig_Websocket) GetPath() string
func (*ServiceConfig_Websocket) GetTimeout ¶
func (x *ServiceConfig_Websocket) GetTimeout() *durationpb.Duration
func (*ServiceConfig_Websocket) ProtoMessage ¶
func (*ServiceConfig_Websocket) ProtoMessage()
func (*ServiceConfig_Websocket) ProtoReflect ¶
func (x *ServiceConfig_Websocket) ProtoReflect() protoreflect.Message
func (*ServiceConfig_Websocket) Reset ¶
func (x *ServiceConfig_Websocket) Reset()
func (*ServiceConfig_Websocket) String ¶
func (x *ServiceConfig_Websocket) String() string
func (*ServiceConfig_Websocket) Validate ¶
func (m *ServiceConfig_Websocket) Validate() error
Validate checks the field values on ServiceConfig_Websocket with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ServiceConfig_Websocket) ValidateAll ¶
func (m *ServiceConfig_Websocket) ValidateAll() error
ValidateAll checks the field values on ServiceConfig_Websocket with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ServiceConfig_WebsocketMultiError, or nil if none found.
type ServiceConfig_WebsocketMultiError ¶
type ServiceConfig_WebsocketMultiError []error
ServiceConfig_WebsocketMultiError is an error wrapping multiple validation errors returned by ServiceConfig_Websocket.ValidateAll() if the designated constraints aren't met.
func (ServiceConfig_WebsocketMultiError) AllErrors ¶
func (m ServiceConfig_WebsocketMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceConfig_WebsocketMultiError) Error ¶
func (m ServiceConfig_WebsocketMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceConfig_WebsocketValidationError ¶
type ServiceConfig_WebsocketValidationError struct {
// contains filtered or unexported fields
}
ServiceConfig_WebsocketValidationError is the validation error returned by ServiceConfig_Websocket.Validate if the designated constraints aren't met.
func (ServiceConfig_WebsocketValidationError) Cause ¶
func (e ServiceConfig_WebsocketValidationError) Cause() error
Cause function returns cause value.
func (ServiceConfig_WebsocketValidationError) Error ¶
func (e ServiceConfig_WebsocketValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceConfig_WebsocketValidationError) ErrorName ¶
func (e ServiceConfig_WebsocketValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceConfig_WebsocketValidationError) Field ¶
func (e ServiceConfig_WebsocketValidationError) Field() string
Field function returns field value.
func (ServiceConfig_WebsocketValidationError) Key ¶
func (e ServiceConfig_WebsocketValidationError) Key() bool
Key function returns key value.
func (ServiceConfig_WebsocketValidationError) Reason ¶
func (e ServiceConfig_WebsocketValidationError) Reason() string
Reason function returns reason value.
type SourceConfig ¶
type SourceConfig struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Type
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Name
File *SourceConfig_File `protobuf:"bytes,3,opt,name=file,proto3,oneof" json:"file,omitempty"`
Consul *SourceConfig_Consul `protobuf:"bytes,4,opt,name=consul,proto3,oneof" json:"consul,omitempty"` // Consul
Etcd *SourceConfig_ETCD `protobuf:"bytes,5,opt,name=etcd,proto3,oneof" json:"etcd,omitempty"` // ETCD
Formats []string `protobuf:"bytes,6,rep,name=formats,proto3" json:"formats,omitempty"`
EnvPrefixes []string `protobuf:"bytes,8,rep,name=env_prefixes,proto3" json:"env_prefixes,omitempty"`
EnvArgs map[string]string `` /* 157-byte string literal not displayed */
// contains filtered or unexported fields
}
Registration source center
func (*SourceConfig) Descriptor
deprecated
func (*SourceConfig) Descriptor() ([]byte, []int)
Deprecated: Use SourceConfig.ProtoReflect.Descriptor instead.
func (*SourceConfig) GetConsul ¶
func (x *SourceConfig) GetConsul() *SourceConfig_Consul
func (*SourceConfig) GetEnvArgs ¶
func (x *SourceConfig) GetEnvArgs() map[string]string
func (*SourceConfig) GetEnvPrefixes ¶
func (x *SourceConfig) GetEnvPrefixes() []string
func (*SourceConfig) GetEtcd ¶
func (x *SourceConfig) GetEtcd() *SourceConfig_ETCD
func (*SourceConfig) GetFile ¶
func (x *SourceConfig) GetFile() *SourceConfig_File
func (*SourceConfig) GetFormats ¶
func (x *SourceConfig) GetFormats() []string
func (*SourceConfig) GetName ¶
func (x *SourceConfig) GetName() string
func (*SourceConfig) GetType ¶
func (x *SourceConfig) GetType() string
func (*SourceConfig) ProtoMessage ¶
func (*SourceConfig) ProtoMessage()
func (*SourceConfig) ProtoReflect ¶
func (x *SourceConfig) ProtoReflect() protoreflect.Message
func (*SourceConfig) Reset ¶
func (x *SourceConfig) Reset()
func (*SourceConfig) String ¶
func (x *SourceConfig) String() string
func (*SourceConfig) Validate ¶
func (m *SourceConfig) Validate() error
Validate checks the field values on SourceConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SourceConfig) ValidateAll ¶
func (m *SourceConfig) ValidateAll() error
ValidateAll checks the field values on SourceConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SourceConfigMultiError, or nil if none found.
type SourceConfigMultiError ¶
type SourceConfigMultiError []error
SourceConfigMultiError is an error wrapping multiple validation errors returned by SourceConfig.ValidateAll() if the designated constraints aren't met.
func (SourceConfigMultiError) AllErrors ¶
func (m SourceConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceConfigMultiError) Error ¶
func (m SourceConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceConfigValidationError ¶
type SourceConfigValidationError struct {
// contains filtered or unexported fields
}
SourceConfigValidationError is the validation error returned by SourceConfig.Validate if the designated constraints aren't met.
func (SourceConfigValidationError) Cause ¶
func (e SourceConfigValidationError) Cause() error
Cause function returns cause value.
func (SourceConfigValidationError) Error ¶
func (e SourceConfigValidationError) Error() string
Error satisfies the builtin error interface
func (SourceConfigValidationError) ErrorName ¶
func (e SourceConfigValidationError) ErrorName() string
ErrorName returns error name.
func (SourceConfigValidationError) Field ¶
func (e SourceConfigValidationError) Field() string
Field function returns field value.
func (SourceConfigValidationError) Key ¶
func (e SourceConfigValidationError) Key() bool
Key function returns key value.
func (SourceConfigValidationError) Reason ¶
func (e SourceConfigValidationError) Reason() string
Reason function returns reason value.
type SourceConfig_Consul ¶
type SourceConfig_Consul struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"`
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
Consul
func (*SourceConfig_Consul) Descriptor
deprecated
func (*SourceConfig_Consul) Descriptor() ([]byte, []int)
Deprecated: Use SourceConfig_Consul.ProtoReflect.Descriptor instead.
func (*SourceConfig_Consul) GetAddress ¶
func (x *SourceConfig_Consul) GetAddress() string
func (*SourceConfig_Consul) GetPath ¶
func (x *SourceConfig_Consul) GetPath() string
func (*SourceConfig_Consul) GetScheme ¶
func (x *SourceConfig_Consul) GetScheme() string
func (*SourceConfig_Consul) GetToken ¶
func (x *SourceConfig_Consul) GetToken() string
func (*SourceConfig_Consul) ProtoMessage ¶
func (*SourceConfig_Consul) ProtoMessage()
func (*SourceConfig_Consul) ProtoReflect ¶
func (x *SourceConfig_Consul) ProtoReflect() protoreflect.Message
func (*SourceConfig_Consul) Reset ¶
func (x *SourceConfig_Consul) Reset()
func (*SourceConfig_Consul) String ¶
func (x *SourceConfig_Consul) String() string
func (*SourceConfig_Consul) Validate ¶
func (m *SourceConfig_Consul) Validate() error
Validate checks the field values on SourceConfig_Consul with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SourceConfig_Consul) ValidateAll ¶
func (m *SourceConfig_Consul) ValidateAll() error
ValidateAll checks the field values on SourceConfig_Consul with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SourceConfig_ConsulMultiError, or nil if none found.
type SourceConfig_ConsulMultiError ¶
type SourceConfig_ConsulMultiError []error
SourceConfig_ConsulMultiError is an error wrapping multiple validation errors returned by SourceConfig_Consul.ValidateAll() if the designated constraints aren't met.
func (SourceConfig_ConsulMultiError) AllErrors ¶
func (m SourceConfig_ConsulMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceConfig_ConsulMultiError) Error ¶
func (m SourceConfig_ConsulMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceConfig_ConsulValidationError ¶
type SourceConfig_ConsulValidationError struct {
// contains filtered or unexported fields
}
SourceConfig_ConsulValidationError is the validation error returned by SourceConfig_Consul.Validate if the designated constraints aren't met.
func (SourceConfig_ConsulValidationError) Cause ¶
func (e SourceConfig_ConsulValidationError) Cause() error
Cause function returns cause value.
func (SourceConfig_ConsulValidationError) Error ¶
func (e SourceConfig_ConsulValidationError) Error() string
Error satisfies the builtin error interface
func (SourceConfig_ConsulValidationError) ErrorName ¶
func (e SourceConfig_ConsulValidationError) ErrorName() string
ErrorName returns error name.
func (SourceConfig_ConsulValidationError) Field ¶
func (e SourceConfig_ConsulValidationError) Field() string
Field function returns field value.
func (SourceConfig_ConsulValidationError) Key ¶
func (e SourceConfig_ConsulValidationError) Key() bool
Key function returns key value.
func (SourceConfig_ConsulValidationError) Reason ¶
func (e SourceConfig_ConsulValidationError) Reason() string
Reason function returns reason value.
type SourceConfig_ETCD ¶
type SourceConfig_ETCD struct {
Endpoints []string `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
// contains filtered or unexported fields
}
func (*SourceConfig_ETCD) Descriptor
deprecated
func (*SourceConfig_ETCD) Descriptor() ([]byte, []int)
Deprecated: Use SourceConfig_ETCD.ProtoReflect.Descriptor instead.
func (*SourceConfig_ETCD) GetEndpoints ¶
func (x *SourceConfig_ETCD) GetEndpoints() []string
func (*SourceConfig_ETCD) ProtoMessage ¶
func (*SourceConfig_ETCD) ProtoMessage()
func (*SourceConfig_ETCD) ProtoReflect ¶
func (x *SourceConfig_ETCD) ProtoReflect() protoreflect.Message
func (*SourceConfig_ETCD) Reset ¶
func (x *SourceConfig_ETCD) Reset()
func (*SourceConfig_ETCD) String ¶
func (x *SourceConfig_ETCD) String() string
func (*SourceConfig_ETCD) Validate ¶
func (m *SourceConfig_ETCD) Validate() error
Validate checks the field values on SourceConfig_ETCD with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SourceConfig_ETCD) ValidateAll ¶
func (m *SourceConfig_ETCD) ValidateAll() error
ValidateAll checks the field values on SourceConfig_ETCD with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SourceConfig_ETCDMultiError, or nil if none found.
type SourceConfig_ETCDMultiError ¶
type SourceConfig_ETCDMultiError []error
SourceConfig_ETCDMultiError is an error wrapping multiple validation errors returned by SourceConfig_ETCD.ValidateAll() if the designated constraints aren't met.
func (SourceConfig_ETCDMultiError) AllErrors ¶
func (m SourceConfig_ETCDMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceConfig_ETCDMultiError) Error ¶
func (m SourceConfig_ETCDMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceConfig_ETCDValidationError ¶
type SourceConfig_ETCDValidationError struct {
// contains filtered or unexported fields
}
SourceConfig_ETCDValidationError is the validation error returned by SourceConfig_ETCD.Validate if the designated constraints aren't met.
func (SourceConfig_ETCDValidationError) Cause ¶
func (e SourceConfig_ETCDValidationError) Cause() error
Cause function returns cause value.
func (SourceConfig_ETCDValidationError) Error ¶
func (e SourceConfig_ETCDValidationError) Error() string
Error satisfies the builtin error interface
func (SourceConfig_ETCDValidationError) ErrorName ¶
func (e SourceConfig_ETCDValidationError) ErrorName() string
ErrorName returns error name.
func (SourceConfig_ETCDValidationError) Field ¶
func (e SourceConfig_ETCDValidationError) Field() string
Field function returns field value.
func (SourceConfig_ETCDValidationError) Key ¶
func (e SourceConfig_ETCDValidationError) Key() bool
Key function returns key value.
func (SourceConfig_ETCDValidationError) Reason ¶
func (e SourceConfig_ETCDValidationError) Reason() string
Reason function returns reason value.
type SourceConfig_File ¶
type SourceConfig_File struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Format string `protobuf:"bytes,2,opt,name=format,proto3" json:"format,omitempty"`
// contains filtered or unexported fields
}
File
func (*SourceConfig_File) Descriptor
deprecated
func (*SourceConfig_File) Descriptor() ([]byte, []int)
Deprecated: Use SourceConfig_File.ProtoReflect.Descriptor instead.
func (*SourceConfig_File) GetFormat ¶
func (x *SourceConfig_File) GetFormat() string
func (*SourceConfig_File) GetPath ¶
func (x *SourceConfig_File) GetPath() string
func (*SourceConfig_File) ProtoMessage ¶
func (*SourceConfig_File) ProtoMessage()
func (*SourceConfig_File) ProtoReflect ¶
func (x *SourceConfig_File) ProtoReflect() protoreflect.Message
func (*SourceConfig_File) Reset ¶
func (x *SourceConfig_File) Reset()
func (*SourceConfig_File) String ¶
func (x *SourceConfig_File) String() string
func (*SourceConfig_File) Validate ¶
func (m *SourceConfig_File) Validate() error
Validate checks the field values on SourceConfig_File with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SourceConfig_File) ValidateAll ¶
func (m *SourceConfig_File) ValidateAll() error
ValidateAll checks the field values on SourceConfig_File with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SourceConfig_FileMultiError, or nil if none found.
type SourceConfig_FileMultiError ¶
type SourceConfig_FileMultiError []error
SourceConfig_FileMultiError is an error wrapping multiple validation errors returned by SourceConfig_File.ValidateAll() if the designated constraints aren't met.
func (SourceConfig_FileMultiError) AllErrors ¶
func (m SourceConfig_FileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceConfig_FileMultiError) Error ¶
func (m SourceConfig_FileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceConfig_FileValidationError ¶
type SourceConfig_FileValidationError struct {
// contains filtered or unexported fields
}
SourceConfig_FileValidationError is the validation error returned by SourceConfig_File.Validate if the designated constraints aren't met.
func (SourceConfig_FileValidationError) Cause ¶
func (e SourceConfig_FileValidationError) Cause() error
Cause function returns cause value.
func (SourceConfig_FileValidationError) Error ¶
func (e SourceConfig_FileValidationError) Error() string
Error satisfies the builtin error interface
func (SourceConfig_FileValidationError) ErrorName ¶
func (e SourceConfig_FileValidationError) ErrorName() string
ErrorName returns error name.
func (SourceConfig_FileValidationError) Field ¶
func (e SourceConfig_FileValidationError) Field() string
Field function returns field value.
func (SourceConfig_FileValidationError) Key ¶
func (e SourceConfig_FileValidationError) Key() bool
Key function returns key value.
func (SourceConfig_FileValidationError) Reason ¶
func (e SourceConfig_FileValidationError) Reason() string
Reason function returns reason value.
type TaskConfig ¶
type TaskConfig struct {
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Asynq *TaskConfig_Asynq `protobuf:"bytes,3,opt,name=asynq,proto3" json:"asynq,omitempty"`
Machinery *TaskConfig_Machinery `protobuf:"bytes,4,opt,name=machinery,proto3" json:"machinery,omitempty"`
Cron *TaskConfig_Cron `protobuf:"bytes,5,opt,name=cron,proto3" json:"cron,omitempty"`
// contains filtered or unexported fields
}
func (*TaskConfig) Descriptor
deprecated
func (*TaskConfig) Descriptor() ([]byte, []int)
Deprecated: Use TaskConfig.ProtoReflect.Descriptor instead.
func (*TaskConfig) GetAsynq ¶
func (x *TaskConfig) GetAsynq() *TaskConfig_Asynq
func (*TaskConfig) GetCron ¶
func (x *TaskConfig) GetCron() *TaskConfig_Cron
func (*TaskConfig) GetMachinery ¶
func (x *TaskConfig) GetMachinery() *TaskConfig_Machinery
func (*TaskConfig) GetName ¶
func (x *TaskConfig) GetName() string
func (*TaskConfig) ProtoMessage ¶
func (*TaskConfig) ProtoMessage()
func (*TaskConfig) ProtoReflect ¶
func (x *TaskConfig) ProtoReflect() protoreflect.Message
func (*TaskConfig) Reset ¶
func (x *TaskConfig) Reset()
func (*TaskConfig) String ¶
func (x *TaskConfig) String() string
func (*TaskConfig) Validate ¶
func (m *TaskConfig) Validate() error
Validate checks the field values on TaskConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TaskConfig) ValidateAll ¶
func (m *TaskConfig) ValidateAll() error
ValidateAll checks the field values on TaskConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TaskConfigMultiError, or nil if none found.
type TaskConfigMultiError ¶
type TaskConfigMultiError []error
TaskConfigMultiError is an error wrapping multiple validation errors returned by TaskConfig.ValidateAll() if the designated constraints aren't met.
func (TaskConfigMultiError) AllErrors ¶
func (m TaskConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TaskConfigMultiError) Error ¶
func (m TaskConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TaskConfigValidationError ¶
type TaskConfigValidationError struct {
// contains filtered or unexported fields
}
TaskConfigValidationError is the validation error returned by TaskConfig.Validate if the designated constraints aren't met.
func (TaskConfigValidationError) Cause ¶
func (e TaskConfigValidationError) Cause() error
Cause function returns cause value.
func (TaskConfigValidationError) Error ¶
func (e TaskConfigValidationError) Error() string
Error satisfies the builtin error interface
func (TaskConfigValidationError) ErrorName ¶
func (e TaskConfigValidationError) ErrorName() string
ErrorName returns error name.
func (TaskConfigValidationError) Field ¶
func (e TaskConfigValidationError) Field() string
Field function returns field value.
func (TaskConfigValidationError) Key ¶
func (e TaskConfigValidationError) Key() bool
Key function returns key value.
func (TaskConfigValidationError) Reason ¶
func (e TaskConfigValidationError) Reason() string
Reason function returns reason value.
type TaskConfig_Asynq ¶
type TaskConfig_Asynq struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // redis Login password
Db int32 `protobuf:"varint,3,opt,name=db,proto3" json:"db,omitempty"` // Database index
Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // Time Zone
// contains filtered or unexported fields
}
Asynq
func (*TaskConfig_Asynq) Descriptor
deprecated
func (*TaskConfig_Asynq) Descriptor() ([]byte, []int)
Deprecated: Use TaskConfig_Asynq.ProtoReflect.Descriptor instead.
func (*TaskConfig_Asynq) GetDb ¶
func (x *TaskConfig_Asynq) GetDb() int32
func (*TaskConfig_Asynq) GetEndpoint ¶
func (x *TaskConfig_Asynq) GetEndpoint() string
func (*TaskConfig_Asynq) GetLocation ¶
func (x *TaskConfig_Asynq) GetLocation() string
func (*TaskConfig_Asynq) GetPassword ¶
func (x *TaskConfig_Asynq) GetPassword() string
func (*TaskConfig_Asynq) ProtoMessage ¶
func (*TaskConfig_Asynq) ProtoMessage()
func (*TaskConfig_Asynq) ProtoReflect ¶
func (x *TaskConfig_Asynq) ProtoReflect() protoreflect.Message
func (*TaskConfig_Asynq) Reset ¶
func (x *TaskConfig_Asynq) Reset()
func (*TaskConfig_Asynq) String ¶
func (x *TaskConfig_Asynq) String() string
func (*TaskConfig_Asynq) Validate ¶
func (m *TaskConfig_Asynq) Validate() error
Validate checks the field values on TaskConfig_Asynq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TaskConfig_Asynq) ValidateAll ¶
func (m *TaskConfig_Asynq) ValidateAll() error
ValidateAll checks the field values on TaskConfig_Asynq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TaskConfig_AsynqMultiError, or nil if none found.
type TaskConfig_AsynqMultiError ¶
type TaskConfig_AsynqMultiError []error
TaskConfig_AsynqMultiError is an error wrapping multiple validation errors returned by TaskConfig_Asynq.ValidateAll() if the designated constraints aren't met.
func (TaskConfig_AsynqMultiError) AllErrors ¶
func (m TaskConfig_AsynqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TaskConfig_AsynqMultiError) Error ¶
func (m TaskConfig_AsynqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TaskConfig_AsynqValidationError ¶
type TaskConfig_AsynqValidationError struct {
// contains filtered or unexported fields
}
TaskConfig_AsynqValidationError is the validation error returned by TaskConfig_Asynq.Validate if the designated constraints aren't met.
func (TaskConfig_AsynqValidationError) Cause ¶
func (e TaskConfig_AsynqValidationError) Cause() error
Cause function returns cause value.
func (TaskConfig_AsynqValidationError) Error ¶
func (e TaskConfig_AsynqValidationError) Error() string
Error satisfies the builtin error interface
func (TaskConfig_AsynqValidationError) ErrorName ¶
func (e TaskConfig_AsynqValidationError) ErrorName() string
ErrorName returns error name.
func (TaskConfig_AsynqValidationError) Field ¶
func (e TaskConfig_AsynqValidationError) Field() string
Field function returns field value.
func (TaskConfig_AsynqValidationError) Key ¶
func (e TaskConfig_AsynqValidationError) Key() bool
Key function returns key value.
func (TaskConfig_AsynqValidationError) Reason ¶
func (e TaskConfig_AsynqValidationError) Reason() string
Reason function returns reason value.
type TaskConfig_Cron ¶
type TaskConfig_Cron struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Peer network address
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // redis Login password
Db int32 `protobuf:"varint,3,opt,name=db,proto3" json:"db,omitempty"` // Database index
Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"` // Time Zone
// contains filtered or unexported fields
}
Cron
func (*TaskConfig_Cron) Descriptor
deprecated
func (*TaskConfig_Cron) Descriptor() ([]byte, []int)
Deprecated: Use TaskConfig_Cron.ProtoReflect.Descriptor instead.
func (*TaskConfig_Cron) GetDb ¶
func (x *TaskConfig_Cron) GetDb() int32
func (*TaskConfig_Cron) GetEndpoint ¶
func (x *TaskConfig_Cron) GetEndpoint() string
func (*TaskConfig_Cron) GetLocation ¶
func (x *TaskConfig_Cron) GetLocation() string
func (*TaskConfig_Cron) GetPassword ¶
func (x *TaskConfig_Cron) GetPassword() string
func (*TaskConfig_Cron) ProtoMessage ¶
func (*TaskConfig_Cron) ProtoMessage()
func (*TaskConfig_Cron) ProtoReflect ¶
func (x *TaskConfig_Cron) ProtoReflect() protoreflect.Message
func (*TaskConfig_Cron) Reset ¶
func (x *TaskConfig_Cron) Reset()
func (*TaskConfig_Cron) String ¶
func (x *TaskConfig_Cron) String() string
func (*TaskConfig_Cron) Validate ¶
func (m *TaskConfig_Cron) Validate() error
Validate checks the field values on TaskConfig_Cron with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TaskConfig_Cron) ValidateAll ¶
func (m *TaskConfig_Cron) ValidateAll() error
ValidateAll checks the field values on TaskConfig_Cron with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TaskConfig_CronMultiError, or nil if none found.
type TaskConfig_CronMultiError ¶
type TaskConfig_CronMultiError []error
TaskConfig_CronMultiError is an error wrapping multiple validation errors returned by TaskConfig_Cron.ValidateAll() if the designated constraints aren't met.
func (TaskConfig_CronMultiError) AllErrors ¶
func (m TaskConfig_CronMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TaskConfig_CronMultiError) Error ¶
func (m TaskConfig_CronMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TaskConfig_CronValidationError ¶
type TaskConfig_CronValidationError struct {
// contains filtered or unexported fields
}
TaskConfig_CronValidationError is the validation error returned by TaskConfig_Cron.Validate if the designated constraints aren't met.
func (TaskConfig_CronValidationError) Cause ¶
func (e TaskConfig_CronValidationError) Cause() error
Cause function returns cause value.
func (TaskConfig_CronValidationError) Error ¶
func (e TaskConfig_CronValidationError) Error() string
Error satisfies the builtin error interface
func (TaskConfig_CronValidationError) ErrorName ¶
func (e TaskConfig_CronValidationError) ErrorName() string
ErrorName returns error name.
func (TaskConfig_CronValidationError) Field ¶
func (e TaskConfig_CronValidationError) Field() string
Field function returns field value.
func (TaskConfig_CronValidationError) Key ¶
func (e TaskConfig_CronValidationError) Key() bool
Key function returns key value.
func (TaskConfig_CronValidationError) Reason ¶
func (e TaskConfig_CronValidationError) Reason() string
Reason function returns reason value.
type TaskConfig_Machinery ¶
type TaskConfig_Machinery struct {
Brokers []string `protobuf:"bytes,1,rep,name=brokers,proto3" json:"brokers,omitempty"` // broker address, which can be specified as Redis, AMQP, or AWS SQS according to the actual storage medium used;
Backends []string `protobuf:"bytes,2,rep,name=backends,proto3" json:"backends,omitempty"` // backend configures the media for storing results. The value can be Redis, memcached, or mongodb as required. }
// contains filtered or unexported fields
}
Machinery
func (*TaskConfig_Machinery) Descriptor
deprecated
func (*TaskConfig_Machinery) Descriptor() ([]byte, []int)
Deprecated: Use TaskConfig_Machinery.ProtoReflect.Descriptor instead.
func (*TaskConfig_Machinery) GetBackends ¶
func (x *TaskConfig_Machinery) GetBackends() []string
func (*TaskConfig_Machinery) GetBrokers ¶
func (x *TaskConfig_Machinery) GetBrokers() []string
func (*TaskConfig_Machinery) ProtoMessage ¶
func (*TaskConfig_Machinery) ProtoMessage()
func (*TaskConfig_Machinery) ProtoReflect ¶
func (x *TaskConfig_Machinery) ProtoReflect() protoreflect.Message
func (*TaskConfig_Machinery) Reset ¶
func (x *TaskConfig_Machinery) Reset()
func (*TaskConfig_Machinery) String ¶
func (x *TaskConfig_Machinery) String() string
func (*TaskConfig_Machinery) Validate ¶
func (m *TaskConfig_Machinery) Validate() error
Validate checks the field values on TaskConfig_Machinery with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TaskConfig_Machinery) ValidateAll ¶
func (m *TaskConfig_Machinery) ValidateAll() error
ValidateAll checks the field values on TaskConfig_Machinery with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TaskConfig_MachineryMultiError, or nil if none found.
type TaskConfig_MachineryMultiError ¶
type TaskConfig_MachineryMultiError []error
TaskConfig_MachineryMultiError is an error wrapping multiple validation errors returned by TaskConfig_Machinery.ValidateAll() if the designated constraints aren't met.
func (TaskConfig_MachineryMultiError) AllErrors ¶
func (m TaskConfig_MachineryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TaskConfig_MachineryMultiError) Error ¶
func (m TaskConfig_MachineryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TaskConfig_MachineryValidationError ¶
type TaskConfig_MachineryValidationError struct {
// contains filtered or unexported fields
}
TaskConfig_MachineryValidationError is the validation error returned by TaskConfig_Machinery.Validate if the designated constraints aren't met.
func (TaskConfig_MachineryValidationError) Cause ¶
func (e TaskConfig_MachineryValidationError) Cause() error
Cause function returns cause value.
func (TaskConfig_MachineryValidationError) Error ¶
func (e TaskConfig_MachineryValidationError) Error() string
Error satisfies the builtin error interface
func (TaskConfig_MachineryValidationError) ErrorName ¶
func (e TaskConfig_MachineryValidationError) ErrorName() string
ErrorName returns error name.
func (TaskConfig_MachineryValidationError) Field ¶
func (e TaskConfig_MachineryValidationError) Field() string
Field function returns field value.
func (TaskConfig_MachineryValidationError) Key ¶
func (e TaskConfig_MachineryValidationError) Key() bool
Key function returns key value.
func (TaskConfig_MachineryValidationError) Reason ¶
func (e TaskConfig_MachineryValidationError) Reason() string
Reason function returns reason value.
type TraceConfig ¶
type TraceConfig struct {
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// contains filtered or unexported fields
}
func (*TraceConfig) Descriptor
deprecated
func (*TraceConfig) Descriptor() ([]byte, []int)
Deprecated: Use TraceConfig.ProtoReflect.Descriptor instead.
func (*TraceConfig) GetEndpoint ¶
func (x *TraceConfig) GetEndpoint() string
func (*TraceConfig) GetName ¶
func (x *TraceConfig) GetName() string
func (*TraceConfig) ProtoMessage ¶
func (*TraceConfig) ProtoMessage()
func (*TraceConfig) ProtoReflect ¶
func (x *TraceConfig) ProtoReflect() protoreflect.Message
func (*TraceConfig) Reset ¶
func (x *TraceConfig) Reset()
func (*TraceConfig) String ¶
func (x *TraceConfig) String() string
func (*TraceConfig) Validate ¶
func (m *TraceConfig) Validate() error
Validate checks the field values on TraceConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TraceConfig) ValidateAll ¶
func (m *TraceConfig) ValidateAll() error
ValidateAll checks the field values on TraceConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TraceConfigMultiError, or nil if none found.
type TraceConfigMultiError ¶
type TraceConfigMultiError []error
TraceConfigMultiError is an error wrapping multiple validation errors returned by TraceConfig.ValidateAll() if the designated constraints aren't met.
func (TraceConfigMultiError) AllErrors ¶
func (m TraceConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TraceConfigMultiError) Error ¶
func (m TraceConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TraceConfigValidationError ¶
type TraceConfigValidationError struct {
// contains filtered or unexported fields
}
TraceConfigValidationError is the validation error returned by TraceConfig.Validate if the designated constraints aren't met.
func (TraceConfigValidationError) Cause ¶
func (e TraceConfigValidationError) Cause() error
Cause function returns cause value.
func (TraceConfigValidationError) Error ¶
func (e TraceConfigValidationError) Error() string
Error satisfies the builtin error interface
func (TraceConfigValidationError) ErrorName ¶
func (e TraceConfigValidationError) ErrorName() string
ErrorName returns error name.
func (TraceConfigValidationError) Field ¶
func (e TraceConfigValidationError) Field() string
Field function returns field value.
func (TraceConfigValidationError) Key ¶
func (e TraceConfigValidationError) Key() bool
Key function returns key value.
func (TraceConfigValidationError) Reason ¶
func (e TraceConfigValidationError) Reason() string
Reason function returns reason value.
Source Files
¶
- cors.pb.go
- cors.pb.validate.go
- data.pb.go
- data.pb.validate.go
- logger.pb.go
- logger.pb.validate.go
- metrics.pb.go
- metrics.pb.validate.go
- middleware.pb.go
- middleware.pb.validate.go
- registry.pb.go
- registry.pb.validate.go
- security.pb.go
- security.pb.validate.go
- service.pb.go
- service.pb.validate.go
- source.pb.go
- source.pb.validate.go
- tracer.pb.go
- tracer.pb.validate.go