Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAccessDenied = errors.New("access denied")
View Source
var ErrConfigNotModified = errors.New("config not modified")
Functions ¶
Types ¶
type Merger ¶
type Merger interface { // Merge merges two config objects returning the resulting config. Merge(orig, other *config.VirtualContainerHostConfigSpec) (*config.VirtualContainerHostConfigSpec, error) }
Merger is used to merge two config objects
type Source ¶
type Source interface { // Get returns a config object. If the remote/local source // is not available, Get returns nil, with an error indicating // what went wrong. If the configuration has not changed since // the last time Get was called, it returns // (nil, ErrConfigNotModified). If the remote/local source // denies access, it returns (nil, ErrAccessDenied). Get(ctx context.Context) (*config.VirtualContainerHostConfigSpec, error) }
Source is configuration source, remote or otherwise
Click to show internal directories.
Click to hide internal directories.