This repository was archived by the owner on Nov 9, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +464
-132
lines changed Expand file tree Collapse file tree 6 files changed +464
-132
lines changed Original file line number Diff line number Diff line change 13
13
14
14
# xk6-chaos
15
15
A k6 extension for testing for the unknown unknowns.
16
- Built for [ k6] ( https://github.com/loadimpact /k6 ) using [ xk6] ( https://github.com/k6io/xk6 ) .
16
+ Built for [ k6] ( https://go.k6.io /k6 ) using [ xk6] ( https://github.com/k6io/xk6 ) .
17
17
18
18
</div >
19
19
@@ -28,13 +28,12 @@ Then:
28
28
29
29
1 . Download ` xk6 ` :
30
30
``` bash
31
- $ go get -u github.com/k6io/xk6
31
+ $ go install github.com/k6io/xk6/cmd/xk6@latest
32
32
```
33
33
34
34
2 . Build the binary:
35
35
``` bash
36
- $ xk6 build v0.29.0 \
37
- --with github.com/simskij/xk6-chaos
36
+ $ xk6 build --with github.com/simskij/xk6-chaos@latest
38
37
```
39
38
40
39
## Example
Original file line number Diff line number Diff line change 1
1
package chaos
2
2
3
3
import (
4
- "github.com/loadimpact /k6/js/modules"
4
+ "go.k6.io /k6/js/modules"
5
5
_ "github.com/simskij/xk6-chaos/internal/k8s" // Register the k8s module as well
6
6
)
7
7
Original file line number Diff line number Diff line change @@ -3,25 +3,12 @@ module github.com/simskij/xk6-chaos
3
3
go 1.15
4
4
5
5
require (
6
- github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153 // indirect
7
- github.com/evanphx/json-patch v4.9.0+incompatible // indirect
8
- github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7 // indirect
9
- github.com/google/gofuzz v1.1.0 // indirect
10
6
github.com/googleapis/gnostic v0.5.3 // indirect
11
7
github.com/imdario/mergo v0.3.11 // indirect
12
- github.com/json-iterator/go v1.1.10 // indirect
13
- github.com/loadimpact/k6 v0.29.0
14
8
github.com/onsi/ginkgo v1.14.0
15
9
github.com/onsi/gomega v1.10.1
16
- github.com/pkg/errors v0.9.1 // indirect
17
- golang.org/x/net v0.0.0-20200707034311-ab3426394381 // indirect
18
- golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4 // indirect
19
- k8s.io/api v0.17.0
20
- k8s.io/apimachinery v0.17.0
21
- k8s.io/client-go v0.17.0
22
- k8s.io/klog v1.0.0 // indirect
23
- k8s.io/klog/v2 v2.2.0 // indirect
24
- k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6 // indirect
25
- k8s.io/utils v0.0.0-20201110183641-67b214c5f920 // indirect
26
- sigs.k8s.io/yaml v1.2.0 // indirect
10
+ go.k6.io/k6 v0.32.0
11
+ k8s.io/api v0.21.0
12
+ k8s.io/apimachinery v0.21.0
13
+ k8s.io/client-go v0.21.0
27
14
)
You can’t perform that action at this time.
0 commit comments