lakemanage

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultInterval = time.Minute

Variables

This section is empty.

Functions

func Monitor

func Monitor(ctx context.Context, conn *client.Connection, conf Config, logger *zap.Logger) error

func Update

func Update(ctx context.Context, lk lakeapi.Interface, conf Config, logger *zap.Logger) error

Types

type Config

type Config struct {
	Interval *time.Duration `yaml:"interval"`
	Vectors  bool           `yaml:"vectors"`
	Pools    []PoolConfig   `yaml:"pools"`
}

type PoolConfig

type PoolConfig struct {
	Pool    string `yaml:"pool"`
	Branch  string `yaml:"branch"`
	Vectors bool   `yaml:"vectors"`
}

Jump to

Keyboard shortcuts

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