config

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyClusterUUID = "cluster_uuid"
)

Variables

View Source
var ErrConfigNotFound = errors.New("no config was found for this key")

ErrConfigNotFound is returned if no config with this key was found.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func New

func New(db database.Querier, rwLocker lock.RWLocker) *Config

func (*Config) GetClusterUUID

func (c *Config) GetClusterUUID(ctx context.Context) (string, error)

func (*Config) SetClusterUUID

func (c *Config) SetClusterUUID(ctx context.Context, value string) error

Jump to

Keyboard shortcuts

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