github.com/altoros/juju-vmware@v0.0.0-20150312064031-f19ae857ccca/state/backups/backups_nonlinux.go (about) 1 // Copyright 2015 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 // +build !linux 5 6 package backups 7 8 import ( 9 "github.com/juju/errors" 10 11 "github.com/juju/juju/apiserver/params" 12 ) 13 14 // Restore satisfies the Backups interface on non-Linux OSes (e.g. 15 // windows, darwin). 16 func (*backups) Restore(_ string, _ params.RestoreArgs) error { 17 return errors.Errorf("backups supported only on Linux") 18 }