Documentation ¶ Index ¶ Variables type Adapter func Load(name string, config interface{}) (Adapter, error) Constants ¶ This section is empty. Variables ¶ View Source var ( // ErrGuardDoesNotExist is returned if we try to load an adapter // that does not exist ErrGuardDoesNotExist = errors.New("guard does not exist") ) Functions ¶ This section is empty. Types ¶ type Adapter ¶ type Adapter interface { Check() (bool, error) } Adapter implements the guard adapter interface which allows pluggable guards to be used based on experiment plan config func Load ¶ func Load(name string, config interface{}) (Adapter, error) Load will load a guard Source Files ¶ View all Source files adapter.go Directories ¶ Show internal Expand all Path Synopsis cloudwatch prometheus Click to show internal directories. Click to hide internal directories.