Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Filestore ¶
func NewFilestore ¶ added in v0.5.2
func (Filestore) GetMachinesDir ¶ added in v0.5.2
type PluginDriverFactory ¶ added in v0.5.2
type PluginStore ¶ added in v0.5.2
type PluginStore struct { *Filestore PluginDriverFactory }
func NewPluginStore ¶ added in v0.5.2
func NewPluginStore(path, caCertPath, caPrivateKeyPath string) *PluginStore
type RPCPluginDriverFactory ¶ added in v0.5.2
type RPCPluginDriverFactory struct{}
func (RPCPluginDriverFactory) NewPluginDriver ¶ added in v0.5.2
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.