Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
func (FileSystem) Exists ¶
func (s FileSystem) Exists() (bool, error)
func (FileSystem) String ¶
func (s FileSystem) String() string
type Storage ¶
type Storage interface { String() string Exists() (bool, error) Get() (metalink.Metalink, error) Put(metalink.Metalink) error }
func CreateFileSystem ¶
func CreateFileSystem(fs boshsys.FileSystem, path string) (Storage, error)
type StorageFactory ¶
func NewDefaultFactory ¶
func NewDefaultFactory(fs boshsys.FileSystem) StorageFactory
Click to show internal directories.
Click to hide internal directories.