Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface { Name() string SetTargetNodeCount(nodeSelector map[string]string, numNodes int, strategy string) (bool, error) }
Engine specifies the functions that an Engine must implement
type RegistryInterface ¶
type RegistryInterface interface { Get(name string) (Engine, error) Delete(name string) Put(name string, engine Engine) }
RegistryInterface is an interface to an Engine registry. See function comments for implementation limitations.
func Registry ¶
func Registry() RegistryInterface
Registry provides an interface to the single Engine registry.
Click to show internal directories.
Click to hide internal directories.