This repository was archived by the owner on Nov 9, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Expand file tree Collapse file tree 7 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ import chaos from 'k6/x/chaos';
44
44
import { Pods } from ' k6/x/chaos/k8s' ;
45
45
46
46
export default function () {
47
- console .log (` Running simskij/k6-extension -chaos@${ chaos .version } .` );
47
+ console .log (` Running simskij/xk6 -chaos@${ chaos .version } .` );
48
48
const p = new Pods ();
49
49
console .log (
50
50
` There are currently ${ p .list ().length } pods in the default namespace.`
@@ -80,7 +80,7 @@ $ ./k6 run script.js
80
80
scenarios: (100.00%) 1 scenario, 1 max VUs, 10m30s max duration (incl. graceful stop):
81
81
* default: 1 iterations for each of 1 VUs (maxDuration: 10m0s, gracefulStop: 30s)
82
82
83
- INFO[0000] Running simskij/k6-extension -chaos@v0.0.1. source=console
83
+ INFO[0000] Running simskij/xk6 -chaos@v0.0.1. source=console
84
84
INFO[0000] There are currently 33 pods in the default namespace. source=console
85
85
INFO[0000] Killing pod chaos-webserver-54bd848884-ds2g9 source=console
86
86
INFO[0000] There are now 32 pods in the default namespace. source=console
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package chaos
2
2
3
3
import (
4
4
"github.com/loadimpact/k6/js/modules"
5
- _ "github.com/simskij/k6-extension -chaos/internal/k8s" // Register the k8s module as well
5
+ _ "github.com/simskij/xk6 -chaos/internal/k8s" // Register the k8s module as well
6
6
)
7
7
8
8
const version = "v0.0.1"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import chaos from 'k6/x/chaos';
2
2
import { Pods } from 'k6/x/chaos/k8s' ;
3
3
4
4
export default function ( ) {
5
- console . log ( `Running simskij/k6-extension -chaos@${ chaos . version } .` ) ;
5
+ console . log ( `Running simskij/xk6 -chaos@${ chaos . version } .` ) ;
6
6
const p = new Pods ( ) ;
7
7
console . log (
8
8
`There are currently ${ p . list ( ) . length } pods in the default namespace.`
Original file line number Diff line number Diff line change 1
- module github.com/simskij/k6-extension -chaos
1
+ module github.com/simskij/xk6 -chaos
2
2
3
3
go 1.15
4
4
Original file line number Diff line number Diff line change 5
5
6
6
"github.com/loadimpact/k6/js/common"
7
7
"github.com/loadimpact/k6/js/modules"
8
- "github.com/simskij/k6-extension -chaos/internal/k8s/pods"
9
- "github.com/simskij/k6-extension -chaos/pkg/k8s/client"
8
+ "github.com/simskij/xk6 -chaos/internal/k8s/pods"
9
+ "github.com/simskij/xk6 -chaos/pkg/k8s/client"
10
10
)
11
11
12
12
func init () {
Original file line number Diff line number Diff line change 1
1
package client
2
2
3
3
import (
4
- "github.com/simskij/k6-extension -chaos/pkg/k8s/config"
4
+ "github.com/simskij/xk6 -chaos/pkg/k8s/config"
5
5
"k8s.io/client-go/kubernetes"
6
6
)
7
7
Original file line number Diff line number Diff line change 7
7
8
8
. "github.com/onsi/ginkgo"
9
9
. "github.com/onsi/gomega"
10
- "github.com/simskij/k6-extension -chaos/pkg/k8s/config"
10
+ "github.com/simskij/xk6 -chaos/pkg/k8s/config"
11
11
"k8s.io/client-go/util/homedir"
12
12
)
13
13
You can’t perform that action at this time.
0 commit comments