Require storage drivers to report their name
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
parent
0281f4dce5
commit
b361b4811b
5 changed files with 20 additions and 0 deletions
|
@ -94,6 +94,9 @@ func New(accountName, accountKey, container, realm string) (*Driver, error) {
|
|||
}
|
||||
|
||||
// Implement the storagedriver.StorageDriver interface.
|
||||
func (d *driver) Name() string {
|
||||
return driverName
|
||||
}
|
||||
|
||||
// GetContent retrieves the content stored at "path" as a []byte.
|
||||
func (d *driver) GetContent(path string) ([]byte, error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue