Versions in this module Expand all Collapse all v0 v0.16.2 Sep 2, 2019 Changes in this version + func LoadAllHosts(s Store) ([]*host.Host, map[string]error, error) + func LoadHosts(s Store, hostNames []string) ([]*host.Host, map[string]error) + type Filestore struct + CaCertPath string + CaPrivateKeyPath string + Path string + func NewFilestore(path, caCertPath, caPrivateKeyPath string) *Filestore + func (s Filestore) Exists(name string) (bool, error) + func (s Filestore) GetMachinesDir() string + func (s Filestore) List() ([]string, error) + func (s Filestore) Load(name string) (*host.Host, error) + func (s Filestore) Remove(name string) error + func (s Filestore) Save(host *host.Host) error + type Store interface + Exists func(name string) (bool, error) + List func() ([]string, error) + Load func(name string) (*host.Host, error) + Remove func(name string) error + Save func(host *host.Host) error