diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-11-05 13:29:36 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-11-06 11:41:05 +0100 |
| commit | c487cd4633a98235359d6084383d8c7ea49600bc (patch) | |
| tree | d99fa8483df82ca5cc3e4c48269d090fadfb45a3 /pkg/build/testlinux.go | |
| parent | bc2c6e45b9f01fa6046cb3efa9d3aae9f05238a8 (diff) | |
pkg/build: refactor Image function arguments
Image takes too many arguments, so we need to do lots of forwarding,
adding new argumnets is painful and most OSes are not interested
in lots of arguments.
Combine all arguments into a params struct.
Diffstat (limited to 'pkg/build/testlinux.go')
| -rw-r--r-- | pkg/build/testlinux.go | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/pkg/build/testlinux.go b/pkg/build/testlinux.go deleted file mode 100644 index 482c162c5..000000000 --- a/pkg/build/testlinux.go +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright 2019 syzkaller project authors. All rights reserved. -// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. - -package build - -// TypeBuilder implements the builder interface. -type testBuilder struct{} - -func (tb testBuilder) build(targetArch, vmType, kernelDir, outputDir, compiler, userspaceDir, - cmdlineFile, sysctlFile string, config []byte) error { - return nil -} - -func (tb testBuilder) clean(string, string) error { - return nil -} |
