Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PluginDriverFactory ¶
type PluginStore ¶
type PluginStore struct {
*Filestore
PluginDriverFactory
}
func NewPluginStore ¶
func NewPluginStore(path, caCertPath, caPrivateKeyPath string) *PluginStore
type RPCPluginDriverFactory ¶
type RPCPluginDriverFactory struct{}
func (RPCPluginDriverFactory) NewPluginDriver ¶
type Store ¶
type Store interface {
// Exists returns whether a machine exists or not
Exists(name string) (bool, error)
// List returns a list of all hosts in the store
List() ([]string, error)
// Load loads a host by name
Load(name string) (*host.Host, error)
// Remove removes a machine from the store
Remove(name string) error
// Save persists a machine in the store
Save(host *host.Host) error
}
Click to show internal directories.
Click to hide internal directories.