configuration

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2021 License: GPL-3.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeService added in v0.19.90

type RuntimeService interface {
	GetRuntimeEntry(component string, key string) (string, error)
	SetRuntimeEntry(component string, key string, value string) error
}

type Service added in v0.19.90

type Service interface {
	RuntimeService
	NewRunNumber() (runNumber uint32, err error)
	GetDefaults() map[string]string
	GetVars() map[string]string
	GetComponentConfiguration(query *componentcfg.Query) (payload string, err error)
	GetAndProcessComponentConfiguration(query *componentcfg.Query, varStack map[string]string) (payload string, err error)

	GetHostInventory(detector string) (hosts []string, err error)
	ListComponents() (components []string, err error)
	ListComponentEntries(query *componentcfg.EntriesQuery, showLatestTimestamp bool) (entries []string, err error)
	ListComponentEntryHistory(query *componentcfg.Query) (entries []string, err error)

	ImportComponentConfiguration(query *componentcfg.Query, payload string, newComponent bool, useVersioning bool) (existingComponentUpdated bool, existingEntryUpdated bool, newTimestamp int64, err error)

	GetDetectorForHost(hostname string) (string, error)
	GetCRUCardsForHost(hostname string) (string, error)
	GetEndpointsForCRUCard(hostname, cardSerial string) (string, error)

	RawGetRecursive(path string) (string, error)
}

Directories

Path Synopsis
Package configuration defines the Source interface as the main access point to O² Configuration backends.
Package configuration defines the Source interface as the main access point to O² Configuration backends.

Jump to

Keyboard shortcuts

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