github.com/randomtask1155/cli@v6.41.1-0.20181227003417-a98eed78cbde+incompatible/actor/v7action/shared_actor.go (about)

     1  package v7action
     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  }