Documentation ¶
Index ¶
- type Config
- func (c *Config) GetClusterConfig() member.Config
- func (c *Config) GetControllerAddrs() []string
- func (c *Config) GetEventbusCtrlConfig() eventbus.Config
- func (c *Config) GetSnowflakeConfig() root.Config
- func (c *Config) GetTenantConfig() tenant.Config
- func (c *Config) GetTriggerConfig() trigger.Config
- type MetadataConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { NodeID uint16 `yaml:"node_id"` Name string `yaml:"name"` IP string `yaml:"ip"` Port int `yaml:"port"` GRPCReflectionEnable bool `yaml:"grpc_reflection_enable"` MetadataConfig MetadataConfig `yaml:"metadata"` Replicas uint `yaml:"replicas"` SecretEncryptionSalt string `yaml:"secret_encryption_salt"` SegmentCapacity int64 `yaml:"segment_capacity"` Observability observability.Config `yaml:"observability"` ClusterConfig member.Config `yaml:"cluster"` RootControllerAddr []string `yaml:"root_controllers"` NoCreateDefaultNs bool `yaml:"no_create_default_namespace"` }
func InitConfig ¶
func (*Config) GetClusterConfig ¶
func (*Config) GetControllerAddrs ¶
func (*Config) GetEventbusCtrlConfig ¶
func (*Config) GetSnowflakeConfig ¶
func (*Config) GetTenantConfig ¶
func (*Config) GetTriggerConfig ¶
type MetadataConfig ¶
type MetadataConfig struct {
KeyPrefix string `yaml:"key_prefix"`
}
Directories ¶
Path | Synopsis |
---|---|
block
Package block is a generated GoMock package.
|
Package block is a generated GoMock package. |
eventlog
Package eventlog is a generated GoMock package.
|
Package eventlog is a generated GoMock package. |
server
Package server is a generated GoMock package.
|
Package server is a generated GoMock package. |
volume
Package volume is a generated GoMock package.
|
Package volume is a generated GoMock package. |
Package member is a generated GoMock package.
|
Package member is a generated GoMock package. |
manager
Package manager is a generated GoMock package.
|
Package manager is a generated GoMock package. |
secret
Package secret is a generated GoMock package.
|
Package secret is a generated GoMock package. |
storage
Package storage is a generated GoMock package.
|
Package storage is a generated GoMock package. |
subscription
Package subscription is a generated GoMock package.
|
Package subscription is a generated GoMock package. |
subscription/offset
Package offset is a generated GoMock package.
|
Package offset is a generated GoMock package. |
worker
Package worker is a generated GoMock package.
|
Package worker is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.