github.com/schwarzm/garden-linux@v0.0.0-20150507151835-33bca2147c47/old/rootfs_provider/rootfs_provider.go (about)

     1  package rootfs_provider
     2  
     3  import (
     4  	"net/url"
     5  
     6  	"github.com/cloudfoundry-incubator/garden-linux/process"
     7  	"github.com/pivotal-golang/lager"
     8  )
     9  
    10  //go:generate counterfeiter -o fake_rootfs_provider/fake_rootfs_provider.go . RootFSProvider
    11  type RootFSProvider interface {
    12  	ProvideRootFS(logger lager.Logger, id string, rootfs *url.URL, namespaced bool) (mountpoint string, envvar process.Env, err error)
    13  	CleanupRootFS(logger lager.Logger, id string) error
    14  }