luciconfig

package
v0.0.0-...-650a673 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SERVICE_HOST = "config.luci.app"
)

Variables

This section is empty.

Functions

func NewApiClient

func NewApiClient(ctx context.Context, local bool) (*apiClient, error)

API Client that wraps around the LUCI Config client.

Types

type ApiClient

type ApiClient interface {
	// Given a LUCI Config path, retrieve all matching configs to that path.
	GetProjectConfigs(ctx context.Context, path string) ([]*ProjectConfig, error)
}

Interface for LUCI Config wrapper.

type ProjectConfig

type ProjectConfig struct {
	Content  string
	Revision string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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