Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileStore ¶
type FileStore interface { Stat(charmID string, path string) (fs.FileInfo, error) Get(charmID string, path string) (fs.File, error) Put(charmID string, path string, r io.Reader, mode fs.FileMode) error Delete(charmID string, path string) error }
FileStore is the interface storage backends need to implement to act as a the datastore for the Charm Cloud server.
Click to show internal directories.
Click to hide internal directories.