~jameinel/juju-core/api-registry-tracks-type

« back to all changes in this revision

Viewing changes to environs/azure/storage.go

Merged local-sudo-caller into local-provider-bootstrap.

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
        return context.DeleteBlob(storage.getContainer(), name)
100
100
}
101
101
 
 
102
// RemoveAll is specified in the StorageWriter interface.
 
103
func (storage *azureStorage) RemoveAll() error {
 
104
        context, err := storage.getStorageContext()
 
105
        if err != nil {
 
106
                return err
 
107
        }
 
108
        return context.DeleteAllBlobs(&gwacl.DeleteAllBlobsRequest{
 
109
                Container: storage.getContainer(),
 
110
        })
 
111
}
 
112
 
102
113
// publicEnvironStorageContext is a storageContext which gets its information
103
114
// from an azureEnviron object to create a public storage.
104
115
type publicEnvironStorageContext struct {