github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/actor/v7action/shared_actor.go (about)

     1  package v7action
     2  
     3  import "code.cloudfoundry.org/cli/actor/sharedaction"
     4  
     5  //go:generate go run github.com/maxbrunsfeld/counterfeiter/v6 . 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  }