config

package
v0.0.0-...-51f9457 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSettingsCfg

func GetSettingsCfg(ctx context.Context) (*pb.SettingsCfg, error)

GetSettingsCfg fetches the settings.cfg from luci-config.

func SetTestSettingsCfg

func SetTestSettingsCfg(ctx context.Context, cfg *pb.SettingsCfg) error

SetTestSettingsCfg is used in tests only.

func UpdateSettingsCfg

func UpdateSettingsCfg(ctx context.Context) error

UpdateSettingsCfg is called from a cron periodically to import settings.cfg into datastore.

Types

This section is empty.

Jump to

Keyboard shortcuts

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