store

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: 4 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 {
	ControllerAddresses []string             `yaml:"controllers"`
	IP                  string               `yaml:"ip"`
	Host                string               `yaml:"host"`
	Port                int                  `yaml:"port"`
	Volume              VolumeInfo           `yaml:"volume"`
	MetaStore           config.SyncStore     `yaml:"meta_store"`
	OffsetStore         config.AsyncStore    `yaml:"offset_store"`
	Raft                config.Raft          `yaml:"raft"`
	VSB                 config.VSB           `yaml:"vsb"`
	Observability       observability.Config `yaml:"observability"`
}

func InitConfig

func InitConfig(filename string) (*Config, error)

func (*Config) Validate

func (c *Config) Validate() error

type VolumeInfo

type VolumeInfo struct {
	ID       uint16 `json:"id"`
	Dir      string `json:"dir"`
	Capacity uint64 `json:"capacity"`
}

Directories

Path Synopsis
raw
testing
Package testing is a generated GoMock package.
Package testing is a generated GoMock package.
io
raft
storage
Package storage is a generated GoMock package.
Package storage is a generated GoMock package.
schema
ce
Package segment is a generated GoMock package.
Package segment is a generated GoMock package.
vsb
vbs package implements a file format names Vanus Block Format.
vbs package implements a file format names Vanus Block Format.
index/testing
Package testing is a generated GoMock package.
Package testing is a generated GoMock package.
wal

Jump to

Keyboard shortcuts

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