...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package test
17
18
19 type Config struct {
20 ChartDir string
21 ManifestDir string
22 Tag string
23 ManagerImageRegistry string
24 ManagerImage string
25 ManagerTag string
26 DaemonImageRegistry string
27 DaemonImage string
28 DaemonTag string
29 E2EImage string
30 PauseImage string
31 ChaosCoreDNSImage string
32 InstallChaosMesh bool
33 EnableDashboard bool
34 }
35
36
37 func NewDefaultConfig() *Config {
38 return &Config{
39 ChartDir: "/charts",
40 ManifestDir: "/manifests",
41 Tag: "e2e",
42 ManagerImageRegistry: "ghcr.io",
43 ManagerImage: "chaos-mesh/chaos-mesh",
44 ManagerTag: "latest",
45 DaemonImageRegistry: "ghcr.io",
46 DaemonImage: "chaos-mesh/chaos-daemon",
47 DaemonTag: "latest",
48 E2EImage: "ghcr.io/chaos-mesh/e2e-helper:latest",
49 ChaosCoreDNSImage: "ghcr.io/chaos-mesh/chaos-coredns:latest",
50 PauseImage: "gcr.io/google-containers/pause:latest",
51 InstallChaosMesh: false,
52 EnableDashboard: false,
53 }
54 }
55