From 9df512eac06f89986c4138a0503bba4ac9fbe3da Mon Sep 17 00:00:00 2001 From: Josh Date: Fri, 10 May 2024 10:09:40 +0100 Subject: [PATCH] Create interface.go --- utils/artefacts/interface.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 utils/artefacts/interface.go 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) +}