controller

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 InitConfig(filename string) (*Config, error)

func (*Config) GetClusterConfig

func (c *Config) GetClusterConfig() member.Config

func (*Config) GetControllerAddrs

func (c *Config) GetControllerAddrs() []string

func (*Config) GetEventbusCtrlConfig

func (c *Config) GetEventbusCtrlConfig() eventbus.Config

func (*Config) GetSnowflakeConfig

func (c *Config) GetSnowflakeConfig() root.Config

func (*Config) GetTenantConfig

func (c *Config) GetTenantConfig() tenant.Config

func (*Config) GetTriggerConfig

func (c *Config) GetTriggerConfig() trigger.Config

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL