diff --git a/utils/artefacts/interface.go b/utils/artefacts/interface.go new file mode 100644 index 0000000..abed0b1 --- /dev/null +++ b/utils/artefacts/interface.go @@ -0,0 +1,13 @@ +package artefacts + +import ( + "context" + + "github.com/ARM-software/embedded-development-services-client/client" +) + +//go:generate mockgen -destination=../mocks/mock_$GOPACKAGE.go -package=mocks github.com/ARM-software/embedded-development-services-client-utils/$GOPACKAGE IArtefactManager + +type IArtefactManager interface { + DownloadJobArtefact(ctx context.Context, jobName string, outputDirectory string, artefactManagerItem client.HalLinkData) (err error) +}