aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/mgrconfig/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/mgrconfig/config.go')
-rw-r--r--pkg/mgrconfig/config.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/mgrconfig/config.go b/pkg/mgrconfig/config.go
index 46270ab0c..68242faf8 100644
--- a/pkg/mgrconfig/config.go
+++ b/pkg/mgrconfig/config.go
@@ -5,6 +5,8 @@ package mgrconfig
import (
"encoding/json"
+
+ "github.com/google/syzkaller/pkg/asset"
)
type Config struct {
@@ -191,6 +193,16 @@ type Config struct {
// Parameters for concrete types are in Config type in vm/TYPE/TYPE.go, e.g. vm/qemu/qemu.go.
VM json.RawMessage `json:"vm"`
+ // Asset storage configuration. There can be specified the upload location and crash assets
+ // to upload.
+ // A sample config:
+ // {
+ // "upload_to": "gs://bucket",
+ // "public_access": true
+ // }
+ // More details can be found in pkg/asset/config.go.
+ AssetStorage *asset.Config `json:"asset_storage"`
+
// Implementation details beyond this point. Filled after parsing.
Derived `json:"-"`
}