Documentation
¶
Index ¶
- Variables
- type AuthNConfig
- func (*AuthNConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AuthNConfig) GetDisabled() bool
- func (x *AuthNConfig) GetJwt() *AuthNConfig_JWTConfig
- func (x *AuthNConfig) GetOidc() *AuthNConfig_OIDCConfig
- func (x *AuthNConfig) GetPreSharedKey() *AuthNConfig_PreSharedKeyConfig
- func (x *AuthNConfig) GetPublicPaths() []string
- func (x *AuthNConfig) GetType() string
- func (*AuthNConfig) ProtoMessage()
- func (x *AuthNConfig) ProtoReflect() protoreflect.Message
- func (x *AuthNConfig) Reset()
- func (x *AuthNConfig) String() string
- func (m *AuthNConfig) Validate() error
- func (m *AuthNConfig) ValidateAll() error
- type AuthNConfigMultiError
- type AuthNConfigValidationError
- func (e AuthNConfigValidationError) Cause() error
- func (e AuthNConfigValidationError) Error() string
- func (e AuthNConfigValidationError) ErrorName() string
- func (e AuthNConfigValidationError) Field() string
- func (e AuthNConfigValidationError) Key() bool
- func (e AuthNConfigValidationError) Reason() string
- type AuthNConfig_ApiKeyConfig
- func (*AuthNConfig_ApiKeyConfig) Descriptor() ([]byte, []int)deprecated
- func (*AuthNConfig_ApiKeyConfig) ProtoMessage()
- func (x *AuthNConfig_ApiKeyConfig) ProtoReflect() protoreflect.Message
- func (x *AuthNConfig_ApiKeyConfig) Reset()
- func (x *AuthNConfig_ApiKeyConfig) String() string
- func (m *AuthNConfig_ApiKeyConfig) Validate() error
- func (m *AuthNConfig_ApiKeyConfig) ValidateAll() error
- type AuthNConfig_ApiKeyConfigMultiError
- type AuthNConfig_ApiKeyConfigValidationError
- func (e AuthNConfig_ApiKeyConfigValidationError) Cause() error
- func (e AuthNConfig_ApiKeyConfigValidationError) Error() string
- func (e AuthNConfig_ApiKeyConfigValidationError) ErrorName() string
- func (e AuthNConfig_ApiKeyConfigValidationError) Field() string
- func (e AuthNConfig_ApiKeyConfigValidationError) Key() bool
- func (e AuthNConfig_ApiKeyConfigValidationError) Reason() string
- type AuthNConfig_BasicAuthConfig
- func (*AuthNConfig_BasicAuthConfig) Descriptor() ([]byte, []int)deprecated
- func (*AuthNConfig_BasicAuthConfig) ProtoMessage()
- func (x *AuthNConfig_BasicAuthConfig) ProtoReflect() protoreflect.Message
- func (x *AuthNConfig_BasicAuthConfig) Reset()
- func (x *AuthNConfig_BasicAuthConfig) String() string
- func (m *AuthNConfig_BasicAuthConfig) Validate() error
- func (m *AuthNConfig_BasicAuthConfig) ValidateAll() error
- type AuthNConfig_BasicAuthConfigMultiError
- type AuthNConfig_BasicAuthConfigValidationError
- func (e AuthNConfig_BasicAuthConfigValidationError) Cause() error
- func (e AuthNConfig_BasicAuthConfigValidationError) Error() string
- func (e AuthNConfig_BasicAuthConfigValidationError) ErrorName() string
- func (e AuthNConfig_BasicAuthConfigValidationError) Field() string
- func (e AuthNConfig_BasicAuthConfigValidationError) Key() bool
- func (e AuthNConfig_BasicAuthConfigValidationError) Reason() string
- type AuthNConfig_JWTConfig
- func (*AuthNConfig_JWTConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AuthNConfig_JWTConfig) GetAlgorithm() string
- func (x *AuthNConfig_JWTConfig) GetCacheName() string
- func (x *AuthNConfig_JWTConfig) GetExpireTime() int64
- func (x *AuthNConfig_JWTConfig) GetOldSigningKey() string
- func (x *AuthNConfig_JWTConfig) GetRefreshTime() int64
- func (x *AuthNConfig_JWTConfig) GetSigningKey() string
- func (*AuthNConfig_JWTConfig) ProtoMessage()
- func (x *AuthNConfig_JWTConfig) ProtoReflect() protoreflect.Message
- func (x *AuthNConfig_JWTConfig) Reset()
- func (x *AuthNConfig_JWTConfig) String() string
- func (m *AuthNConfig_JWTConfig) Validate() error
- func (m *AuthNConfig_JWTConfig) ValidateAll() error
- type AuthNConfig_JWTConfigMultiError
- type AuthNConfig_JWTConfigValidationError
- func (e AuthNConfig_JWTConfigValidationError) Cause() error
- func (e AuthNConfig_JWTConfigValidationError) Error() string
- func (e AuthNConfig_JWTConfigValidationError) ErrorName() string
- func (e AuthNConfig_JWTConfigValidationError) Field() string
- func (e AuthNConfig_JWTConfigValidationError) Key() bool
- func (e AuthNConfig_JWTConfigValidationError) Reason() string
- type AuthNConfig_LdapConfig
- func (*AuthNConfig_LdapConfig) Descriptor() ([]byte, []int)deprecated
- func (*AuthNConfig_LdapConfig) ProtoMessage()
- func (x *AuthNConfig_LdapConfig) ProtoReflect() protoreflect.Message
- func (x *AuthNConfig_LdapConfig) Reset()
- func (x *AuthNConfig_LdapConfig) String() string
- func (m *AuthNConfig_LdapConfig) Validate() error
- func (m *AuthNConfig_LdapConfig) ValidateAll() error
- type AuthNConfig_LdapConfigMultiError
- type AuthNConfig_LdapConfigValidationError
- func (e AuthNConfig_LdapConfigValidationError) Cause() error
- func (e AuthNConfig_LdapConfigValidationError) Error() string
- func (e AuthNConfig_LdapConfigValidationError) ErrorName() string
- func (e AuthNConfig_LdapConfigValidationError) Field() string
- func (e AuthNConfig_LdapConfigValidationError) Key() bool
- func (e AuthNConfig_LdapConfigValidationError) Reason() string
- type AuthNConfig_OAuth2Config
- func (*AuthNConfig_OAuth2Config) Descriptor() ([]byte, []int)deprecated
- func (*AuthNConfig_OAuth2Config) ProtoMessage()
- func (x *AuthNConfig_OAuth2Config) ProtoReflect() protoreflect.Message
- func (x *AuthNConfig_OAuth2Config) Reset()
- func (x *AuthNConfig_OAuth2Config) String() string
- func (m *AuthNConfig_OAuth2Config) Validate() error
- func (m *AuthNConfig_OAuth2Config) ValidateAll() error
- type AuthNConfig_OAuth2ConfigMultiError
- type AuthNConfig_OAuth2ConfigValidationError
- func (e AuthNConfig_OAuth2ConfigValidationError) Cause() error
- func (e AuthNConfig_OAuth2ConfigValidationError) Error() string
- func (e AuthNConfig_OAuth2ConfigValidationError) ErrorName() string
- func (e AuthNConfig_OAuth2ConfigValidationError) Field() string
- func (e AuthNConfig_OAuth2ConfigValidationError) Key() bool
- func (e AuthNConfig_OAuth2ConfigValidationError) Reason() string
- type AuthNConfig_OIDCConfig
- func (*AuthNConfig_OIDCConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AuthNConfig_OIDCConfig) GetAlgorithm() string
- func (x *AuthNConfig_OIDCConfig) GetAudience() string
- func (x *AuthNConfig_OIDCConfig) GetIssuerUrl() string
- func (*AuthNConfig_OIDCConfig) ProtoMessage()
- func (x *AuthNConfig_OIDCConfig) ProtoReflect() protoreflect.Message
- func (x *AuthNConfig_OIDCConfig) Reset()
- func (x *AuthNConfig_OIDCConfig) String() string
- func (m *AuthNConfig_OIDCConfig) Validate() error
- func (m *AuthNConfig_OIDCConfig) ValidateAll() error
- type AuthNConfig_OIDCConfigMultiError
- type AuthNConfig_OIDCConfigValidationError
- func (e AuthNConfig_OIDCConfigValidationError) Cause() error
- func (e AuthNConfig_OIDCConfigValidationError) Error() string
- func (e AuthNConfig_OIDCConfigValidationError) ErrorName() string
- func (e AuthNConfig_OIDCConfigValidationError) Field() string
- func (e AuthNConfig_OIDCConfigValidationError) Key() bool
- func (e AuthNConfig_OIDCConfigValidationError) Reason() string
- type AuthNConfig_PreSharedKeyConfig
- func (*AuthNConfig_PreSharedKeyConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AuthNConfig_PreSharedKeyConfig) GetSecretKeys() []string
- func (*AuthNConfig_PreSharedKeyConfig) ProtoMessage()
- func (x *AuthNConfig_PreSharedKeyConfig) ProtoReflect() protoreflect.Message
- func (x *AuthNConfig_PreSharedKeyConfig) Reset()
- func (x *AuthNConfig_PreSharedKeyConfig) String() string
- func (m *AuthNConfig_PreSharedKeyConfig) Validate() error
- func (m *AuthNConfig_PreSharedKeyConfig) ValidateAll() error
- type AuthNConfig_PreSharedKeyConfigMultiError
- type AuthNConfig_PreSharedKeyConfigValidationError
- func (e AuthNConfig_PreSharedKeyConfigValidationError) Cause() error
- func (e AuthNConfig_PreSharedKeyConfigValidationError) Error() string
- func (e AuthNConfig_PreSharedKeyConfigValidationError) ErrorName() string
- func (e AuthNConfig_PreSharedKeyConfigValidationError) Field() string
- func (e AuthNConfig_PreSharedKeyConfigValidationError) Key() bool
- func (e AuthNConfig_PreSharedKeyConfigValidationError) Reason() string
- type AuthNConfig_SamlConfig
- func (*AuthNConfig_SamlConfig) Descriptor() ([]byte, []int)deprecated
- func (*AuthNConfig_SamlConfig) ProtoMessage()
- func (x *AuthNConfig_SamlConfig) ProtoReflect() protoreflect.Message
- func (x *AuthNConfig_SamlConfig) Reset()
- func (x *AuthNConfig_SamlConfig) String() string
- func (m *AuthNConfig_SamlConfig) Validate() error
- func (m *AuthNConfig_SamlConfig) ValidateAll() error
- type AuthNConfig_SamlConfigMultiError
- type AuthNConfig_SamlConfigValidationError
- func (e AuthNConfig_SamlConfigValidationError) Cause() error
- func (e AuthNConfig_SamlConfigValidationError) Error() string
- func (e AuthNConfig_SamlConfigValidationError) ErrorName() string
- func (e AuthNConfig_SamlConfigValidationError) Field() string
- func (e AuthNConfig_SamlConfigValidationError) Key() bool
- func (e AuthNConfig_SamlConfigValidationError) Reason() string
- type AuthNConfig_X509Config
- func (*AuthNConfig_X509Config) Descriptor() ([]byte, []int)deprecated
- func (*AuthNConfig_X509Config) ProtoMessage()
- func (x *AuthNConfig_X509Config) ProtoReflect() protoreflect.Message
- func (x *AuthNConfig_X509Config) Reset()
- func (x *AuthNConfig_X509Config) String() string
- func (m *AuthNConfig_X509Config) Validate() error
- func (m *AuthNConfig_X509Config) ValidateAll() error
- type AuthNConfig_X509ConfigMultiError
- type AuthNConfig_X509ConfigValidationError
- func (e AuthNConfig_X509ConfigValidationError) Cause() error
- func (e AuthNConfig_X509ConfigValidationError) Error() string
- func (e AuthNConfig_X509ConfigValidationError) ErrorName() string
- func (e AuthNConfig_X509ConfigValidationError) Field() string
- func (e AuthNConfig_X509ConfigValidationError) Key() bool
- func (e AuthNConfig_X509ConfigValidationError) Reason() string
- type AuthZConfig
- func (*AuthZConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AuthZConfig) GetCasbin() *AuthZConfig_CasbinConfig
- func (x *AuthZConfig) GetDisabled() bool
- func (x *AuthZConfig) GetOpa() *AuthZConfig_OpaConfig
- func (x *AuthZConfig) GetPublicPaths() []string
- func (x *AuthZConfig) GetType() string
- func (x *AuthZConfig) GetZanzibar() *AuthZConfig_ZanzibarConfig
- func (*AuthZConfig) ProtoMessage()
- func (x *AuthZConfig) ProtoReflect() protoreflect.Message
- func (x *AuthZConfig) Reset()
- func (x *AuthZConfig) String() string
- func (m *AuthZConfig) Validate() error
- func (m *AuthZConfig) ValidateAll() error
- type AuthZConfigMultiError
- type AuthZConfigValidationError
- func (e AuthZConfigValidationError) Cause() error
- func (e AuthZConfigValidationError) Error() string
- func (e AuthZConfigValidationError) ErrorName() string
- func (e AuthZConfigValidationError) Field() string
- func (e AuthZConfigValidationError) Key() bool
- func (e AuthZConfigValidationError) Reason() string
- type AuthZConfig_CasbinConfig
- func (*AuthZConfig_CasbinConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AuthZConfig_CasbinConfig) GetModelFile() string
- func (x *AuthZConfig_CasbinConfig) GetPolicyFile() string
- func (*AuthZConfig_CasbinConfig) ProtoMessage()
- func (x *AuthZConfig_CasbinConfig) ProtoReflect() protoreflect.Message
- func (x *AuthZConfig_CasbinConfig) Reset()
- func (x *AuthZConfig_CasbinConfig) String() string
- func (m *AuthZConfig_CasbinConfig) Validate() error
- func (m *AuthZConfig_CasbinConfig) ValidateAll() error
- type AuthZConfig_CasbinConfigMultiError
- type AuthZConfig_CasbinConfigValidationError
- func (e AuthZConfig_CasbinConfigValidationError) Cause() error
- func (e AuthZConfig_CasbinConfigValidationError) Error() string
- func (e AuthZConfig_CasbinConfigValidationError) ErrorName() string
- func (e AuthZConfig_CasbinConfigValidationError) Field() string
- func (e AuthZConfig_CasbinConfigValidationError) Key() bool
- func (e AuthZConfig_CasbinConfigValidationError) Reason() string
- type AuthZConfig_OpaConfig
- func (*AuthZConfig_OpaConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AuthZConfig_OpaConfig) GetDataFile() string
- func (x *AuthZConfig_OpaConfig) GetPolicyFile() string
- func (x *AuthZConfig_OpaConfig) GetRegoFile() string
- func (x *AuthZConfig_OpaConfig) GetServerUrl() string
- func (*AuthZConfig_OpaConfig) ProtoMessage()
- func (x *AuthZConfig_OpaConfig) ProtoReflect() protoreflect.Message
- func (x *AuthZConfig_OpaConfig) Reset()
- func (x *AuthZConfig_OpaConfig) String() string
- func (m *AuthZConfig_OpaConfig) Validate() error
- func (m *AuthZConfig_OpaConfig) ValidateAll() error
- type AuthZConfig_OpaConfigMultiError
- type AuthZConfig_OpaConfigValidationError
- func (e AuthZConfig_OpaConfigValidationError) Cause() error
- func (e AuthZConfig_OpaConfigValidationError) Error() string
- func (e AuthZConfig_OpaConfigValidationError) ErrorName() string
- func (e AuthZConfig_OpaConfigValidationError) Field() string
- func (e AuthZConfig_OpaConfigValidationError) Key() bool
- func (e AuthZConfig_OpaConfigValidationError) Reason() string
- type AuthZConfig_ZanzibarConfig
- func (*AuthZConfig_ZanzibarConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AuthZConfig_ZanzibarConfig) GetApiEndpoint() string
- func (x *AuthZConfig_ZanzibarConfig) GetNamespace() string
- func (x *AuthZConfig_ZanzibarConfig) GetReadConsistency() string
- func (x *AuthZConfig_ZanzibarConfig) GetWriteConsistency() string
- func (*AuthZConfig_ZanzibarConfig) ProtoMessage()
- func (x *AuthZConfig_ZanzibarConfig) ProtoReflect() protoreflect.Message
- func (x *AuthZConfig_ZanzibarConfig) Reset()
- func (x *AuthZConfig_ZanzibarConfig) String() string
- func (m *AuthZConfig_ZanzibarConfig) Validate() error
- func (m *AuthZConfig_ZanzibarConfig) ValidateAll() error
- type AuthZConfig_ZanzibarConfigMultiError
- type AuthZConfig_ZanzibarConfigValidationError
- func (e AuthZConfig_ZanzibarConfigValidationError) Cause() error
- func (e AuthZConfig_ZanzibarConfigValidationError) Error() string
- func (e AuthZConfig_ZanzibarConfigValidationError) ErrorName() string
- func (e AuthZConfig_ZanzibarConfigValidationError) Field() string
- func (e AuthZConfig_ZanzibarConfigValidationError) Key() bool
- func (e AuthZConfig_ZanzibarConfigValidationError) Reason() string
- type Backend
- func (*Backend) Descriptor() ([]byte, []int)deprecated
- func (x *Backend) GetHealthCheck() *HealthCheck
- func (x *Backend) GetMetadata() map[string]string
- func (x *Backend) GetTarget() string
- func (x *Backend) GetTls() bool
- func (x *Backend) GetTlsConfigName() string
- func (x *Backend) GetWeight() int64
- func (*Backend) ProtoMessage()
- func (x *Backend) ProtoReflect() protoreflect.Message
- func (x *Backend) Reset()
- func (x *Backend) String() string
- func (m *Backend) Validate() error
- func (m *Backend) ValidateAll() error
- type BackendMultiError
- type BackendValidationError
- type BadgerDS
- func (*BadgerDS) Descriptor() ([]byte, []int)deprecated
- func (x *BadgerDS) GetInMemory() bool
- func (x *BadgerDS) GetLogLevel() uint32
- func (x *BadgerDS) GetPath() string
- func (x *BadgerDS) GetSyncWrites() bool
- func (x *BadgerDS) GetValueLogFileSize() int32
- func (*BadgerDS) ProtoMessage()
- func (x *BadgerDS) ProtoReflect() protoreflect.Message
- func (x *BadgerDS) Reset()
- func (x *BadgerDS) String() string
- func (m *BadgerDS) Validate() error
- func (m *BadgerDS) ValidateAll() error
- type BadgerDSMultiError
- type BadgerDSValidationError
- type Cache
- func (*Cache) Descriptor() ([]byte, []int)deprecated
- func (x *Cache) GetBadger() *BadgerDS
- func (x *Cache) GetDriver() string
- func (x *Cache) GetMemcached() *Memcached
- func (x *Cache) GetMemory() *Memory
- func (x *Cache) GetName() string
- func (x *Cache) GetRedis() *Redis
- func (*Cache) ProtoMessage()
- func (x *Cache) ProtoReflect() protoreflect.Message
- func (x *Cache) Reset()
- func (x *Cache) String() string
- func (m *Cache) Validate() error
- func (m *Cache) ValidateAll() error
- type CacheMultiError
- type CacheValidationError
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetByHeader() *Condition_Header
- func (x *Condition) GetByStatusCode() string
- func (x *Condition) GetCondition() isCondition_Condition
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- func (m *Condition) Validate() error
- func (m *Condition) ValidateAll() error
- type ConditionMultiError
- type ConditionValidationError
- type Condition_ByHeader
- type Condition_ByStatusCode
- type Condition_Header
- func (*Condition_Header) Descriptor() ([]byte, []int)deprecated
- func (x *Condition_Header) GetName() string
- func (x *Condition_Header) GetValue() string
- func (*Condition_Header) ProtoMessage()
- func (x *Condition_Header) ProtoReflect() protoreflect.Message
- func (x *Condition_Header) Reset()
- func (x *Condition_Header) String() string
- func (m *Condition_Header) Validate() error
- func (m *Condition_Header) ValidateAll() error
- type Condition_HeaderMultiError
- type Condition_HeaderValidationError
- func (e Condition_HeaderValidationError) Cause() error
- func (e Condition_HeaderValidationError) Error() string
- func (e Condition_HeaderValidationError) ErrorName() string
- func (e Condition_HeaderValidationError) Field() string
- func (e Condition_HeaderValidationError) Key() bool
- func (e Condition_HeaderValidationError) Reason() string
- type Cors
- func (*Cors) Descriptor() ([]byte, []int)deprecated
- func (x *Cors) GetAllowBrowserExtensions() bool
- func (x *Cors) GetAllowCredentials() bool
- func (x *Cors) GetAllowFiles() bool
- func (x *Cors) GetAllowHeaders() []string
- func (x *Cors) GetAllowMethods() []string
- func (x *Cors) GetAllowOrigins() []string
- func (x *Cors) GetAllowPrivateNetwork() bool
- func (x *Cors) GetAllowWebSockets() bool
- func (x *Cors) GetAllowWildcard() bool
- func (x *Cors) GetEnabled() bool
- func (x *Cors) GetExposeHeaders() []string
- func (x *Cors) GetMaxAge() int64
- func (*Cors) ProtoMessage()
- func (x *Cors) ProtoReflect() protoreflect.Message
- func (x *Cors) Reset()
- func (x *Cors) String() string
- func (m *Cors) Validate() error
- func (m *Cors) ValidateAll() error
- type CorsMultiError
- type CorsValidationError
- type Customize
- func (*Customize) Descriptor() ([]byte, []int)deprecated
- func (x *Customize) GetConfigs() []*Customize_Config
- func (*Customize) ProtoMessage()
- func (x *Customize) ProtoReflect() protoreflect.Message
- func (x *Customize) Reset()
- func (x *Customize) String() string
- func (m *Customize) Validate() error
- func (m *Customize) ValidateAll() error
- type CustomizeMap
- func (*CustomizeMap) Descriptor() ([]byte, []int)deprecated
- func (x *CustomizeMap) GetTypes() map[string]*Customize
- func (*CustomizeMap) ProtoMessage()
- func (x *CustomizeMap) ProtoReflect() protoreflect.Message
- func (x *CustomizeMap) Reset()
- func (x *CustomizeMap) String() string
- func (m *CustomizeMap) Validate() error
- func (m *CustomizeMap) ValidateAll() error
- type CustomizeMapMultiError
- type CustomizeMapValidationError
- func (e CustomizeMapValidationError) Cause() error
- func (e CustomizeMapValidationError) Error() string
- func (e CustomizeMapValidationError) ErrorName() string
- func (e CustomizeMapValidationError) Field() string
- func (e CustomizeMapValidationError) Key() bool
- func (e CustomizeMapValidationError) Reason() string
- type CustomizeMultiError
- type CustomizeValidationError
- type Customize_Config
- func (*Customize_Config) Descriptor() ([]byte, []int)deprecated
- func (x *Customize_Config) GetEnabled() bool
- func (x *Customize_Config) GetName() string
- func (x *Customize_Config) GetValue() *anypb.Any
- func (*Customize_Config) ProtoMessage()
- func (x *Customize_Config) ProtoReflect() protoreflect.Message
- func (x *Customize_Config) Reset()
- func (x *Customize_Config) String() string
- func (m *Customize_Config) Validate() error
- func (m *Customize_Config) ValidateAll() error
- type Customize_ConfigMultiError
- type Customize_ConfigValidationError
- func (e Customize_ConfigValidationError) Cause() error
- func (e Customize_ConfigValidationError) Error() string
- func (e Customize_ConfigValidationError) ErrorName() string
- func (e Customize_ConfigValidationError) Field() string
- func (e Customize_ConfigValidationError) Key() bool
- func (e Customize_ConfigValidationError) Reason() string
- type Database
- func (*Database) Descriptor() ([]byte, []int)deprecated
- func (x *Database) GetConnectionMaxIdleTime() int64
- func (x *Database) GetConnectionMaxLifetime() int64
- func (x *Database) GetDebug() bool
- func (x *Database) GetDialect() string
- func (x *Database) GetEnableMetrics() bool
- func (x *Database) GetEnableTrace() bool
- func (x *Database) GetMaxIdleConnections() int32
- func (x *Database) GetMaxOpenConnections() int32
- func (x *Database) GetMigration() *Migration
- func (x *Database) GetSource() string
- func (*Database) ProtoMessage()
- func (x *Database) ProtoReflect() protoreflect.Message
- func (x *Database) Reset()
- func (x *Database) String() string
- func (m *Database) Validate() error
- func (m *Database) ValidateAll() error
- type DatabaseMultiError
- type DatabaseValidationError
- type Discovery
- func (*Discovery) Descriptor() ([]byte, []int)deprecated
- func (x *Discovery) GetConsul() *Discovery_Consul
- func (x *Discovery) GetCustomize() *Customize
- func (x *Discovery) GetDebug() bool
- func (x *Discovery) GetEtcd() *Discovery_ETCD
- func (x *Discovery) GetServiceName() string
- func (x *Discovery) GetType() string
- func (*Discovery) ProtoMessage()
- func (x *Discovery) ProtoReflect() protoreflect.Message
- func (x *Discovery) Reset()
- func (x *Discovery) String() string
- func (m *Discovery) Validate() error
- func (m *Discovery) ValidateAll() error
- type DiscoveryMultiError
- type DiscoveryValidationError
- type Discovery_Consul
- func (*Discovery_Consul) Descriptor() ([]byte, []int)deprecated
- func (x *Discovery_Consul) GetAddress() string
- func (x *Discovery_Consul) GetDatacenter() string
- func (x *Discovery_Consul) GetDeregisterCriticalServiceAfter() uint32
- func (x *Discovery_Consul) GetHealthCheck() bool
- func (x *Discovery_Consul) GetHealthCheckInterval() uint32
- func (x *Discovery_Consul) GetHeartBeat() bool
- func (x *Discovery_Consul) GetScheme() string
- func (x *Discovery_Consul) GetTimeout() int64
- func (x *Discovery_Consul) GetToken() string
- func (*Discovery_Consul) ProtoMessage()
- func (x *Discovery_Consul) ProtoReflect() protoreflect.Message
- func (x *Discovery_Consul) Reset()
- func (x *Discovery_Consul) String() string
- func (m *Discovery_Consul) Validate() error
- func (m *Discovery_Consul) ValidateAll() error
- type Discovery_ConsulMultiError
- type Discovery_ConsulValidationError
- func (e Discovery_ConsulValidationError) Cause() error
- func (e Discovery_ConsulValidationError) Error() string
- func (e Discovery_ConsulValidationError) ErrorName() string
- func (e Discovery_ConsulValidationError) Field() string
- func (e Discovery_ConsulValidationError) Key() bool
- func (e Discovery_ConsulValidationError) Reason() string
- type Discovery_ETCD
- func (*Discovery_ETCD) Descriptor() ([]byte, []int)deprecated
- func (x *Discovery_ETCD) GetEndpoints() []string
- func (*Discovery_ETCD) ProtoMessage()
- func (x *Discovery_ETCD) ProtoReflect() protoreflect.Message
- func (x *Discovery_ETCD) Reset()
- func (x *Discovery_ETCD) String() string
- func (m *Discovery_ETCD) Validate() error
- func (m *Discovery_ETCD) ValidateAll() error
- type Discovery_ETCDMultiError
- type Discovery_ETCDValidationError
- func (e Discovery_ETCDValidationError) Cause() error
- func (e Discovery_ETCDValidationError) Error() string
- func (e Discovery_ETCDValidationError) ErrorName() string
- func (e Discovery_ETCDValidationError) Field() string
- func (e Discovery_ETCDValidationError) Key() bool
- func (e Discovery_ETCDValidationError) Reason() string
- type Endpoint
- func (*Endpoint) Descriptor() ([]byte, []int)deprecated
- func (x *Endpoint) GetBackends() []*Backend
- func (x *Endpoint) GetDescription() string
- func (x *Endpoint) GetHost() string
- func (x *Endpoint) GetMetadata() map[string]string
- func (x *Endpoint) GetMethod() string
- func (x *Endpoint) GetMiddlewares() []*Middleware
- func (x *Endpoint) GetPath() string
- func (x *Endpoint) GetProtocol() Protocol
- func (x *Endpoint) GetRetry() *Retry
- func (x *Endpoint) GetTimeout() int64
- func (*Endpoint) ProtoMessage()
- func (x *Endpoint) ProtoReflect() protoreflect.Message
- func (x *Endpoint) Reset()
- func (x *Endpoint) String() string
- func (m *Endpoint) Validate() error
- func (m *Endpoint) ValidateAll() error
- type EndpointMultiError
- type EndpointValidationError
- type File
- type FileMultiError
- type FileValidationError
- type Gateway
- func (*Gateway) Descriptor() ([]byte, []int)deprecated
- func (x *Gateway) GetEndpoints() []*Endpoint
- func (x *Gateway) GetHosts() []stringdeprecated
- func (x *Gateway) GetMiddlewares() []*Middleware
- func (x *Gateway) GetName() string
- func (x *Gateway) GetTlsStore() map[string]*TLS
- func (x *Gateway) GetVersion() string
- func (*Gateway) ProtoMessage()
- func (x *Gateway) ProtoReflect() protoreflect.Message
- func (x *Gateway) Reset()
- func (x *Gateway) String() string
- func (m *Gateway) Validate() error
- func (m *Gateway) ValidateAll() error
- type GatewayMultiError
- type GatewayValidationError
- type HealthCheck
- func (*HealthCheck) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheck) GetEndpoint() string
- func (x *HealthCheck) GetType() HealthCheck_CheckType
- func (*HealthCheck) ProtoMessage()
- func (x *HealthCheck) ProtoReflect() protoreflect.Message
- func (x *HealthCheck) Reset()
- func (x *HealthCheck) String() string
- func (m *HealthCheck) Validate() error
- func (m *HealthCheck) ValidateAll() error
- type HealthCheckMultiError
- type HealthCheckValidationError
- func (e HealthCheckValidationError) Cause() error
- func (e HealthCheckValidationError) Error() string
- func (e HealthCheckValidationError) ErrorName() string
- func (e HealthCheckValidationError) Field() string
- func (e HealthCheckValidationError) Key() bool
- func (e HealthCheckValidationError) Reason() string
- type HealthCheck_CheckType
- func (HealthCheck_CheckType) Descriptor() protoreflect.EnumDescriptor
- func (x HealthCheck_CheckType) Enum() *HealthCheck_CheckType
- func (HealthCheck_CheckType) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthCheck_CheckType) Number() protoreflect.EnumNumber
- func (x HealthCheck_CheckType) String() string
- func (HealthCheck_CheckType) Type() protoreflect.EnumType
- type Logger
- func (*Logger) Descriptor() ([]byte, []int)deprecated
- func (x *Logger) GetCallerSkip() uint32
- func (x *Logger) GetDefault() bool
- func (x *Logger) GetDevLogger() *Logger_DevLogger
- func (x *Logger) GetDevelop() bool
- func (x *Logger) GetDisableCaller() bool
- func (x *Logger) GetDisabled() bool
- func (x *Logger) GetFile() *Logger_File
- func (x *Logger) GetFormat() string
- func (x *Logger) GetLevel() string
- func (x *Logger) GetName() string
- func (x *Logger) GetStdout() bool
- func (x *Logger) GetTimeFormat() string
- func (*Logger) ProtoMessage()
- func (x *Logger) ProtoReflect() protoreflect.Message
- func (x *Logger) Reset()
- func (x *Logger) String() string
- func (m *Logger) Validate() error
- func (m *Logger) ValidateAll() error
- type LoggerHookMessage
- func (*LoggerHookMessage) Descriptor() ([]byte, []int)deprecated
- func (x *LoggerHookMessage) GetError() string
- func (x *LoggerHookMessage) GetFields() map[string]string
- func (x *LoggerHookMessage) GetLevel() string
- func (x *LoggerHookMessage) GetMessage() string
- func (x *LoggerHookMessage) GetStacktrace() string
- func (*LoggerHookMessage) ProtoMessage()
- func (x *LoggerHookMessage) ProtoReflect() protoreflect.Message
- func (x *LoggerHookMessage) Reset()
- func (x *LoggerHookMessage) String() string
- func (m *LoggerHookMessage) Validate() error
- func (m *LoggerHookMessage) ValidateAll() error
- type LoggerHookMessageMultiError
- type LoggerHookMessageValidationError
- func (e LoggerHookMessageValidationError) Cause() error
- func (e LoggerHookMessageValidationError) Error() string
- func (e LoggerHookMessageValidationError) ErrorName() string
- func (e LoggerHookMessageValidationError) Field() string
- func (e LoggerHookMessageValidationError) Key() bool
- func (e LoggerHookMessageValidationError) Reason() string
- type LoggerLevel
- func (LoggerLevel) Descriptor() protoreflect.EnumDescriptor
- func (x LoggerLevel) Enum() *LoggerLevel
- func (LoggerLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x LoggerLevel) Number() protoreflect.EnumNumber
- func (x LoggerLevel) String() string
- func (LoggerLevel) Type() protoreflect.EnumType
- type LoggerMultiError
- type LoggerValidationError
- type Logger_DevLogger
- func (*Logger_DevLogger) Descriptor() ([]byte, []int)deprecated
- func (x *Logger_DevLogger) GetDebugColor() uint32
- func (x *Logger_DevLogger) GetErrorColor() uint32
- func (x *Logger_DevLogger) GetFormatter() bool
- func (x *Logger_DevLogger) GetIndent() bool
- func (x *Logger_DevLogger) GetInfoColor() uint32
- func (x *Logger_DevLogger) GetMaxSlice() uint32
- func (x *Logger_DevLogger) GetMaxTrace() uint32
- func (x *Logger_DevLogger) GetNewline() bool
- func (x *Logger_DevLogger) GetSortKeys() bool
- func (x *Logger_DevLogger) GetWarnColor() uint32
- func (*Logger_DevLogger) ProtoMessage()
- func (x *Logger_DevLogger) ProtoReflect() protoreflect.Message
- func (x *Logger_DevLogger) Reset()
- func (x *Logger_DevLogger) String() string
- func (m *Logger_DevLogger) Validate() error
- func (m *Logger_DevLogger) ValidateAll() error
- type Logger_DevLoggerMultiError
- type Logger_DevLoggerValidationError
- func (e Logger_DevLoggerValidationError) Cause() error
- func (e Logger_DevLoggerValidationError) Error() string
- func (e Logger_DevLoggerValidationError) ErrorName() string
- func (e Logger_DevLoggerValidationError) Field() string
- func (e Logger_DevLoggerValidationError) Key() bool
- func (e Logger_DevLoggerValidationError) Reason() string
- type Logger_File
- func (*Logger_File) Descriptor() ([]byte, []int)deprecated
- func (x *Logger_File) GetCompress() bool
- func (x *Logger_File) GetLocalTime() bool
- func (x *Logger_File) GetLumberjack() bool
- func (x *Logger_File) GetMaxAge() int32
- func (x *Logger_File) GetMaxBackups() int32
- func (x *Logger_File) GetMaxSize() int32
- func (x *Logger_File) GetPath() string
- func (*Logger_File) ProtoMessage()
- func (x *Logger_File) ProtoReflect() protoreflect.Message
- func (x *Logger_File) Reset()
- func (x *Logger_File) String() string
- func (m *Logger_File) Validate() error
- func (m *Logger_File) ValidateAll() error
- type Logger_FileMultiError
- type Logger_FileValidationError
- func (e Logger_FileValidationError) Cause() error
- func (e Logger_FileValidationError) Error() string
- func (e Logger_FileValidationError) ErrorName() string
- func (e Logger_FileValidationError) Field() string
- func (e Logger_FileValidationError) Key() bool
- func (e Logger_FileValidationError) Reason() string
- type Mail
- func (*Mail) Descriptor() ([]byte, []int)deprecated
- func (x *Mail) GetFrom() string
- func (x *Mail) GetHost() string
- func (x *Mail) GetMaxRetries() int32
- func (x *Mail) GetNickname() string
- func (x *Mail) GetPassword() string
- func (x *Mail) GetPort() int32
- func (x *Mail) GetRetryInterval() int64
- func (x *Mail) GetSsl() bool
- func (x *Mail) GetTokenSecret() string
- func (x *Mail) GetType() string
- func (x *Mail) GetUsername() string
- func (*Mail) ProtoMessage()
- func (x *Mail) ProtoReflect() protoreflect.Message
- func (x *Mail) Reset()
- func (x *Mail) String() string
- func (m *Mail) Validate() error
- func (m *Mail) ValidateAll() error
- type MailMultiError
- type MailValidationError
- type Memcached
- func (*Memcached) Descriptor() ([]byte, []int)deprecated
- func (x *Memcached) GetAddr() string
- func (x *Memcached) GetMaxIdle() int32
- func (x *Memcached) GetPassword() string
- func (x *Memcached) GetTimeout() int64
- func (x *Memcached) GetUsername() string
- func (*Memcached) ProtoMessage()
- func (x *Memcached) ProtoReflect() protoreflect.Message
- func (x *Memcached) Reset()
- func (x *Memcached) String() string
- func (m *Memcached) Validate() error
- func (m *Memcached) ValidateAll() error
- type MemcachedMultiError
- type MemcachedValidationError
- type Memory
- func (*Memory) Descriptor() ([]byte, []int)deprecated
- func (x *Memory) GetCapacity() int32
- func (x *Memory) GetCleanupInterval() int64
- func (x *Memory) GetExpiration() int64
- func (x *Memory) GetSize() int32
- func (*Memory) ProtoMessage()
- func (x *Memory) ProtoReflect() protoreflect.Message
- func (x *Memory) Reset()
- func (x *Memory) String() string
- func (m *Memory) Validate() error
- func (m *Memory) ValidateAll() error
- type MemoryMultiError
- type MemoryValidationError
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetActivemq() *Message_ActiveMQ
- func (x *Message) GetKafka() *Message_Kafka
- func (x *Message) GetMqtt() *Message_MQTT
- func (x *Message) GetName() string
- func (x *Message) GetNats() *Message_NATS
- func (x *Message) GetNsq() *Message_NSQ
- func (x *Message) GetPulsar() *Message_Pulsar
- func (x *Message) GetRabbitmq() *Message_RabbitMQ
- func (x *Message) GetRedis() *Message_Redis
- func (x *Message) GetRocketmq() *Message_RocketMQ
- func (x *Message) GetType() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- func (m *Message) Validate() error
- func (m *Message) ValidateAll() error
- type MessageMultiError
- type MessageValidationError
- type Message_ActiveMQ
- func (*Message_ActiveMQ) Descriptor() ([]byte, []int)deprecated
- func (x *Message_ActiveMQ) GetCodec() string
- func (x *Message_ActiveMQ) GetEndpoint() string
- func (*Message_ActiveMQ) ProtoMessage()
- func (x *Message_ActiveMQ) ProtoReflect() protoreflect.Message
- func (x *Message_ActiveMQ) Reset()
- func (x *Message_ActiveMQ) String() string
- func (m *Message_ActiveMQ) Validate() error
- func (m *Message_ActiveMQ) ValidateAll() error
- type Message_ActiveMQMultiError
- type Message_ActiveMQValidationError
- func (e Message_ActiveMQValidationError) Cause() error
- func (e Message_ActiveMQValidationError) Error() string
- func (e Message_ActiveMQValidationError) ErrorName() string
- func (e Message_ActiveMQValidationError) Field() string
- func (e Message_ActiveMQValidationError) Key() bool
- func (e Message_ActiveMQValidationError) Reason() string
- type Message_Kafka
- func (*Message_Kafka) Descriptor() ([]byte, []int)deprecated
- func (x *Message_Kafka) GetCodec() string
- func (x *Message_Kafka) GetEndpoint() string
- func (*Message_Kafka) ProtoMessage()
- func (x *Message_Kafka) ProtoReflect() protoreflect.Message
- func (x *Message_Kafka) Reset()
- func (x *Message_Kafka) String() string
- func (m *Message_Kafka) Validate() error
- func (m *Message_Kafka) ValidateAll() error
- type Message_KafkaMultiError
- type Message_KafkaValidationError
- func (e Message_KafkaValidationError) Cause() error
- func (e Message_KafkaValidationError) Error() string
- func (e Message_KafkaValidationError) ErrorName() string
- func (e Message_KafkaValidationError) Field() string
- func (e Message_KafkaValidationError) Key() bool
- func (e Message_KafkaValidationError) Reason() string
- type Message_MQTT
- func (*Message_MQTT) Descriptor() ([]byte, []int)deprecated
- func (x *Message_MQTT) GetCodec() string
- func (x *Message_MQTT) GetEndpoint() string
- func (*Message_MQTT) ProtoMessage()
- func (x *Message_MQTT) ProtoReflect() protoreflect.Message
- func (x *Message_MQTT) Reset()
- func (x *Message_MQTT) String() string
- func (m *Message_MQTT) Validate() error
- func (m *Message_MQTT) ValidateAll() error
- type Message_MQTTMultiError
- type Message_MQTTValidationError
- func (e Message_MQTTValidationError) Cause() error
- func (e Message_MQTTValidationError) Error() string
- func (e Message_MQTTValidationError) ErrorName() string
- func (e Message_MQTTValidationError) Field() string
- func (e Message_MQTTValidationError) Key() bool
- func (e Message_MQTTValidationError) Reason() string
- type Message_NATS
- func (*Message_NATS) Descriptor() ([]byte, []int)deprecated
- func (x *Message_NATS) GetCodec() string
- func (x *Message_NATS) GetEndpoint() string
- func (*Message_NATS) ProtoMessage()
- func (x *Message_NATS) ProtoReflect() protoreflect.Message
- func (x *Message_NATS) Reset()
- func (x *Message_NATS) String() string
- func (m *Message_NATS) Validate() error
- func (m *Message_NATS) ValidateAll() error
- type Message_NATSMultiError
- type Message_NATSValidationError
- func (e Message_NATSValidationError) Cause() error
- func (e Message_NATSValidationError) Error() string
- func (e Message_NATSValidationError) ErrorName() string
- func (e Message_NATSValidationError) Field() string
- func (e Message_NATSValidationError) Key() bool
- func (e Message_NATSValidationError) Reason() string
- type Message_NSQ
- func (*Message_NSQ) Descriptor() ([]byte, []int)deprecated
- func (x *Message_NSQ) GetCodec() string
- func (x *Message_NSQ) GetEndpoint() string
- func (*Message_NSQ) ProtoMessage()
- func (x *Message_NSQ) ProtoReflect() protoreflect.Message
- func (x *Message_NSQ) Reset()
- func (x *Message_NSQ) String() string
- func (m *Message_NSQ) Validate() error
- func (m *Message_NSQ) ValidateAll() error
- type Message_NSQMultiError
- type Message_NSQValidationError
- func (e Message_NSQValidationError) Cause() error
- func (e Message_NSQValidationError) Error() string
- func (e Message_NSQValidationError) ErrorName() string
- func (e Message_NSQValidationError) Field() string
- func (e Message_NSQValidationError) Key() bool
- func (e Message_NSQValidationError) Reason() string
- type Message_Pulsar
- func (*Message_Pulsar) Descriptor() ([]byte, []int)deprecated
- func (x *Message_Pulsar) GetCodec() string
- func (x *Message_Pulsar) GetEndpoint() string
- func (*Message_Pulsar) ProtoMessage()
- func (x *Message_Pulsar) ProtoReflect() protoreflect.Message
- func (x *Message_Pulsar) Reset()
- func (x *Message_Pulsar) String() string
- func (m *Message_Pulsar) Validate() error
- func (m *Message_Pulsar) ValidateAll() error
- type Message_PulsarMultiError
- type Message_PulsarValidationError
- func (e Message_PulsarValidationError) Cause() error
- func (e Message_PulsarValidationError) Error() string
- func (e Message_PulsarValidationError) ErrorName() string
- func (e Message_PulsarValidationError) Field() string
- func (e Message_PulsarValidationError) Key() bool
- func (e Message_PulsarValidationError) Reason() string
- type Message_RabbitMQ
- func (*Message_RabbitMQ) Descriptor() ([]byte, []int)deprecated
- func (x *Message_RabbitMQ) GetCodec() string
- func (x *Message_RabbitMQ) GetEndpoint() string
- func (*Message_RabbitMQ) ProtoMessage()
- func (x *Message_RabbitMQ) ProtoReflect() protoreflect.Message
- func (x *Message_RabbitMQ) Reset()
- func (x *Message_RabbitMQ) String() string
- func (m *Message_RabbitMQ) Validate() error
- func (m *Message_RabbitMQ) ValidateAll() error
- type Message_RabbitMQMultiError
- type Message_RabbitMQValidationError
- func (e Message_RabbitMQValidationError) Cause() error
- func (e Message_RabbitMQValidationError) Error() string
- func (e Message_RabbitMQValidationError) ErrorName() string
- func (e Message_RabbitMQValidationError) Field() string
- func (e Message_RabbitMQValidationError) Key() bool
- func (e Message_RabbitMQValidationError) Reason() string
- type Message_Redis
- func (*Message_Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Message_Redis) GetCodec() string
- func (x *Message_Redis) GetEndpoint() string
- func (*Message_Redis) ProtoMessage()
- func (x *Message_Redis) ProtoReflect() protoreflect.Message
- func (x *Message_Redis) Reset()
- func (x *Message_Redis) String() string
- func (m *Message_Redis) Validate() error
- func (m *Message_Redis) ValidateAll() error
- type Message_RedisMultiError
- type Message_RedisValidationError
- func (e Message_RedisValidationError) Cause() error
- func (e Message_RedisValidationError) Error() string
- func (e Message_RedisValidationError) ErrorName() string
- func (e Message_RedisValidationError) Field() string
- func (e Message_RedisValidationError) Key() bool
- func (e Message_RedisValidationError) Reason() string
- type Message_RocketMQ
- func (*Message_RocketMQ) Descriptor() ([]byte, []int)deprecated
- func (x *Message_RocketMQ) GetAccessKey() string
- func (x *Message_RocketMQ) GetCodec() string
- func (x *Message_RocketMQ) GetEnableTrace() bool
- func (x *Message_RocketMQ) GetEndpoint() string
- func (x *Message_RocketMQ) GetGroupName() string
- func (x *Message_RocketMQ) GetInstanceName() string
- func (x *Message_RocketMQ) GetNameServerDomain() string
- func (x *Message_RocketMQ) GetNameServers() []string
- func (x *Message_RocketMQ) GetNamespace() string
- func (x *Message_RocketMQ) GetSecretKey() string
- func (x *Message_RocketMQ) GetSecurityToken() string
- func (*Message_RocketMQ) ProtoMessage()
- func (x *Message_RocketMQ) ProtoReflect() protoreflect.Message
- func (x *Message_RocketMQ) Reset()
- func (x *Message_RocketMQ) String() string
- func (m *Message_RocketMQ) Validate() error
- func (m *Message_RocketMQ) ValidateAll() error
- type Message_RocketMQMultiError
- type Message_RocketMQValidationError
- func (e Message_RocketMQValidationError) Cause() error
- func (e Message_RocketMQValidationError) Error() string
- func (e Message_RocketMQValidationError) ErrorName() string
- func (e Message_RocketMQValidationError) Field() string
- func (e Message_RocketMQValidationError) Key() bool
- func (e Message_RocketMQValidationError) Reason() string
- type Middleware
- func (*Middleware) Descriptor() ([]byte, []int)deprecated
- func (x *Middleware) GetName() string
- func (x *Middleware) GetOptions() []byte
- func (x *Middleware) GetRequired() bool
- func (*Middleware) ProtoMessage()
- func (x *Middleware) ProtoReflect() protoreflect.Message
- func (x *Middleware) Reset()
- func (x *Middleware) String() string
- func (m *Middleware) Validate() error
- func (m *Middleware) ValidateAll() error
- type MiddlewareMultiError
- type MiddlewareValidationError
- type Migration
- func (*Migration) Descriptor() ([]byte, []int)deprecated
- func (x *Migration) GetEnabled() bool
- func (x *Migration) GetMode() string
- func (x *Migration) GetNames() []string
- func (x *Migration) GetPath() string
- func (x *Migration) GetVersion() string
- func (*Migration) ProtoMessage()
- func (x *Migration) ProtoReflect() protoreflect.Message
- func (x *Migration) Reset()
- func (x *Migration) String() string
- func (m *Migration) Validate() error
- func (m *Migration) ValidateAll() error
- type MigrationMultiError
- type MigrationValidationError
- type Mongo
- func (*Mongo) Descriptor() ([]byte, []int)deprecated
- func (x *Mongo) GetAuthSource() bool
- func (x *Mongo) GetConnectTimeout() int64
- func (x *Mongo) GetDatabase() string
- func (x *Mongo) GetMaxPoolSize() int32
- func (x *Mongo) GetMinPoolSize() int32
- func (x *Mongo) GetPassword() string
- func (x *Mongo) GetUri() string
- func (x *Mongo) GetUsername() string
- func (*Mongo) ProtoMessage()
- func (x *Mongo) ProtoReflect() protoreflect.Message
- func (x *Mongo) Reset()
- func (x *Mongo) String() string
- func (m *Mongo) Validate() error
- func (m *Mongo) ValidateAll() error
- type MongoMultiError
- type MongoValidationError
- type Oss
- func (*Oss) Descriptor() ([]byte, []int)deprecated
- func (x *Oss) GetAccessKeyId() string
- func (x *Oss) GetAccessKeySecret() string
- func (x *Oss) GetBucket() string
- func (x *Oss) GetConnectTimeout() int64
- func (x *Oss) GetEndpoint() string
- func (x *Oss) GetReadTimeout() int64
- func (x *Oss) GetRegion() string
- func (x *Oss) GetSsl() bool
- func (*Oss) ProtoMessage()
- func (x *Oss) ProtoReflect() protoreflect.Message
- func (x *Oss) Reset()
- func (x *Oss) String() string
- func (m *Oss) Validate() error
- func (m *Oss) ValidateAll() error
- type OssMultiError
- type OssValidationError
- type PriorityConfig
- func (*PriorityConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PriorityConfig) GetEndpoints() []*Endpoint
- func (x *PriorityConfig) GetName() string
- func (x *PriorityConfig) GetVersion() string
- func (*PriorityConfig) ProtoMessage()
- func (x *PriorityConfig) ProtoReflect() protoreflect.Message
- func (x *PriorityConfig) Reset()
- func (x *PriorityConfig) String() string
- func (m *PriorityConfig) Validate() error
- func (m *PriorityConfig) ValidateAll() error
- type PriorityConfigMultiError
- type PriorityConfigValidationError
- func (e PriorityConfigValidationError) Cause() error
- func (e PriorityConfigValidationError) Error() string
- func (e PriorityConfigValidationError) ErrorName() string
- func (e PriorityConfigValidationError) Field() string
- func (e PriorityConfigValidationError) Key() bool
- func (e PriorityConfigValidationError) Reason() string
- type Protocol
- type Redis
- func (*Redis) Descriptor() ([]byte, []int)deprecated
- func (x *Redis) GetAddr() string
- func (x *Redis) GetDb() int32
- func (x *Redis) GetDialTimeout() int64
- func (x *Redis) GetNetwork() string
- func (x *Redis) GetPassword() string
- func (x *Redis) GetReadTimeout() int64
- func (x *Redis) GetWriteTimeout() int64
- func (*Redis) ProtoMessage()
- func (x *Redis) ProtoReflect() protoreflect.Message
- func (x *Redis) Reset()
- func (x *Redis) String() string
- func (m *Redis) Validate() error
- func (m *Redis) ValidateAll() error
- type RedisMultiError
- type RedisValidationError
- type Retry
- func (*Retry) Descriptor() ([]byte, []int)deprecated
- func (x *Retry) GetAttempts() uint32
- func (x *Retry) GetConditions() []*Condition
- func (x *Retry) GetPerTryTimeout() int64
- func (x *Retry) GetPriorities() []string
- func (*Retry) ProtoMessage()
- func (x *Retry) ProtoReflect() protoreflect.Message
- func (x *Retry) Reset()
- func (x *Retry) String() string
- func (m *Retry) Validate() error
- func (m *Retry) ValidateAll() error
- type RetryMultiError
- type RetryValidationError
- type Security
- func (*Security) Descriptor() ([]byte, []int)deprecated
- func (x *Security) GetAuthn() *AuthNConfig
- func (x *Security) GetAuthz() *AuthZConfig
- func (x *Security) GetPublicPaths() []string
- func (*Security) ProtoMessage()
- func (x *Security) ProtoReflect() protoreflect.Message
- func (x *Security) Reset()
- func (x *Security) String() string
- func (m *Security) Validate() error
- func (m *Security) ValidateAll() error
- type SecurityMultiError
- type SecurityValidationError
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetDynamicEndpoint() bool
- func (x *Service) GetGrpc() *Service_GRPC
- func (x *Service) GetHttp() *Service_HTTP
- func (x *Service) GetMessage() *Message
- func (x *Service) GetName() string
- func (x *Service) GetSelector() *Service_Selector
- func (x *Service) GetTask() *Task
- func (x *Service) GetType() string
- func (x *Service) GetWebsocket() *WebSocket
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- func (m *Service) Validate() error
- func (m *Service) ValidateAll() error
- type ServiceMultiError
- type ServiceValidationError
- type Service_GRPC
- func (*Service_GRPC) Descriptor() ([]byte, []int)deprecated
- func (x *Service_GRPC) GetAddr() string
- func (x *Service_GRPC) GetEndpoint() string
- func (x *Service_GRPC) GetIdleTimeout() int64
- func (x *Service_GRPC) GetNetwork() string
- func (x *Service_GRPC) GetReadTimeout() int64
- func (x *Service_GRPC) GetShutdownTimeout() int64
- func (x *Service_GRPC) GetTimeout() int64
- func (x *Service_GRPC) GetTlsConfig() *TLSConfig
- func (x *Service_GRPC) GetUseTls() bool
- func (x *Service_GRPC) GetWriteTimeout() int64
- func (*Service_GRPC) ProtoMessage()
- func (x *Service_GRPC) ProtoReflect() protoreflect.Message
- func (x *Service_GRPC) Reset()
- func (x *Service_GRPC) String() string
- func (m *Service_GRPC) Validate() error
- func (m *Service_GRPC) ValidateAll() error
- type Service_GRPCMultiError
- type Service_GRPCValidationError
- func (e Service_GRPCValidationError) Cause() error
- func (e Service_GRPCValidationError) Error() string
- func (e Service_GRPCValidationError) ErrorName() string
- func (e Service_GRPCValidationError) Field() string
- func (e Service_GRPCValidationError) Key() bool
- func (e Service_GRPCValidationError) Reason() string
- type Service_HTTP
- func (*Service_HTTP) Descriptor() ([]byte, []int)deprecated
- func (x *Service_HTTP) GetAddr() string
- func (x *Service_HTTP) GetEndpoint() string
- func (x *Service_HTTP) GetIdleTimeout() int64
- func (x *Service_HTTP) GetNetwork() string
- func (x *Service_HTTP) GetReadTimeout() int64
- func (x *Service_HTTP) GetShutdownTimeout() int64
- func (x *Service_HTTP) GetTimeout() int64
- func (x *Service_HTTP) GetTlsConfig() *TLSConfig
- func (x *Service_HTTP) GetUseTls() bool
- func (x *Service_HTTP) GetWriteTimeout() int64
- func (*Service_HTTP) ProtoMessage()
- func (x *Service_HTTP) ProtoReflect() protoreflect.Message
- func (x *Service_HTTP) Reset()
- func (x *Service_HTTP) String() string
- func (m *Service_HTTP) Validate() error
- func (m *Service_HTTP) ValidateAll() error
- type Service_HTTPMultiError
- type Service_HTTPValidationError
- func (e Service_HTTPValidationError) Cause() error
- func (e Service_HTTPValidationError) Error() string
- func (e Service_HTTPValidationError) ErrorName() string
- func (e Service_HTTPValidationError) Field() string
- func (e Service_HTTPValidationError) Key() bool
- func (e Service_HTTPValidationError) Reason() string
- type Service_Selector
- func (*Service_Selector) Descriptor() ([]byte, []int)deprecated
- func (x *Service_Selector) GetBuilder() string
- func (x *Service_Selector) GetVersion() string
- func (*Service_Selector) ProtoMessage()
- func (x *Service_Selector) ProtoReflect() protoreflect.Message
- func (x *Service_Selector) Reset()
- func (x *Service_Selector) String() string
- func (m *Service_Selector) Validate() error
- func (m *Service_Selector) ValidateAll() error
- type Service_SelectorMultiError
- type Service_SelectorValidationError
- func (e Service_SelectorValidationError) Cause() error
- func (e Service_SelectorValidationError) Error() string
- func (e Service_SelectorValidationError) ErrorName() string
- func (e Service_SelectorValidationError) Field() string
- func (e Service_SelectorValidationError) Key() bool
- func (e Service_SelectorValidationError) Reason() string
- type SourceConfig
- func (*SourceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SourceConfig) GetApollo() *SourceConfig_Apollo
- func (x *SourceConfig) GetConsul() *SourceConfig_Consul
- func (x *SourceConfig) GetCustomize() *Customize
- func (x *SourceConfig) GetEnv() bool
- 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) GetKubernetes() *SourceConfig_Kubernetes
- func (x *SourceConfig) GetNacos() *SourceConfig_Nacos
- func (x *SourceConfig) GetName() string
- func (x *SourceConfig) GetPolaris() *SourceConfig_Polaris
- func (x *SourceConfig) GetTypes() []string
- func (x *SourceConfig) GetVersion() 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_Apollo
- func (*SourceConfig_Apollo) Descriptor() ([]byte, []int)deprecated
- func (*SourceConfig_Apollo) ProtoMessage()
- func (x *SourceConfig_Apollo) ProtoReflect() protoreflect.Message
- func (x *SourceConfig_Apollo) Reset()
- func (x *SourceConfig_Apollo) String() string
- func (m *SourceConfig_Apollo) Validate() error
- func (m *SourceConfig_Apollo) ValidateAll() error
- type SourceConfig_ApolloMultiError
- type SourceConfig_ApolloValidationError
- func (e SourceConfig_ApolloValidationError) Cause() error
- func (e SourceConfig_ApolloValidationError) Error() string
- func (e SourceConfig_ApolloValidationError) ErrorName() string
- func (e SourceConfig_ApolloValidationError) Field() string
- func (e SourceConfig_ApolloValidationError) Key() bool
- func (e SourceConfig_ApolloValidationError) 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) GetIgnores() []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 SourceConfig_Kubernetes
- func (*SourceConfig_Kubernetes) Descriptor() ([]byte, []int)deprecated
- func (*SourceConfig_Kubernetes) ProtoMessage()
- func (x *SourceConfig_Kubernetes) ProtoReflect() protoreflect.Message
- func (x *SourceConfig_Kubernetes) Reset()
- func (x *SourceConfig_Kubernetes) String() string
- func (m *SourceConfig_Kubernetes) Validate() error
- func (m *SourceConfig_Kubernetes) ValidateAll() error
- type SourceConfig_KubernetesMultiError
- type SourceConfig_KubernetesValidationError
- func (e SourceConfig_KubernetesValidationError) Cause() error
- func (e SourceConfig_KubernetesValidationError) Error() string
- func (e SourceConfig_KubernetesValidationError) ErrorName() string
- func (e SourceConfig_KubernetesValidationError) Field() string
- func (e SourceConfig_KubernetesValidationError) Key() bool
- func (e SourceConfig_KubernetesValidationError) Reason() string
- type SourceConfig_Nacos
- func (*SourceConfig_Nacos) Descriptor() ([]byte, []int)deprecated
- func (*SourceConfig_Nacos) ProtoMessage()
- func (x *SourceConfig_Nacos) ProtoReflect() protoreflect.Message
- func (x *SourceConfig_Nacos) Reset()
- func (x *SourceConfig_Nacos) String() string
- func (m *SourceConfig_Nacos) Validate() error
- func (m *SourceConfig_Nacos) ValidateAll() error
- type SourceConfig_NacosMultiError
- type SourceConfig_NacosValidationError
- func (e SourceConfig_NacosValidationError) Cause() error
- func (e SourceConfig_NacosValidationError) Error() string
- func (e SourceConfig_NacosValidationError) ErrorName() string
- func (e SourceConfig_NacosValidationError) Field() string
- func (e SourceConfig_NacosValidationError) Key() bool
- func (e SourceConfig_NacosValidationError) Reason() string
- type SourceConfig_Polaris
- func (*SourceConfig_Polaris) Descriptor() ([]byte, []int)deprecated
- func (*SourceConfig_Polaris) ProtoMessage()
- func (x *SourceConfig_Polaris) ProtoReflect() protoreflect.Message
- func (x *SourceConfig_Polaris) Reset()
- func (x *SourceConfig_Polaris) String() string
- func (m *SourceConfig_Polaris) Validate() error
- func (m *SourceConfig_Polaris) ValidateAll() error
- type SourceConfig_PolarisMultiError
- type SourceConfig_PolarisValidationError
- func (e SourceConfig_PolarisValidationError) Cause() error
- func (e SourceConfig_PolarisValidationError) Error() string
- func (e SourceConfig_PolarisValidationError) ErrorName() string
- func (e SourceConfig_PolarisValidationError) Field() string
- func (e SourceConfig_PolarisValidationError) Key() bool
- func (e SourceConfig_PolarisValidationError) Reason() string
- type Storage
- func (*Storage) Descriptor() ([]byte, []int)deprecated
- func (x *Storage) GetBadger() *BadgerDS
- func (x *Storage) GetCache() *Cache
- func (x *Storage) GetDatabase() *Database
- func (x *Storage) GetFile() *File
- func (x *Storage) GetMongo() *Mongo
- func (x *Storage) GetName() string
- func (x *Storage) GetOss() *Oss
- func (x *Storage) GetRedis() *Redis
- func (x *Storage) GetType() string
- func (*Storage) ProtoMessage()
- func (x *Storage) ProtoReflect() protoreflect.Message
- func (x *Storage) Reset()
- func (x *Storage) String() string
- func (m *Storage) Validate() error
- func (m *Storage) ValidateAll() error
- type StorageMultiError
- type StorageValidationError
- type TLS
- func (*TLS) Descriptor() ([]byte, []int)deprecated
- func (x *TLS) GetCacert() string
- func (x *TLS) GetCert() string
- func (x *TLS) GetInsecure() bool
- func (x *TLS) GetKey() string
- func (x *TLS) GetServerName() string
- func (*TLS) ProtoMessage()
- func (x *TLS) ProtoReflect() protoreflect.Message
- func (x *TLS) Reset()
- func (x *TLS) String() string
- func (m *TLS) Validate() error
- func (m *TLS) ValidateAll() error
- type TLSConfig
- func (*TLSConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TLSConfig) GetFile() *TLSConfig_File
- func (x *TLSConfig) GetPem() *TLSConfig_PEM
- func (*TLSConfig) ProtoMessage()
- func (x *TLSConfig) ProtoReflect() protoreflect.Message
- func (x *TLSConfig) Reset()
- func (x *TLSConfig) String() string
- func (m *TLSConfig) Validate() error
- func (m *TLSConfig) ValidateAll() error
- type TLSConfigMultiError
- type TLSConfigValidationError
- type TLSConfig_File
- func (*TLSConfig_File) Descriptor() ([]byte, []int)deprecated
- func (x *TLSConfig_File) GetCa() string
- func (x *TLSConfig_File) GetCert() string
- func (x *TLSConfig_File) GetKey() string
- func (*TLSConfig_File) ProtoMessage()
- func (x *TLSConfig_File) ProtoReflect() protoreflect.Message
- func (x *TLSConfig_File) Reset()
- func (x *TLSConfig_File) String() string
- func (m *TLSConfig_File) Validate() error
- func (m *TLSConfig_File) ValidateAll() error
- type TLSConfig_FileMultiError
- type TLSConfig_FileValidationError
- func (e TLSConfig_FileValidationError) Cause() error
- func (e TLSConfig_FileValidationError) Error() string
- func (e TLSConfig_FileValidationError) ErrorName() string
- func (e TLSConfig_FileValidationError) Field() string
- func (e TLSConfig_FileValidationError) Key() bool
- func (e TLSConfig_FileValidationError) Reason() string
- type TLSConfig_PEM
- func (*TLSConfig_PEM) Descriptor() ([]byte, []int)deprecated
- func (x *TLSConfig_PEM) GetCa() []byte
- func (x *TLSConfig_PEM) GetCert() []byte
- func (x *TLSConfig_PEM) GetKey() []byte
- func (*TLSConfig_PEM) ProtoMessage()
- func (x *TLSConfig_PEM) ProtoReflect() protoreflect.Message
- func (x *TLSConfig_PEM) Reset()
- func (x *TLSConfig_PEM) String() string
- func (m *TLSConfig_PEM) Validate() error
- func (m *TLSConfig_PEM) ValidateAll() error
- type TLSConfig_PEMMultiError
- type TLSConfig_PEMValidationError
- func (e TLSConfig_PEMValidationError) Cause() error
- func (e TLSConfig_PEMValidationError) Error() string
- func (e TLSConfig_PEMValidationError) ErrorName() string
- func (e TLSConfig_PEMValidationError) Field() string
- func (e TLSConfig_PEMValidationError) Key() bool
- func (e TLSConfig_PEMValidationError) Reason() string
- type TLSMultiError
- type TLSValidationError
- type Task
- func (*Task) Descriptor() ([]byte, []int)deprecated
- func (x *Task) GetAsynq() *Task_Asynq
- func (x *Task) GetCron() *Task_Cron
- func (x *Task) GetMachinery() *Task_Machinery
- func (x *Task) GetName() string
- func (x *Task) GetType() string
- func (*Task) ProtoMessage()
- func (x *Task) ProtoReflect() protoreflect.Message
- func (x *Task) Reset()
- func (x *Task) String() string
- func (m *Task) Validate() error
- func (m *Task) ValidateAll() error
- type TaskMultiError
- type TaskValidationError
- type Task_Asynq
- func (*Task_Asynq) Descriptor() ([]byte, []int)deprecated
- func (x *Task_Asynq) GetDb() int32
- func (x *Task_Asynq) GetEndpoint() string
- func (x *Task_Asynq) GetLocation() string
- func (x *Task_Asynq) GetPassword() string
- func (*Task_Asynq) ProtoMessage()
- func (x *Task_Asynq) ProtoReflect() protoreflect.Message
- func (x *Task_Asynq) Reset()
- func (x *Task_Asynq) String() string
- func (m *Task_Asynq) Validate() error
- func (m *Task_Asynq) ValidateAll() error
- type Task_AsynqMultiError
- type Task_AsynqValidationError
- type Task_Cron
- func (*Task_Cron) Descriptor() ([]byte, []int)deprecated
- func (x *Task_Cron) GetAddr() string
- func (*Task_Cron) ProtoMessage()
- func (x *Task_Cron) ProtoReflect() protoreflect.Message
- func (x *Task_Cron) Reset()
- func (x *Task_Cron) String() string
- func (m *Task_Cron) Validate() error
- func (m *Task_Cron) ValidateAll() error
- type Task_CronMultiError
- type Task_CronValidationError
- type Task_Machinery
- func (*Task_Machinery) Descriptor() ([]byte, []int)deprecated
- func (x *Task_Machinery) GetBackends() []string
- func (x *Task_Machinery) GetBrokers() []string
- func (*Task_Machinery) ProtoMessage()
- func (x *Task_Machinery) ProtoReflect() protoreflect.Message
- func (x *Task_Machinery) Reset()
- func (x *Task_Machinery) String() string
- func (m *Task_Machinery) Validate() error
- func (m *Task_Machinery) ValidateAll() error
- type Task_MachineryMultiError
- type Task_MachineryValidationError
- func (e Task_MachineryValidationError) Cause() error
- func (e Task_MachineryValidationError) Error() string
- func (e Task_MachineryValidationError) ErrorName() string
- func (e Task_MachineryValidationError) Field() string
- func (e Task_MachineryValidationError) Key() bool
- func (e Task_MachineryValidationError) Reason() string
- type Trace
- func (*Trace) Descriptor() ([]byte, []int)deprecated
- func (x *Trace) GetEndpoint() string
- func (x *Trace) GetName() string
- func (*Trace) ProtoMessage()
- func (x *Trace) ProtoReflect() protoreflect.Message
- func (x *Trace) Reset()
- func (x *Trace) String() string
- func (m *Trace) Validate() error
- func (m *Trace) ValidateAll() error
- type TraceMultiError
- type TraceValidationError
- type WebSocket
- func (*WebSocket) Descriptor() ([]byte, []int)deprecated
- func (x *WebSocket) GetAddr() string
- func (x *WebSocket) GetCodec() string
- func (x *WebSocket) GetNetwork() string
- func (x *WebSocket) GetPath() string
- func (x *WebSocket) GetTimeout() int64
- func (*WebSocket) ProtoMessage()
- func (x *WebSocket) ProtoReflect() protoreflect.Message
- func (x *WebSocket) Reset()
- func (x *WebSocket) String() string
- func (m *WebSocket) Validate() error
- func (m *WebSocket) ValidateAll() error
- type WebSocketMultiError
- type WebSocketValidationError
Constants ¶
This section is empty.
Variables ¶
var ( Protocol_name = map[int32]string{ 0: "PROTOCOL_UNSPECIFIED", 1: "PROTOCOL_HTTP", 2: "PROTOCOL_GRPC", 3: "PROTOCOL_CUSTOM", } Protocol_value = map[string]int32{ "PROTOCOL_UNSPECIFIED": 0, "PROTOCOL_HTTP": 1, "PROTOCOL_GRPC": 2, "PROTOCOL_CUSTOM": 3, } )
Enum value maps for Protocol.
var ( HealthCheck_CheckType_name = map[int32]string{ 0: "CHECK_TYPE_UNSPECIFIED", 1: "CHECK_TYPE_HTTP", 2: "CHECK_TYPE_TCP", } HealthCheck_CheckType_value = map[string]int32{ "CHECK_TYPE_UNSPECIFIED": 0, "CHECK_TYPE_HTTP": 1, "CHECK_TYPE_TCP": 2, } )
Enum value maps for HealthCheck_CheckType.
var ( LoggerLevel_name = map[int32]string{ 0: "LOGGER_LEVEL_UNSPECIFIED", 1: "LOGGER_LEVEL_DEBUG", 2: "LOGGER_LEVEL_INFO", 3: "LOGGER_LEVEL_WARN", 4: "LOGGER_LEVEL_ERROR", 5: "LOGGER_LEVEL_FATAL", } LoggerLevel_value = map[string]int32{ "LOGGER_LEVEL_UNSPECIFIED": 0, "LOGGER_LEVEL_DEBUG": 1, "LOGGER_LEVEL_INFO": 2, "LOGGER_LEVEL_WARN": 3, "LOGGER_LEVEL_ERROR": 4, "LOGGER_LEVEL_FATAL": 5, } )
Enum value maps for LoggerLevel.
var File_config_v1_cors_proto protoreflect.FileDescriptor
var File_config_v1_customize_proto protoreflect.FileDescriptor
var File_config_v1_discovery_proto protoreflect.FileDescriptor
var File_config_v1_gateway_proto protoreflect.FileDescriptor
var File_config_v1_logger_proto protoreflect.FileDescriptor
var File_config_v1_mail_proto protoreflect.FileDescriptor
var File_config_v1_message_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_storage_proto protoreflect.FileDescriptor
var File_config_v1_task_proto protoreflect.FileDescriptor
var File_config_v1_tlsconfig_proto protoreflect.FileDescriptor
var File_config_v1_tracer_proto protoreflect.FileDescriptor
var File_config_v1_websocket_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuthNConfig ¶
type AuthNConfig struct {
// Disable security middleware
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Direct release paths
PublicPaths []string `protobuf:"bytes,2,rep,name=public_paths,proto3" json:"public_paths,omitempty"`
// Type of authentication noop, jwt, oidc, pre_shared_key, etc
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
// JWT config for authorization
Jwt *AuthNConfig_JWTConfig `protobuf:"bytes,10,opt,name=jwt,proto3" json:"jwt,omitempty"`
// OIDC config for authorization
Oidc *AuthNConfig_OIDCConfig `protobuf:"bytes,11,opt,name=oidc,proto3" json:"oidc,omitempty"`
PreSharedKey *AuthNConfig_PreSharedKeyConfig `protobuf:"bytes,12,opt,name=pre_shared_key,proto3" json:"pre_shared_key,omitempty"` // Customize config
// contains filtered or unexported fields
}
AuthNConfig contains the configuration for authentication middleware.
func (*AuthNConfig) Descriptor
deprecated
func (*AuthNConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthNConfig.ProtoReflect.Descriptor instead.
func (*AuthNConfig) GetDisabled ¶
func (x *AuthNConfig) GetDisabled() bool
func (*AuthNConfig) GetJwt ¶
func (x *AuthNConfig) GetJwt() *AuthNConfig_JWTConfig
func (*AuthNConfig) GetOidc ¶
func (x *AuthNConfig) GetOidc() *AuthNConfig_OIDCConfig
func (*AuthNConfig) GetPreSharedKey ¶
func (x *AuthNConfig) GetPreSharedKey() *AuthNConfig_PreSharedKeyConfig
func (*AuthNConfig) GetPublicPaths ¶
func (x *AuthNConfig) GetPublicPaths() []string
func (*AuthNConfig) GetType ¶
func (x *AuthNConfig) GetType() string
func (*AuthNConfig) ProtoMessage ¶
func (*AuthNConfig) ProtoMessage()
func (*AuthNConfig) ProtoReflect ¶
func (x *AuthNConfig) ProtoReflect() protoreflect.Message
func (*AuthNConfig) Reset ¶
func (x *AuthNConfig) Reset()
func (*AuthNConfig) String ¶
func (x *AuthNConfig) String() string
func (*AuthNConfig) Validate ¶
func (m *AuthNConfig) Validate() error
Validate checks the field values on AuthNConfig 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 (*AuthNConfig) ValidateAll ¶
func (m *AuthNConfig) ValidateAll() error
ValidateAll checks the field values on AuthNConfig 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 AuthNConfigMultiError, or nil if none found.
type AuthNConfigMultiError ¶
type AuthNConfigMultiError []error
AuthNConfigMultiError is an error wrapping multiple validation errors returned by AuthNConfig.ValidateAll() if the designated constraints aren't met.
func (AuthNConfigMultiError) AllErrors ¶
func (m AuthNConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthNConfigMultiError) Error ¶
func (m AuthNConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthNConfigValidationError ¶
type AuthNConfigValidationError struct {
// contains filtered or unexported fields
}
AuthNConfigValidationError is the validation error returned by AuthNConfig.Validate if the designated constraints aren't met.
func (AuthNConfigValidationError) Cause ¶
func (e AuthNConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthNConfigValidationError) Error ¶
func (e AuthNConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthNConfigValidationError) ErrorName ¶
func (e AuthNConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthNConfigValidationError) Field ¶
func (e AuthNConfigValidationError) Field() string
Field function returns field value.
func (AuthNConfigValidationError) Key ¶
func (e AuthNConfigValidationError) Key() bool
Key function returns key value.
func (AuthNConfigValidationError) Reason ¶
func (e AuthNConfigValidationError) Reason() string
Reason function returns reason value.
type AuthNConfig_ApiKeyConfig ¶
type AuthNConfig_ApiKeyConfig struct {
// contains filtered or unexported fields
}
func (*AuthNConfig_ApiKeyConfig) Descriptor
deprecated
func (*AuthNConfig_ApiKeyConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthNConfig_ApiKeyConfig.ProtoReflect.Descriptor instead.
func (*AuthNConfig_ApiKeyConfig) ProtoMessage ¶
func (*AuthNConfig_ApiKeyConfig) ProtoMessage()
func (*AuthNConfig_ApiKeyConfig) ProtoReflect ¶
func (x *AuthNConfig_ApiKeyConfig) ProtoReflect() protoreflect.Message
func (*AuthNConfig_ApiKeyConfig) Reset ¶
func (x *AuthNConfig_ApiKeyConfig) Reset()
func (*AuthNConfig_ApiKeyConfig) String ¶
func (x *AuthNConfig_ApiKeyConfig) String() string
func (*AuthNConfig_ApiKeyConfig) Validate ¶
func (m *AuthNConfig_ApiKeyConfig) Validate() error
Validate checks the field values on AuthNConfig_ApiKeyConfig 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 (*AuthNConfig_ApiKeyConfig) ValidateAll ¶
func (m *AuthNConfig_ApiKeyConfig) ValidateAll() error
ValidateAll checks the field values on AuthNConfig_ApiKeyConfig 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 AuthNConfig_ApiKeyConfigMultiError, or nil if none found.
type AuthNConfig_ApiKeyConfigMultiError ¶
type AuthNConfig_ApiKeyConfigMultiError []error
AuthNConfig_ApiKeyConfigMultiError is an error wrapping multiple validation errors returned by AuthNConfig_ApiKeyConfig.ValidateAll() if the designated constraints aren't met.
func (AuthNConfig_ApiKeyConfigMultiError) AllErrors ¶
func (m AuthNConfig_ApiKeyConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthNConfig_ApiKeyConfigMultiError) Error ¶
func (m AuthNConfig_ApiKeyConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthNConfig_ApiKeyConfigValidationError ¶
type AuthNConfig_ApiKeyConfigValidationError struct {
// contains filtered or unexported fields
}
AuthNConfig_ApiKeyConfigValidationError is the validation error returned by AuthNConfig_ApiKeyConfig.Validate if the designated constraints aren't met.
func (AuthNConfig_ApiKeyConfigValidationError) Cause ¶
func (e AuthNConfig_ApiKeyConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthNConfig_ApiKeyConfigValidationError) Error ¶
func (e AuthNConfig_ApiKeyConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthNConfig_ApiKeyConfigValidationError) ErrorName ¶
func (e AuthNConfig_ApiKeyConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthNConfig_ApiKeyConfigValidationError) Field ¶
func (e AuthNConfig_ApiKeyConfigValidationError) Field() string
Field function returns field value.
func (AuthNConfig_ApiKeyConfigValidationError) Key ¶
func (e AuthNConfig_ApiKeyConfigValidationError) Key() bool
Key function returns key value.
func (AuthNConfig_ApiKeyConfigValidationError) Reason ¶
func (e AuthNConfig_ApiKeyConfigValidationError) Reason() string
Reason function returns reason value.
type AuthNConfig_BasicAuthConfig ¶
type AuthNConfig_BasicAuthConfig struct {
// contains filtered or unexported fields
}
func (*AuthNConfig_BasicAuthConfig) Descriptor
deprecated
func (*AuthNConfig_BasicAuthConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthNConfig_BasicAuthConfig.ProtoReflect.Descriptor instead.
func (*AuthNConfig_BasicAuthConfig) ProtoMessage ¶
func (*AuthNConfig_BasicAuthConfig) ProtoMessage()
func (*AuthNConfig_BasicAuthConfig) ProtoReflect ¶
func (x *AuthNConfig_BasicAuthConfig) ProtoReflect() protoreflect.Message
func (*AuthNConfig_BasicAuthConfig) Reset ¶
func (x *AuthNConfig_BasicAuthConfig) Reset()
func (*AuthNConfig_BasicAuthConfig) String ¶
func (x *AuthNConfig_BasicAuthConfig) String() string
func (*AuthNConfig_BasicAuthConfig) Validate ¶
func (m *AuthNConfig_BasicAuthConfig) Validate() error
Validate checks the field values on AuthNConfig_BasicAuthConfig 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 (*AuthNConfig_BasicAuthConfig) ValidateAll ¶
func (m *AuthNConfig_BasicAuthConfig) ValidateAll() error
ValidateAll checks the field values on AuthNConfig_BasicAuthConfig 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 AuthNConfig_BasicAuthConfigMultiError, or nil if none found.
type AuthNConfig_BasicAuthConfigMultiError ¶
type AuthNConfig_BasicAuthConfigMultiError []error
AuthNConfig_BasicAuthConfigMultiError is an error wrapping multiple validation errors returned by AuthNConfig_BasicAuthConfig.ValidateAll() if the designated constraints aren't met.
func (AuthNConfig_BasicAuthConfigMultiError) AllErrors ¶
func (m AuthNConfig_BasicAuthConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthNConfig_BasicAuthConfigMultiError) Error ¶
func (m AuthNConfig_BasicAuthConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthNConfig_BasicAuthConfigValidationError ¶
type AuthNConfig_BasicAuthConfigValidationError struct {
// contains filtered or unexported fields
}
AuthNConfig_BasicAuthConfigValidationError is the validation error returned by AuthNConfig_BasicAuthConfig.Validate if the designated constraints aren't met.
func (AuthNConfig_BasicAuthConfigValidationError) Cause ¶
func (e AuthNConfig_BasicAuthConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthNConfig_BasicAuthConfigValidationError) Error ¶
func (e AuthNConfig_BasicAuthConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthNConfig_BasicAuthConfigValidationError) ErrorName ¶
func (e AuthNConfig_BasicAuthConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthNConfig_BasicAuthConfigValidationError) Field ¶
func (e AuthNConfig_BasicAuthConfigValidationError) Field() string
Field function returns field value.
func (AuthNConfig_BasicAuthConfigValidationError) Key ¶
func (e AuthNConfig_BasicAuthConfigValidationError) Key() bool
Key function returns key value.
func (AuthNConfig_BasicAuthConfigValidationError) Reason ¶
func (e AuthNConfig_BasicAuthConfigValidationError) Reason() string
Reason function returns reason value.
type AuthNConfig_JWTConfig ¶
type AuthNConfig_JWTConfig struct {
// Algorithm used to sign the token
Algorithm string `protobuf:"bytes,3,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
// Signing key
SigningKey string `protobuf:"bytes,4,opt,name=signing_key,proto3" json:"signing_key,omitempty"`
// Old signing key
OldSigningKey string `protobuf:"bytes,5,opt,name=old_signing_key,proto3" json:"old_signing_key,omitempty"`
// Token expiration time
ExpireTime int64 `protobuf:"varint,6,opt,name=expire_time,proto3" json:"expire_time,omitempty"`
// Token refresh time
RefreshTime int64 `protobuf:"varint,7,opt,name=refresh_time,proto3" json:"refresh_time,omitempty"`
// Cache config name from cache service
CacheName string `protobuf:"bytes,8,opt,name=cache_name,proto3" json:"cache_name,omitempty"`
// contains filtered or unexported fields
}
Authorization middleware config
func (*AuthNConfig_JWTConfig) Descriptor
deprecated
func (*AuthNConfig_JWTConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthNConfig_JWTConfig.ProtoReflect.Descriptor instead.
func (*AuthNConfig_JWTConfig) GetAlgorithm ¶
func (x *AuthNConfig_JWTConfig) GetAlgorithm() string
func (*AuthNConfig_JWTConfig) GetCacheName ¶
func (x *AuthNConfig_JWTConfig) GetCacheName() string
func (*AuthNConfig_JWTConfig) GetExpireTime ¶
func (x *AuthNConfig_JWTConfig) GetExpireTime() int64
func (*AuthNConfig_JWTConfig) GetOldSigningKey ¶
func (x *AuthNConfig_JWTConfig) GetOldSigningKey() string
func (*AuthNConfig_JWTConfig) GetRefreshTime ¶
func (x *AuthNConfig_JWTConfig) GetRefreshTime() int64
func (*AuthNConfig_JWTConfig) GetSigningKey ¶
func (x *AuthNConfig_JWTConfig) GetSigningKey() string
func (*AuthNConfig_JWTConfig) ProtoMessage ¶
func (*AuthNConfig_JWTConfig) ProtoMessage()
func (*AuthNConfig_JWTConfig) ProtoReflect ¶
func (x *AuthNConfig_JWTConfig) ProtoReflect() protoreflect.Message
func (*AuthNConfig_JWTConfig) Reset ¶
func (x *AuthNConfig_JWTConfig) Reset()
func (*AuthNConfig_JWTConfig) String ¶
func (x *AuthNConfig_JWTConfig) String() string
func (*AuthNConfig_JWTConfig) Validate ¶
func (m *AuthNConfig_JWTConfig) Validate() error
Validate checks the field values on AuthNConfig_JWTConfig 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 (*AuthNConfig_JWTConfig) ValidateAll ¶
func (m *AuthNConfig_JWTConfig) ValidateAll() error
ValidateAll checks the field values on AuthNConfig_JWTConfig 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 AuthNConfig_JWTConfigMultiError, or nil if none found.
type AuthNConfig_JWTConfigMultiError ¶
type AuthNConfig_JWTConfigMultiError []error
AuthNConfig_JWTConfigMultiError is an error wrapping multiple validation errors returned by AuthNConfig_JWTConfig.ValidateAll() if the designated constraints aren't met.
func (AuthNConfig_JWTConfigMultiError) AllErrors ¶
func (m AuthNConfig_JWTConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthNConfig_JWTConfigMultiError) Error ¶
func (m AuthNConfig_JWTConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthNConfig_JWTConfigValidationError ¶
type AuthNConfig_JWTConfigValidationError struct {
// contains filtered or unexported fields
}
AuthNConfig_JWTConfigValidationError is the validation error returned by AuthNConfig_JWTConfig.Validate if the designated constraints aren't met.
func (AuthNConfig_JWTConfigValidationError) Cause ¶
func (e AuthNConfig_JWTConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthNConfig_JWTConfigValidationError) Error ¶
func (e AuthNConfig_JWTConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthNConfig_JWTConfigValidationError) ErrorName ¶
func (e AuthNConfig_JWTConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthNConfig_JWTConfigValidationError) Field ¶
func (e AuthNConfig_JWTConfigValidationError) Field() string
Field function returns field value.
func (AuthNConfig_JWTConfigValidationError) Key ¶
func (e AuthNConfig_JWTConfigValidationError) Key() bool
Key function returns key value.
func (AuthNConfig_JWTConfigValidationError) Reason ¶
func (e AuthNConfig_JWTConfigValidationError) Reason() string
Reason function returns reason value.
type AuthNConfig_LdapConfig ¶
type AuthNConfig_LdapConfig struct {
// contains filtered or unexported fields
}
func (*AuthNConfig_LdapConfig) Descriptor
deprecated
func (*AuthNConfig_LdapConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthNConfig_LdapConfig.ProtoReflect.Descriptor instead.
func (*AuthNConfig_LdapConfig) ProtoMessage ¶
func (*AuthNConfig_LdapConfig) ProtoMessage()
func (*AuthNConfig_LdapConfig) ProtoReflect ¶
func (x *AuthNConfig_LdapConfig) ProtoReflect() protoreflect.Message
func (*AuthNConfig_LdapConfig) Reset ¶
func (x *AuthNConfig_LdapConfig) Reset()
func (*AuthNConfig_LdapConfig) String ¶
func (x *AuthNConfig_LdapConfig) String() string
func (*AuthNConfig_LdapConfig) Validate ¶
func (m *AuthNConfig_LdapConfig) Validate() error
Validate checks the field values on AuthNConfig_LdapConfig 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 (*AuthNConfig_LdapConfig) ValidateAll ¶
func (m *AuthNConfig_LdapConfig) ValidateAll() error
ValidateAll checks the field values on AuthNConfig_LdapConfig 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 AuthNConfig_LdapConfigMultiError, or nil if none found.
type AuthNConfig_LdapConfigMultiError ¶
type AuthNConfig_LdapConfigMultiError []error
AuthNConfig_LdapConfigMultiError is an error wrapping multiple validation errors returned by AuthNConfig_LdapConfig.ValidateAll() if the designated constraints aren't met.
func (AuthNConfig_LdapConfigMultiError) AllErrors ¶
func (m AuthNConfig_LdapConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthNConfig_LdapConfigMultiError) Error ¶
func (m AuthNConfig_LdapConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthNConfig_LdapConfigValidationError ¶
type AuthNConfig_LdapConfigValidationError struct {
// contains filtered or unexported fields
}
AuthNConfig_LdapConfigValidationError is the validation error returned by AuthNConfig_LdapConfig.Validate if the designated constraints aren't met.
func (AuthNConfig_LdapConfigValidationError) Cause ¶
func (e AuthNConfig_LdapConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthNConfig_LdapConfigValidationError) Error ¶
func (e AuthNConfig_LdapConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthNConfig_LdapConfigValidationError) ErrorName ¶
func (e AuthNConfig_LdapConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthNConfig_LdapConfigValidationError) Field ¶
func (e AuthNConfig_LdapConfigValidationError) Field() string
Field function returns field value.
func (AuthNConfig_LdapConfigValidationError) Key ¶
func (e AuthNConfig_LdapConfigValidationError) Key() bool
Key function returns key value.
func (AuthNConfig_LdapConfigValidationError) Reason ¶
func (e AuthNConfig_LdapConfigValidationError) Reason() string
Reason function returns reason value.
type AuthNConfig_OAuth2Config ¶
type AuthNConfig_OAuth2Config struct {
// contains filtered or unexported fields
}
func (*AuthNConfig_OAuth2Config) Descriptor
deprecated
func (*AuthNConfig_OAuth2Config) Descriptor() ([]byte, []int)
Deprecated: Use AuthNConfig_OAuth2Config.ProtoReflect.Descriptor instead.
func (*AuthNConfig_OAuth2Config) ProtoMessage ¶
func (*AuthNConfig_OAuth2Config) ProtoMessage()
func (*AuthNConfig_OAuth2Config) ProtoReflect ¶
func (x *AuthNConfig_OAuth2Config) ProtoReflect() protoreflect.Message
func (*AuthNConfig_OAuth2Config) Reset ¶
func (x *AuthNConfig_OAuth2Config) Reset()
func (*AuthNConfig_OAuth2Config) String ¶
func (x *AuthNConfig_OAuth2Config) String() string
func (*AuthNConfig_OAuth2Config) Validate ¶
func (m *AuthNConfig_OAuth2Config) Validate() error
Validate checks the field values on AuthNConfig_OAuth2Config 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 (*AuthNConfig_OAuth2Config) ValidateAll ¶
func (m *AuthNConfig_OAuth2Config) ValidateAll() error
ValidateAll checks the field values on AuthNConfig_OAuth2Config 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 AuthNConfig_OAuth2ConfigMultiError, or nil if none found.
type AuthNConfig_OAuth2ConfigMultiError ¶
type AuthNConfig_OAuth2ConfigMultiError []error
AuthNConfig_OAuth2ConfigMultiError is an error wrapping multiple validation errors returned by AuthNConfig_OAuth2Config.ValidateAll() if the designated constraints aren't met.
func (AuthNConfig_OAuth2ConfigMultiError) AllErrors ¶
func (m AuthNConfig_OAuth2ConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthNConfig_OAuth2ConfigMultiError) Error ¶
func (m AuthNConfig_OAuth2ConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthNConfig_OAuth2ConfigValidationError ¶
type AuthNConfig_OAuth2ConfigValidationError struct {
// contains filtered or unexported fields
}
AuthNConfig_OAuth2ConfigValidationError is the validation error returned by AuthNConfig_OAuth2Config.Validate if the designated constraints aren't met.
func (AuthNConfig_OAuth2ConfigValidationError) Cause ¶
func (e AuthNConfig_OAuth2ConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthNConfig_OAuth2ConfigValidationError) Error ¶
func (e AuthNConfig_OAuth2ConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthNConfig_OAuth2ConfigValidationError) ErrorName ¶
func (e AuthNConfig_OAuth2ConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthNConfig_OAuth2ConfigValidationError) Field ¶
func (e AuthNConfig_OAuth2ConfigValidationError) Field() string
Field function returns field value.
func (AuthNConfig_OAuth2ConfigValidationError) Key ¶
func (e AuthNConfig_OAuth2ConfigValidationError) Key() bool
Key function returns key value.
func (AuthNConfig_OAuth2ConfigValidationError) Reason ¶
func (e AuthNConfig_OAuth2ConfigValidationError) Reason() string
Reason function returns reason value.
type AuthNConfig_OIDCConfig ¶
type AuthNConfig_OIDCConfig struct {
// Issuer url
IssuerUrl string `protobuf:"bytes,2,opt,name=issuer_url,proto3" json:"issuer_url,omitempty"`
// Audience
Audience string `protobuf:"bytes,3,opt,name=audience,proto3" json:"audience,omitempty"`
// Algorithm used to sign the token
Algorithm string `protobuf:"bytes,4,opt,name=algorithm,proto3" json:"algorithm,omitempty"`
// contains filtered or unexported fields
}
OIDC config for authorization
func (*AuthNConfig_OIDCConfig) Descriptor
deprecated
func (*AuthNConfig_OIDCConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthNConfig_OIDCConfig.ProtoReflect.Descriptor instead.
func (*AuthNConfig_OIDCConfig) GetAlgorithm ¶
func (x *AuthNConfig_OIDCConfig) GetAlgorithm() string
func (*AuthNConfig_OIDCConfig) GetAudience ¶
func (x *AuthNConfig_OIDCConfig) GetAudience() string
func (*AuthNConfig_OIDCConfig) GetIssuerUrl ¶
func (x *AuthNConfig_OIDCConfig) GetIssuerUrl() string
func (*AuthNConfig_OIDCConfig) ProtoMessage ¶
func (*AuthNConfig_OIDCConfig) ProtoMessage()
func (*AuthNConfig_OIDCConfig) ProtoReflect ¶
func (x *AuthNConfig_OIDCConfig) ProtoReflect() protoreflect.Message
func (*AuthNConfig_OIDCConfig) Reset ¶
func (x *AuthNConfig_OIDCConfig) Reset()
func (*AuthNConfig_OIDCConfig) String ¶
func (x *AuthNConfig_OIDCConfig) String() string
func (*AuthNConfig_OIDCConfig) Validate ¶
func (m *AuthNConfig_OIDCConfig) Validate() error
Validate checks the field values on AuthNConfig_OIDCConfig 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 (*AuthNConfig_OIDCConfig) ValidateAll ¶
func (m *AuthNConfig_OIDCConfig) ValidateAll() error
ValidateAll checks the field values on AuthNConfig_OIDCConfig 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 AuthNConfig_OIDCConfigMultiError, or nil if none found.
type AuthNConfig_OIDCConfigMultiError ¶
type AuthNConfig_OIDCConfigMultiError []error
AuthNConfig_OIDCConfigMultiError is an error wrapping multiple validation errors returned by AuthNConfig_OIDCConfig.ValidateAll() if the designated constraints aren't met.
func (AuthNConfig_OIDCConfigMultiError) AllErrors ¶
func (m AuthNConfig_OIDCConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthNConfig_OIDCConfigMultiError) Error ¶
func (m AuthNConfig_OIDCConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthNConfig_OIDCConfigValidationError ¶
type AuthNConfig_OIDCConfigValidationError struct {
// contains filtered or unexported fields
}
AuthNConfig_OIDCConfigValidationError is the validation error returned by AuthNConfig_OIDCConfig.Validate if the designated constraints aren't met.
func (AuthNConfig_OIDCConfigValidationError) Cause ¶
func (e AuthNConfig_OIDCConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthNConfig_OIDCConfigValidationError) Error ¶
func (e AuthNConfig_OIDCConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthNConfig_OIDCConfigValidationError) ErrorName ¶
func (e AuthNConfig_OIDCConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthNConfig_OIDCConfigValidationError) Field ¶
func (e AuthNConfig_OIDCConfigValidationError) Field() string
Field function returns field value.
func (AuthNConfig_OIDCConfigValidationError) Key ¶
func (e AuthNConfig_OIDCConfigValidationError) Key() bool
Key function returns key value.
func (AuthNConfig_OIDCConfigValidationError) Reason ¶
func (e AuthNConfig_OIDCConfigValidationError) Reason() string
Reason function returns reason value.
type AuthNConfig_PreSharedKeyConfig ¶
type AuthNConfig_PreSharedKeyConfig struct {
SecretKeys []string `protobuf:"bytes,2,rep,name=secret_keys,proto3" json:"secret_keys,omitempty"`
// contains filtered or unexported fields
}
func (*AuthNConfig_PreSharedKeyConfig) Descriptor
deprecated
func (*AuthNConfig_PreSharedKeyConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthNConfig_PreSharedKeyConfig.ProtoReflect.Descriptor instead.
func (*AuthNConfig_PreSharedKeyConfig) GetSecretKeys ¶
func (x *AuthNConfig_PreSharedKeyConfig) GetSecretKeys() []string
func (*AuthNConfig_PreSharedKeyConfig) ProtoMessage ¶
func (*AuthNConfig_PreSharedKeyConfig) ProtoMessage()
func (*AuthNConfig_PreSharedKeyConfig) ProtoReflect ¶
func (x *AuthNConfig_PreSharedKeyConfig) ProtoReflect() protoreflect.Message
func (*AuthNConfig_PreSharedKeyConfig) Reset ¶
func (x *AuthNConfig_PreSharedKeyConfig) Reset()
func (*AuthNConfig_PreSharedKeyConfig) String ¶
func (x *AuthNConfig_PreSharedKeyConfig) String() string
func (*AuthNConfig_PreSharedKeyConfig) Validate ¶
func (m *AuthNConfig_PreSharedKeyConfig) Validate() error
Validate checks the field values on AuthNConfig_PreSharedKeyConfig 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 (*AuthNConfig_PreSharedKeyConfig) ValidateAll ¶
func (m *AuthNConfig_PreSharedKeyConfig) ValidateAll() error
ValidateAll checks the field values on AuthNConfig_PreSharedKeyConfig 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 AuthNConfig_PreSharedKeyConfigMultiError, or nil if none found.
type AuthNConfig_PreSharedKeyConfigMultiError ¶
type AuthNConfig_PreSharedKeyConfigMultiError []error
AuthNConfig_PreSharedKeyConfigMultiError is an error wrapping multiple validation errors returned by AuthNConfig_PreSharedKeyConfig.ValidateAll() if the designated constraints aren't met.
func (AuthNConfig_PreSharedKeyConfigMultiError) AllErrors ¶
func (m AuthNConfig_PreSharedKeyConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthNConfig_PreSharedKeyConfigMultiError) Error ¶
func (m AuthNConfig_PreSharedKeyConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthNConfig_PreSharedKeyConfigValidationError ¶
type AuthNConfig_PreSharedKeyConfigValidationError struct {
// contains filtered or unexported fields
}
AuthNConfig_PreSharedKeyConfigValidationError is the validation error returned by AuthNConfig_PreSharedKeyConfig.Validate if the designated constraints aren't met.
func (AuthNConfig_PreSharedKeyConfigValidationError) Cause ¶
func (e AuthNConfig_PreSharedKeyConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthNConfig_PreSharedKeyConfigValidationError) Error ¶
func (e AuthNConfig_PreSharedKeyConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthNConfig_PreSharedKeyConfigValidationError) ErrorName ¶
func (e AuthNConfig_PreSharedKeyConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthNConfig_PreSharedKeyConfigValidationError) Field ¶
func (e AuthNConfig_PreSharedKeyConfigValidationError) Field() string
Field function returns field value.
func (AuthNConfig_PreSharedKeyConfigValidationError) Key ¶
func (e AuthNConfig_PreSharedKeyConfigValidationError) Key() bool
Key function returns key value.
func (AuthNConfig_PreSharedKeyConfigValidationError) Reason ¶
func (e AuthNConfig_PreSharedKeyConfigValidationError) Reason() string
Reason function returns reason value.
type AuthNConfig_SamlConfig ¶
type AuthNConfig_SamlConfig struct {
// contains filtered or unexported fields
}
func (*AuthNConfig_SamlConfig) Descriptor
deprecated
func (*AuthNConfig_SamlConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthNConfig_SamlConfig.ProtoReflect.Descriptor instead.
func (*AuthNConfig_SamlConfig) ProtoMessage ¶
func (*AuthNConfig_SamlConfig) ProtoMessage()
func (*AuthNConfig_SamlConfig) ProtoReflect ¶
func (x *AuthNConfig_SamlConfig) ProtoReflect() protoreflect.Message
func (*AuthNConfig_SamlConfig) Reset ¶
func (x *AuthNConfig_SamlConfig) Reset()
func (*AuthNConfig_SamlConfig) String ¶
func (x *AuthNConfig_SamlConfig) String() string
func (*AuthNConfig_SamlConfig) Validate ¶
func (m *AuthNConfig_SamlConfig) Validate() error
Validate checks the field values on AuthNConfig_SamlConfig 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 (*AuthNConfig_SamlConfig) ValidateAll ¶
func (m *AuthNConfig_SamlConfig) ValidateAll() error
ValidateAll checks the field values on AuthNConfig_SamlConfig 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 AuthNConfig_SamlConfigMultiError, or nil if none found.
type AuthNConfig_SamlConfigMultiError ¶
type AuthNConfig_SamlConfigMultiError []error
AuthNConfig_SamlConfigMultiError is an error wrapping multiple validation errors returned by AuthNConfig_SamlConfig.ValidateAll() if the designated constraints aren't met.
func (AuthNConfig_SamlConfigMultiError) AllErrors ¶
func (m AuthNConfig_SamlConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthNConfig_SamlConfigMultiError) Error ¶
func (m AuthNConfig_SamlConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthNConfig_SamlConfigValidationError ¶
type AuthNConfig_SamlConfigValidationError struct {
// contains filtered or unexported fields
}
AuthNConfig_SamlConfigValidationError is the validation error returned by AuthNConfig_SamlConfig.Validate if the designated constraints aren't met.
func (AuthNConfig_SamlConfigValidationError) Cause ¶
func (e AuthNConfig_SamlConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthNConfig_SamlConfigValidationError) Error ¶
func (e AuthNConfig_SamlConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthNConfig_SamlConfigValidationError) ErrorName ¶
func (e AuthNConfig_SamlConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthNConfig_SamlConfigValidationError) Field ¶
func (e AuthNConfig_SamlConfigValidationError) Field() string
Field function returns field value.
func (AuthNConfig_SamlConfigValidationError) Key ¶
func (e AuthNConfig_SamlConfigValidationError) Key() bool
Key function returns key value.
func (AuthNConfig_SamlConfigValidationError) Reason ¶
func (e AuthNConfig_SamlConfigValidationError) Reason() string
Reason function returns reason value.
type AuthNConfig_X509Config ¶
type AuthNConfig_X509Config struct {
// contains filtered or unexported fields
}
func (*AuthNConfig_X509Config) Descriptor
deprecated
func (*AuthNConfig_X509Config) Descriptor() ([]byte, []int)
Deprecated: Use AuthNConfig_X509Config.ProtoReflect.Descriptor instead.
func (*AuthNConfig_X509Config) ProtoMessage ¶
func (*AuthNConfig_X509Config) ProtoMessage()
func (*AuthNConfig_X509Config) ProtoReflect ¶
func (x *AuthNConfig_X509Config) ProtoReflect() protoreflect.Message
func (*AuthNConfig_X509Config) Reset ¶
func (x *AuthNConfig_X509Config) Reset()
func (*AuthNConfig_X509Config) String ¶
func (x *AuthNConfig_X509Config) String() string
func (*AuthNConfig_X509Config) Validate ¶
func (m *AuthNConfig_X509Config) Validate() error
Validate checks the field values on AuthNConfig_X509Config 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 (*AuthNConfig_X509Config) ValidateAll ¶
func (m *AuthNConfig_X509Config) ValidateAll() error
ValidateAll checks the field values on AuthNConfig_X509Config 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 AuthNConfig_X509ConfigMultiError, or nil if none found.
type AuthNConfig_X509ConfigMultiError ¶
type AuthNConfig_X509ConfigMultiError []error
AuthNConfig_X509ConfigMultiError is an error wrapping multiple validation errors returned by AuthNConfig_X509Config.ValidateAll() if the designated constraints aren't met.
func (AuthNConfig_X509ConfigMultiError) AllErrors ¶
func (m AuthNConfig_X509ConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthNConfig_X509ConfigMultiError) Error ¶
func (m AuthNConfig_X509ConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthNConfig_X509ConfigValidationError ¶
type AuthNConfig_X509ConfigValidationError struct {
// contains filtered or unexported fields
}
AuthNConfig_X509ConfigValidationError is the validation error returned by AuthNConfig_X509Config.Validate if the designated constraints aren't met.
func (AuthNConfig_X509ConfigValidationError) Cause ¶
func (e AuthNConfig_X509ConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthNConfig_X509ConfigValidationError) Error ¶
func (e AuthNConfig_X509ConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthNConfig_X509ConfigValidationError) ErrorName ¶
func (e AuthNConfig_X509ConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthNConfig_X509ConfigValidationError) Field ¶
func (e AuthNConfig_X509ConfigValidationError) Field() string
Field function returns field value.
func (AuthNConfig_X509ConfigValidationError) Key ¶
func (e AuthNConfig_X509ConfigValidationError) Key() bool
Key function returns key value.
func (AuthNConfig_X509ConfigValidationError) Reason ¶
func (e AuthNConfig_X509ConfigValidationError) Reason() string
Reason function returns reason value.
type AuthZConfig ¶
type AuthZConfig struct {
// Disable security middleware
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Direct release paths, paths exempt from authorization
PublicPaths []string `protobuf:"bytes,2,rep,name=public_paths,proto3" json:"public_paths,omitempty"`
// Type of authorization noop, casbin, opa, etc
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
// Casbin config for authorization
Casbin *AuthZConfig_CasbinConfig `protobuf:"bytes,11,opt,name=casbin,proto3" json:"casbin,omitempty"`
// OPA config for authorization
Opa *AuthZConfig_OpaConfig `protobuf:"bytes,12,opt,name=opa,proto3" json:"opa,omitempty"`
// Zanzibar config for authorization
Zanzibar *AuthZConfig_ZanzibarConfig `protobuf:"bytes,13,opt,name=zanzibar,proto3" json:"zanzibar,omitempty"`
// contains filtered or unexported fields
}
AuthZConfig contains the configuration for authorization middleware.
func (*AuthZConfig) Descriptor
deprecated
func (*AuthZConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthZConfig.ProtoReflect.Descriptor instead.
func (*AuthZConfig) GetCasbin ¶
func (x *AuthZConfig) GetCasbin() *AuthZConfig_CasbinConfig
func (*AuthZConfig) GetDisabled ¶
func (x *AuthZConfig) GetDisabled() bool
func (*AuthZConfig) GetOpa ¶
func (x *AuthZConfig) GetOpa() *AuthZConfig_OpaConfig
func (*AuthZConfig) GetPublicPaths ¶
func (x *AuthZConfig) GetPublicPaths() []string
func (*AuthZConfig) GetType ¶
func (x *AuthZConfig) GetType() string
func (*AuthZConfig) GetZanzibar ¶
func (x *AuthZConfig) GetZanzibar() *AuthZConfig_ZanzibarConfig
func (*AuthZConfig) ProtoMessage ¶
func (*AuthZConfig) ProtoMessage()
func (*AuthZConfig) ProtoReflect ¶
func (x *AuthZConfig) ProtoReflect() protoreflect.Message
func (*AuthZConfig) Reset ¶
func (x *AuthZConfig) Reset()
func (*AuthZConfig) String ¶
func (x *AuthZConfig) String() string
func (*AuthZConfig) Validate ¶
func (m *AuthZConfig) Validate() error
Validate checks the field values on AuthZConfig 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 (*AuthZConfig) ValidateAll ¶
func (m *AuthZConfig) ValidateAll() error
ValidateAll checks the field values on AuthZConfig 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 AuthZConfigMultiError, or nil if none found.
type AuthZConfigMultiError ¶
type AuthZConfigMultiError []error
AuthZConfigMultiError is an error wrapping multiple validation errors returned by AuthZConfig.ValidateAll() if the designated constraints aren't met.
func (AuthZConfigMultiError) AllErrors ¶
func (m AuthZConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthZConfigMultiError) Error ¶
func (m AuthZConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthZConfigValidationError ¶
type AuthZConfigValidationError struct {
// contains filtered or unexported fields
}
AuthZConfigValidationError is the validation error returned by AuthZConfig.Validate if the designated constraints aren't met.
func (AuthZConfigValidationError) Cause ¶
func (e AuthZConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthZConfigValidationError) Error ¶
func (e AuthZConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthZConfigValidationError) ErrorName ¶
func (e AuthZConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthZConfigValidationError) Field ¶
func (e AuthZConfigValidationError) Field() string
Field function returns field value.
func (AuthZConfigValidationError) Key ¶
func (e AuthZConfigValidationError) Key() bool
Key function returns key value.
func (AuthZConfigValidationError) Reason ¶
func (e AuthZConfigValidationError) Reason() string
Reason function returns reason value.
type AuthZConfig_CasbinConfig ¶
type AuthZConfig_CasbinConfig struct {
// Policy file
PolicyFile string `protobuf:"bytes,3,opt,name=policy_file,proto3" json:"policy_file,omitempty"`
// Model file
ModelFile string `protobuf:"bytes,4,opt,name=model_file,proto3" json:"model_file,omitempty"`
// contains filtered or unexported fields
}
Casbin middleware config
func (*AuthZConfig_CasbinConfig) Descriptor
deprecated
func (*AuthZConfig_CasbinConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthZConfig_CasbinConfig.ProtoReflect.Descriptor instead.
func (*AuthZConfig_CasbinConfig) GetModelFile ¶
func (x *AuthZConfig_CasbinConfig) GetModelFile() string
func (*AuthZConfig_CasbinConfig) GetPolicyFile ¶
func (x *AuthZConfig_CasbinConfig) GetPolicyFile() string
func (*AuthZConfig_CasbinConfig) ProtoMessage ¶
func (*AuthZConfig_CasbinConfig) ProtoMessage()
func (*AuthZConfig_CasbinConfig) ProtoReflect ¶
func (x *AuthZConfig_CasbinConfig) ProtoReflect() protoreflect.Message
func (*AuthZConfig_CasbinConfig) Reset ¶
func (x *AuthZConfig_CasbinConfig) Reset()
func (*AuthZConfig_CasbinConfig) String ¶
func (x *AuthZConfig_CasbinConfig) String() string
func (*AuthZConfig_CasbinConfig) Validate ¶
func (m *AuthZConfig_CasbinConfig) Validate() error
Validate checks the field values on AuthZConfig_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 (*AuthZConfig_CasbinConfig) ValidateAll ¶
func (m *AuthZConfig_CasbinConfig) ValidateAll() error
ValidateAll checks the field values on AuthZConfig_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 AuthZConfig_CasbinConfigMultiError, or nil if none found.
type AuthZConfig_CasbinConfigMultiError ¶
type AuthZConfig_CasbinConfigMultiError []error
AuthZConfig_CasbinConfigMultiError is an error wrapping multiple validation errors returned by AuthZConfig_CasbinConfig.ValidateAll() if the designated constraints aren't met.
func (AuthZConfig_CasbinConfigMultiError) AllErrors ¶
func (m AuthZConfig_CasbinConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthZConfig_CasbinConfigMultiError) Error ¶
func (m AuthZConfig_CasbinConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthZConfig_CasbinConfigValidationError ¶
type AuthZConfig_CasbinConfigValidationError struct {
// contains filtered or unexported fields
}
AuthZConfig_CasbinConfigValidationError is the validation error returned by AuthZConfig_CasbinConfig.Validate if the designated constraints aren't met.
func (AuthZConfig_CasbinConfigValidationError) Cause ¶
func (e AuthZConfig_CasbinConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthZConfig_CasbinConfigValidationError) Error ¶
func (e AuthZConfig_CasbinConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthZConfig_CasbinConfigValidationError) ErrorName ¶
func (e AuthZConfig_CasbinConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthZConfig_CasbinConfigValidationError) Field ¶
func (e AuthZConfig_CasbinConfigValidationError) Field() string
Field function returns field value.
func (AuthZConfig_CasbinConfigValidationError) Key ¶
func (e AuthZConfig_CasbinConfigValidationError) Key() bool
Key function returns key value.
func (AuthZConfig_CasbinConfigValidationError) Reason ¶
func (e AuthZConfig_CasbinConfigValidationError) Reason() string
Reason function returns reason value.
type AuthZConfig_OpaConfig ¶
type AuthZConfig_OpaConfig struct {
// OPA policy file path
PolicyFile string `protobuf:"bytes,3,opt,name=policy_file,proto3" json:"policy_file,omitempty"`
// OPA data file path
DataFile string `protobuf:"bytes,4,opt,name=data_file,proto3" json:"data_file,omitempty"`
// OPA server URL
ServerUrl string `protobuf:"bytes,5,opt,name=server_url,proto3" json:"server_url,omitempty"`
// OPA rego file path
RegoFile string `protobuf:"bytes,6,opt,name=rego_file,proto3" json:"rego_file,omitempty"`
// contains filtered or unexported fields
}
func (*AuthZConfig_OpaConfig) Descriptor
deprecated
func (*AuthZConfig_OpaConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthZConfig_OpaConfig.ProtoReflect.Descriptor instead.
func (*AuthZConfig_OpaConfig) GetDataFile ¶
func (x *AuthZConfig_OpaConfig) GetDataFile() string
func (*AuthZConfig_OpaConfig) GetPolicyFile ¶
func (x *AuthZConfig_OpaConfig) GetPolicyFile() string
func (*AuthZConfig_OpaConfig) GetRegoFile ¶
func (x *AuthZConfig_OpaConfig) GetRegoFile() string
func (*AuthZConfig_OpaConfig) GetServerUrl ¶
func (x *AuthZConfig_OpaConfig) GetServerUrl() string
func (*AuthZConfig_OpaConfig) ProtoMessage ¶
func (*AuthZConfig_OpaConfig) ProtoMessage()
func (*AuthZConfig_OpaConfig) ProtoReflect ¶
func (x *AuthZConfig_OpaConfig) ProtoReflect() protoreflect.Message
func (*AuthZConfig_OpaConfig) Reset ¶
func (x *AuthZConfig_OpaConfig) Reset()
func (*AuthZConfig_OpaConfig) String ¶
func (x *AuthZConfig_OpaConfig) String() string
func (*AuthZConfig_OpaConfig) Validate ¶
func (m *AuthZConfig_OpaConfig) Validate() error
Validate checks the field values on AuthZConfig_OpaConfig 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 (*AuthZConfig_OpaConfig) ValidateAll ¶
func (m *AuthZConfig_OpaConfig) ValidateAll() error
ValidateAll checks the field values on AuthZConfig_OpaConfig 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 AuthZConfig_OpaConfigMultiError, or nil if none found.
type AuthZConfig_OpaConfigMultiError ¶
type AuthZConfig_OpaConfigMultiError []error
AuthZConfig_OpaConfigMultiError is an error wrapping multiple validation errors returned by AuthZConfig_OpaConfig.ValidateAll() if the designated constraints aren't met.
func (AuthZConfig_OpaConfigMultiError) AllErrors ¶
func (m AuthZConfig_OpaConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthZConfig_OpaConfigMultiError) Error ¶
func (m AuthZConfig_OpaConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthZConfig_OpaConfigValidationError ¶
type AuthZConfig_OpaConfigValidationError struct {
// contains filtered or unexported fields
}
AuthZConfig_OpaConfigValidationError is the validation error returned by AuthZConfig_OpaConfig.Validate if the designated constraints aren't met.
func (AuthZConfig_OpaConfigValidationError) Cause ¶
func (e AuthZConfig_OpaConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthZConfig_OpaConfigValidationError) Error ¶
func (e AuthZConfig_OpaConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthZConfig_OpaConfigValidationError) ErrorName ¶
func (e AuthZConfig_OpaConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthZConfig_OpaConfigValidationError) Field ¶
func (e AuthZConfig_OpaConfigValidationError) Field() string
Field function returns field value.
func (AuthZConfig_OpaConfigValidationError) Key ¶
func (e AuthZConfig_OpaConfigValidationError) Key() bool
Key function returns key value.
func (AuthZConfig_OpaConfigValidationError) Reason ¶
func (e AuthZConfig_OpaConfigValidationError) Reason() string
Reason function returns reason value.
type AuthZConfig_ZanzibarConfig ¶
type AuthZConfig_ZanzibarConfig struct {
// Zanzibar API endpoint
ApiEndpoint string `protobuf:"bytes,3,opt,name=api_endpoint,proto3" json:"api_endpoint,omitempty"`
// Zanzibar namespace
Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"`
// Zanzibar read consistency
ReadConsistency string `protobuf:"bytes,5,opt,name=read_consistency,proto3" json:"read_consistency,omitempty"`
// Zanzibar write consistency
WriteConsistency string `protobuf:"bytes,6,opt,name=write_consistency,proto3" json:"write_consistency,omitempty"`
// contains filtered or unexported fields
}
func (*AuthZConfig_ZanzibarConfig) Descriptor
deprecated
func (*AuthZConfig_ZanzibarConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuthZConfig_ZanzibarConfig.ProtoReflect.Descriptor instead.
func (*AuthZConfig_ZanzibarConfig) GetApiEndpoint ¶
func (x *AuthZConfig_ZanzibarConfig) GetApiEndpoint() string
func (*AuthZConfig_ZanzibarConfig) GetNamespace ¶
func (x *AuthZConfig_ZanzibarConfig) GetNamespace() string
func (*AuthZConfig_ZanzibarConfig) GetReadConsistency ¶
func (x *AuthZConfig_ZanzibarConfig) GetReadConsistency() string
func (*AuthZConfig_ZanzibarConfig) GetWriteConsistency ¶
func (x *AuthZConfig_ZanzibarConfig) GetWriteConsistency() string
func (*AuthZConfig_ZanzibarConfig) ProtoMessage ¶
func (*AuthZConfig_ZanzibarConfig) ProtoMessage()
func (*AuthZConfig_ZanzibarConfig) ProtoReflect ¶
func (x *AuthZConfig_ZanzibarConfig) ProtoReflect() protoreflect.Message
func (*AuthZConfig_ZanzibarConfig) Reset ¶
func (x *AuthZConfig_ZanzibarConfig) Reset()
func (*AuthZConfig_ZanzibarConfig) String ¶
func (x *AuthZConfig_ZanzibarConfig) String() string
func (*AuthZConfig_ZanzibarConfig) Validate ¶
func (m *AuthZConfig_ZanzibarConfig) Validate() error
Validate checks the field values on AuthZConfig_ZanzibarConfig 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 (*AuthZConfig_ZanzibarConfig) ValidateAll ¶
func (m *AuthZConfig_ZanzibarConfig) ValidateAll() error
ValidateAll checks the field values on AuthZConfig_ZanzibarConfig 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 AuthZConfig_ZanzibarConfigMultiError, or nil if none found.
type AuthZConfig_ZanzibarConfigMultiError ¶
type AuthZConfig_ZanzibarConfigMultiError []error
AuthZConfig_ZanzibarConfigMultiError is an error wrapping multiple validation errors returned by AuthZConfig_ZanzibarConfig.ValidateAll() if the designated constraints aren't met.
func (AuthZConfig_ZanzibarConfigMultiError) AllErrors ¶
func (m AuthZConfig_ZanzibarConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthZConfig_ZanzibarConfigMultiError) Error ¶
func (m AuthZConfig_ZanzibarConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthZConfig_ZanzibarConfigValidationError ¶
type AuthZConfig_ZanzibarConfigValidationError struct {
// contains filtered or unexported fields
}
AuthZConfig_ZanzibarConfigValidationError is the validation error returned by AuthZConfig_ZanzibarConfig.Validate if the designated constraints aren't met.
func (AuthZConfig_ZanzibarConfigValidationError) Cause ¶
func (e AuthZConfig_ZanzibarConfigValidationError) Cause() error
Cause function returns cause value.
func (AuthZConfig_ZanzibarConfigValidationError) Error ¶
func (e AuthZConfig_ZanzibarConfigValidationError) Error() string
Error satisfies the builtin error interface
func (AuthZConfig_ZanzibarConfigValidationError) ErrorName ¶
func (e AuthZConfig_ZanzibarConfigValidationError) ErrorName() string
ErrorName returns error name.
func (AuthZConfig_ZanzibarConfigValidationError) Field ¶
func (e AuthZConfig_ZanzibarConfigValidationError) Field() string
Field function returns field value.
func (AuthZConfig_ZanzibarConfigValidationError) Key ¶
func (e AuthZConfig_ZanzibarConfigValidationError) Key() bool
Key function returns key value.
func (AuthZConfig_ZanzibarConfigValidationError) Reason ¶
func (e AuthZConfig_ZanzibarConfigValidationError) Reason() string
Reason function returns reason value.
type Backend ¶
type Backend struct {
// localhost
// 127.0.0.1:8000
// discovery:///service_name
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
Weight *int64 `protobuf:"varint,2,opt,name=weight,proto3,oneof" json:"weight,omitempty"`
HealthCheck *HealthCheck `protobuf:"bytes,3,opt,name=health_check,json=healthCheck,proto3" json:"health_check,omitempty"`
Tls bool `protobuf:"varint,4,opt,name=tls,proto3" json:"tls,omitempty"`
TlsConfigName string `protobuf:"bytes,5,opt,name=tls_config_name,json=tlsConfigName,proto3" json:"tls_config_name,omitempty"`
Metadata map[string]string `` /* 143-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Backend) Descriptor
deprecated
func (*Backend) GetHealthCheck ¶
func (x *Backend) GetHealthCheck() *HealthCheck
func (*Backend) GetMetadata ¶
func (*Backend) GetTlsConfigName ¶
func (*Backend) ProtoMessage ¶
func (*Backend) ProtoMessage()
func (*Backend) ProtoReflect ¶
func (x *Backend) ProtoReflect() protoreflect.Message
func (*Backend) Validate ¶
Validate checks the field values on Backend 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 (*Backend) ValidateAll ¶
ValidateAll checks the field values on Backend 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 BackendMultiError, or nil if none found.
type BackendMultiError ¶
type BackendMultiError []error
BackendMultiError is an error wrapping multiple validation errors returned by Backend.ValidateAll() if the designated constraints aren't met.
func (BackendMultiError) AllErrors ¶
func (m BackendMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BackendMultiError) Error ¶
func (m BackendMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BackendValidationError ¶
type BackendValidationError struct {
// contains filtered or unexported fields
}
BackendValidationError is the validation error returned by Backend.Validate if the designated constraints aren't met.
func (BackendValidationError) Cause ¶
func (e BackendValidationError) Cause() error
Cause function returns cause value.
func (BackendValidationError) Error ¶
func (e BackendValidationError) Error() string
Error satisfies the builtin error interface
func (BackendValidationError) ErrorName ¶
func (e BackendValidationError) ErrorName() string
ErrorName returns error name.
func (BackendValidationError) Field ¶
func (e BackendValidationError) Field() string
Field function returns field value.
func (BackendValidationError) Key ¶
func (e BackendValidationError) Key() bool
Key function returns key value.
func (BackendValidationError) Reason ¶
func (e BackendValidationError) Reason() string
Reason function returns reason value.
type BadgerDS ¶
type BadgerDS struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
SyncWrites bool `protobuf:"varint,2,opt,name=sync_writes,proto3" json:"sync_writes,omitempty"`
ValueLogFileSize int32 `protobuf:"varint,3,opt,name=value_log_file_size,proto3" json:"value_log_file_size,omitempty"`
InMemory bool `protobuf:"varint,4,opt,name=in_memory,proto3" json:"in_memory,omitempty"`
LogLevel uint32 `protobuf:"varint,5,opt,name=log_level,proto3" json:"log_level,omitempty"`
// contains filtered or unexported fields
}
func (*BadgerDS) Descriptor
deprecated
func (*BadgerDS) GetInMemory ¶
func (*BadgerDS) GetLogLevel ¶
func (*BadgerDS) GetSyncWrites ¶
func (*BadgerDS) GetValueLogFileSize ¶
func (*BadgerDS) ProtoMessage ¶
func (*BadgerDS) ProtoMessage()
func (*BadgerDS) ProtoReflect ¶
func (x *BadgerDS) ProtoReflect() protoreflect.Message
func (*BadgerDS) Validate ¶
Validate checks the field values on BadgerDS 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 (*BadgerDS) ValidateAll ¶
ValidateAll checks the field values on BadgerDS 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 BadgerDSMultiError, or nil if none found.
type BadgerDSMultiError ¶
type BadgerDSMultiError []error
BadgerDSMultiError is an error wrapping multiple validation errors returned by BadgerDS.ValidateAll() if the designated constraints aren't met.
func (BadgerDSMultiError) AllErrors ¶
func (m BadgerDSMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BadgerDSMultiError) Error ¶
func (m BadgerDSMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BadgerDSValidationError ¶
type BadgerDSValidationError struct {
// contains filtered or unexported fields
}
BadgerDSValidationError is the validation error returned by BadgerDS.Validate if the designated constraints aren't met.
func (BadgerDSValidationError) Cause ¶
func (e BadgerDSValidationError) Cause() error
Cause function returns cause value.
func (BadgerDSValidationError) Error ¶
func (e BadgerDSValidationError) Error() string
Error satisfies the builtin error interface
func (BadgerDSValidationError) ErrorName ¶
func (e BadgerDSValidationError) ErrorName() string
ErrorName returns error name.
func (BadgerDSValidationError) Field ¶
func (e BadgerDSValidationError) Field() string
Field function returns field value.
func (BadgerDSValidationError) Key ¶
func (e BadgerDSValidationError) Key() bool
Key function returns key value.
func (BadgerDSValidationError) Reason ¶
func (e BadgerDSValidationError) Reason() string
Reason function returns reason value.
type Cache ¶
type Cache struct {
// Driver name: redis, memcached, etc.
Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Memcached
Memcached *Memcached `protobuf:"bytes,10,opt,name=memcached,proto3" json:"memcached,omitempty"`
// Memory cache
Memory *Memory `protobuf:"bytes,11,opt,name=memory,proto3" json:"memory,omitempty"`
// Redis
Redis *Redis `protobuf:"bytes,12,opt,name=redis,proto3" json:"redis,omitempty"`
// Badger
Badger *BadgerDS `protobuf:"bytes,13,opt,name=badger,proto3" json:"badger,omitempty"`
// contains filtered or unexported fields
}
Cache
func (*Cache) Descriptor
deprecated
func (*Cache) GetMemcached ¶
func (*Cache) ProtoMessage ¶
func (*Cache) ProtoMessage()
func (*Cache) ProtoReflect ¶
func (x *Cache) ProtoReflect() protoreflect.Message
func (*Cache) Validate ¶
Validate checks the field values on Cache 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 (*Cache) ValidateAll ¶
ValidateAll checks the field values on Cache 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 CacheMultiError, or nil if none found.
type CacheMultiError ¶
type CacheMultiError []error
CacheMultiError is an error wrapping multiple validation errors returned by Cache.ValidateAll() if the designated constraints aren't met.
func (CacheMultiError) AllErrors ¶
func (m CacheMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CacheMultiError) Error ¶
func (m CacheMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CacheValidationError ¶
type CacheValidationError struct {
// contains filtered or unexported fields
}
CacheValidationError is the validation error returned by Cache.Validate if the designated constraints aren't met.
func (CacheValidationError) Cause ¶
func (e CacheValidationError) Cause() error
Cause function returns cause value.
func (CacheValidationError) Error ¶
func (e CacheValidationError) Error() string
Error satisfies the builtin error interface
func (CacheValidationError) ErrorName ¶
func (e CacheValidationError) ErrorName() string
ErrorName returns error name.
func (CacheValidationError) Field ¶
func (e CacheValidationError) Field() string
Field function returns field value.
func (CacheValidationError) Key ¶
func (e CacheValidationError) Key() bool
Key function returns key value.
func (CacheValidationError) Reason ¶
func (e CacheValidationError) Reason() string
Reason function returns reason value.
type Condition ¶
type Condition struct {
// Types that are valid to be assigned to Condition:
//
// *Condition_ByStatusCode
// *Condition_ByHeader
Condition isCondition_Condition `protobuf_oneof:"condition"`
// contains filtered or unexported fields
}
func (*Condition) Descriptor
deprecated
func (*Condition) GetByHeader ¶
func (x *Condition) GetByHeader() *Condition_Header
func (*Condition) GetByStatusCode ¶
func (*Condition) GetCondition ¶
func (x *Condition) GetCondition() isCondition_Condition
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
func (*Condition) Validate ¶
Validate checks the field values on Condition 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 (*Condition) ValidateAll ¶
ValidateAll checks the field values on Condition 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 ConditionMultiError, or nil if none found.
type ConditionMultiError ¶
type ConditionMultiError []error
ConditionMultiError is an error wrapping multiple validation errors returned by Condition.ValidateAll() if the designated constraints aren't met.
func (ConditionMultiError) AllErrors ¶
func (m ConditionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConditionMultiError) Error ¶
func (m ConditionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConditionValidationError ¶
type ConditionValidationError struct {
// contains filtered or unexported fields
}
ConditionValidationError is the validation error returned by Condition.Validate if the designated constraints aren't met.
func (ConditionValidationError) Cause ¶
func (e ConditionValidationError) Cause() error
Cause function returns cause value.
func (ConditionValidationError) Error ¶
func (e ConditionValidationError) Error() string
Error satisfies the builtin error interface
func (ConditionValidationError) ErrorName ¶
func (e ConditionValidationError) ErrorName() string
ErrorName returns error name.
func (ConditionValidationError) Field ¶
func (e ConditionValidationError) Field() string
Field function returns field value.
func (ConditionValidationError) Key ¶
func (e ConditionValidationError) Key() bool
Key function returns key value.
func (ConditionValidationError) Reason ¶
func (e ConditionValidationError) Reason() string
Reason function returns reason value.
type Condition_ByHeader ¶
type Condition_ByHeader struct {
// {"name": "grpc-status", "value": "14"}
ByHeader *Condition_Header `protobuf:"bytes,2,opt,name=by_header,json=byHeader,proto3,oneof"`
}
type Condition_ByStatusCode ¶
type Condition_ByStatusCode struct {
// "500-599", "429"
ByStatusCode string `protobuf:"bytes,1,opt,name=by_status_code,json=byStatusCode,proto3,oneof"`
}
type Condition_Header ¶
type Condition_Header struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Condition_Header) Descriptor
deprecated
func (*Condition_Header) Descriptor() ([]byte, []int)
Deprecated: Use Condition_Header.ProtoReflect.Descriptor instead.
func (*Condition_Header) GetName ¶
func (x *Condition_Header) GetName() string
func (*Condition_Header) GetValue ¶
func (x *Condition_Header) GetValue() string
func (*Condition_Header) ProtoMessage ¶
func (*Condition_Header) ProtoMessage()
func (*Condition_Header) ProtoReflect ¶
func (x *Condition_Header) ProtoReflect() protoreflect.Message
func (*Condition_Header) Reset ¶
func (x *Condition_Header) Reset()
func (*Condition_Header) String ¶
func (x *Condition_Header) String() string
func (*Condition_Header) Validate ¶
func (m *Condition_Header) Validate() error
Validate checks the field values on Condition_Header 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 (*Condition_Header) ValidateAll ¶
func (m *Condition_Header) ValidateAll() error
ValidateAll checks the field values on Condition_Header 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 Condition_HeaderMultiError, or nil if none found.
type Condition_HeaderMultiError ¶
type Condition_HeaderMultiError []error
Condition_HeaderMultiError is an error wrapping multiple validation errors returned by Condition_Header.ValidateAll() if the designated constraints aren't met.
func (Condition_HeaderMultiError) AllErrors ¶
func (m Condition_HeaderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Condition_HeaderMultiError) Error ¶
func (m Condition_HeaderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Condition_HeaderValidationError ¶
type Condition_HeaderValidationError struct {
// contains filtered or unexported fields
}
Condition_HeaderValidationError is the validation error returned by Condition_Header.Validate if the designated constraints aren't met.
func (Condition_HeaderValidationError) Cause ¶
func (e Condition_HeaderValidationError) Cause() error
Cause function returns cause value.
func (Condition_HeaderValidationError) Error ¶
func (e Condition_HeaderValidationError) Error() string
Error satisfies the builtin error interface
func (Condition_HeaderValidationError) ErrorName ¶
func (e Condition_HeaderValidationError) ErrorName() string
ErrorName returns error name.
func (Condition_HeaderValidationError) Field ¶
func (e Condition_HeaderValidationError) Field() string
Field function returns field value.
func (Condition_HeaderValidationError) Key ¶
func (e Condition_HeaderValidationError) Key() bool
Key function returns key value.
func (Condition_HeaderValidationError) Reason ¶
func (e Condition_HeaderValidationError) Reason() string
Reason function returns reason value.
type Cors ¶
type Cors struct {
// Enabled indicates whether CORS should be enabled for the target.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// 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 int64 `protobuf:"varint,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
func (*Cors) Descriptor
deprecated
func (*Cors) GetAllowBrowserExtensions ¶
func (*Cors) GetAllowCredentials ¶
func (*Cors) GetAllowFiles ¶
func (*Cors) GetAllowHeaders ¶
func (*Cors) GetAllowMethods ¶
func (*Cors) GetAllowOrigins ¶
func (*Cors) GetAllowPrivateNetwork ¶
func (*Cors) GetAllowWebSockets ¶
func (*Cors) GetAllowWildcard ¶
func (*Cors) GetEnabled ¶
func (*Cors) GetExposeHeaders ¶
func (*Cors) ProtoMessage ¶
func (*Cors) ProtoMessage()
func (*Cors) ProtoReflect ¶
func (x *Cors) ProtoReflect() protoreflect.Message
func (*Cors) Validate ¶
Validate checks the field values on 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 (*Cors) ValidateAll ¶
ValidateAll checks the field values on 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 CorsMultiError, or nil if none found.
type CorsMultiError ¶
type CorsMultiError []error
CorsMultiError is an error wrapping multiple validation errors returned by Cors.ValidateAll() if the designated constraints aren't met.
func (CorsMultiError) AllErrors ¶
func (m CorsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CorsMultiError) Error ¶
func (m CorsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CorsValidationError ¶
type CorsValidationError struct {
// contains filtered or unexported fields
}
CorsValidationError is the validation error returned by Cors.Validate if the designated constraints aren't met.
func (CorsValidationError) Cause ¶
func (e CorsValidationError) Cause() error
Cause function returns cause value.
func (CorsValidationError) Error ¶
func (e CorsValidationError) Error() string
Error satisfies the builtin error interface
func (CorsValidationError) ErrorName ¶
func (e CorsValidationError) ErrorName() string
ErrorName returns error name.
func (CorsValidationError) Field ¶
func (e CorsValidationError) Field() string
Field function returns field value.
func (CorsValidationError) Key ¶
func (e CorsValidationError) Key() bool
Key function returns key value.
func (CorsValidationError) Reason ¶
func (e CorsValidationError) Reason() string
Reason function returns reason value.
type Customize ¶
type Customize struct {
// configs is a map of custom configs with type string
Configs []*Customize_Config `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
// contains filtered or unexported fields
}
Customize
func (*Customize) Descriptor
deprecated
func (*Customize) GetConfigs ¶
func (x *Customize) GetConfigs() []*Customize_Config
func (*Customize) ProtoMessage ¶
func (*Customize) ProtoMessage()
func (*Customize) ProtoReflect ¶
func (x *Customize) ProtoReflect() protoreflect.Message
func (*Customize) Validate ¶
Validate checks the field values on Customize 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 (*Customize) ValidateAll ¶
ValidateAll checks the field values on Customize 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 CustomizeMultiError, or nil if none found.
type CustomizeMap ¶
type CustomizeMap struct {
Types map[string]*Customize `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CustomizeMap) Descriptor
deprecated
func (*CustomizeMap) Descriptor() ([]byte, []int)
Deprecated: Use CustomizeMap.ProtoReflect.Descriptor instead.
func (*CustomizeMap) GetTypes ¶
func (x *CustomizeMap) GetTypes() map[string]*Customize
func (*CustomizeMap) ProtoMessage ¶
func (*CustomizeMap) ProtoMessage()
func (*CustomizeMap) ProtoReflect ¶
func (x *CustomizeMap) ProtoReflect() protoreflect.Message
func (*CustomizeMap) Reset ¶
func (x *CustomizeMap) Reset()
func (*CustomizeMap) String ¶
func (x *CustomizeMap) String() string
func (*CustomizeMap) Validate ¶
func (m *CustomizeMap) Validate() error
Validate checks the field values on CustomizeMap 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 (*CustomizeMap) ValidateAll ¶
func (m *CustomizeMap) ValidateAll() error
ValidateAll checks the field values on CustomizeMap 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 CustomizeMapMultiError, or nil if none found.
type CustomizeMapMultiError ¶
type CustomizeMapMultiError []error
CustomizeMapMultiError is an error wrapping multiple validation errors returned by CustomizeMap.ValidateAll() if the designated constraints aren't met.
func (CustomizeMapMultiError) AllErrors ¶
func (m CustomizeMapMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CustomizeMapMultiError) Error ¶
func (m CustomizeMapMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CustomizeMapValidationError ¶
type CustomizeMapValidationError struct {
// contains filtered or unexported fields
}
CustomizeMapValidationError is the validation error returned by CustomizeMap.Validate if the designated constraints aren't met.
func (CustomizeMapValidationError) Cause ¶
func (e CustomizeMapValidationError) Cause() error
Cause function returns cause value.
func (CustomizeMapValidationError) Error ¶
func (e CustomizeMapValidationError) Error() string
Error satisfies the builtin error interface
func (CustomizeMapValidationError) ErrorName ¶
func (e CustomizeMapValidationError) ErrorName() string
ErrorName returns error name.
func (CustomizeMapValidationError) Field ¶
func (e CustomizeMapValidationError) Field() string
Field function returns field value.
func (CustomizeMapValidationError) Key ¶
func (e CustomizeMapValidationError) Key() bool
Key function returns key value.
func (CustomizeMapValidationError) Reason ¶
func (e CustomizeMapValidationError) Reason() string
Reason function returns reason value.
type CustomizeMultiError ¶
type CustomizeMultiError []error
CustomizeMultiError is an error wrapping multiple validation errors returned by Customize.ValidateAll() if the designated constraints aren't met.
func (CustomizeMultiError) AllErrors ¶
func (m CustomizeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CustomizeMultiError) Error ¶
func (m CustomizeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CustomizeValidationError ¶
type CustomizeValidationError struct {
// contains filtered or unexported fields
}
CustomizeValidationError is the validation error returned by Customize.Validate if the designated constraints aren't met.
func (CustomizeValidationError) Cause ¶
func (e CustomizeValidationError) Cause() error
Cause function returns cause value.
func (CustomizeValidationError) Error ¶
func (e CustomizeValidationError) Error() string
Error satisfies the builtin error interface
func (CustomizeValidationError) ErrorName ¶
func (e CustomizeValidationError) ErrorName() string
ErrorName returns error name.
func (CustomizeValidationError) Field ¶
func (e CustomizeValidationError) Field() string
Field function returns field value.
func (CustomizeValidationError) Key ¶
func (e CustomizeValidationError) Key() bool
Key function returns key value.
func (CustomizeValidationError) Reason ¶
func (e CustomizeValidationError) Reason() string
Reason function returns reason value.
type Customize_Config ¶
type Customize_Config struct {
// enabled is used to enable or disable the custom config
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// name can be any named with registered names
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// value can be any type
Value *anypb.Any `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Customize_Config) Descriptor
deprecated
func (*Customize_Config) Descriptor() ([]byte, []int)
Deprecated: Use Customize_Config.ProtoReflect.Descriptor instead.
func (*Customize_Config) GetEnabled ¶
func (x *Customize_Config) GetEnabled() bool
func (*Customize_Config) GetName ¶
func (x *Customize_Config) GetName() string
func (*Customize_Config) GetValue ¶
func (x *Customize_Config) GetValue() *anypb.Any
func (*Customize_Config) ProtoMessage ¶
func (*Customize_Config) ProtoMessage()
func (*Customize_Config) ProtoReflect ¶
func (x *Customize_Config) ProtoReflect() protoreflect.Message
func (*Customize_Config) Reset ¶
func (x *Customize_Config) Reset()
func (*Customize_Config) String ¶
func (x *Customize_Config) String() string
func (*Customize_Config) Validate ¶
func (m *Customize_Config) Validate() error
Validate checks the field values on Customize_Config 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 (*Customize_Config) ValidateAll ¶
func (m *Customize_Config) ValidateAll() error
ValidateAll checks the field values on Customize_Config 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 Customize_ConfigMultiError, or nil if none found.
type Customize_ConfigMultiError ¶
type Customize_ConfigMultiError []error
Customize_ConfigMultiError is an error wrapping multiple validation errors returned by Customize_Config.ValidateAll() if the designated constraints aren't met.
func (Customize_ConfigMultiError) AllErrors ¶
func (m Customize_ConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Customize_ConfigMultiError) Error ¶
func (m Customize_ConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Customize_ConfigValidationError ¶
type Customize_ConfigValidationError struct {
// contains filtered or unexported fields
}
Customize_ConfigValidationError is the validation error returned by Customize_Config.Validate if the designated constraints aren't met.
func (Customize_ConfigValidationError) Cause ¶
func (e Customize_ConfigValidationError) Cause() error
Cause function returns cause value.
func (Customize_ConfigValidationError) Error ¶
func (e Customize_ConfigValidationError) Error() string
Error satisfies the builtin error interface
func (Customize_ConfigValidationError) ErrorName ¶
func (e Customize_ConfigValidationError) ErrorName() string
ErrorName returns error name.
func (Customize_ConfigValidationError) Field ¶
func (e Customize_ConfigValidationError) Field() string
Field function returns field value.
func (Customize_ConfigValidationError) Key ¶
func (e Customize_ConfigValidationError) Key() bool
Key function returns key value.
func (Customize_ConfigValidationError) Reason ¶
func (e Customize_ConfigValidationError) Reason() string
Reason function returns reason value.
type Database ¶
type Database struct {
// Debugging
Debug bool `protobuf:"varint,1,opt,name=debug,proto3" json:"debug,omitempty"`
// Dialect name: mysql, postgresql, mongodb, sqlite......
Dialect string `protobuf:"bytes,2,opt,name=dialect,proto3" json:"dialect,omitempty"`
// Data source (DSN string)
Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
// Data migration
Migration *Migration `protobuf:"bytes,10,opt,name=migration,proto3" json:"migration,omitempty"`
// Link tracking switch
EnableTrace bool `protobuf:"varint,12,opt,name=enable_trace,proto3" json:"enable_trace,omitempty"`
// Performance analysis switch
EnableMetrics bool `protobuf:"varint,13,opt,name=enable_metrics,proto3" json:"enable_metrics,omitempty"`
// Maximum number of free connections in the connection pool
MaxIdleConnections int32 `protobuf:"varint,20,opt,name=max_idle_connections,proto3" json:"max_idle_connections,omitempty"`
// Maximum number of open connections in the connection pool
MaxOpenConnections int32 `protobuf:"varint,21,opt,name=max_open_connections,proto3" json:"max_open_connections,omitempty"`
// Maximum length of time that the connection can be reused
ConnectionMaxLifetime int64 `protobuf:"varint,22,opt,name=connection_max_lifetime,proto3" json:"connection_max_lifetime,omitempty"`
// Maximum number of connections in the connection pool for reading
ConnectionMaxIdleTime int64 `protobuf:"varint,23,opt,name=connection_max_idle_time,proto3" json:"connection_max_idle_time,omitempty"`
// contains filtered or unexported fields
}
Database
func (*Database) Descriptor
deprecated
func (*Database) GetConnectionMaxIdleTime ¶
func (*Database) GetConnectionMaxLifetime ¶
func (*Database) GetDialect ¶
func (*Database) GetEnableMetrics ¶
func (*Database) GetEnableTrace ¶
func (*Database) GetMaxIdleConnections ¶
func (*Database) GetMaxOpenConnections ¶
func (*Database) GetMigration ¶
func (*Database) ProtoMessage ¶
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶
func (x *Database) ProtoReflect() protoreflect.Message
func (*Database) Validate ¶
Validate checks the field values on 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 (*Database) ValidateAll ¶
ValidateAll checks the field values on 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 DatabaseMultiError, or nil if none found.
type DatabaseMultiError ¶
type DatabaseMultiError []error
DatabaseMultiError is an error wrapping multiple validation errors returned by Database.ValidateAll() if the designated constraints aren't met.
func (DatabaseMultiError) AllErrors ¶
func (m DatabaseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DatabaseMultiError) Error ¶
func (m DatabaseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DatabaseValidationError ¶
type DatabaseValidationError struct {
// contains filtered or unexported fields
}
DatabaseValidationError is the validation error returned by Database.Validate if the designated constraints aren't met.
func (DatabaseValidationError) Cause ¶
func (e DatabaseValidationError) Cause() error
Cause function returns cause value.
func (DatabaseValidationError) Error ¶
func (e DatabaseValidationError) Error() string
Error satisfies the builtin error interface
func (DatabaseValidationError) ErrorName ¶
func (e DatabaseValidationError) ErrorName() string
ErrorName returns error name.
func (DatabaseValidationError) Field ¶
func (e DatabaseValidationError) Field() string
Field function returns field value.
func (DatabaseValidationError) Key ¶
func (e DatabaseValidationError) Key() bool
Key function returns key value.
func (DatabaseValidationError) Reason ¶
func (e DatabaseValidationError) Reason() string
Reason function returns reason value.
type Discovery ¶
type Discovery struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Type
ServiceName string `protobuf:"bytes,2,opt,name=service_name,proto3" json:"service_name,omitempty"` // ServiceName
Debug bool `protobuf:"varint,5,opt,name=debug,proto3" json:"debug,omitempty"`
Customize *Customize `protobuf:"bytes,6,opt,name=customize,proto3" json:"customize,omitempty"`
Consul *Discovery_Consul `protobuf:"bytes,300,opt,name=consul,proto3,oneof" json:"consul,omitempty"` // Consul
Etcd *Discovery_ETCD `protobuf:"bytes,400,opt,name=etcd,proto3,oneof" json:"etcd,omitempty"` // ETCD
// contains filtered or unexported fields
}
Discovery
func (*Discovery) Descriptor
deprecated
func (*Discovery) GetConsul ¶
func (x *Discovery) GetConsul() *Discovery_Consul
func (*Discovery) GetCustomize ¶
func (*Discovery) GetEtcd ¶
func (x *Discovery) GetEtcd() *Discovery_ETCD
func (*Discovery) GetServiceName ¶
func (*Discovery) ProtoMessage ¶
func (*Discovery) ProtoMessage()
func (*Discovery) ProtoReflect ¶
func (x *Discovery) ProtoReflect() protoreflect.Message
func (*Discovery) Validate ¶
Validate checks the field values on Discovery 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 (*Discovery) ValidateAll ¶
ValidateAll checks the field values on Discovery 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 DiscoveryMultiError, or nil if none found.
type DiscoveryMultiError ¶
type DiscoveryMultiError []error
DiscoveryMultiError is an error wrapping multiple validation errors returned by Discovery.ValidateAll() if the designated constraints aren't met.
func (DiscoveryMultiError) AllErrors ¶
func (m DiscoveryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DiscoveryMultiError) Error ¶
func (m DiscoveryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DiscoveryValidationError ¶
type DiscoveryValidationError struct {
// contains filtered or unexported fields
}
DiscoveryValidationError is the validation error returned by Discovery.Validate if the designated constraints aren't met.
func (DiscoveryValidationError) Cause ¶
func (e DiscoveryValidationError) Cause() error
Cause function returns cause value.
func (DiscoveryValidationError) Error ¶
func (e DiscoveryValidationError) Error() string
Error satisfies the builtin error interface
func (DiscoveryValidationError) ErrorName ¶
func (e DiscoveryValidationError) ErrorName() string
ErrorName returns error name.
func (DiscoveryValidationError) Field ¶
func (e DiscoveryValidationError) Field() string
Field function returns field value.
func (DiscoveryValidationError) Key ¶
func (e DiscoveryValidationError) Key() bool
Key function returns key value.
func (DiscoveryValidationError) Reason ¶
func (e DiscoveryValidationError) Reason() string
Reason function returns reason value.
type Discovery_Consul ¶
type Discovery_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 int64 `protobuf:"varint,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 (*Discovery_Consul) Descriptor
deprecated
func (*Discovery_Consul) Descriptor() ([]byte, []int)
Deprecated: Use Discovery_Consul.ProtoReflect.Descriptor instead.
func (*Discovery_Consul) GetAddress ¶
func (x *Discovery_Consul) GetAddress() string
func (*Discovery_Consul) GetDatacenter ¶
func (x *Discovery_Consul) GetDatacenter() string
func (*Discovery_Consul) GetDeregisterCriticalServiceAfter ¶
func (x *Discovery_Consul) GetDeregisterCriticalServiceAfter() uint32
func (*Discovery_Consul) GetHealthCheck ¶
func (x *Discovery_Consul) GetHealthCheck() bool
func (*Discovery_Consul) GetHealthCheckInterval ¶
func (x *Discovery_Consul) GetHealthCheckInterval() uint32
func (*Discovery_Consul) GetHeartBeat ¶
func (x *Discovery_Consul) GetHeartBeat() bool
func (*Discovery_Consul) GetScheme ¶
func (x *Discovery_Consul) GetScheme() string
func (*Discovery_Consul) GetTimeout ¶
func (x *Discovery_Consul) GetTimeout() int64
func (*Discovery_Consul) GetToken ¶
func (x *Discovery_Consul) GetToken() string
func (*Discovery_Consul) ProtoMessage ¶
func (*Discovery_Consul) ProtoMessage()
func (*Discovery_Consul) ProtoReflect ¶
func (x *Discovery_Consul) ProtoReflect() protoreflect.Message
func (*Discovery_Consul) Reset ¶
func (x *Discovery_Consul) Reset()
func (*Discovery_Consul) String ¶
func (x *Discovery_Consul) String() string
func (*Discovery_Consul) Validate ¶
func (m *Discovery_Consul) Validate() error
Validate checks the field values on Discovery_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 (*Discovery_Consul) ValidateAll ¶
func (m *Discovery_Consul) ValidateAll() error
ValidateAll checks the field values on Discovery_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 Discovery_ConsulMultiError, or nil if none found.
type Discovery_ConsulMultiError ¶
type Discovery_ConsulMultiError []error
Discovery_ConsulMultiError is an error wrapping multiple validation errors returned by Discovery_Consul.ValidateAll() if the designated constraints aren't met.
func (Discovery_ConsulMultiError) AllErrors ¶
func (m Discovery_ConsulMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Discovery_ConsulMultiError) Error ¶
func (m Discovery_ConsulMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Discovery_ConsulValidationError ¶
type Discovery_ConsulValidationError struct {
// contains filtered or unexported fields
}
Discovery_ConsulValidationError is the validation error returned by Discovery_Consul.Validate if the designated constraints aren't met.
func (Discovery_ConsulValidationError) Cause ¶
func (e Discovery_ConsulValidationError) Cause() error
Cause function returns cause value.
func (Discovery_ConsulValidationError) Error ¶
func (e Discovery_ConsulValidationError) Error() string
Error satisfies the builtin error interface
func (Discovery_ConsulValidationError) ErrorName ¶
func (e Discovery_ConsulValidationError) ErrorName() string
ErrorName returns error name.
func (Discovery_ConsulValidationError) Field ¶
func (e Discovery_ConsulValidationError) Field() string
Field function returns field value.
func (Discovery_ConsulValidationError) Key ¶
func (e Discovery_ConsulValidationError) Key() bool
Key function returns key value.
func (Discovery_ConsulValidationError) Reason ¶
func (e Discovery_ConsulValidationError) Reason() string
Reason function returns reason value.
type Discovery_ETCD ¶
type Discovery_ETCD struct {
Endpoints []string `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
// contains filtered or unexported fields
}
ETCD
func (*Discovery_ETCD) Descriptor
deprecated
func (*Discovery_ETCD) Descriptor() ([]byte, []int)
Deprecated: Use Discovery_ETCD.ProtoReflect.Descriptor instead.
func (*Discovery_ETCD) GetEndpoints ¶
func (x *Discovery_ETCD) GetEndpoints() []string
func (*Discovery_ETCD) ProtoMessage ¶
func (*Discovery_ETCD) ProtoMessage()
func (*Discovery_ETCD) ProtoReflect ¶
func (x *Discovery_ETCD) ProtoReflect() protoreflect.Message
func (*Discovery_ETCD) Reset ¶
func (x *Discovery_ETCD) Reset()
func (*Discovery_ETCD) String ¶
func (x *Discovery_ETCD) String() string
func (*Discovery_ETCD) Validate ¶
func (m *Discovery_ETCD) Validate() error
Validate checks the field values on Discovery_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 (*Discovery_ETCD) ValidateAll ¶
func (m *Discovery_ETCD) ValidateAll() error
ValidateAll checks the field values on Discovery_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 Discovery_ETCDMultiError, or nil if none found.
type Discovery_ETCDMultiError ¶
type Discovery_ETCDMultiError []error
Discovery_ETCDMultiError is an error wrapping multiple validation errors returned by Discovery_ETCD.ValidateAll() if the designated constraints aren't met.
func (Discovery_ETCDMultiError) AllErrors ¶
func (m Discovery_ETCDMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Discovery_ETCDMultiError) Error ¶
func (m Discovery_ETCDMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Discovery_ETCDValidationError ¶
type Discovery_ETCDValidationError struct {
// contains filtered or unexported fields
}
Discovery_ETCDValidationError is the validation error returned by Discovery_ETCD.Validate if the designated constraints aren't met.
func (Discovery_ETCDValidationError) Cause ¶
func (e Discovery_ETCDValidationError) Cause() error
Cause function returns cause value.
func (Discovery_ETCDValidationError) Error ¶
func (e Discovery_ETCDValidationError) Error() string
Error satisfies the builtin error interface
func (Discovery_ETCDValidationError) ErrorName ¶
func (e Discovery_ETCDValidationError) ErrorName() string
ErrorName returns error name.
func (Discovery_ETCDValidationError) Field ¶
func (e Discovery_ETCDValidationError) Field() string
Field function returns field value.
func (Discovery_ETCDValidationError) Key ¶
func (e Discovery_ETCDValidationError) Key() bool
Key function returns key value.
func (Discovery_ETCDValidationError) Reason ¶
func (e Discovery_ETCDValidationError) Reason() string
Reason function returns reason value.
type Endpoint ¶
type Endpoint struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Protocol Protocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=config.v1.Protocol" json:"protocol,omitempty"`
Timeout int64 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
Middlewares []*Middleware `protobuf:"bytes,6,rep,name=middlewares,proto3" json:"middlewares,omitempty"`
Backends []*Backend `protobuf:"bytes,7,rep,name=backends,proto3" json:"backends,omitempty"`
Retry *Retry `protobuf:"bytes,8,opt,name=retry,proto3" json:"retry,omitempty"`
Metadata map[string]string `` /* 143-byte string literal not displayed */
Host string `protobuf:"bytes,10,opt,name=host,proto3" json:"host,omitempty"`
// contains filtered or unexported fields
}
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetBackends ¶
func (*Endpoint) GetDescription ¶
func (*Endpoint) GetMetadata ¶
func (*Endpoint) GetMiddlewares ¶
func (x *Endpoint) GetMiddlewares() []*Middleware
func (*Endpoint) GetProtocol ¶
func (*Endpoint) GetTimeout ¶
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
func (*Endpoint) Validate ¶
Validate checks the field values on Endpoint 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 (*Endpoint) ValidateAll ¶
ValidateAll checks the field values on Endpoint 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 EndpointMultiError, or nil if none found.
type EndpointMultiError ¶
type EndpointMultiError []error
EndpointMultiError is an error wrapping multiple validation errors returned by Endpoint.ValidateAll() if the designated constraints aren't met.
func (EndpointMultiError) AllErrors ¶
func (m EndpointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EndpointMultiError) Error ¶
func (m EndpointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EndpointValidationError ¶
type EndpointValidationError struct {
// contains filtered or unexported fields
}
EndpointValidationError is the validation error returned by Endpoint.Validate if the designated constraints aren't met.
func (EndpointValidationError) Cause ¶
func (e EndpointValidationError) Cause() error
Cause function returns cause value.
func (EndpointValidationError) Error ¶
func (e EndpointValidationError) Error() string
Error satisfies the builtin error interface
func (EndpointValidationError) ErrorName ¶
func (e EndpointValidationError) ErrorName() string
ErrorName returns error name.
func (EndpointValidationError) Field ¶
func (e EndpointValidationError) Field() string
Field function returns field value.
func (EndpointValidationError) Key ¶
func (e EndpointValidationError) Key() bool
Key function returns key value.
func (EndpointValidationError) Reason ¶
func (e EndpointValidationError) Reason() string
Reason function returns reason value.
type File ¶
type File struct {
Root string `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
// contains filtered or unexported fields
}
File
func (*File) Descriptor
deprecated
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
func (*File) Validate ¶
Validate checks the field values on 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 (*File) ValidateAll ¶
ValidateAll checks the field values on 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 FileMultiError, or nil if none found.
type FileMultiError ¶
type FileMultiError []error
FileMultiError is an error wrapping multiple validation errors returned by File.ValidateAll() if the designated constraints aren't met.
func (FileMultiError) AllErrors ¶
func (m FileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileMultiError) Error ¶
func (m FileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileValidationError ¶
type FileValidationError struct {
// contains filtered or unexported fields
}
FileValidationError is the validation error returned by File.Validate if the designated constraints aren't met.
func (FileValidationError) Cause ¶
func (e FileValidationError) Cause() error
Cause function returns cause value.
func (FileValidationError) Error ¶
func (e FileValidationError) Error() string
Error satisfies the builtin error interface
func (FileValidationError) ErrorName ¶
func (e FileValidationError) ErrorName() string
ErrorName returns error name.
func (FileValidationError) Field ¶
func (e FileValidationError) Field() string
Field function returns field value.
func (FileValidationError) Key ¶
func (e FileValidationError) Key() bool
Key function returns key value.
func (FileValidationError) Reason ¶
func (e FileValidationError) Reason() string
Reason function returns reason value.
type Gateway ¶
type Gateway struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// Deprecated: Marked as deprecated in config/v1/gateway.proto.
Hosts []string `protobuf:"bytes,3,rep,name=hosts,proto3" json:"hosts,omitempty"`
Endpoints []*Endpoint `protobuf:"bytes,4,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
Middlewares []*Middleware `protobuf:"bytes,5,rep,name=middlewares,proto3" json:"middlewares,omitempty"`
TlsStore map[string]*TLS `` /* 159-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Gateway) Descriptor
deprecated
func (*Gateway) GetEndpoints ¶
func (*Gateway) GetMiddlewares ¶
func (x *Gateway) GetMiddlewares() []*Middleware
func (*Gateway) GetTlsStore ¶
func (*Gateway) GetVersion ¶
func (*Gateway) ProtoMessage ¶
func (*Gateway) ProtoMessage()
func (*Gateway) ProtoReflect ¶
func (x *Gateway) ProtoReflect() protoreflect.Message
func (*Gateway) Validate ¶
Validate checks the field values on Gateway 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 (*Gateway) ValidateAll ¶
ValidateAll checks the field values on Gateway 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 GatewayMultiError, or nil if none found.
type GatewayMultiError ¶
type GatewayMultiError []error
GatewayMultiError is an error wrapping multiple validation errors returned by Gateway.ValidateAll() if the designated constraints aren't met.
func (GatewayMultiError) AllErrors ¶
func (m GatewayMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GatewayMultiError) Error ¶
func (m GatewayMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GatewayValidationError ¶
type GatewayValidationError struct {
// contains filtered or unexported fields
}
GatewayValidationError is the validation error returned by Gateway.Validate if the designated constraints aren't met.
func (GatewayValidationError) Cause ¶
func (e GatewayValidationError) Cause() error
Cause function returns cause value.
func (GatewayValidationError) Error ¶
func (e GatewayValidationError) Error() string
Error satisfies the builtin error interface
func (GatewayValidationError) ErrorName ¶
func (e GatewayValidationError) ErrorName() string
ErrorName returns error name.
func (GatewayValidationError) Field ¶
func (e GatewayValidationError) Field() string
Field function returns field value.
func (GatewayValidationError) Key ¶
func (e GatewayValidationError) Key() bool
Key function returns key value.
func (GatewayValidationError) Reason ¶
func (e GatewayValidationError) Reason() string
Reason function returns reason value.
type HealthCheck ¶
type HealthCheck struct {
Type HealthCheck_CheckType `protobuf:"varint,1,opt,name=type,proto3,enum=config.v1.HealthCheck_CheckType" json:"type,omitempty"`
Endpoint string `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// contains filtered or unexported fields
}
func (*HealthCheck) Descriptor
deprecated
func (*HealthCheck) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheck.ProtoReflect.Descriptor instead.
func (*HealthCheck) GetEndpoint ¶
func (x *HealthCheck) GetEndpoint() string
func (*HealthCheck) GetType ¶
func (x *HealthCheck) GetType() HealthCheck_CheckType
func (*HealthCheck) ProtoMessage ¶
func (*HealthCheck) ProtoMessage()
func (*HealthCheck) ProtoReflect ¶
func (x *HealthCheck) ProtoReflect() protoreflect.Message
func (*HealthCheck) Reset ¶
func (x *HealthCheck) Reset()
func (*HealthCheck) String ¶
func (x *HealthCheck) String() string
func (*HealthCheck) Validate ¶
func (m *HealthCheck) Validate() error
Validate checks the field values on HealthCheck 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 (*HealthCheck) ValidateAll ¶
func (m *HealthCheck) ValidateAll() error
ValidateAll checks the field values on HealthCheck 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 HealthCheckMultiError, or nil if none found.
type HealthCheckMultiError ¶
type HealthCheckMultiError []error
HealthCheckMultiError is an error wrapping multiple validation errors returned by HealthCheck.ValidateAll() if the designated constraints aren't met.
func (HealthCheckMultiError) AllErrors ¶
func (m HealthCheckMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HealthCheckMultiError) Error ¶
func (m HealthCheckMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HealthCheckValidationError ¶
type HealthCheckValidationError struct {
// contains filtered or unexported fields
}
HealthCheckValidationError is the validation error returned by HealthCheck.Validate if the designated constraints aren't met.
func (HealthCheckValidationError) Cause ¶
func (e HealthCheckValidationError) Cause() error
Cause function returns cause value.
func (HealthCheckValidationError) Error ¶
func (e HealthCheckValidationError) Error() string
Error satisfies the builtin error interface
func (HealthCheckValidationError) ErrorName ¶
func (e HealthCheckValidationError) ErrorName() string
ErrorName returns error name.
func (HealthCheckValidationError) Field ¶
func (e HealthCheckValidationError) Field() string
Field function returns field value.
func (HealthCheckValidationError) Key ¶
func (e HealthCheckValidationError) Key() bool
Key function returns key value.
func (HealthCheckValidationError) Reason ¶
func (e HealthCheckValidationError) Reason() string
Reason function returns reason value.
type HealthCheck_CheckType ¶
type HealthCheck_CheckType int32
const ( HealthCheck_CHECK_TYPE_UNSPECIFIED HealthCheck_CheckType = 0 HealthCheck_CHECK_TYPE_HTTP HealthCheck_CheckType = 1 HealthCheck_CHECK_TYPE_TCP HealthCheck_CheckType = 2 )
func (HealthCheck_CheckType) Descriptor ¶
func (HealthCheck_CheckType) Descriptor() protoreflect.EnumDescriptor
func (HealthCheck_CheckType) Enum ¶
func (x HealthCheck_CheckType) Enum() *HealthCheck_CheckType
func (HealthCheck_CheckType) EnumDescriptor
deprecated
func (HealthCheck_CheckType) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthCheck_CheckType.Descriptor instead.
func (HealthCheck_CheckType) Number ¶
func (x HealthCheck_CheckType) Number() protoreflect.EnumNumber
func (HealthCheck_CheckType) String ¶
func (x HealthCheck_CheckType) String() string
func (HealthCheck_CheckType) Type ¶
func (HealthCheck_CheckType) Type() protoreflect.EnumType
type Logger ¶
type Logger struct {
// Disable logger
Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
// Enable dev logger output
Develop bool `protobuf:"varint,2,opt,name=develop,proto3" json:"develop,omitempty"`
// Set default logger
Default bool `protobuf:"varint,3,opt,name=default,proto3" json:"default,omitempty"`
// Logger name
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// Logger format json text or tint
Format string `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"`
// Logger level
Level string `protobuf:"bytes,6,opt,name=level,proto3" json:"level,omitempty"`
// Logger output stdout
Stdout bool `protobuf:"varint,7,opt,name=stdout,proto3" json:"stdout,omitempty"`
// Disable logger caller
DisableCaller bool `protobuf:"varint,8,opt,name=disable_caller,proto3" json:"disable_caller,omitempty"`
// Logger caller skip
CallerSkip uint32 `protobuf:"varint,9,opt,name=caller_skip,proto3" json:"caller_skip,omitempty"`
// Logger time format
TimeFormat string `protobuf:"bytes,10,opt,name=time_format,proto3" json:"time_format,omitempty"`
// Logger file output config
File *Logger_File `protobuf:"bytes,100,opt,name=file,proto3" json:"file,omitempty"`
// Logger dev logger config
DevLogger *Logger_DevLogger `protobuf:"bytes,101,opt,name=dev_logger,proto3" json:"dev_logger,omitempty"` //DevLogger
// contains filtered or unexported fields
}
Logger
func (*Logger) Descriptor
deprecated
func (*Logger) GetCallerSkip ¶
func (*Logger) GetDefault ¶
func (*Logger) GetDevLogger ¶
func (x *Logger) GetDevLogger() *Logger_DevLogger
func (*Logger) GetDevelop ¶
func (*Logger) GetDisableCaller ¶
func (*Logger) GetDisabled ¶
func (*Logger) GetFile ¶
func (x *Logger) GetFile() *Logger_File
func (*Logger) GetTimeFormat ¶
func (*Logger) ProtoMessage ¶
func (*Logger) ProtoMessage()
func (*Logger) ProtoReflect ¶
func (x *Logger) ProtoReflect() protoreflect.Message
func (*Logger) Validate ¶
Validate checks the field values on 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 (*Logger) ValidateAll ¶
ValidateAll checks the field values on 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 LoggerMultiError, or nil if none found.
type LoggerHookMessage ¶
type LoggerHookMessage struct {
Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Stacktrace string `protobuf:"bytes,3,opt,name=stacktrace,proto3" json:"stacktrace,omitempty"`
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
Fields map[string]string `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
Logger hook message
func (*LoggerHookMessage) Descriptor
deprecated
func (*LoggerHookMessage) Descriptor() ([]byte, []int)
Deprecated: Use LoggerHookMessage.ProtoReflect.Descriptor instead.
func (*LoggerHookMessage) GetError ¶
func (x *LoggerHookMessage) GetError() string
func (*LoggerHookMessage) GetFields ¶
func (x *LoggerHookMessage) GetFields() map[string]string
func (*LoggerHookMessage) GetLevel ¶
func (x *LoggerHookMessage) GetLevel() string
func (*LoggerHookMessage) GetMessage ¶
func (x *LoggerHookMessage) GetMessage() string
func (*LoggerHookMessage) GetStacktrace ¶
func (x *LoggerHookMessage) GetStacktrace() string
func (*LoggerHookMessage) ProtoMessage ¶
func (*LoggerHookMessage) ProtoMessage()
func (*LoggerHookMessage) ProtoReflect ¶
func (x *LoggerHookMessage) ProtoReflect() protoreflect.Message
func (*LoggerHookMessage) Reset ¶
func (x *LoggerHookMessage) Reset()
func (*LoggerHookMessage) String ¶
func (x *LoggerHookMessage) String() string
func (*LoggerHookMessage) Validate ¶
func (m *LoggerHookMessage) Validate() error
Validate checks the field values on LoggerHookMessage 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 (*LoggerHookMessage) ValidateAll ¶
func (m *LoggerHookMessage) ValidateAll() error
ValidateAll checks the field values on LoggerHookMessage 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 LoggerHookMessageMultiError, or nil if none found.
type LoggerHookMessageMultiError ¶
type LoggerHookMessageMultiError []error
LoggerHookMessageMultiError is an error wrapping multiple validation errors returned by LoggerHookMessage.ValidateAll() if the designated constraints aren't met.
func (LoggerHookMessageMultiError) AllErrors ¶
func (m LoggerHookMessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoggerHookMessageMultiError) Error ¶
func (m LoggerHookMessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoggerHookMessageValidationError ¶
type LoggerHookMessageValidationError struct {
// contains filtered or unexported fields
}
LoggerHookMessageValidationError is the validation error returned by LoggerHookMessage.Validate if the designated constraints aren't met.
func (LoggerHookMessageValidationError) Cause ¶
func (e LoggerHookMessageValidationError) Cause() error
Cause function returns cause value.
func (LoggerHookMessageValidationError) Error ¶
func (e LoggerHookMessageValidationError) Error() string
Error satisfies the builtin error interface
func (LoggerHookMessageValidationError) ErrorName ¶
func (e LoggerHookMessageValidationError) ErrorName() string
ErrorName returns error name.
func (LoggerHookMessageValidationError) Field ¶
func (e LoggerHookMessageValidationError) Field() string
Field function returns field value.
func (LoggerHookMessageValidationError) Key ¶
func (e LoggerHookMessageValidationError) Key() bool
Key function returns key value.
func (LoggerHookMessageValidationError) Reason ¶
func (e LoggerHookMessageValidationError) Reason() string
Reason function returns reason value.
type LoggerLevel ¶
type LoggerLevel int32
Logger level
const ( LoggerLevel_LOGGER_LEVEL_UNSPECIFIED LoggerLevel = 0 LoggerLevel_LOGGER_LEVEL_DEBUG LoggerLevel = 1 LoggerLevel_LOGGER_LEVEL_INFO LoggerLevel = 2 LoggerLevel_LOGGER_LEVEL_WARN LoggerLevel = 3 LoggerLevel_LOGGER_LEVEL_ERROR LoggerLevel = 4 LoggerLevel_LOGGER_LEVEL_FATAL LoggerLevel = 5 )
func (LoggerLevel) Descriptor ¶
func (LoggerLevel) Descriptor() protoreflect.EnumDescriptor
func (LoggerLevel) Enum ¶
func (x LoggerLevel) Enum() *LoggerLevel
func (LoggerLevel) EnumDescriptor
deprecated
func (LoggerLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoggerLevel.Descriptor instead.
func (LoggerLevel) Number ¶
func (x LoggerLevel) Number() protoreflect.EnumNumber
func (LoggerLevel) String ¶
func (x LoggerLevel) String() string
func (LoggerLevel) Type ¶
func (LoggerLevel) Type() protoreflect.EnumType
type LoggerMultiError ¶
type LoggerMultiError []error
LoggerMultiError is an error wrapping multiple validation errors returned by Logger.ValidateAll() if the designated constraints aren't met.
func (LoggerMultiError) AllErrors ¶
func (m LoggerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LoggerMultiError) Error ¶
func (m LoggerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LoggerValidationError ¶
type LoggerValidationError struct {
// contains filtered or unexported fields
}
LoggerValidationError is the validation error returned by Logger.Validate if the designated constraints aren't met.
func (LoggerValidationError) Cause ¶
func (e LoggerValidationError) Cause() error
Cause function returns cause value.
func (LoggerValidationError) Error ¶
func (e LoggerValidationError) Error() string
Error satisfies the builtin error interface
func (LoggerValidationError) ErrorName ¶
func (e LoggerValidationError) ErrorName() string
ErrorName returns error name.
func (LoggerValidationError) Field ¶
func (e LoggerValidationError) Field() string
Field function returns field value.
func (LoggerValidationError) Key ¶
func (e LoggerValidationError) Key() bool
Key function returns key value.
func (LoggerValidationError) Reason ¶
func (e LoggerValidationError) Reason() string
Reason function returns reason value.
type Logger_DevLogger ¶
type Logger_DevLogger struct {
MaxSlice uint32 `protobuf:"varint,1,opt,name=max_slice,proto3" json:"max_slice,omitempty"`
SortKeys bool `protobuf:"varint,2,opt,name=sort_keys,proto3" json:"sort_keys,omitempty"`
Newline bool `protobuf:"varint,3,opt,name=newline,proto3" json:"newline,omitempty"`
Indent bool `protobuf:"varint,4,opt,name=indent,proto3" json:"indent,omitempty"`
DebugColor uint32 `protobuf:"varint,5,opt,name=debug_color,proto3" json:"debug_color,omitempty"`
InfoColor uint32 `protobuf:"varint,6,opt,name=info_color,proto3" json:"info_color,omitempty"`
WarnColor uint32 `protobuf:"varint,7,opt,name=warn_color,proto3" json:"warn_color,omitempty"`
ErrorColor uint32 `protobuf:"varint,8,opt,name=error_color,proto3" json:"error_color,omitempty"`
MaxTrace uint32 `protobuf:"varint,9,opt,name=max_trace,proto3" json:"max_trace,omitempty"`
Formatter bool `protobuf:"varint,10,opt,name=formatter,proto3" json:"formatter,omitempty"`
// contains filtered or unexported fields
}
Dev logger
func (*Logger_DevLogger) Descriptor
deprecated
func (*Logger_DevLogger) Descriptor() ([]byte, []int)
Deprecated: Use Logger_DevLogger.ProtoReflect.Descriptor instead.
func (*Logger_DevLogger) GetDebugColor ¶
func (x *Logger_DevLogger) GetDebugColor() uint32
func (*Logger_DevLogger) GetErrorColor ¶
func (x *Logger_DevLogger) GetErrorColor() uint32
func (*Logger_DevLogger) GetFormatter ¶
func (x *Logger_DevLogger) GetFormatter() bool
func (*Logger_DevLogger) GetIndent ¶
func (x *Logger_DevLogger) GetIndent() bool
func (*Logger_DevLogger) GetInfoColor ¶
func (x *Logger_DevLogger) GetInfoColor() uint32
func (*Logger_DevLogger) GetMaxSlice ¶
func (x *Logger_DevLogger) GetMaxSlice() uint32
func (*Logger_DevLogger) GetMaxTrace ¶
func (x *Logger_DevLogger) GetMaxTrace() uint32
func (*Logger_DevLogger) GetNewline ¶
func (x *Logger_DevLogger) GetNewline() bool
func (*Logger_DevLogger) GetSortKeys ¶
func (x *Logger_DevLogger) GetSortKeys() bool
func (*Logger_DevLogger) GetWarnColor ¶
func (x *Logger_DevLogger) GetWarnColor() uint32
func (*Logger_DevLogger) ProtoMessage ¶
func (*Logger_DevLogger) ProtoMessage()
func (*Logger_DevLogger) ProtoReflect ¶
func (x *Logger_DevLogger) ProtoReflect() protoreflect.Message
func (*Logger_DevLogger) Reset ¶
func (x *Logger_DevLogger) Reset()
func (*Logger_DevLogger) String ¶
func (x *Logger_DevLogger) String() string
func (*Logger_DevLogger) Validate ¶
func (m *Logger_DevLogger) Validate() error
Validate checks the field values on Logger_DevLogger 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 (*Logger_DevLogger) ValidateAll ¶
func (m *Logger_DevLogger) ValidateAll() error
ValidateAll checks the field values on Logger_DevLogger 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 Logger_DevLoggerMultiError, or nil if none found.
type Logger_DevLoggerMultiError ¶
type Logger_DevLoggerMultiError []error
Logger_DevLoggerMultiError is an error wrapping multiple validation errors returned by Logger_DevLogger.ValidateAll() if the designated constraints aren't met.
func (Logger_DevLoggerMultiError) AllErrors ¶
func (m Logger_DevLoggerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Logger_DevLoggerMultiError) Error ¶
func (m Logger_DevLoggerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Logger_DevLoggerValidationError ¶
type Logger_DevLoggerValidationError struct {
// contains filtered or unexported fields
}
Logger_DevLoggerValidationError is the validation error returned by Logger_DevLogger.Validate if the designated constraints aren't met.
func (Logger_DevLoggerValidationError) Cause ¶
func (e Logger_DevLoggerValidationError) Cause() error
Cause function returns cause value.
func (Logger_DevLoggerValidationError) Error ¶
func (e Logger_DevLoggerValidationError) Error() string
Error satisfies the builtin error interface
func (Logger_DevLoggerValidationError) ErrorName ¶
func (e Logger_DevLoggerValidationError) ErrorName() string
ErrorName returns error name.
func (Logger_DevLoggerValidationError) Field ¶
func (e Logger_DevLoggerValidationError) Field() string
Field function returns field value.
func (Logger_DevLoggerValidationError) Key ¶
func (e Logger_DevLoggerValidationError) Key() bool
Key function returns key value.
func (Logger_DevLoggerValidationError) Reason ¶
func (e Logger_DevLoggerValidationError) Reason() string
Reason function returns reason value.
type Logger_File ¶
type Logger_File struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Lumberjack bool `protobuf:"varint,2,opt,name=lumberjack,proto3" json:"lumberjack,omitempty"`
Compress bool `protobuf:"varint,3,opt,name=compress,proto3" json:"compress,omitempty"`
LocalTime bool `protobuf:"varint,4,opt,name=local_time,proto3" json:"local_time,omitempty"`
MaxSize int32 `protobuf:"varint,5,opt,name=max_size,proto3" json:"max_size,omitempty"`
MaxAge int32 `protobuf:"varint,6,opt,name=max_age,proto3" json:"max_age,omitempty"`
MaxBackups int32 `protobuf:"varint,7,opt,name=max_backups,proto3" json:"max_backups,omitempty"`
// contains filtered or unexported fields
}
Logger file
func (*Logger_File) Descriptor
deprecated
func (*Logger_File) Descriptor() ([]byte, []int)
Deprecated: Use Logger_File.ProtoReflect.Descriptor instead.
func (*Logger_File) GetCompress ¶
func (x *Logger_File) GetCompress() bool
func (*Logger_File) GetLocalTime ¶
func (x *Logger_File) GetLocalTime() bool
func (*Logger_File) GetLumberjack ¶
func (x *Logger_File) GetLumberjack() bool
func (*Logger_File) GetMaxAge ¶
func (x *Logger_File) GetMaxAge() int32
func (*Logger_File) GetMaxBackups ¶
func (x *Logger_File) GetMaxBackups() int32
func (*Logger_File) GetMaxSize ¶
func (x *Logger_File) GetMaxSize() int32
func (*Logger_File) GetPath ¶
func (x *Logger_File) GetPath() string
func (*Logger_File) ProtoMessage ¶
func (*Logger_File) ProtoMessage()
func (*Logger_File) ProtoReflect ¶
func (x *Logger_File) ProtoReflect() protoreflect.Message
func (*Logger_File) Reset ¶
func (x *Logger_File) Reset()
func (*Logger_File) String ¶
func (x *Logger_File) String() string
func (*Logger_File) Validate ¶
func (m *Logger_File) Validate() error
Validate checks the field values on Logger_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 (*Logger_File) ValidateAll ¶
func (m *Logger_File) ValidateAll() error
ValidateAll checks the field values on Logger_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 Logger_FileMultiError, or nil if none found.
type Logger_FileMultiError ¶
type Logger_FileMultiError []error
Logger_FileMultiError is an error wrapping multiple validation errors returned by Logger_File.ValidateAll() if the designated constraints aren't met.
func (Logger_FileMultiError) AllErrors ¶
func (m Logger_FileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Logger_FileMultiError) Error ¶
func (m Logger_FileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Logger_FileValidationError ¶
type Logger_FileValidationError struct {
// contains filtered or unexported fields
}
Logger_FileValidationError is the validation error returned by Logger_File.Validate if the designated constraints aren't met.
func (Logger_FileValidationError) Cause ¶
func (e Logger_FileValidationError) Cause() error
Cause function returns cause value.
func (Logger_FileValidationError) Error ¶
func (e Logger_FileValidationError) Error() string
Error satisfies the builtin error interface
func (Logger_FileValidationError) ErrorName ¶
func (e Logger_FileValidationError) ErrorName() string
ErrorName returns error name.
func (Logger_FileValidationError) Field ¶
func (e Logger_FileValidationError) Field() string
Field function returns field value.
func (Logger_FileValidationError) Key ¶
func (e Logger_FileValidationError) Key() bool
Key function returns key value.
func (Logger_FileValidationError) Reason ¶
func (e Logger_FileValidationError) Reason() string
Reason function returns reason value.
type Mail ¶
type Mail struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
TokenSecret string `protobuf:"bytes,6,opt,name=token_secret,proto3" json:"token_secret,omitempty"`
Ssl bool `protobuf:"varint,7,opt,name=ssl,proto3" json:"ssl,omitempty"`
MaxRetries int32 `protobuf:"varint,8,opt,name=max_retries,proto3" json:"max_retries,omitempty"`
RetryInterval int64 `protobuf:"varint,9,opt,name=retry_interval,proto3" json:"retry_interval,omitempty"`
Nickname string `protobuf:"bytes,100,opt,name=nickname,proto3" json:"nickname,omitempty"`
From string `protobuf:"bytes,101,opt,name=from,proto3" json:"from,omitempty"`
// contains filtered or unexported fields
}
func (*Mail) Descriptor
deprecated
func (*Mail) GetMaxRetries ¶
func (*Mail) GetNickname ¶
func (*Mail) GetPassword ¶
func (*Mail) GetRetryInterval ¶
func (*Mail) GetTokenSecret ¶
func (*Mail) GetUsername ¶
func (*Mail) ProtoMessage ¶
func (*Mail) ProtoMessage()
func (*Mail) ProtoReflect ¶
func (x *Mail) ProtoReflect() protoreflect.Message
func (*Mail) Validate ¶
Validate checks the field values on Mail 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 (*Mail) ValidateAll ¶
ValidateAll checks the field values on Mail 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 MailMultiError, or nil if none found.
type MailMultiError ¶
type MailMultiError []error
MailMultiError is an error wrapping multiple validation errors returned by Mail.ValidateAll() if the designated constraints aren't met.
func (MailMultiError) AllErrors ¶
func (m MailMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MailMultiError) Error ¶
func (m MailMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MailValidationError ¶
type MailValidationError struct {
// contains filtered or unexported fields
}
MailValidationError is the validation error returned by Mail.Validate if the designated constraints aren't met.
func (MailValidationError) Cause ¶
func (e MailValidationError) Cause() error
Cause function returns cause value.
func (MailValidationError) Error ¶
func (e MailValidationError) Error() string
Error satisfies the builtin error interface
func (MailValidationError) ErrorName ¶
func (e MailValidationError) ErrorName() string
ErrorName returns error name.
func (MailValidationError) Field ¶
func (e MailValidationError) Field() string
Field function returns field value.
func (MailValidationError) Key ¶
func (e MailValidationError) Key() bool
Key function returns key value.
func (MailValidationError) Reason ¶
func (e MailValidationError) Reason() string
Reason function returns reason value.
type Memcached ¶
type Memcached struct {
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
MaxIdle int32 `protobuf:"varint,4,opt,name=max_idle,proto3" json:"max_idle,omitempty"`
Timeout int64 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
Memcached
func (*Memcached) Descriptor
deprecated
func (*Memcached) GetMaxIdle ¶
func (*Memcached) GetPassword ¶
func (*Memcached) GetTimeout ¶
func (*Memcached) GetUsername ¶
func (*Memcached) ProtoMessage ¶
func (*Memcached) ProtoMessage()
func (*Memcached) ProtoReflect ¶
func (x *Memcached) ProtoReflect() protoreflect.Message
func (*Memcached) Validate ¶
Validate checks the field values on Memcached 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 (*Memcached) ValidateAll ¶
ValidateAll checks the field values on Memcached 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 MemcachedMultiError, or nil if none found.
type MemcachedMultiError ¶
type MemcachedMultiError []error
MemcachedMultiError is an error wrapping multiple validation errors returned by Memcached.ValidateAll() if the designated constraints aren't met.
func (MemcachedMultiError) AllErrors ¶
func (m MemcachedMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MemcachedMultiError) Error ¶
func (m MemcachedMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MemcachedValidationError ¶
type MemcachedValidationError struct {
// contains filtered or unexported fields
}
MemcachedValidationError is the validation error returned by Memcached.Validate if the designated constraints aren't met.
func (MemcachedValidationError) Cause ¶
func (e MemcachedValidationError) Cause() error
Cause function returns cause value.
func (MemcachedValidationError) Error ¶
func (e MemcachedValidationError) Error() string
Error satisfies the builtin error interface
func (MemcachedValidationError) ErrorName ¶
func (e MemcachedValidationError) ErrorName() string
ErrorName returns error name.
func (MemcachedValidationError) Field ¶
func (e MemcachedValidationError) Field() string
Field function returns field value.
func (MemcachedValidationError) Key ¶
func (e MemcachedValidationError) Key() bool
Key function returns key value.
func (MemcachedValidationError) Reason ¶
func (e MemcachedValidationError) Reason() string
Reason function returns reason value.
type Memory ¶
type Memory struct {
Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
Capacity int32 `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
Expiration int64 `protobuf:"varint,3,opt,name=expiration,proto3" json:"expiration,omitempty"`
CleanupInterval int64 `protobuf:"varint,4,opt,name=cleanup_interval,proto3" json:"cleanup_interval,omitempty"`
// contains filtered or unexported fields
}
Memory
func (*Memory) Descriptor
deprecated
func (*Memory) GetCapacity ¶
func (*Memory) GetCleanupInterval ¶
func (*Memory) GetExpiration ¶
func (*Memory) ProtoMessage ¶
func (*Memory) ProtoMessage()
func (*Memory) ProtoReflect ¶
func (x *Memory) ProtoReflect() protoreflect.Message
func (*Memory) Validate ¶
Validate checks the field values on Memory 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 (*Memory) ValidateAll ¶
ValidateAll checks the field values on Memory 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 MemoryMultiError, or nil if none found.
type MemoryMultiError ¶
type MemoryMultiError []error
MemoryMultiError is an error wrapping multiple validation errors returned by Memory.ValidateAll() if the designated constraints aren't met.
func (MemoryMultiError) AllErrors ¶
func (m MemoryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MemoryMultiError) Error ¶
func (m MemoryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MemoryValidationError ¶
type MemoryValidationError struct {
// contains filtered or unexported fields
}
MemoryValidationError is the validation error returned by Memory.Validate if the designated constraints aren't met.
func (MemoryValidationError) Cause ¶
func (e MemoryValidationError) Cause() error
Cause function returns cause value.
func (MemoryValidationError) Error ¶
func (e MemoryValidationError) Error() string
Error satisfies the builtin error interface
func (MemoryValidationError) ErrorName ¶
func (e MemoryValidationError) ErrorName() string
ErrorName returns error name.
func (MemoryValidationError) Field ¶
func (e MemoryValidationError) Field() string
Field function returns field value.
func (MemoryValidationError) Key ¶
func (e MemoryValidationError) Key() bool
Key function returns key value.
func (MemoryValidationError) Reason ¶
func (e MemoryValidationError) Reason() string
Reason function returns reason value.
type Message ¶
type Message struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
// name is for register multiple message service
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Mqtt *Message_MQTT `protobuf:"bytes,3,opt,name=mqtt,proto3" json:"mqtt,omitempty"`
Kafka *Message_Kafka `protobuf:"bytes,4,opt,name=kafka,proto3" json:"kafka,omitempty"`
Rabbitmq *Message_RabbitMQ `protobuf:"bytes,5,opt,name=rabbitmq,proto3" json:"rabbitmq,omitempty"`
Activemq *Message_ActiveMQ `protobuf:"bytes,6,opt,name=activemq,proto3" json:"activemq,omitempty"`
Nats *Message_NATS `protobuf:"bytes,7,opt,name=nats,proto3" json:"nats,omitempty"`
Nsq *Message_NSQ `protobuf:"bytes,8,opt,name=nsq,proto3" json:"nsq,omitempty"`
Pulsar *Message_Pulsar `protobuf:"bytes,9,opt,name=pulsar,proto3" json:"pulsar,omitempty"`
Redis *Message_Redis `protobuf:"bytes,10,opt,name=redis,proto3" json:"redis,omitempty"`
Rocketmq *Message_RocketMQ `protobuf:"bytes,11,opt,name=rocketmq,proto3" json:"rocketmq,omitempty"`
// contains filtered or unexported fields
}
Message
func (*Message) Descriptor
deprecated
func (*Message) GetActivemq ¶
func (x *Message) GetActivemq() *Message_ActiveMQ
func (*Message) GetKafka ¶
func (x *Message) GetKafka() *Message_Kafka
func (*Message) GetMqtt ¶
func (x *Message) GetMqtt() *Message_MQTT
func (*Message) GetNats ¶
func (x *Message) GetNats() *Message_NATS
func (*Message) GetNsq ¶
func (x *Message) GetNsq() *Message_NSQ
func (*Message) GetPulsar ¶
func (x *Message) GetPulsar() *Message_Pulsar
func (*Message) GetRabbitmq ¶
func (x *Message) GetRabbitmq() *Message_RabbitMQ
func (*Message) GetRedis ¶
func (x *Message) GetRedis() *Message_Redis
func (*Message) GetRocketmq ¶
func (x *Message) GetRocketmq() *Message_RocketMQ
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
func (*Message) Validate ¶
Validate checks the field values on Message 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 (*Message) ValidateAll ¶
ValidateAll checks the field values on Message 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 MessageMultiError, or nil if none found.
type MessageMultiError ¶
type MessageMultiError []error
MessageMultiError is an error wrapping multiple validation errors returned by Message.ValidateAll() if the designated constraints aren't met.
func (MessageMultiError) AllErrors ¶
func (m MessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageMultiError) Error ¶
func (m MessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageValidationError ¶
type MessageValidationError struct {
// contains filtered or unexported fields
}
MessageValidationError is the validation error returned by Message.Validate if the designated constraints aren't met.
func (MessageValidationError) Cause ¶
func (e MessageValidationError) Cause() error
Cause function returns cause value.
func (MessageValidationError) Error ¶
func (e MessageValidationError) Error() string
Error satisfies the builtin error interface
func (MessageValidationError) ErrorName ¶
func (e MessageValidationError) ErrorName() string
ErrorName returns error name.
func (MessageValidationError) Field ¶
func (e MessageValidationError) Field() string
Field function returns field value.
func (MessageValidationError) Key ¶
func (e MessageValidationError) Key() bool
Key function returns key value.
func (MessageValidationError) Reason ¶
func (e MessageValidationError) Reason() string
Reason function returns reason value.
type Message_ActiveMQ ¶
type Message_ActiveMQ struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`
// contains filtered or unexported fields
}
func (*Message_ActiveMQ) Descriptor
deprecated
func (*Message_ActiveMQ) Descriptor() ([]byte, []int)
Deprecated: Use Message_ActiveMQ.ProtoReflect.Descriptor instead.
func (*Message_ActiveMQ) GetCodec ¶
func (x *Message_ActiveMQ) GetCodec() string
func (*Message_ActiveMQ) GetEndpoint ¶
func (x *Message_ActiveMQ) GetEndpoint() string
func (*Message_ActiveMQ) ProtoMessage ¶
func (*Message_ActiveMQ) ProtoMessage()
func (*Message_ActiveMQ) ProtoReflect ¶
func (x *Message_ActiveMQ) ProtoReflect() protoreflect.Message
func (*Message_ActiveMQ) Reset ¶
func (x *Message_ActiveMQ) Reset()
func (*Message_ActiveMQ) String ¶
func (x *Message_ActiveMQ) String() string
func (*Message_ActiveMQ) Validate ¶
func (m *Message_ActiveMQ) Validate() error
Validate checks the field values on Message_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 (*Message_ActiveMQ) ValidateAll ¶
func (m *Message_ActiveMQ) ValidateAll() error
ValidateAll checks the field values on Message_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 Message_ActiveMQMultiError, or nil if none found.
type Message_ActiveMQMultiError ¶
type Message_ActiveMQMultiError []error
Message_ActiveMQMultiError is an error wrapping multiple validation errors returned by Message_ActiveMQ.ValidateAll() if the designated constraints aren't met.
func (Message_ActiveMQMultiError) AllErrors ¶
func (m Message_ActiveMQMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_ActiveMQMultiError) Error ¶
func (m Message_ActiveMQMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_ActiveMQValidationError ¶
type Message_ActiveMQValidationError struct {
// contains filtered or unexported fields
}
Message_ActiveMQValidationError is the validation error returned by Message_ActiveMQ.Validate if the designated constraints aren't met.
func (Message_ActiveMQValidationError) Cause ¶
func (e Message_ActiveMQValidationError) Cause() error
Cause function returns cause value.
func (Message_ActiveMQValidationError) Error ¶
func (e Message_ActiveMQValidationError) Error() string
Error satisfies the builtin error interface
func (Message_ActiveMQValidationError) ErrorName ¶
func (e Message_ActiveMQValidationError) ErrorName() string
ErrorName returns error name.
func (Message_ActiveMQValidationError) Field ¶
func (e Message_ActiveMQValidationError) Field() string
Field function returns field value.
func (Message_ActiveMQValidationError) Key ¶
func (e Message_ActiveMQValidationError) Key() bool
Key function returns key value.
func (Message_ActiveMQValidationError) Reason ¶
func (e Message_ActiveMQValidationError) Reason() string
Reason function returns reason value.
type Message_Kafka ¶
type Message_Kafka struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`
// contains filtered or unexported fields
}
Kafka
func (*Message_Kafka) Descriptor
deprecated
func (*Message_Kafka) Descriptor() ([]byte, []int)
Deprecated: Use Message_Kafka.ProtoReflect.Descriptor instead.
func (*Message_Kafka) GetCodec ¶
func (x *Message_Kafka) GetCodec() string
func (*Message_Kafka) GetEndpoint ¶
func (x *Message_Kafka) GetEndpoint() string
func (*Message_Kafka) ProtoMessage ¶
func (*Message_Kafka) ProtoMessage()
func (*Message_Kafka) ProtoReflect ¶
func (x *Message_Kafka) ProtoReflect() protoreflect.Message
func (*Message_Kafka) Reset ¶
func (x *Message_Kafka) Reset()
func (*Message_Kafka) String ¶
func (x *Message_Kafka) String() string
func (*Message_Kafka) Validate ¶
func (m *Message_Kafka) Validate() error
Validate checks the field values on Message_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 (*Message_Kafka) ValidateAll ¶
func (m *Message_Kafka) ValidateAll() error
ValidateAll checks the field values on Message_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 Message_KafkaMultiError, or nil if none found.
type Message_KafkaMultiError ¶
type Message_KafkaMultiError []error
Message_KafkaMultiError is an error wrapping multiple validation errors returned by Message_Kafka.ValidateAll() if the designated constraints aren't met.
func (Message_KafkaMultiError) AllErrors ¶
func (m Message_KafkaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_KafkaMultiError) Error ¶
func (m Message_KafkaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_KafkaValidationError ¶
type Message_KafkaValidationError struct {
// contains filtered or unexported fields
}
Message_KafkaValidationError is the validation error returned by Message_Kafka.Validate if the designated constraints aren't met.
func (Message_KafkaValidationError) Cause ¶
func (e Message_KafkaValidationError) Cause() error
Cause function returns cause value.
func (Message_KafkaValidationError) Error ¶
func (e Message_KafkaValidationError) Error() string
Error satisfies the builtin error interface
func (Message_KafkaValidationError) ErrorName ¶
func (e Message_KafkaValidationError) ErrorName() string
ErrorName returns error name.
func (Message_KafkaValidationError) Field ¶
func (e Message_KafkaValidationError) Field() string
Field function returns field value.
func (Message_KafkaValidationError) Key ¶
func (e Message_KafkaValidationError) Key() bool
Key function returns key value.
func (Message_KafkaValidationError) Reason ¶
func (e Message_KafkaValidationError) Reason() string
Reason function returns reason value.
type Message_MQTT ¶
type Message_MQTT struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`
// contains filtered or unexported fields
}
MQTT
func (*Message_MQTT) Descriptor
deprecated
func (*Message_MQTT) Descriptor() ([]byte, []int)
Deprecated: Use Message_MQTT.ProtoReflect.Descriptor instead.
func (*Message_MQTT) GetCodec ¶
func (x *Message_MQTT) GetCodec() string
func (*Message_MQTT) GetEndpoint ¶
func (x *Message_MQTT) GetEndpoint() string
func (*Message_MQTT) ProtoMessage ¶
func (*Message_MQTT) ProtoMessage()
func (*Message_MQTT) ProtoReflect ¶
func (x *Message_MQTT) ProtoReflect() protoreflect.Message
func (*Message_MQTT) Reset ¶
func (x *Message_MQTT) Reset()
func (*Message_MQTT) String ¶
func (x *Message_MQTT) String() string
func (*Message_MQTT) Validate ¶
func (m *Message_MQTT) Validate() error
Validate checks the field values on Message_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 (*Message_MQTT) ValidateAll ¶
func (m *Message_MQTT) ValidateAll() error
ValidateAll checks the field values on Message_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 Message_MQTTMultiError, or nil if none found.
type Message_MQTTMultiError ¶
type Message_MQTTMultiError []error
Message_MQTTMultiError is an error wrapping multiple validation errors returned by Message_MQTT.ValidateAll() if the designated constraints aren't met.
func (Message_MQTTMultiError) AllErrors ¶
func (m Message_MQTTMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_MQTTMultiError) Error ¶
func (m Message_MQTTMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_MQTTValidationError ¶
type Message_MQTTValidationError struct {
// contains filtered or unexported fields
}
Message_MQTTValidationError is the validation error returned by Message_MQTT.Validate if the designated constraints aren't met.
func (Message_MQTTValidationError) Cause ¶
func (e Message_MQTTValidationError) Cause() error
Cause function returns cause value.
func (Message_MQTTValidationError) Error ¶
func (e Message_MQTTValidationError) Error() string
Error satisfies the builtin error interface
func (Message_MQTTValidationError) ErrorName ¶
func (e Message_MQTTValidationError) ErrorName() string
ErrorName returns error name.
func (Message_MQTTValidationError) Field ¶
func (e Message_MQTTValidationError) Field() string
Field function returns field value.
func (Message_MQTTValidationError) Key ¶
func (e Message_MQTTValidationError) Key() bool
Key function returns key value.
func (Message_MQTTValidationError) Reason ¶
func (e Message_MQTTValidationError) Reason() string
Reason function returns reason value.
type Message_NATS ¶
type Message_NATS struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`
// contains filtered or unexported fields
}
func (*Message_NATS) Descriptor
deprecated
func (*Message_NATS) Descriptor() ([]byte, []int)
Deprecated: Use Message_NATS.ProtoReflect.Descriptor instead.
func (*Message_NATS) GetCodec ¶
func (x *Message_NATS) GetCodec() string
func (*Message_NATS) GetEndpoint ¶
func (x *Message_NATS) GetEndpoint() string
func (*Message_NATS) ProtoMessage ¶
func (*Message_NATS) ProtoMessage()
func (*Message_NATS) ProtoReflect ¶
func (x *Message_NATS) ProtoReflect() protoreflect.Message
func (*Message_NATS) Reset ¶
func (x *Message_NATS) Reset()
func (*Message_NATS) String ¶
func (x *Message_NATS) String() string
func (*Message_NATS) Validate ¶
func (m *Message_NATS) Validate() error
Validate checks the field values on Message_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 (*Message_NATS) ValidateAll ¶
func (m *Message_NATS) ValidateAll() error
ValidateAll checks the field values on Message_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 Message_NATSMultiError, or nil if none found.
type Message_NATSMultiError ¶
type Message_NATSMultiError []error
Message_NATSMultiError is an error wrapping multiple validation errors returned by Message_NATS.ValidateAll() if the designated constraints aren't met.
func (Message_NATSMultiError) AllErrors ¶
func (m Message_NATSMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_NATSMultiError) Error ¶
func (m Message_NATSMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_NATSValidationError ¶
type Message_NATSValidationError struct {
// contains filtered or unexported fields
}
Message_NATSValidationError is the validation error returned by Message_NATS.Validate if the designated constraints aren't met.
func (Message_NATSValidationError) Cause ¶
func (e Message_NATSValidationError) Cause() error
Cause function returns cause value.
func (Message_NATSValidationError) Error ¶
func (e Message_NATSValidationError) Error() string
Error satisfies the builtin error interface
func (Message_NATSValidationError) ErrorName ¶
func (e Message_NATSValidationError) ErrorName() string
ErrorName returns error name.
func (Message_NATSValidationError) Field ¶
func (e Message_NATSValidationError) Field() string
Field function returns field value.
func (Message_NATSValidationError) Key ¶
func (e Message_NATSValidationError) Key() bool
Key function returns key value.
func (Message_NATSValidationError) Reason ¶
func (e Message_NATSValidationError) Reason() string
Reason function returns reason value.
type Message_NSQ ¶
type Message_NSQ struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`
// contains filtered or unexported fields
}
func (*Message_NSQ) Descriptor
deprecated
func (*Message_NSQ) Descriptor() ([]byte, []int)
Deprecated: Use Message_NSQ.ProtoReflect.Descriptor instead.
func (*Message_NSQ) GetCodec ¶
func (x *Message_NSQ) GetCodec() string
func (*Message_NSQ) GetEndpoint ¶
func (x *Message_NSQ) GetEndpoint() string
func (*Message_NSQ) ProtoMessage ¶
func (*Message_NSQ) ProtoMessage()
func (*Message_NSQ) ProtoReflect ¶
func (x *Message_NSQ) ProtoReflect() protoreflect.Message
func (*Message_NSQ) Reset ¶
func (x *Message_NSQ) Reset()
func (*Message_NSQ) String ¶
func (x *Message_NSQ) String() string
func (*Message_NSQ) Validate ¶
func (m *Message_NSQ) Validate() error
Validate checks the field values on Message_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 (*Message_NSQ) ValidateAll ¶
func (m *Message_NSQ) ValidateAll() error
ValidateAll checks the field values on Message_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 Message_NSQMultiError, or nil if none found.
type Message_NSQMultiError ¶
type Message_NSQMultiError []error
Message_NSQMultiError is an error wrapping multiple validation errors returned by Message_NSQ.ValidateAll() if the designated constraints aren't met.
func (Message_NSQMultiError) AllErrors ¶
func (m Message_NSQMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_NSQMultiError) Error ¶
func (m Message_NSQMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_NSQValidationError ¶
type Message_NSQValidationError struct {
// contains filtered or unexported fields
}
Message_NSQValidationError is the validation error returned by Message_NSQ.Validate if the designated constraints aren't met.
func (Message_NSQValidationError) Cause ¶
func (e Message_NSQValidationError) Cause() error
Cause function returns cause value.
func (Message_NSQValidationError) Error ¶
func (e Message_NSQValidationError) Error() string
Error satisfies the builtin error interface
func (Message_NSQValidationError) ErrorName ¶
func (e Message_NSQValidationError) ErrorName() string
ErrorName returns error name.
func (Message_NSQValidationError) Field ¶
func (e Message_NSQValidationError) Field() string
Field function returns field value.
func (Message_NSQValidationError) Key ¶
func (e Message_NSQValidationError) Key() bool
Key function returns key value.
func (Message_NSQValidationError) Reason ¶
func (e Message_NSQValidationError) Reason() string
Reason function returns reason value.
type Message_Pulsar ¶
type Message_Pulsar struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`
// contains filtered or unexported fields
}
func (*Message_Pulsar) Descriptor
deprecated
func (*Message_Pulsar) Descriptor() ([]byte, []int)
Deprecated: Use Message_Pulsar.ProtoReflect.Descriptor instead.
func (*Message_Pulsar) GetCodec ¶
func (x *Message_Pulsar) GetCodec() string
func (*Message_Pulsar) GetEndpoint ¶
func (x *Message_Pulsar) GetEndpoint() string
func (*Message_Pulsar) ProtoMessage ¶
func (*Message_Pulsar) ProtoMessage()
func (*Message_Pulsar) ProtoReflect ¶
func (x *Message_Pulsar) ProtoReflect() protoreflect.Message
func (*Message_Pulsar) Reset ¶
func (x *Message_Pulsar) Reset()
func (*Message_Pulsar) String ¶
func (x *Message_Pulsar) String() string
func (*Message_Pulsar) Validate ¶
func (m *Message_Pulsar) Validate() error
Validate checks the field values on Message_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 (*Message_Pulsar) ValidateAll ¶
func (m *Message_Pulsar) ValidateAll() error
ValidateAll checks the field values on Message_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 Message_PulsarMultiError, or nil if none found.
type Message_PulsarMultiError ¶
type Message_PulsarMultiError []error
Message_PulsarMultiError is an error wrapping multiple validation errors returned by Message_Pulsar.ValidateAll() if the designated constraints aren't met.
func (Message_PulsarMultiError) AllErrors ¶
func (m Message_PulsarMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_PulsarMultiError) Error ¶
func (m Message_PulsarMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_PulsarValidationError ¶
type Message_PulsarValidationError struct {
// contains filtered or unexported fields
}
Message_PulsarValidationError is the validation error returned by Message_Pulsar.Validate if the designated constraints aren't met.
func (Message_PulsarValidationError) Cause ¶
func (e Message_PulsarValidationError) Cause() error
Cause function returns cause value.
func (Message_PulsarValidationError) Error ¶
func (e Message_PulsarValidationError) Error() string
Error satisfies the builtin error interface
func (Message_PulsarValidationError) ErrorName ¶
func (e Message_PulsarValidationError) ErrorName() string
ErrorName returns error name.
func (Message_PulsarValidationError) Field ¶
func (e Message_PulsarValidationError) Field() string
Field function returns field value.
func (Message_PulsarValidationError) Key ¶
func (e Message_PulsarValidationError) Key() bool
Key function returns key value.
func (Message_PulsarValidationError) Reason ¶
func (e Message_PulsarValidationError) Reason() string
Reason function returns reason value.
type Message_RabbitMQ ¶
type Message_RabbitMQ struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`
// contains filtered or unexported fields
}
RabbitMQ
func (*Message_RabbitMQ) Descriptor
deprecated
func (*Message_RabbitMQ) Descriptor() ([]byte, []int)
Deprecated: Use Message_RabbitMQ.ProtoReflect.Descriptor instead.
func (*Message_RabbitMQ) GetCodec ¶
func (x *Message_RabbitMQ) GetCodec() string
func (*Message_RabbitMQ) GetEndpoint ¶
func (x *Message_RabbitMQ) GetEndpoint() string
func (*Message_RabbitMQ) ProtoMessage ¶
func (*Message_RabbitMQ) ProtoMessage()
func (*Message_RabbitMQ) ProtoReflect ¶
func (x *Message_RabbitMQ) ProtoReflect() protoreflect.Message
func (*Message_RabbitMQ) Reset ¶
func (x *Message_RabbitMQ) Reset()
func (*Message_RabbitMQ) String ¶
func (x *Message_RabbitMQ) String() string
func (*Message_RabbitMQ) Validate ¶
func (m *Message_RabbitMQ) Validate() error
Validate checks the field values on Message_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 (*Message_RabbitMQ) ValidateAll ¶
func (m *Message_RabbitMQ) ValidateAll() error
ValidateAll checks the field values on Message_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 Message_RabbitMQMultiError, or nil if none found.
type Message_RabbitMQMultiError ¶
type Message_RabbitMQMultiError []error
Message_RabbitMQMultiError is an error wrapping multiple validation errors returned by Message_RabbitMQ.ValidateAll() if the designated constraints aren't met.
func (Message_RabbitMQMultiError) AllErrors ¶
func (m Message_RabbitMQMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_RabbitMQMultiError) Error ¶
func (m Message_RabbitMQMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_RabbitMQValidationError ¶
type Message_RabbitMQValidationError struct {
// contains filtered or unexported fields
}
Message_RabbitMQValidationError is the validation error returned by Message_RabbitMQ.Validate if the designated constraints aren't met.
func (Message_RabbitMQValidationError) Cause ¶
func (e Message_RabbitMQValidationError) Cause() error
Cause function returns cause value.
func (Message_RabbitMQValidationError) Error ¶
func (e Message_RabbitMQValidationError) Error() string
Error satisfies the builtin error interface
func (Message_RabbitMQValidationError) ErrorName ¶
func (e Message_RabbitMQValidationError) ErrorName() string
ErrorName returns error name.
func (Message_RabbitMQValidationError) Field ¶
func (e Message_RabbitMQValidationError) Field() string
Field function returns field value.
func (Message_RabbitMQValidationError) Key ¶
func (e Message_RabbitMQValidationError) Key() bool
Key function returns key value.
func (Message_RabbitMQValidationError) Reason ¶
func (e Message_RabbitMQValidationError) Reason() string
Reason function returns reason value.
type Message_Redis ¶
type Message_Redis struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`
// contains filtered or unexported fields
}
func (*Message_Redis) Descriptor
deprecated
func (*Message_Redis) Descriptor() ([]byte, []int)
Deprecated: Use Message_Redis.ProtoReflect.Descriptor instead.
func (*Message_Redis) GetCodec ¶
func (x *Message_Redis) GetCodec() string
func (*Message_Redis) GetEndpoint ¶
func (x *Message_Redis) GetEndpoint() string
func (*Message_Redis) ProtoMessage ¶
func (*Message_Redis) ProtoMessage()
func (*Message_Redis) ProtoReflect ¶
func (x *Message_Redis) ProtoReflect() protoreflect.Message
func (*Message_Redis) Reset ¶
func (x *Message_Redis) Reset()
func (*Message_Redis) String ¶
func (x *Message_Redis) String() string
func (*Message_Redis) Validate ¶
func (m *Message_Redis) Validate() error
Validate checks the field values on Message_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 (*Message_Redis) ValidateAll ¶
func (m *Message_Redis) ValidateAll() error
ValidateAll checks the field values on Message_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 Message_RedisMultiError, or nil if none found.
type Message_RedisMultiError ¶
type Message_RedisMultiError []error
Message_RedisMultiError is an error wrapping multiple validation errors returned by Message_Redis.ValidateAll() if the designated constraints aren't met.
func (Message_RedisMultiError) AllErrors ¶
func (m Message_RedisMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_RedisMultiError) Error ¶
func (m Message_RedisMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_RedisValidationError ¶
type Message_RedisValidationError struct {
// contains filtered or unexported fields
}
Message_RedisValidationError is the validation error returned by Message_Redis.Validate if the designated constraints aren't met.
func (Message_RedisValidationError) Cause ¶
func (e Message_RedisValidationError) Cause() error
Cause function returns cause value.
func (Message_RedisValidationError) Error ¶
func (e Message_RedisValidationError) Error() string
Error satisfies the builtin error interface
func (Message_RedisValidationError) ErrorName ¶
func (e Message_RedisValidationError) ErrorName() string
ErrorName returns error name.
func (Message_RedisValidationError) Field ¶
func (e Message_RedisValidationError) Field() string
Field function returns field value.
func (Message_RedisValidationError) Key ¶
func (e Message_RedisValidationError) Key() bool
Key function returns key value.
func (Message_RedisValidationError) Reason ¶
func (e Message_RedisValidationError) Reason() string
Reason function returns reason value.
type Message_RocketMQ ¶
type Message_RocketMQ struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
Codec string `protobuf:"bytes,2,opt,name=codec,proto3" json:"codec,omitempty"`
EnableTrace bool `protobuf:"varint,3,opt,name=enable_trace,proto3" json:"enable_trace,omitempty"`
NameServers []string `protobuf:"bytes,4,rep,name=name_servers,proto3" json:"name_servers,omitempty"`
NameServerDomain string `protobuf:"bytes,5,opt,name=name_server_domain,proto3" json:"name_server_domain,omitempty"`
AccessKey string `protobuf:"bytes,6,opt,name=access_key,proto3" json:"access_key,omitempty"`
SecretKey string `protobuf:"bytes,7,opt,name=secret_key,proto3" json:"secret_key,omitempty"`
SecurityToken string `protobuf:"bytes,8,opt,name=security_token,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,proto3" json:"instance_name,omitempty"`
GroupName string `protobuf:"bytes,11,opt,name=group_name,proto3" json:"group_name,omitempty"`
// contains filtered or unexported fields
}
func (*Message_RocketMQ) Descriptor
deprecated
func (*Message_RocketMQ) Descriptor() ([]byte, []int)
Deprecated: Use Message_RocketMQ.ProtoReflect.Descriptor instead.
func (*Message_RocketMQ) GetAccessKey ¶
func (x *Message_RocketMQ) GetAccessKey() string
func (*Message_RocketMQ) GetCodec ¶
func (x *Message_RocketMQ) GetCodec() string
func (*Message_RocketMQ) GetEnableTrace ¶
func (x *Message_RocketMQ) GetEnableTrace() bool
func (*Message_RocketMQ) GetEndpoint ¶
func (x *Message_RocketMQ) GetEndpoint() string
func (*Message_RocketMQ) GetGroupName ¶
func (x *Message_RocketMQ) GetGroupName() string
func (*Message_RocketMQ) GetInstanceName ¶
func (x *Message_RocketMQ) GetInstanceName() string
func (*Message_RocketMQ) GetNameServerDomain ¶
func (x *Message_RocketMQ) GetNameServerDomain() string
func (*Message_RocketMQ) GetNameServers ¶
func (x *Message_RocketMQ) GetNameServers() []string
func (*Message_RocketMQ) GetNamespace ¶
func (x *Message_RocketMQ) GetNamespace() string
func (*Message_RocketMQ) GetSecretKey ¶
func (x *Message_RocketMQ) GetSecretKey() string
func (*Message_RocketMQ) GetSecurityToken ¶
func (x *Message_RocketMQ) GetSecurityToken() string
func (*Message_RocketMQ) ProtoMessage ¶
func (*Message_RocketMQ) ProtoMessage()
func (*Message_RocketMQ) ProtoReflect ¶
func (x *Message_RocketMQ) ProtoReflect() protoreflect.Message
func (*Message_RocketMQ) Reset ¶
func (x *Message_RocketMQ) Reset()
func (*Message_RocketMQ) String ¶
func (x *Message_RocketMQ) String() string
func (*Message_RocketMQ) Validate ¶
func (m *Message_RocketMQ) Validate() error
Validate checks the field values on Message_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 (*Message_RocketMQ) ValidateAll ¶
func (m *Message_RocketMQ) ValidateAll() error
ValidateAll checks the field values on Message_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 Message_RocketMQMultiError, or nil if none found.
type Message_RocketMQMultiError ¶
type Message_RocketMQMultiError []error
Message_RocketMQMultiError is an error wrapping multiple validation errors returned by Message_RocketMQ.ValidateAll() if the designated constraints aren't met.
func (Message_RocketMQMultiError) AllErrors ¶
func (m Message_RocketMQMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Message_RocketMQMultiError) Error ¶
func (m Message_RocketMQMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Message_RocketMQValidationError ¶
type Message_RocketMQValidationError struct {
// contains filtered or unexported fields
}
Message_RocketMQValidationError is the validation error returned by Message_RocketMQ.Validate if the designated constraints aren't met.
func (Message_RocketMQValidationError) Cause ¶
func (e Message_RocketMQValidationError) Cause() error
Cause function returns cause value.
func (Message_RocketMQValidationError) Error ¶
func (e Message_RocketMQValidationError) Error() string
Error satisfies the builtin error interface
func (Message_RocketMQValidationError) ErrorName ¶
func (e Message_RocketMQValidationError) ErrorName() string
ErrorName returns error name.
func (Message_RocketMQValidationError) Field ¶
func (e Message_RocketMQValidationError) Field() string
Field function returns field value.
func (Message_RocketMQValidationError) Key ¶
func (e Message_RocketMQValidationError) Key() bool
Key function returns key value.
func (Message_RocketMQValidationError) Reason ¶
func (e Message_RocketMQValidationError) Reason() string
Reason function returns reason value.
type Middleware ¶
type Middleware struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Options []byte `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
Required bool `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
// contains filtered or unexported fields
}
func (*Middleware) Descriptor
deprecated
func (*Middleware) Descriptor() ([]byte, []int)
Deprecated: Use Middleware.ProtoReflect.Descriptor instead.
func (*Middleware) GetName ¶
func (x *Middleware) GetName() string
func (*Middleware) GetOptions ¶
func (x *Middleware) GetOptions() []byte
func (*Middleware) GetRequired ¶
func (x *Middleware) GetRequired() bool
func (*Middleware) ProtoMessage ¶
func (*Middleware) ProtoMessage()
func (*Middleware) ProtoReflect ¶
func (x *Middleware) ProtoReflect() protoreflect.Message
func (*Middleware) Reset ¶
func (x *Middleware) Reset()
func (*Middleware) String ¶
func (x *Middleware) String() string
func (*Middleware) Validate ¶
func (m *Middleware) Validate() error
Validate checks the field values on 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 (*Middleware) ValidateAll ¶
func (m *Middleware) ValidateAll() error
ValidateAll checks the field values on 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 MiddlewareMultiError, or nil if none found.
type MiddlewareMultiError ¶
type MiddlewareMultiError []error
MiddlewareMultiError is an error wrapping multiple validation errors returned by Middleware.ValidateAll() if the designated constraints aren't met.
func (MiddlewareMultiError) AllErrors ¶
func (m MiddlewareMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MiddlewareMultiError) Error ¶
func (m MiddlewareMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MiddlewareValidationError ¶
type MiddlewareValidationError struct {
// contains filtered or unexported fields
}
MiddlewareValidationError is the validation error returned by Middleware.Validate if the designated constraints aren't met.
func (MiddlewareValidationError) Cause ¶
func (e MiddlewareValidationError) Cause() error
Cause function returns cause value.
func (MiddlewareValidationError) Error ¶
func (e MiddlewareValidationError) Error() string
Error satisfies the builtin error interface
func (MiddlewareValidationError) ErrorName ¶
func (e MiddlewareValidationError) ErrorName() string
ErrorName returns error name.
func (MiddlewareValidationError) Field ¶
func (e MiddlewareValidationError) Field() string
Field function returns field value.
func (MiddlewareValidationError) Key ¶
func (e MiddlewareValidationError) Key() bool
Key function returns key value.
func (MiddlewareValidationError) Reason ¶
func (e MiddlewareValidationError) Reason() string
Reason function returns reason value.
type Migration ¶
type Migration struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
Names []string `protobuf:"bytes,3,rep,name=names,proto3" json:"names,omitempty"`
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
Mode string `protobuf:"bytes,5,opt,name=mode,proto3" json:"mode,omitempty"`
// contains filtered or unexported fields
}
func (*Migration) Descriptor
deprecated
func (*Migration) GetEnabled ¶
func (*Migration) GetVersion ¶
func (*Migration) ProtoMessage ¶
func (*Migration) ProtoMessage()
func (*Migration) ProtoReflect ¶
func (x *Migration) ProtoReflect() protoreflect.Message
func (*Migration) Validate ¶
Validate checks the field values on Migration 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 (*Migration) ValidateAll ¶
ValidateAll checks the field values on Migration 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 MigrationMultiError, or nil if none found.
type MigrationMultiError ¶
type MigrationMultiError []error
MigrationMultiError is an error wrapping multiple validation errors returned by Migration.ValidateAll() if the designated constraints aren't met.
func (MigrationMultiError) AllErrors ¶
func (m MigrationMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MigrationMultiError) Error ¶
func (m MigrationMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MigrationValidationError ¶
type MigrationValidationError struct {
// contains filtered or unexported fields
}
MigrationValidationError is the validation error returned by Migration.Validate if the designated constraints aren't met.
func (MigrationValidationError) Cause ¶
func (e MigrationValidationError) Cause() error
Cause function returns cause value.
func (MigrationValidationError) Error ¶
func (e MigrationValidationError) Error() string
Error satisfies the builtin error interface
func (MigrationValidationError) ErrorName ¶
func (e MigrationValidationError) ErrorName() string
ErrorName returns error name.
func (MigrationValidationError) Field ¶
func (e MigrationValidationError) Field() string
Field function returns field value.
func (MigrationValidationError) Key ¶
func (e MigrationValidationError) Key() bool
Key function returns key value.
func (MigrationValidationError) Reason ¶
func (e MigrationValidationError) Reason() string
Reason function returns reason value.
type Mongo ¶
type Mongo struct {
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
AuthSource bool `protobuf:"varint,5,opt,name=auth_source,proto3" json:"auth_source,omitempty"`
MaxPoolSize int32 `protobuf:"varint,6,opt,name=max_pool_size,proto3" json:"max_pool_size,omitempty"`
MinPoolSize int32 `protobuf:"varint,7,opt,name=min_pool_size,proto3" json:"min_pool_size,omitempty"`
ConnectTimeout int64 `protobuf:"varint,8,opt,name=connect_timeout,proto3" json:"connect_timeout,omitempty"`
// contains filtered or unexported fields
}
Mongo
func (*Mongo) Descriptor
deprecated
func (*Mongo) GetAuthSource ¶
func (*Mongo) GetConnectTimeout ¶
func (*Mongo) GetDatabase ¶
func (*Mongo) GetMaxPoolSize ¶
func (*Mongo) GetMinPoolSize ¶
func (*Mongo) GetPassword ¶
func (*Mongo) GetUsername ¶
func (*Mongo) ProtoMessage ¶
func (*Mongo) ProtoMessage()
func (*Mongo) ProtoReflect ¶
func (x *Mongo) ProtoReflect() protoreflect.Message
func (*Mongo) Validate ¶
Validate checks the field values on Mongo 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 (*Mongo) ValidateAll ¶
ValidateAll checks the field values on Mongo 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 MongoMultiError, or nil if none found.
type MongoMultiError ¶
type MongoMultiError []error
MongoMultiError is an error wrapping multiple validation errors returned by Mongo.ValidateAll() if the designated constraints aren't met.
func (MongoMultiError) AllErrors ¶
func (m MongoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MongoMultiError) Error ¶
func (m MongoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MongoValidationError ¶
type MongoValidationError struct {
// contains filtered or unexported fields
}
MongoValidationError is the validation error returned by Mongo.Validate if the designated constraints aren't met.
func (MongoValidationError) Cause ¶
func (e MongoValidationError) Cause() error
Cause function returns cause value.
func (MongoValidationError) Error ¶
func (e MongoValidationError) Error() string
Error satisfies the builtin error interface
func (MongoValidationError) ErrorName ¶
func (e MongoValidationError) ErrorName() string
ErrorName returns error name.
func (MongoValidationError) Field ¶
func (e MongoValidationError) Field() string
Field function returns field value.
func (MongoValidationError) Key ¶
func (e MongoValidationError) Key() bool
Key function returns key value.
func (MongoValidationError) Reason ¶
func (e MongoValidationError) Reason() string
Reason function returns reason value.
type Oss ¶
type Oss struct {
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
AccessKeyId string `protobuf:"bytes,2,opt,name=access_key_id,proto3" json:"access_key_id,omitempty"`
AccessKeySecret string `protobuf:"bytes,3,opt,name=access_key_secret,proto3" json:"access_key_secret,omitempty"`
Bucket string `protobuf:"bytes,4,opt,name=bucket,proto3" json:"bucket,omitempty"`
Region string `protobuf:"bytes,5,opt,name=region,proto3" json:"region,omitempty"`
Ssl bool `protobuf:"varint,6,opt,name=ssl,proto3" json:"ssl,omitempty"`
ConnectTimeout int64 `protobuf:"varint,7,opt,name=connect_timeout,proto3" json:"connect_timeout,omitempty"`
ReadTimeout int64 `protobuf:"varint,8,opt,name=read_timeout,proto3" json:"read_timeout,omitempty"`
// contains filtered or unexported fields
}
OSS
func (*Oss) Descriptor
deprecated
func (*Oss) GetAccessKeyId ¶
func (*Oss) GetAccessKeySecret ¶
func (*Oss) GetConnectTimeout ¶
func (*Oss) GetEndpoint ¶
func (*Oss) GetReadTimeout ¶
func (*Oss) ProtoMessage ¶
func (*Oss) ProtoMessage()
func (*Oss) ProtoReflect ¶
func (x *Oss) ProtoReflect() protoreflect.Message
func (*Oss) Validate ¶
Validate checks the field values on Oss 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 (*Oss) ValidateAll ¶
ValidateAll checks the field values on Oss 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 OssMultiError, or nil if none found.
type OssMultiError ¶
type OssMultiError []error
OssMultiError is an error wrapping multiple validation errors returned by Oss.ValidateAll() if the designated constraints aren't met.
func (OssMultiError) AllErrors ¶
func (m OssMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (OssMultiError) Error ¶
func (m OssMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type OssValidationError ¶
type OssValidationError struct {
// contains filtered or unexported fields
}
OssValidationError is the validation error returned by Oss.Validate if the designated constraints aren't met.
func (OssValidationError) Cause ¶
func (e OssValidationError) Cause() error
Cause function returns cause value.
func (OssValidationError) Error ¶
func (e OssValidationError) Error() string
Error satisfies the builtin error interface
func (OssValidationError) ErrorName ¶
func (e OssValidationError) ErrorName() string
ErrorName returns error name.
func (OssValidationError) Field ¶
func (e OssValidationError) Field() string
Field function returns field value.
func (OssValidationError) Key ¶
func (e OssValidationError) Key() bool
Key function returns key value.
func (OssValidationError) Reason ¶
func (e OssValidationError) Reason() string
Reason function returns reason value.
type PriorityConfig ¶
type PriorityConfig struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Endpoints []*Endpoint `protobuf:"bytes,3,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
// contains filtered or unexported fields
}
func (*PriorityConfig) Descriptor
deprecated
func (*PriorityConfig) Descriptor() ([]byte, []int)
Deprecated: Use PriorityConfig.ProtoReflect.Descriptor instead.
func (*PriorityConfig) GetEndpoints ¶
func (x *PriorityConfig) GetEndpoints() []*Endpoint
func (*PriorityConfig) GetName ¶
func (x *PriorityConfig) GetName() string
func (*PriorityConfig) GetVersion ¶
func (x *PriorityConfig) GetVersion() string
func (*PriorityConfig) ProtoMessage ¶
func (*PriorityConfig) ProtoMessage()
func (*PriorityConfig) ProtoReflect ¶
func (x *PriorityConfig) ProtoReflect() protoreflect.Message
func (*PriorityConfig) Reset ¶
func (x *PriorityConfig) Reset()
func (*PriorityConfig) String ¶
func (x *PriorityConfig) String() string
func (*PriorityConfig) Validate ¶
func (m *PriorityConfig) Validate() error
Validate checks the field values on PriorityConfig 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 (*PriorityConfig) ValidateAll ¶
func (m *PriorityConfig) ValidateAll() error
ValidateAll checks the field values on PriorityConfig 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 PriorityConfigMultiError, or nil if none found.
type PriorityConfigMultiError ¶
type PriorityConfigMultiError []error
PriorityConfigMultiError is an error wrapping multiple validation errors returned by PriorityConfig.ValidateAll() if the designated constraints aren't met.
func (PriorityConfigMultiError) AllErrors ¶
func (m PriorityConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PriorityConfigMultiError) Error ¶
func (m PriorityConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PriorityConfigValidationError ¶
type PriorityConfigValidationError struct {
// contains filtered or unexported fields
}
PriorityConfigValidationError is the validation error returned by PriorityConfig.Validate if the designated constraints aren't met.
func (PriorityConfigValidationError) Cause ¶
func (e PriorityConfigValidationError) Cause() error
Cause function returns cause value.
func (PriorityConfigValidationError) Error ¶
func (e PriorityConfigValidationError) Error() string
Error satisfies the builtin error interface
func (PriorityConfigValidationError) ErrorName ¶
func (e PriorityConfigValidationError) ErrorName() string
ErrorName returns error name.
func (PriorityConfigValidationError) Field ¶
func (e PriorityConfigValidationError) Field() string
Field function returns field value.
func (PriorityConfigValidationError) Key ¶
func (e PriorityConfigValidationError) Key() bool
Key function returns key value.
func (PriorityConfigValidationError) Reason ¶
func (e PriorityConfigValidationError) Reason() string
Reason function returns reason value.
type Protocol ¶
type Protocol int32
func (Protocol) Descriptor ¶
func (Protocol) Descriptor() protoreflect.EnumDescriptor
func (Protocol) EnumDescriptor
deprecated
func (Protocol) Number ¶
func (x Protocol) Number() protoreflect.EnumNumber
func (Protocol) Type ¶
func (Protocol) Type() protoreflect.EnumType
type Redis ¶
type Redis 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"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
Db int32 `protobuf:"varint,4,opt,name=db,proto3" json:"db,omitempty"`
DialTimeout int64 `protobuf:"varint,5,opt,name=dial_timeout,proto3" json:"dial_timeout,omitempty"`
ReadTimeout int64 `protobuf:"varint,6,opt,name=read_timeout,proto3" json:"read_timeout,omitempty"`
WriteTimeout int64 `protobuf:"varint,7,opt,name=write_timeout,proto3" json:"write_timeout,omitempty"`
// contains filtered or unexported fields
}
Redis
func (*Redis) Descriptor
deprecated
func (*Redis) GetDialTimeout ¶
func (*Redis) GetNetwork ¶
func (*Redis) GetPassword ¶
func (*Redis) GetReadTimeout ¶
func (*Redis) GetWriteTimeout ¶
func (*Redis) ProtoMessage ¶
func (*Redis) ProtoMessage()
func (*Redis) ProtoReflect ¶
func (x *Redis) ProtoReflect() protoreflect.Message
func (*Redis) Validate ¶
Validate checks the field values on 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 (*Redis) ValidateAll ¶
ValidateAll checks the field values on 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 RedisMultiError, or nil if none found.
type RedisMultiError ¶
type RedisMultiError []error
RedisMultiError is an error wrapping multiple validation errors returned by Redis.ValidateAll() if the designated constraints aren't met.
func (RedisMultiError) AllErrors ¶
func (m RedisMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RedisMultiError) Error ¶
func (m RedisMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RedisValidationError ¶
type RedisValidationError struct {
// contains filtered or unexported fields
}
RedisValidationError is the validation error returned by Redis.Validate if the designated constraints aren't met.
func (RedisValidationError) Cause ¶
func (e RedisValidationError) Cause() error
Cause function returns cause value.
func (RedisValidationError) Error ¶
func (e RedisValidationError) Error() string
Error satisfies the builtin error interface
func (RedisValidationError) ErrorName ¶
func (e RedisValidationError) ErrorName() string
ErrorName returns error name.
func (RedisValidationError) Field ¶
func (e RedisValidationError) Field() string
Field function returns field value.
func (RedisValidationError) Key ¶
func (e RedisValidationError) Key() bool
Key function returns key value.
func (RedisValidationError) Reason ¶
func (e RedisValidationError) Reason() string
Reason function returns reason value.
type Retry ¶
type Retry struct {
// default attempts is 1
Attempts uint32 `protobuf:"varint,1,opt,name=attempts,proto3" json:"attempts,omitempty"`
PerTryTimeout int64 `protobuf:"varint,2,opt,name=per_try_timeout,json=perTryTimeout,proto3" json:"per_try_timeout,omitempty"`
Conditions []*Condition `protobuf:"bytes,3,rep,name=conditions,proto3" json:"conditions,omitempty"`
// primary,secondary
Priorities []string `protobuf:"bytes,4,rep,name=priorities,proto3" json:"priorities,omitempty"`
// contains filtered or unexported fields
}
func (*Retry) Descriptor
deprecated
func (*Retry) GetAttempts ¶
func (*Retry) GetConditions ¶
func (*Retry) GetPerTryTimeout ¶
func (*Retry) GetPriorities ¶
func (*Retry) ProtoMessage ¶
func (*Retry) ProtoMessage()
func (*Retry) ProtoReflect ¶
func (x *Retry) ProtoReflect() protoreflect.Message
func (*Retry) Validate ¶
Validate checks the field values on Retry 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 (*Retry) ValidateAll ¶
ValidateAll checks the field values on Retry 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 RetryMultiError, or nil if none found.
type RetryMultiError ¶
type RetryMultiError []error
RetryMultiError is an error wrapping multiple validation errors returned by Retry.ValidateAll() if the designated constraints aren't met.
func (RetryMultiError) AllErrors ¶
func (m RetryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RetryMultiError) Error ¶
func (m RetryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RetryValidationError ¶
type RetryValidationError struct {
// contains filtered or unexported fields
}
RetryValidationError is the validation error returned by Retry.Validate if the designated constraints aren't met.
func (RetryValidationError) Cause ¶
func (e RetryValidationError) Cause() error
Cause function returns cause value.
func (RetryValidationError) Error ¶
func (e RetryValidationError) Error() string
Error satisfies the builtin error interface
func (RetryValidationError) ErrorName ¶
func (e RetryValidationError) ErrorName() string
ErrorName returns error name.
func (RetryValidationError) Field ¶
func (e RetryValidationError) Field() string
Field function returns field value.
func (RetryValidationError) Key ¶
func (e RetryValidationError) Key() bool
Key function returns key value.
func (RetryValidationError) Reason ¶
func (e RetryValidationError) Reason() string
Reason function returns reason value.
type Security ¶
type Security struct {
// Direct release paths
PublicPaths []string `protobuf:"bytes,1,rep,name=public_paths,proto3" json:"public_paths,omitempty"`
Authz *AuthZConfig `protobuf:"bytes,2,opt,name=authz,proto3" json:"authz,omitempty"`
Authn *AuthNConfig `protobuf:"bytes,3,opt,name=authn,proto3" json:"authn,omitempty"`
// contains filtered or unexported fields
}
Security middleware config.
func (*Security) Descriptor
deprecated
func (*Security) GetAuthn ¶
func (x *Security) GetAuthn() *AuthNConfig
func (*Security) GetAuthz ¶
func (x *Security) GetAuthz() *AuthZConfig
func (*Security) GetPublicPaths ¶
func (*Security) ProtoMessage ¶
func (*Security) ProtoMessage()
func (*Security) ProtoReflect ¶
func (x *Security) ProtoReflect() protoreflect.Message
func (*Security) Validate ¶
Validate checks the field values on Security 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 (*Security) ValidateAll ¶
ValidateAll checks the field values on Security 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 SecurityMultiError, or nil if none found.
type SecurityMultiError ¶
type SecurityMultiError []error
SecurityMultiError is an error wrapping multiple validation errors returned by Security.ValidateAll() if the designated constraints aren't met.
func (SecurityMultiError) AllErrors ¶
func (m SecurityMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SecurityMultiError) Error ¶
func (m SecurityMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SecurityValidationError ¶
type SecurityValidationError struct {
// contains filtered or unexported fields
}
SecurityValidationError is the validation error returned by Security.Validate if the designated constraints aren't met.
func (SecurityValidationError) Cause ¶
func (e SecurityValidationError) Cause() error
Cause function returns cause value.
func (SecurityValidationError) Error ¶
func (e SecurityValidationError) Error() string
Error satisfies the builtin error interface
func (SecurityValidationError) ErrorName ¶
func (e SecurityValidationError) ErrorName() string
ErrorName returns error name.
func (SecurityValidationError) Field ¶
func (e SecurityValidationError) Field() string
Field function returns field value.
func (SecurityValidationError) Key ¶
func (e SecurityValidationError) Key() bool
Key function returns key value.
func (SecurityValidationError) Reason ¶
func (e SecurityValidationError) Reason() string
Reason function returns reason value.
type Service ¶
type Service struct {
// Service name for service discovery
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
DynamicEndpoint bool `protobuf:"varint,3,opt,name=dynamic_endpoint,proto3" json:"dynamic_endpoint,omitempty"`
Grpc *Service_GRPC `protobuf:"bytes,10,opt,name=grpc,proto3" json:"grpc,omitempty"`
Http *Service_HTTP `protobuf:"bytes,20,opt,name=http,proto3" json:"http,omitempty"`
Websocket *WebSocket `protobuf:"bytes,100,opt,name=websocket,proto3" json:"websocket,omitempty"`
Message *Message `protobuf:"bytes,200,opt,name=message,proto3" json:"message,omitempty"`
Task *Task `protobuf:"bytes,300,opt,name=task,proto3" json:"task,omitempty"`
Selector *Service_Selector `protobuf:"bytes,500,opt,name=selector,proto3" json:"selector,omitempty"`
// contains filtered or unexported fields
}
func (*Service) Descriptor
deprecated
func (*Service) GetDynamicEndpoint ¶
func (*Service) GetGrpc ¶
func (x *Service) GetGrpc() *Service_GRPC
func (*Service) GetHttp ¶
func (x *Service) GetHttp() *Service_HTTP
func (*Service) GetMessage ¶
func (*Service) GetSelector ¶
func (x *Service) GetSelector() *Service_Selector
func (*Service) GetWebsocket ¶
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
func (*Service) Validate ¶
Validate checks the field values on Service 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 (*Service) ValidateAll ¶
ValidateAll checks the field values on Service 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 ServiceMultiError, or nil if none found.
type ServiceMultiError ¶
type ServiceMultiError []error
ServiceMultiError is an error wrapping multiple validation errors returned by Service.ValidateAll() if the designated constraints aren't met.
func (ServiceMultiError) AllErrors ¶
func (m ServiceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ServiceMultiError) Error ¶
func (m ServiceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ServiceValidationError ¶
type ServiceValidationError struct {
// contains filtered or unexported fields
}
ServiceValidationError is the validation error returned by Service.Validate if the designated constraints aren't met.
func (ServiceValidationError) Cause ¶
func (e ServiceValidationError) Cause() error
Cause function returns cause value.
func (ServiceValidationError) Error ¶
func (e ServiceValidationError) Error() string
Error satisfies the builtin error interface
func (ServiceValidationError) ErrorName ¶
func (e ServiceValidationError) ErrorName() string
ErrorName returns error name.
func (ServiceValidationError) Field ¶
func (e ServiceValidationError) Field() string
Field function returns field value.
func (ServiceValidationError) Key ¶
func (e ServiceValidationError) Key() bool
Key function returns key value.
func (ServiceValidationError) Reason ¶
func (e ServiceValidationError) Reason() string
Reason function returns reason value.
type Service_GRPC ¶
type Service_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"`
TlsConfig *TLSConfig `protobuf:"bytes,4,opt,name=tls_config,proto3" json:"tls_config,omitempty"`
Timeout int64 `protobuf:"varint,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
ShutdownTimeout int64 `protobuf:"varint,7,opt,name=shutdown_timeout,proto3" json:"shutdown_timeout,omitempty"`
ReadTimeout int64 `protobuf:"varint,8,opt,name=read_timeout,proto3" json:"read_timeout,omitempty"`
WriteTimeout int64 `protobuf:"varint,9,opt,name=write_timeout,proto3" json:"write_timeout,omitempty"`
IdleTimeout int64 `protobuf:"varint,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
}
GRPC
func (*Service_GRPC) Descriptor
deprecated
func (*Service_GRPC) Descriptor() ([]byte, []int)
Deprecated: Use Service_GRPC.ProtoReflect.Descriptor instead.
func (*Service_GRPC) GetAddr ¶
func (x *Service_GRPC) GetAddr() string
func (*Service_GRPC) GetEndpoint ¶
func (x *Service_GRPC) GetEndpoint() string
func (*Service_GRPC) GetIdleTimeout ¶
func (x *Service_GRPC) GetIdleTimeout() int64
func (*Service_GRPC) GetNetwork ¶
func (x *Service_GRPC) GetNetwork() string
func (*Service_GRPC) GetReadTimeout ¶
func (x *Service_GRPC) GetReadTimeout() int64
func (*Service_GRPC) GetShutdownTimeout ¶
func (x *Service_GRPC) GetShutdownTimeout() int64
func (*Service_GRPC) GetTimeout ¶
func (x *Service_GRPC) GetTimeout() int64
func (*Service_GRPC) GetTlsConfig ¶
func (x *Service_GRPC) GetTlsConfig() *TLSConfig
func (*Service_GRPC) GetUseTls ¶
func (x *Service_GRPC) GetUseTls() bool
func (*Service_GRPC) GetWriteTimeout ¶
func (x *Service_GRPC) GetWriteTimeout() int64
func (*Service_GRPC) ProtoMessage ¶
func (*Service_GRPC) ProtoMessage()
func (*Service_GRPC) ProtoReflect ¶
func (x *Service_GRPC) ProtoReflect() protoreflect.Message
func (*Service_GRPC) Reset ¶
func (x *Service_GRPC) Reset()
func (*Service_GRPC) String ¶
func (x *Service_GRPC) String() string
func (*Service_GRPC) Validate ¶
func (m *Service_GRPC) Validate() error
Validate checks the field values on Service_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 (*Service_GRPC) ValidateAll ¶
func (m *Service_GRPC) ValidateAll() error
ValidateAll checks the field values on Service_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 Service_GRPCMultiError, or nil if none found.
type Service_GRPCMultiError ¶
type Service_GRPCMultiError []error
Service_GRPCMultiError is an error wrapping multiple validation errors returned by Service_GRPC.ValidateAll() if the designated constraints aren't met.
func (Service_GRPCMultiError) AllErrors ¶
func (m Service_GRPCMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Service_GRPCMultiError) Error ¶
func (m Service_GRPCMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Service_GRPCValidationError ¶
type Service_GRPCValidationError struct {
// contains filtered or unexported fields
}
Service_GRPCValidationError is the validation error returned by Service_GRPC.Validate if the designated constraints aren't met.
func (Service_GRPCValidationError) Cause ¶
func (e Service_GRPCValidationError) Cause() error
Cause function returns cause value.
func (Service_GRPCValidationError) Error ¶
func (e Service_GRPCValidationError) Error() string
Error satisfies the builtin error interface
func (Service_GRPCValidationError) ErrorName ¶
func (e Service_GRPCValidationError) ErrorName() string
ErrorName returns error name.
func (Service_GRPCValidationError) Field ¶
func (e Service_GRPCValidationError) Field() string
Field function returns field value.
func (Service_GRPCValidationError) Key ¶
func (e Service_GRPCValidationError) Key() bool
Key function returns key value.
func (Service_GRPCValidationError) Reason ¶
func (e Service_GRPCValidationError) Reason() string
Reason function returns reason value.
type Service_HTTP ¶
type Service_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"`
TlsConfig *TLSConfig `protobuf:"bytes,4,opt,name=tls_config,proto3" json:"tls_config,omitempty"`
Timeout int64 `protobuf:"varint,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
ShutdownTimeout int64 `protobuf:"varint,7,opt,name=shutdown_timeout,proto3" json:"shutdown_timeout,omitempty"`
ReadTimeout int64 `protobuf:"varint,8,opt,name=read_timeout,proto3" json:"read_timeout,omitempty"`
WriteTimeout int64 `protobuf:"varint,9,opt,name=write_timeout,proto3" json:"write_timeout,omitempty"`
IdleTimeout int64 `protobuf:"varint,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 (*Service_HTTP) Descriptor
deprecated
func (*Service_HTTP) Descriptor() ([]byte, []int)
Deprecated: Use Service_HTTP.ProtoReflect.Descriptor instead.
func (*Service_HTTP) GetAddr ¶
func (x *Service_HTTP) GetAddr() string
func (*Service_HTTP) GetEndpoint ¶
func (x *Service_HTTP) GetEndpoint() string
func (*Service_HTTP) GetIdleTimeout ¶
func (x *Service_HTTP) GetIdleTimeout() int64
func (*Service_HTTP) GetNetwork ¶
func (x *Service_HTTP) GetNetwork() string
func (*Service_HTTP) GetReadTimeout ¶
func (x *Service_HTTP) GetReadTimeout() int64
func (*Service_HTTP) GetShutdownTimeout ¶
func (x *Service_HTTP) GetShutdownTimeout() int64
func (*Service_HTTP) GetTimeout ¶
func (x *Service_HTTP) GetTimeout() int64
func (*Service_HTTP) GetTlsConfig ¶
func (x *Service_HTTP) GetTlsConfig() *TLSConfig
func (*Service_HTTP) GetUseTls ¶
func (x *Service_HTTP) GetUseTls() bool
func (*Service_HTTP) GetWriteTimeout ¶
func (x *Service_HTTP) GetWriteTimeout() int64
func (*Service_HTTP) ProtoMessage ¶
func (*Service_HTTP) ProtoMessage()
func (*Service_HTTP) ProtoReflect ¶
func (x *Service_HTTP) ProtoReflect() protoreflect.Message
func (*Service_HTTP) Reset ¶
func (x *Service_HTTP) Reset()
func (*Service_HTTP) String ¶
func (x *Service_HTTP) String() string
func (*Service_HTTP) Validate ¶
func (m *Service_HTTP) Validate() error
Validate checks the field values on Service_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 (*Service_HTTP) ValidateAll ¶
func (m *Service_HTTP) ValidateAll() error
ValidateAll checks the field values on Service_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 Service_HTTPMultiError, or nil if none found.
type Service_HTTPMultiError ¶
type Service_HTTPMultiError []error
Service_HTTPMultiError is an error wrapping multiple validation errors returned by Service_HTTP.ValidateAll() if the designated constraints aren't met.
func (Service_HTTPMultiError) AllErrors ¶
func (m Service_HTTPMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Service_HTTPMultiError) Error ¶
func (m Service_HTTPMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Service_HTTPValidationError ¶
type Service_HTTPValidationError struct {
// contains filtered or unexported fields
}
Service_HTTPValidationError is the validation error returned by Service_HTTP.Validate if the designated constraints aren't met.
func (Service_HTTPValidationError) Cause ¶
func (e Service_HTTPValidationError) Cause() error
Cause function returns cause value.
func (Service_HTTPValidationError) Error ¶
func (e Service_HTTPValidationError) Error() string
Error satisfies the builtin error interface
func (Service_HTTPValidationError) ErrorName ¶
func (e Service_HTTPValidationError) ErrorName() string
ErrorName returns error name.
func (Service_HTTPValidationError) Field ¶
func (e Service_HTTPValidationError) Field() string
Field function returns field value.
func (Service_HTTPValidationError) Key ¶
func (e Service_HTTPValidationError) Key() bool
Key function returns key value.
func (Service_HTTPValidationError) Reason ¶
func (e Service_HTTPValidationError) Reason() string
Reason function returns reason value.
type Service_Selector ¶
type Service_Selector struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
Builder string `protobuf:"bytes,2,opt,name=builder,proto3" json:"builder,omitempty"`
// contains filtered or unexported fields
}
Selector
func (*Service_Selector) Descriptor
deprecated
func (*Service_Selector) Descriptor() ([]byte, []int)
Deprecated: Use Service_Selector.ProtoReflect.Descriptor instead.
func (*Service_Selector) GetBuilder ¶
func (x *Service_Selector) GetBuilder() string
func (*Service_Selector) GetVersion ¶
func (x *Service_Selector) GetVersion() string
func (*Service_Selector) ProtoMessage ¶
func (*Service_Selector) ProtoMessage()
func (*Service_Selector) ProtoReflect ¶
func (x *Service_Selector) ProtoReflect() protoreflect.Message
func (*Service_Selector) Reset ¶
func (x *Service_Selector) Reset()
func (*Service_Selector) String ¶
func (x *Service_Selector) String() string
func (*Service_Selector) Validate ¶
func (m *Service_Selector) Validate() error
Validate checks the field values on Service_Selector 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 (*Service_Selector) ValidateAll ¶
func (m *Service_Selector) ValidateAll() error
ValidateAll checks the field values on Service_Selector 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 Service_SelectorMultiError, or nil if none found.
type Service_SelectorMultiError ¶
type Service_SelectorMultiError []error
Service_SelectorMultiError is an error wrapping multiple validation errors returned by Service_Selector.ValidateAll() if the designated constraints aren't met.
func (Service_SelectorMultiError) AllErrors ¶
func (m Service_SelectorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Service_SelectorMultiError) Error ¶
func (m Service_SelectorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Service_SelectorValidationError ¶
type Service_SelectorValidationError struct {
// contains filtered or unexported fields
}
Service_SelectorValidationError is the validation error returned by Service_Selector.Validate if the designated constraints aren't met.
func (Service_SelectorValidationError) Cause ¶
func (e Service_SelectorValidationError) Cause() error
Cause function returns cause value.
func (Service_SelectorValidationError) Error ¶
func (e Service_SelectorValidationError) Error() string
Error satisfies the builtin error interface
func (Service_SelectorValidationError) ErrorName ¶
func (e Service_SelectorValidationError) ErrorName() string
ErrorName returns error name.
func (Service_SelectorValidationError) Field ¶
func (e Service_SelectorValidationError) Field() string
Field function returns field value.
func (Service_SelectorValidationError) Key ¶
func (e Service_SelectorValidationError) Key() bool
Key function returns key value.
func (Service_SelectorValidationError) Reason ¶
func (e Service_SelectorValidationError) Reason() string
Reason function returns reason value.
type SourceConfig ¶
type SourceConfig struct {
Types []string `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"` // Type
// name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
// set the supported file format, if not set, all formats are supported
Formats []string `protobuf:"bytes,4,rep,name=formats,proto3" json:"formats,omitempty"`
Env bool `protobuf:"varint,5,opt,name=env,proto3" json:"env,omitempty"`
// set the environment variable name
EnvArgs map[string]string `` /* 143-byte string literal not displayed */
// set the environment variable prefix
EnvPrefixes []string `protobuf:"bytes,7,rep,name=env_prefixes,proto3" json:"env_prefixes,omitempty"`
File *SourceConfig_File `protobuf:"bytes,100,opt,name=file,proto3,oneof" json:"file,omitempty"`
Consul *SourceConfig_Consul `protobuf:"bytes,200,opt,name=consul,proto3,oneof" json:"consul,omitempty"`
Etcd *SourceConfig_ETCD `protobuf:"bytes,300,opt,name=etcd,proto3,oneof" json:"etcd,omitempty"`
Nacos *SourceConfig_Nacos `protobuf:"bytes,400,opt,name=nacos,proto3,oneof" json:"nacos,omitempty"` // Nacos
Apollo *SourceConfig_Apollo `protobuf:"bytes,500,opt,name=apollo,proto3,oneof" json:"apollo,omitempty"` // Apollo
Kubernetes *SourceConfig_Kubernetes `protobuf:"bytes,600,opt,name=kubernetes,proto3,oneof" json:"kubernetes,omitempty"` // Kubernetes
Polaris *SourceConfig_Polaris `protobuf:"bytes,700,opt,name=polaris,proto3,oneof" json:"polaris,omitempty"` // Polaris
Customize *Customize `protobuf:"bytes,800,opt,name=customize,proto3,oneof" json:"customize,omitempty"` // Customize
// contains filtered or unexported fields
}
SourceConfig is the source file for load configuration
func (*SourceConfig) Descriptor
deprecated
func (*SourceConfig) Descriptor() ([]byte, []int)
Deprecated: Use SourceConfig.ProtoReflect.Descriptor instead.
func (*SourceConfig) GetApollo ¶
func (x *SourceConfig) GetApollo() *SourceConfig_Apollo
func (*SourceConfig) GetConsul ¶
func (x *SourceConfig) GetConsul() *SourceConfig_Consul
func (*SourceConfig) GetCustomize ¶
func (x *SourceConfig) GetCustomize() *Customize
func (*SourceConfig) GetEnv ¶
func (x *SourceConfig) GetEnv() bool
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) GetKubernetes ¶
func (x *SourceConfig) GetKubernetes() *SourceConfig_Kubernetes
func (*SourceConfig) GetNacos ¶
func (x *SourceConfig) GetNacos() *SourceConfig_Nacos
func (*SourceConfig) GetName ¶
func (x *SourceConfig) GetName() string
func (*SourceConfig) GetPolaris ¶
func (x *SourceConfig) GetPolaris() *SourceConfig_Polaris
func (*SourceConfig) GetTypes ¶
func (x *SourceConfig) GetTypes() []string
func (*SourceConfig) GetVersion ¶
func (x *SourceConfig) GetVersion() 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_Apollo ¶
type SourceConfig_Apollo struct {
// contains filtered or unexported fields
}
func (*SourceConfig_Apollo) Descriptor
deprecated
func (*SourceConfig_Apollo) Descriptor() ([]byte, []int)
Deprecated: Use SourceConfig_Apollo.ProtoReflect.Descriptor instead.
func (*SourceConfig_Apollo) ProtoMessage ¶
func (*SourceConfig_Apollo) ProtoMessage()
func (*SourceConfig_Apollo) ProtoReflect ¶
func (x *SourceConfig_Apollo) ProtoReflect() protoreflect.Message
func (*SourceConfig_Apollo) Reset ¶
func (x *SourceConfig_Apollo) Reset()
func (*SourceConfig_Apollo) String ¶
func (x *SourceConfig_Apollo) String() string
func (*SourceConfig_Apollo) Validate ¶
func (m *SourceConfig_Apollo) Validate() error
Validate checks the field values on SourceConfig_Apollo 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_Apollo) ValidateAll ¶
func (m *SourceConfig_Apollo) ValidateAll() error
ValidateAll checks the field values on SourceConfig_Apollo 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_ApolloMultiError, or nil if none found.
type SourceConfig_ApolloMultiError ¶
type SourceConfig_ApolloMultiError []error
SourceConfig_ApolloMultiError is an error wrapping multiple validation errors returned by SourceConfig_Apollo.ValidateAll() if the designated constraints aren't met.
func (SourceConfig_ApolloMultiError) AllErrors ¶
func (m SourceConfig_ApolloMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceConfig_ApolloMultiError) Error ¶
func (m SourceConfig_ApolloMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceConfig_ApolloValidationError ¶
type SourceConfig_ApolloValidationError struct {
// contains filtered or unexported fields
}
SourceConfig_ApolloValidationError is the validation error returned by SourceConfig_Apollo.Validate if the designated constraints aren't met.
func (SourceConfig_ApolloValidationError) Cause ¶
func (e SourceConfig_ApolloValidationError) Cause() error
Cause function returns cause value.
func (SourceConfig_ApolloValidationError) Error ¶
func (e SourceConfig_ApolloValidationError) Error() string
Error satisfies the builtin error interface
func (SourceConfig_ApolloValidationError) ErrorName ¶
func (e SourceConfig_ApolloValidationError) ErrorName() string
ErrorName returns error name.
func (SourceConfig_ApolloValidationError) Field ¶
func (e SourceConfig_ApolloValidationError) Field() string
Field function returns field value.
func (SourceConfig_ApolloValidationError) Key ¶
func (e SourceConfig_ApolloValidationError) Key() bool
Key function returns key value.
func (SourceConfig_ApolloValidationError) Reason ¶
func (e SourceConfig_ApolloValidationError) 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
}
ETCD
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"`
Ignores []string `protobuf:"bytes,3,rep,name=ignores,proto3" json:"ignores,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) GetIgnores ¶
func (x *SourceConfig_File) GetIgnores() []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 SourceConfig_Kubernetes ¶
type SourceConfig_Kubernetes struct {
// contains filtered or unexported fields
}
func (*SourceConfig_Kubernetes) Descriptor
deprecated
func (*SourceConfig_Kubernetes) Descriptor() ([]byte, []int)
Deprecated: Use SourceConfig_Kubernetes.ProtoReflect.Descriptor instead.
func (*SourceConfig_Kubernetes) ProtoMessage ¶
func (*SourceConfig_Kubernetes) ProtoMessage()
func (*SourceConfig_Kubernetes) ProtoReflect ¶
func (x *SourceConfig_Kubernetes) ProtoReflect() protoreflect.Message
func (*SourceConfig_Kubernetes) Reset ¶
func (x *SourceConfig_Kubernetes) Reset()
func (*SourceConfig_Kubernetes) String ¶
func (x *SourceConfig_Kubernetes) String() string
func (*SourceConfig_Kubernetes) Validate ¶
func (m *SourceConfig_Kubernetes) Validate() error
Validate checks the field values on SourceConfig_Kubernetes 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_Kubernetes) ValidateAll ¶
func (m *SourceConfig_Kubernetes) ValidateAll() error
ValidateAll checks the field values on SourceConfig_Kubernetes 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_KubernetesMultiError, or nil if none found.
type SourceConfig_KubernetesMultiError ¶
type SourceConfig_KubernetesMultiError []error
SourceConfig_KubernetesMultiError is an error wrapping multiple validation errors returned by SourceConfig_Kubernetes.ValidateAll() if the designated constraints aren't met.
func (SourceConfig_KubernetesMultiError) AllErrors ¶
func (m SourceConfig_KubernetesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceConfig_KubernetesMultiError) Error ¶
func (m SourceConfig_KubernetesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceConfig_KubernetesValidationError ¶
type SourceConfig_KubernetesValidationError struct {
// contains filtered or unexported fields
}
SourceConfig_KubernetesValidationError is the validation error returned by SourceConfig_Kubernetes.Validate if the designated constraints aren't met.
func (SourceConfig_KubernetesValidationError) Cause ¶
func (e SourceConfig_KubernetesValidationError) Cause() error
Cause function returns cause value.
func (SourceConfig_KubernetesValidationError) Error ¶
func (e SourceConfig_KubernetesValidationError) Error() string
Error satisfies the builtin error interface
func (SourceConfig_KubernetesValidationError) ErrorName ¶
func (e SourceConfig_KubernetesValidationError) ErrorName() string
ErrorName returns error name.
func (SourceConfig_KubernetesValidationError) Field ¶
func (e SourceConfig_KubernetesValidationError) Field() string
Field function returns field value.
func (SourceConfig_KubernetesValidationError) Key ¶
func (e SourceConfig_KubernetesValidationError) Key() bool
Key function returns key value.
func (SourceConfig_KubernetesValidationError) Reason ¶
func (e SourceConfig_KubernetesValidationError) Reason() string
Reason function returns reason value.
type SourceConfig_Nacos ¶
type SourceConfig_Nacos struct {
// contains filtered or unexported fields
}
func (*SourceConfig_Nacos) Descriptor
deprecated
func (*SourceConfig_Nacos) Descriptor() ([]byte, []int)
Deprecated: Use SourceConfig_Nacos.ProtoReflect.Descriptor instead.
func (*SourceConfig_Nacos) ProtoMessage ¶
func (*SourceConfig_Nacos) ProtoMessage()
func (*SourceConfig_Nacos) ProtoReflect ¶
func (x *SourceConfig_Nacos) ProtoReflect() protoreflect.Message
func (*SourceConfig_Nacos) Reset ¶
func (x *SourceConfig_Nacos) Reset()
func (*SourceConfig_Nacos) String ¶
func (x *SourceConfig_Nacos) String() string
func (*SourceConfig_Nacos) Validate ¶
func (m *SourceConfig_Nacos) Validate() error
Validate checks the field values on SourceConfig_Nacos 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_Nacos) ValidateAll ¶
func (m *SourceConfig_Nacos) ValidateAll() error
ValidateAll checks the field values on SourceConfig_Nacos 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_NacosMultiError, or nil if none found.
type SourceConfig_NacosMultiError ¶
type SourceConfig_NacosMultiError []error
SourceConfig_NacosMultiError is an error wrapping multiple validation errors returned by SourceConfig_Nacos.ValidateAll() if the designated constraints aren't met.
func (SourceConfig_NacosMultiError) AllErrors ¶
func (m SourceConfig_NacosMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceConfig_NacosMultiError) Error ¶
func (m SourceConfig_NacosMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceConfig_NacosValidationError ¶
type SourceConfig_NacosValidationError struct {
// contains filtered or unexported fields
}
SourceConfig_NacosValidationError is the validation error returned by SourceConfig_Nacos.Validate if the designated constraints aren't met.
func (SourceConfig_NacosValidationError) Cause ¶
func (e SourceConfig_NacosValidationError) Cause() error
Cause function returns cause value.
func (SourceConfig_NacosValidationError) Error ¶
func (e SourceConfig_NacosValidationError) Error() string
Error satisfies the builtin error interface
func (SourceConfig_NacosValidationError) ErrorName ¶
func (e SourceConfig_NacosValidationError) ErrorName() string
ErrorName returns error name.
func (SourceConfig_NacosValidationError) Field ¶
func (e SourceConfig_NacosValidationError) Field() string
Field function returns field value.
func (SourceConfig_NacosValidationError) Key ¶
func (e SourceConfig_NacosValidationError) Key() bool
Key function returns key value.
func (SourceConfig_NacosValidationError) Reason ¶
func (e SourceConfig_NacosValidationError) Reason() string
Reason function returns reason value.
type SourceConfig_Polaris ¶
type SourceConfig_Polaris struct {
// contains filtered or unexported fields
}
func (*SourceConfig_Polaris) Descriptor
deprecated
func (*SourceConfig_Polaris) Descriptor() ([]byte, []int)
Deprecated: Use SourceConfig_Polaris.ProtoReflect.Descriptor instead.
func (*SourceConfig_Polaris) ProtoMessage ¶
func (*SourceConfig_Polaris) ProtoMessage()
func (*SourceConfig_Polaris) ProtoReflect ¶
func (x *SourceConfig_Polaris) ProtoReflect() protoreflect.Message
func (*SourceConfig_Polaris) Reset ¶
func (x *SourceConfig_Polaris) Reset()
func (*SourceConfig_Polaris) String ¶
func (x *SourceConfig_Polaris) String() string
func (*SourceConfig_Polaris) Validate ¶
func (m *SourceConfig_Polaris) Validate() error
Validate checks the field values on SourceConfig_Polaris 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_Polaris) ValidateAll ¶
func (m *SourceConfig_Polaris) ValidateAll() error
ValidateAll checks the field values on SourceConfig_Polaris 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_PolarisMultiError, or nil if none found.
type SourceConfig_PolarisMultiError ¶
type SourceConfig_PolarisMultiError []error
SourceConfig_PolarisMultiError is an error wrapping multiple validation errors returned by SourceConfig_Polaris.ValidateAll() if the designated constraints aren't met.
func (SourceConfig_PolarisMultiError) AllErrors ¶
func (m SourceConfig_PolarisMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SourceConfig_PolarisMultiError) Error ¶
func (m SourceConfig_PolarisMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SourceConfig_PolarisValidationError ¶
type SourceConfig_PolarisValidationError struct {
// contains filtered or unexported fields
}
SourceConfig_PolarisValidationError is the validation error returned by SourceConfig_Polaris.Validate if the designated constraints aren't met.
func (SourceConfig_PolarisValidationError) Cause ¶
func (e SourceConfig_PolarisValidationError) Cause() error
Cause function returns cause value.
func (SourceConfig_PolarisValidationError) Error ¶
func (e SourceConfig_PolarisValidationError) Error() string
Error satisfies the builtin error interface
func (SourceConfig_PolarisValidationError) ErrorName ¶
func (e SourceConfig_PolarisValidationError) ErrorName() string
ErrorName returns error name.
func (SourceConfig_PolarisValidationError) Field ¶
func (e SourceConfig_PolarisValidationError) Field() string
Field function returns field value.
func (SourceConfig_PolarisValidationError) Key ¶
func (e SourceConfig_PolarisValidationError) Key() bool
Key function returns key value.
func (SourceConfig_PolarisValidationError) Reason ¶
func (e SourceConfig_PolarisValidationError) Reason() string
Reason function returns reason value.
type Storage ¶
type Storage struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Type
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// Database
Database *Database `protobuf:"bytes,3,opt,name=database,proto3" json:"database,omitempty"`
// Cache
Cache *Cache `protobuf:"bytes,4,opt,name=cache,proto3" json:"cache,omitempty"`
// File
File *File `protobuf:"bytes,10,opt,name=file,proto3" json:"file,omitempty"`
// Redis
Redis *Redis `protobuf:"bytes,11,opt,name=redis,proto3" json:"redis,omitempty"`
// Badger
Badger *BadgerDS `protobuf:"bytes,12,opt,name=badger,proto3" json:"badger,omitempty"`
// Mongo
Mongo *Mongo `protobuf:"bytes,13,opt,name=mongo,proto3" json:"mongo,omitempty"`
// OSS
Oss *Oss `protobuf:"bytes,14,opt,name=oss,proto3" json:"oss,omitempty"`
// contains filtered or unexported fields
}
func (*Storage) Descriptor
deprecated
func (*Storage) GetDatabase ¶
func (*Storage) ProtoMessage ¶
func (*Storage) ProtoMessage()
func (*Storage) ProtoReflect ¶
func (x *Storage) ProtoReflect() protoreflect.Message
func (*Storage) Validate ¶
Validate checks the field values on Storage 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 (*Storage) ValidateAll ¶
ValidateAll checks the field values on Storage 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 StorageMultiError, or nil if none found.
type StorageMultiError ¶
type StorageMultiError []error
StorageMultiError is an error wrapping multiple validation errors returned by Storage.ValidateAll() if the designated constraints aren't met.
func (StorageMultiError) AllErrors ¶
func (m StorageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StorageMultiError) Error ¶
func (m StorageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StorageValidationError ¶
type StorageValidationError struct {
// contains filtered or unexported fields
}
StorageValidationError is the validation error returned by Storage.Validate if the designated constraints aren't met.
func (StorageValidationError) Cause ¶
func (e StorageValidationError) Cause() error
Cause function returns cause value.
func (StorageValidationError) Error ¶
func (e StorageValidationError) Error() string
Error satisfies the builtin error interface
func (StorageValidationError) ErrorName ¶
func (e StorageValidationError) ErrorName() string
ErrorName returns error name.
func (StorageValidationError) Field ¶
func (e StorageValidationError) Field() string
Field function returns field value.
func (StorageValidationError) Key ¶
func (e StorageValidationError) Key() bool
Key function returns key value.
func (StorageValidationError) Reason ¶
func (e StorageValidationError) Reason() string
Reason function returns reason value.
type TLS ¶
type TLS struct {
Insecure bool `protobuf:"varint,1,opt,name=insecure,proto3" json:"insecure,omitempty"`
Cacert string `protobuf:"bytes,2,opt,name=cacert,proto3" json:"cacert,omitempty"`
Cert string `protobuf:"bytes,3,opt,name=cert,proto3" json:"cert,omitempty"`
Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
ServerName string `protobuf:"bytes,5,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
// contains filtered or unexported fields
}
func (*TLS) Descriptor
deprecated
func (*TLS) GetInsecure ¶
func (*TLS) GetServerName ¶
func (*TLS) ProtoMessage ¶
func (*TLS) ProtoMessage()
func (*TLS) ProtoReflect ¶
func (x *TLS) ProtoReflect() protoreflect.Message
func (*TLS) Validate ¶
Validate checks the field values on TLS 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 (*TLS) ValidateAll ¶
ValidateAll checks the field values on TLS 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 TLSMultiError, or nil if none found.
type TLSConfig ¶
type TLSConfig struct {
File *TLSConfig_File `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
Pem *TLSConfig_PEM `protobuf:"bytes,2,opt,name=pem,proto3" json:"pem,omitempty"`
// contains filtered or unexported fields
}
TLSConfig
func (*TLSConfig) Descriptor
deprecated
func (*TLSConfig) GetFile ¶
func (x *TLSConfig) GetFile() *TLSConfig_File
func (*TLSConfig) GetPem ¶
func (x *TLSConfig) GetPem() *TLSConfig_PEM
func (*TLSConfig) ProtoMessage ¶
func (*TLSConfig) ProtoMessage()
func (*TLSConfig) ProtoReflect ¶
func (x *TLSConfig) ProtoReflect() protoreflect.Message
func (*TLSConfig) Validate ¶
Validate checks the field values on TLSConfig 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 (*TLSConfig) ValidateAll ¶
ValidateAll checks the field values on TLSConfig 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 TLSConfigMultiError, or nil if none found.
type TLSConfigMultiError ¶
type TLSConfigMultiError []error
TLSConfigMultiError is an error wrapping multiple validation errors returned by TLSConfig.ValidateAll() if the designated constraints aren't met.
func (TLSConfigMultiError) AllErrors ¶
func (m TLSConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TLSConfigMultiError) Error ¶
func (m TLSConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TLSConfigValidationError ¶
type TLSConfigValidationError struct {
// contains filtered or unexported fields
}
TLSConfigValidationError is the validation error returned by TLSConfig.Validate if the designated constraints aren't met.
func (TLSConfigValidationError) Cause ¶
func (e TLSConfigValidationError) Cause() error
Cause function returns cause value.
func (TLSConfigValidationError) Error ¶
func (e TLSConfigValidationError) Error() string
Error satisfies the builtin error interface
func (TLSConfigValidationError) ErrorName ¶
func (e TLSConfigValidationError) ErrorName() string
ErrorName returns error name.
func (TLSConfigValidationError) Field ¶
func (e TLSConfigValidationError) Field() string
Field function returns field value.
func (TLSConfigValidationError) Key ¶
func (e TLSConfigValidationError) Key() bool
Key function returns key value.
func (TLSConfigValidationError) Reason ¶
func (e TLSConfigValidationError) Reason() string
Reason function returns reason value.
type TLSConfig_File ¶
type TLSConfig_File struct {
Cert string `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"`
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
Ca string `protobuf:"bytes,3,opt,name=ca,proto3" json:"ca,omitempty"`
// contains filtered or unexported fields
}
func (*TLSConfig_File) Descriptor
deprecated
func (*TLSConfig_File) Descriptor() ([]byte, []int)
Deprecated: Use TLSConfig_File.ProtoReflect.Descriptor instead.
func (*TLSConfig_File) GetCa ¶
func (x *TLSConfig_File) GetCa() string
func (*TLSConfig_File) GetCert ¶
func (x *TLSConfig_File) GetCert() string
func (*TLSConfig_File) GetKey ¶
func (x *TLSConfig_File) GetKey() string
func (*TLSConfig_File) ProtoMessage ¶
func (*TLSConfig_File) ProtoMessage()
func (*TLSConfig_File) ProtoReflect ¶
func (x *TLSConfig_File) ProtoReflect() protoreflect.Message
func (*TLSConfig_File) Reset ¶
func (x *TLSConfig_File) Reset()
func (*TLSConfig_File) String ¶
func (x *TLSConfig_File) String() string
func (*TLSConfig_File) Validate ¶
func (m *TLSConfig_File) Validate() error
Validate checks the field values on TLSConfig_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 (*TLSConfig_File) ValidateAll ¶
func (m *TLSConfig_File) ValidateAll() error
ValidateAll checks the field values on TLSConfig_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 TLSConfig_FileMultiError, or nil if none found.
type TLSConfig_FileMultiError ¶
type TLSConfig_FileMultiError []error
TLSConfig_FileMultiError is an error wrapping multiple validation errors returned by TLSConfig_File.ValidateAll() if the designated constraints aren't met.
func (TLSConfig_FileMultiError) AllErrors ¶
func (m TLSConfig_FileMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TLSConfig_FileMultiError) Error ¶
func (m TLSConfig_FileMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TLSConfig_FileValidationError ¶
type TLSConfig_FileValidationError struct {
// contains filtered or unexported fields
}
TLSConfig_FileValidationError is the validation error returned by TLSConfig_File.Validate if the designated constraints aren't met.
func (TLSConfig_FileValidationError) Cause ¶
func (e TLSConfig_FileValidationError) Cause() error
Cause function returns cause value.
func (TLSConfig_FileValidationError) Error ¶
func (e TLSConfig_FileValidationError) Error() string
Error satisfies the builtin error interface
func (TLSConfig_FileValidationError) ErrorName ¶
func (e TLSConfig_FileValidationError) ErrorName() string
ErrorName returns error name.
func (TLSConfig_FileValidationError) Field ¶
func (e TLSConfig_FileValidationError) Field() string
Field function returns field value.
func (TLSConfig_FileValidationError) Key ¶
func (e TLSConfig_FileValidationError) Key() bool
Key function returns key value.
func (TLSConfig_FileValidationError) Reason ¶
func (e TLSConfig_FileValidationError) Reason() string
Reason function returns reason value.
type TLSConfig_PEM ¶
type TLSConfig_PEM struct {
Cert []byte `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"`
Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
Ca []byte `protobuf:"bytes,3,opt,name=ca,proto3" json:"ca,omitempty"`
// contains filtered or unexported fields
}
func (*TLSConfig_PEM) Descriptor
deprecated
func (*TLSConfig_PEM) Descriptor() ([]byte, []int)
Deprecated: Use TLSConfig_PEM.ProtoReflect.Descriptor instead.
func (*TLSConfig_PEM) GetCa ¶
func (x *TLSConfig_PEM) GetCa() []byte
func (*TLSConfig_PEM) GetCert ¶
func (x *TLSConfig_PEM) GetCert() []byte
func (*TLSConfig_PEM) GetKey ¶
func (x *TLSConfig_PEM) GetKey() []byte
func (*TLSConfig_PEM) ProtoMessage ¶
func (*TLSConfig_PEM) ProtoMessage()
func (*TLSConfig_PEM) ProtoReflect ¶
func (x *TLSConfig_PEM) ProtoReflect() protoreflect.Message
func (*TLSConfig_PEM) Reset ¶
func (x *TLSConfig_PEM) Reset()
func (*TLSConfig_PEM) String ¶
func (x *TLSConfig_PEM) String() string
func (*TLSConfig_PEM) Validate ¶
func (m *TLSConfig_PEM) Validate() error
Validate checks the field values on TLSConfig_PEM 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 (*TLSConfig_PEM) ValidateAll ¶
func (m *TLSConfig_PEM) ValidateAll() error
ValidateAll checks the field values on TLSConfig_PEM 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 TLSConfig_PEMMultiError, or nil if none found.
type TLSConfig_PEMMultiError ¶
type TLSConfig_PEMMultiError []error
TLSConfig_PEMMultiError is an error wrapping multiple validation errors returned by TLSConfig_PEM.ValidateAll() if the designated constraints aren't met.
func (TLSConfig_PEMMultiError) AllErrors ¶
func (m TLSConfig_PEMMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TLSConfig_PEMMultiError) Error ¶
func (m TLSConfig_PEMMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TLSConfig_PEMValidationError ¶
type TLSConfig_PEMValidationError struct {
// contains filtered or unexported fields
}
TLSConfig_PEMValidationError is the validation error returned by TLSConfig_PEM.Validate if the designated constraints aren't met.
func (TLSConfig_PEMValidationError) Cause ¶
func (e TLSConfig_PEMValidationError) Cause() error
Cause function returns cause value.
func (TLSConfig_PEMValidationError) Error ¶
func (e TLSConfig_PEMValidationError) Error() string
Error satisfies the builtin error interface
func (TLSConfig_PEMValidationError) ErrorName ¶
func (e TLSConfig_PEMValidationError) ErrorName() string
ErrorName returns error name.
func (TLSConfig_PEMValidationError) Field ¶
func (e TLSConfig_PEMValidationError) Field() string
Field function returns field value.
func (TLSConfig_PEMValidationError) Key ¶
func (e TLSConfig_PEMValidationError) Key() bool
Key function returns key value.
func (TLSConfig_PEMValidationError) Reason ¶
func (e TLSConfig_PEMValidationError) Reason() string
Reason function returns reason value.
type TLSMultiError ¶
type TLSMultiError []error
TLSMultiError is an error wrapping multiple validation errors returned by TLS.ValidateAll() if the designated constraints aren't met.
func (TLSMultiError) AllErrors ¶
func (m TLSMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TLSMultiError) Error ¶
func (m TLSMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TLSValidationError ¶
type TLSValidationError struct {
// contains filtered or unexported fields
}
TLSValidationError is the validation error returned by TLS.Validate if the designated constraints aren't met.
func (TLSValidationError) Cause ¶
func (e TLSValidationError) Cause() error
Cause function returns cause value.
func (TLSValidationError) Error ¶
func (e TLSValidationError) Error() string
Error satisfies the builtin error interface
func (TLSValidationError) ErrorName ¶
func (e TLSValidationError) ErrorName() string
ErrorName returns error name.
func (TLSValidationError) Field ¶
func (e TLSValidationError) Field() string
Field function returns field value.
func (TLSValidationError) Key ¶
func (e TLSValidationError) Key() bool
Key function returns key value.
func (TLSValidationError) Reason ¶
func (e TLSValidationError) Reason() string
Reason function returns reason value.
type Task ¶
type Task struct {
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Asynq *Task_Asynq `protobuf:"bytes,3,opt,name=asynq,proto3" json:"asynq,omitempty"`
Machinery *Task_Machinery `protobuf:"bytes,4,opt,name=machinery,proto3" json:"machinery,omitempty"`
Cron *Task_Cron `protobuf:"bytes,5,opt,name=cron,proto3" json:"cron,omitempty"`
// contains filtered or unexported fields
}
Task config
func (*Task) Descriptor
deprecated
func (*Task) GetAsynq ¶
func (x *Task) GetAsynq() *Task_Asynq
func (*Task) GetMachinery ¶
func (x *Task) GetMachinery() *Task_Machinery
func (*Task) ProtoMessage ¶
func (*Task) ProtoMessage()
func (*Task) ProtoReflect ¶
func (x *Task) ProtoReflect() protoreflect.Message
func (*Task) Validate ¶
Validate checks the field values on Task 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 (*Task) ValidateAll ¶
ValidateAll checks the field values on Task 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 TaskMultiError, or nil if none found.
type TaskMultiError ¶
type TaskMultiError []error
TaskMultiError is an error wrapping multiple validation errors returned by Task.ValidateAll() if the designated constraints aren't met.
func (TaskMultiError) AllErrors ¶
func (m TaskMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TaskMultiError) Error ¶
func (m TaskMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TaskValidationError ¶
type TaskValidationError struct {
// contains filtered or unexported fields
}
TaskValidationError is the validation error returned by Task.Validate if the designated constraints aren't met.
func (TaskValidationError) Cause ¶
func (e TaskValidationError) Cause() error
Cause function returns cause value.
func (TaskValidationError) Error ¶
func (e TaskValidationError) Error() string
Error satisfies the builtin error interface
func (TaskValidationError) ErrorName ¶
func (e TaskValidationError) ErrorName() string
ErrorName returns error name.
func (TaskValidationError) Field ¶
func (e TaskValidationError) Field() string
Field function returns field value.
func (TaskValidationError) Key ¶
func (e TaskValidationError) Key() bool
Key function returns key value.
func (TaskValidationError) Reason ¶
func (e TaskValidationError) Reason() string
Reason function returns reason value.
type Task_Asynq ¶
type Task_Asynq struct {
// endpoint is peer network address
Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// login password
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
// database index
Db int32 `protobuf:"varint,3,opt,name=db,proto3" json:"db,omitempty"`
// timezone location
Location string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
// contains filtered or unexported fields
}
Asynq config
func (*Task_Asynq) Descriptor
deprecated
func (*Task_Asynq) Descriptor() ([]byte, []int)
Deprecated: Use Task_Asynq.ProtoReflect.Descriptor instead.
func (*Task_Asynq) GetDb ¶
func (x *Task_Asynq) GetDb() int32
func (*Task_Asynq) GetEndpoint ¶
func (x *Task_Asynq) GetEndpoint() string
func (*Task_Asynq) GetLocation ¶
func (x *Task_Asynq) GetLocation() string
func (*Task_Asynq) GetPassword ¶
func (x *Task_Asynq) GetPassword() string
func (*Task_Asynq) ProtoMessage ¶
func (*Task_Asynq) ProtoMessage()
func (*Task_Asynq) ProtoReflect ¶
func (x *Task_Asynq) ProtoReflect() protoreflect.Message
func (*Task_Asynq) Reset ¶
func (x *Task_Asynq) Reset()
func (*Task_Asynq) String ¶
func (x *Task_Asynq) String() string
func (*Task_Asynq) Validate ¶
func (m *Task_Asynq) Validate() error
Validate checks the field values on Task_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 (*Task_Asynq) ValidateAll ¶
func (m *Task_Asynq) ValidateAll() error
ValidateAll checks the field values on Task_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 Task_AsynqMultiError, or nil if none found.
type Task_AsynqMultiError ¶
type Task_AsynqMultiError []error
Task_AsynqMultiError is an error wrapping multiple validation errors returned by Task_Asynq.ValidateAll() if the designated constraints aren't met.
func (Task_AsynqMultiError) AllErrors ¶
func (m Task_AsynqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_AsynqMultiError) Error ¶
func (m Task_AsynqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_AsynqValidationError ¶
type Task_AsynqValidationError struct {
// contains filtered or unexported fields
}
Task_AsynqValidationError is the validation error returned by Task_Asynq.Validate if the designated constraints aren't met.
func (Task_AsynqValidationError) Cause ¶
func (e Task_AsynqValidationError) Cause() error
Cause function returns cause value.
func (Task_AsynqValidationError) Error ¶
func (e Task_AsynqValidationError) Error() string
Error satisfies the builtin error interface
func (Task_AsynqValidationError) ErrorName ¶
func (e Task_AsynqValidationError) ErrorName() string
ErrorName returns error name.
func (Task_AsynqValidationError) Field ¶
func (e Task_AsynqValidationError) Field() string
Field function returns field value.
func (Task_AsynqValidationError) Key ¶
func (e Task_AsynqValidationError) Key() bool
Key function returns key value.
func (Task_AsynqValidationError) Reason ¶
func (e Task_AsynqValidationError) Reason() string
Reason function returns reason value.
type Task_Cron ¶
type Task_Cron struct {
// addr is peer network address
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
// contains filtered or unexported fields
}
Cron config
func (*Task_Cron) Descriptor
deprecated
func (*Task_Cron) ProtoMessage ¶
func (*Task_Cron) ProtoMessage()
func (*Task_Cron) ProtoReflect ¶
func (x *Task_Cron) ProtoReflect() protoreflect.Message
func (*Task_Cron) Validate ¶
Validate checks the field values on Task_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 (*Task_Cron) ValidateAll ¶
ValidateAll checks the field values on Task_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 Task_CronMultiError, or nil if none found.
type Task_CronMultiError ¶
type Task_CronMultiError []error
Task_CronMultiError is an error wrapping multiple validation errors returned by Task_Cron.ValidateAll() if the designated constraints aren't met.
func (Task_CronMultiError) AllErrors ¶
func (m Task_CronMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_CronMultiError) Error ¶
func (m Task_CronMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_CronValidationError ¶
type Task_CronValidationError struct {
// contains filtered or unexported fields
}
Task_CronValidationError is the validation error returned by Task_Cron.Validate if the designated constraints aren't met.
func (Task_CronValidationError) Cause ¶
func (e Task_CronValidationError) Cause() error
Cause function returns cause value.
func (Task_CronValidationError) Error ¶
func (e Task_CronValidationError) Error() string
Error satisfies the builtin error interface
func (Task_CronValidationError) ErrorName ¶
func (e Task_CronValidationError) ErrorName() string
ErrorName returns error name.
func (Task_CronValidationError) Field ¶
func (e Task_CronValidationError) Field() string
Field function returns field value.
func (Task_CronValidationError) Key ¶
func (e Task_CronValidationError) Key() bool
Key function returns key value.
func (Task_CronValidationError) Reason ¶
func (e Task_CronValidationError) Reason() string
Reason function returns reason value.
type Task_Machinery ¶
type Task_Machinery struct {
// brokers address, which can be specified as Redis, AMQP, or AWS SQS according to the actual storage medium used
Brokers []string `protobuf:"bytes,1,rep,name=brokers,proto3" json:"brokers,omitempty"`
// backends configures the media for storing results. The value can be Redis, memcached, or mongodb as required
Backends []string `protobuf:"bytes,2,rep,name=backends,proto3" json:"backends,omitempty"`
// contains filtered or unexported fields
}
Machinery config
func (*Task_Machinery) Descriptor
deprecated
func (*Task_Machinery) Descriptor() ([]byte, []int)
Deprecated: Use Task_Machinery.ProtoReflect.Descriptor instead.
func (*Task_Machinery) GetBackends ¶
func (x *Task_Machinery) GetBackends() []string
func (*Task_Machinery) GetBrokers ¶
func (x *Task_Machinery) GetBrokers() []string
func (*Task_Machinery) ProtoMessage ¶
func (*Task_Machinery) ProtoMessage()
func (*Task_Machinery) ProtoReflect ¶
func (x *Task_Machinery) ProtoReflect() protoreflect.Message
func (*Task_Machinery) Reset ¶
func (x *Task_Machinery) Reset()
func (*Task_Machinery) String ¶
func (x *Task_Machinery) String() string
func (*Task_Machinery) Validate ¶
func (m *Task_Machinery) Validate() error
Validate checks the field values on Task_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 (*Task_Machinery) ValidateAll ¶
func (m *Task_Machinery) ValidateAll() error
ValidateAll checks the field values on Task_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 Task_MachineryMultiError, or nil if none found.
type Task_MachineryMultiError ¶
type Task_MachineryMultiError []error
Task_MachineryMultiError is an error wrapping multiple validation errors returned by Task_Machinery.ValidateAll() if the designated constraints aren't met.
func (Task_MachineryMultiError) AllErrors ¶
func (m Task_MachineryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (Task_MachineryMultiError) Error ¶
func (m Task_MachineryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type Task_MachineryValidationError ¶
type Task_MachineryValidationError struct {
// contains filtered or unexported fields
}
Task_MachineryValidationError is the validation error returned by Task_Machinery.Validate if the designated constraints aren't met.
func (Task_MachineryValidationError) Cause ¶
func (e Task_MachineryValidationError) Cause() error
Cause function returns cause value.
func (Task_MachineryValidationError) Error ¶
func (e Task_MachineryValidationError) Error() string
Error satisfies the builtin error interface
func (Task_MachineryValidationError) ErrorName ¶
func (e Task_MachineryValidationError) ErrorName() string
ErrorName returns error name.
func (Task_MachineryValidationError) Field ¶
func (e Task_MachineryValidationError) Field() string
Field function returns field value.
func (Task_MachineryValidationError) Key ¶
func (e Task_MachineryValidationError) Key() bool
Key function returns key value.
func (Task_MachineryValidationError) Reason ¶
func (e Task_MachineryValidationError) Reason() string
Reason function returns reason value.
type Trace ¶
type Trace struct {
// name of trace service
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// endpoint is the endpoint of trace service
Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
// contains filtered or unexported fields
}
Trace config.
func (*Trace) Descriptor
deprecated
func (*Trace) GetEndpoint ¶
func (*Trace) ProtoMessage ¶
func (*Trace) ProtoMessage()
func (*Trace) ProtoReflect ¶
func (x *Trace) ProtoReflect() protoreflect.Message
func (*Trace) Validate ¶
Validate checks the field values on Trace 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 (*Trace) ValidateAll ¶
ValidateAll checks the field values on Trace 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 TraceMultiError, or nil if none found.
type TraceMultiError ¶
type TraceMultiError []error
TraceMultiError is an error wrapping multiple validation errors returned by Trace.ValidateAll() if the designated constraints aren't met.
func (TraceMultiError) AllErrors ¶
func (m TraceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TraceMultiError) Error ¶
func (m TraceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TraceValidationError ¶
type TraceValidationError struct {
// contains filtered or unexported fields
}
TraceValidationError is the validation error returned by Trace.Validate if the designated constraints aren't met.
func (TraceValidationError) Cause ¶
func (e TraceValidationError) Cause() error
Cause function returns cause value.
func (TraceValidationError) Error ¶
func (e TraceValidationError) Error() string
Error satisfies the builtin error interface
func (TraceValidationError) ErrorName ¶
func (e TraceValidationError) ErrorName() string
ErrorName returns error name.
func (TraceValidationError) Field ¶
func (e TraceValidationError) Field() string
Field function returns field value.
func (TraceValidationError) Key ¶
func (e TraceValidationError) Key() bool
Key function returns key value.
func (TraceValidationError) Reason ¶
func (e TraceValidationError) Reason() string
Reason function returns reason value.
type WebSocket ¶
type 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 int64 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
func (*WebSocket) Descriptor
deprecated
func (*WebSocket) GetNetwork ¶
func (*WebSocket) GetTimeout ¶
func (*WebSocket) ProtoMessage ¶
func (*WebSocket) ProtoMessage()
func (*WebSocket) ProtoReflect ¶
func (x *WebSocket) ProtoReflect() protoreflect.Message
func (*WebSocket) Validate ¶
Validate checks the field values on 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 (*WebSocket) ValidateAll ¶
ValidateAll checks the field values on 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 WebSocketMultiError, or nil if none found.
type WebSocketMultiError ¶
type WebSocketMultiError []error
WebSocketMultiError is an error wrapping multiple validation errors returned by WebSocket.ValidateAll() if the designated constraints aren't met.
func (WebSocketMultiError) AllErrors ¶
func (m WebSocketMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WebSocketMultiError) Error ¶
func (m WebSocketMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type WebSocketValidationError ¶
type WebSocketValidationError struct {
// contains filtered or unexported fields
}
WebSocketValidationError is the validation error returned by WebSocket.Validate if the designated constraints aren't met.
func (WebSocketValidationError) Cause ¶
func (e WebSocketValidationError) Cause() error
Cause function returns cause value.
func (WebSocketValidationError) Error ¶
func (e WebSocketValidationError) Error() string
Error satisfies the builtin error interface
func (WebSocketValidationError) ErrorName ¶
func (e WebSocketValidationError) ErrorName() string
ErrorName returns error name.
func (WebSocketValidationError) Field ¶
func (e WebSocketValidationError) Field() string
Field function returns field value.
func (WebSocketValidationError) Key ¶
func (e WebSocketValidationError) Key() bool
Key function returns key value.
func (WebSocketValidationError) Reason ¶
func (e WebSocketValidationError) Reason() string
Reason function returns reason value.
Source Files
¶
- cors.pb.go
- cors.pb.validate.go
- customize.pb.go
- customize.pb.validate.go
- discovery.pb.go
- discovery.pb.validate.go
- gateway.pb.go
- gateway.pb.validate.go
- logger.pb.go
- logger.pb.validate.go
- mail.pb.go
- mail.pb.validate.go
- message.pb.go
- message.pb.validate.go
- security.pb.go
- security.pb.validate.go
- service.pb.go
- service.pb.validate.go
- source.pb.go
- source.pb.validate.go
- storage.pb.go
- storage.pb.validate.go
- task.pb.go
- task.pb.validate.go
- tlsconfig.pb.go
- tlsconfig.pb.validate.go
- tracer.pb.go
- tracer.pb.validate.go
- websocket.pb.go
- websocket.pb.validate.go