go:generate mockgen -package testmocks -destination ../testmocks/mock_build_module.go github.com/buildpacks/pack/pkg/buildpack BuildModule
| 25 | |
| 26 | //go:generate mockgen -package testmocks -destination ../testmocks/mock_build_module.go github.com/buildpacks/pack/pkg/buildpack BuildModule |
| 27 | type BuildModule interface { |
| 28 | // Open returns a reader to a tar with contents structured as per the distribution spec |
| 29 | // (currently '/cnb/buildpacks/{ID}/{version}/*', all entries with a zeroed-out |
| 30 | // timestamp and root UID/GID). |
| 31 | Open() (io.ReadCloser, error) |
| 32 | Descriptor() Descriptor |
| 33 | } |
| 34 | |
| 35 | type Descriptor interface { |
| 36 | API() *api.Version |
no outgoing calls
no test coverage detected