github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/actor/v3action/shared_actor.go (about) 1 package v3action 2 3 import "code.cloudfoundry.org/cli/actor/sharedaction" 4 5 //go:generate counterfeiter . SharedActor 6 7 type SharedActor interface { 8 GatherArchiveResources(archivePath string) ([]sharedaction.Resource, error) 9 GatherDirectoryResources(sourceDir string) ([]sharedaction.Resource, error) 10 ZipArchiveResources(sourceArchivePath string, filesToInclude []sharedaction.Resource) (string, error) 11 ZipDirectoryResources(sourceDir string, filesToInclude []sharedaction.Resource) (string, error) 12 }