aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/build/test.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2021-07-20 09:51:49 +0000
committerAleksandr Nogikh <wp32pw@gmail.com>2021-07-20 13:39:45 +0200
commit1d0d9801861138705e655de691d7bb9c8b3aac4b (patch)
treedd34c41d4d900e7aed2df6b2f90f6b3cdc612797 /pkg/build/test.go
parent2fe31df39f956886ef214b5b028362964aa07a53 (diff)
pkg/build: modify builder interface
Modify the `builder` interface in such a way that build method also returns a struct containing extra information about the build process. This allows to fetch compiler ID from individual builders. Also, this makes the `signer` interface obsolete, as this information can also go into that structure.
Diffstat (limited to 'pkg/build/test.go')
-rw-r--r--pkg/build/test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/build/test.go b/pkg/build/test.go
index 93ae27f96..a4f59d562 100644
--- a/pkg/build/test.go
+++ b/pkg/build/test.go
@@ -5,8 +5,8 @@ package build
type test struct{}
-func (tb test) build(params Params) error {
- return nil
+func (tb test) build(params Params) (ImageDetails, error) {
+ return ImageDetails{}, nil
}
func (tb test) clean(string, string) error {