github.com/cloudfoundry-attic/cli-with-i18n@v6.32.1-0.20171002233121-7401370d3b85+incompatible/actor/pushaction/shared_actor.go (about)

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