Skip to content

Commit d0cfe0b

Browse files
committed
Merge branch 'main' into support-for-image-resolvers
* main: docs: Fix typo and mention the relevant function name in doc (testcontainers#1745) DOCKER_HOST var typo (testcontainers#1743) feat: Add Cassandra module (testcontainers#1726) K6 module (testcontainers#1721) Rancher Desktop instructions (testcontainers#1724) chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.8 to 3.23.9 (testcontainers#1720) chore(deps): bump urllib3 from 2.0.5 to 2.0.6 (testcontainers#1718) chore(deps): bump github.com/twmb/franz-go/pkg/kadm in /modules/redpanda (testcontainers#1714) chore(deps): bump github.com/couchbase/gocb/v2 in /modules/couchbase (testcontainers#1704) chore(deps): bump github.com/neo4j/neo4j-go-driver/v5 in /modules/neo4j (testcontainers#1713)
2 parents c21ca85 + ae52a27 commit d0cfe0b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+1632
-176
lines changed

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ updates:
6565
day: sunday
6666
open-pull-requests-limit: 3
6767
rebase-strategy: disabled
68+
- package-ecosystem: gomod
69+
directory: /modules/cassandra
70+
schedule:
71+
interval: monthly
72+
day: sunday
73+
open-pull-requests-limit: 3
74+
rebase-strategy: disabled
6875
- package-ecosystem: gomod
6976
directory: /modules/clickhouse
7077
schedule:
@@ -107,6 +114,13 @@ updates:
107114
day: sunday
108115
open-pull-requests-limit: 3
109116
rebase-strategy: disabled
117+
- package-ecosystem: gomod
118+
directory: /modules/k6
119+
schedule:
120+
interval: monthly
121+
day: sunday
122+
open-pull-requests-limit: 3
123+
rebase-strategy: disabled
110124
- package-ecosystem: gomod
111125
directory: /modules/kafka
112126
schedule:

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ jobs:
106106
matrix:
107107
go-version: [1.20.x, 1.x]
108108
platform: [ubuntu-latest, macos-latest]
109-
module: [artemis, clickhouse, compose, couchbase, elasticsearch, gcloud, k3s, kafka, localstack, mariadb, mongodb, mysql, nats, neo4j, postgres, pulsar, rabbitmq, redis, redpanda, vault]
109+
module: [artemis, cassandra, clickhouse, compose, couchbase, elasticsearch, gcloud, k3s, k6, kafka, localstack, mariadb, mongodb, mysql, nats, neo4j, postgres, pulsar, rabbitmq, redis, redpanda, vault]
110+
110111
uses: ./.github/workflows/ci-test-go.yml
111112
with:
112113
go-version: ${{ matrix.go-version }}

.vscode/.testcontainers-go.code-workspace

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
"name": "module / artemis",
2626
"path": "../modules/artemis"
2727
},
28+
{
29+
"name": "module / cassandra",
30+
"path": "../modules/cassandra"
31+
},
2832
{
2933
"name": "module / clickhouse",
3034
"path": "../modules/clickhouse"
@@ -49,6 +53,10 @@
4953
"name": "module / k3s",
5054
"path": "../modules/k3s"
5155
},
56+
{
57+
"name": "module / k6",
58+
"path": "../modules/k6"
59+
},
5260
{
5361
"name": "module / kafka",
5462
"path": "../modules/kafka"

Pipfile.lock

Lines changed: 101 additions & 85 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/modules/cassandra.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Cassandra
2+
3+
Not available until the next release of testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
4+
5+
## Introduction
6+
7+
The Testcontainers module for Cassandra.
8+
9+
## Adding this module to your project dependencies
10+
11+
Please run the following command to add the Cassandra module to your Go dependencies:
12+
13+
```
14+
go get github.com/testcontainers/testcontainers-go/modules/cassandra
15+
```
16+
17+
## Usage example
18+
19+
<!--codeinclude-->
20+
[Creating a Cassandra container](../../modules/cassandra/examples_test.go) inside_block:runCassandraContainer
21+
<!--/codeinclude-->
22+
23+
## Module reference
24+
25+
The Cassandra module exposes one entrypoint function to create the Cassandra container, and this function receives two parameters:
26+
27+
```golang
28+
func RunContainer(ctx context.Context, opts ...testcontainers.ContainerCustomizer) (*CassandraContainer, error)
29+
```
30+
31+
- `context.Context`, the Go context.
32+
- `testcontainers.ContainerCustomizer`, a variadic argument for passing options.
33+
34+
### Container Options
35+
36+
When starting the Cassandra container, you can pass options in a variadic way to configure it.
37+
38+
#### Image
39+
40+
If you need to set a different Cassandra Docker image, you can use `testcontainers.WithImage` with a valid Docker image
41+
for Cassandra. E.g. `testcontainers.WithImage("cassandra:4.1.3")`.
42+
43+
{% include "../features/common_functional_options.md" %}
44+
45+
#### Init Scripts
46+
47+
If you would like to do additional initialization in the Cassandra container, add one or more `*.cql` or `*.sh` scripts to the container request with the `WithInitScripts` function.
48+
Those files will be copied after the container is created but before it's started under root directory.
49+
50+
An example of a `*.sh` script that creates a keyspace and table is shown below:
51+
52+
<!--codeinclude-->
53+
[Init script content](../../modules/cassandra/testdata/init.sh)
54+
<!--/codeinclude-->
55+
56+
#### Database configuration
57+
58+
In the case you have a custom config file for Cassandra, it's possible to copy that file into the container before it's started, using the `WithConfigFile(cfgPath string)` function.
59+
60+
!!!warning
61+
You should provide a valid Cassandra configuration file, otherwise the container will fail to start.
62+
63+
### Container Methods
64+
65+
The Cassandra container exposes the following methods:
66+
67+
#### ConnectionHost
68+
69+
This method returns the host and port of the Cassandra container, using the default, `9042/tcp` port. E.g. `localhost:9042`
70+
71+
<!--codeinclude-->
72+
[Get connection host](../../modules/cassandra/cassandra_test.go) inside_block:connectionHost
73+
<!--/codeinclude-->

docs/modules/k6.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# K6
2+
3+
Not available until the next release of testcontainers-go <a href="https://github.com/testcontainers/testcontainers-go"><span class="tc-version">:material-tag: main</span></a>
4+
5+
## Introduction
6+
7+
The Testcontainers module for K6.
8+
9+
10+
### Using k6 extensions
11+
12+
This module takes advantage of [k6x](https://github.com/szkiba/k6x) to dynamically build a `k6` binary with all the [k6 extensions](https://k6.io/docs/extensions/get-started/explore/) required by the test script.
13+
14+
## Adding this module to your project dependencies
15+
16+
Please run the following command to add the K6 module to your Go dependencies:
17+
18+
```
19+
go get github.com/testcontainers/testcontainers-go/modules/k6
20+
```
21+
22+
## Usage example
23+
24+
<!--codeinclude-->
25+
[Creating a K6 container](../../modules/k6/examples_test.go) inside_block:runK6Container
26+
<!--/codeinclude-->
27+
28+
## Module reference
29+
30+
The K6 module exposes one entrypoint function to run the K6 container, and this function receives two parameters:
31+
32+
```golang
33+
func RunContainer(ctx context.Context, opts ...testcontainers.ContainerCustomizer) (*K6Container, error)
34+
```
35+
36+
- `context.Context`, the Go context.
37+
- `testcontainers.ContainerCustomizer`, a variadic argument for passing options.
38+
39+
### Container Options
40+
41+
When starting the K6 container, you can pass options in a variadic way to configure it.
42+
43+
#### SetEnvVar
44+
45+
`SetEnvVar` sets an [environment variable](https://k6.io/docs/using-k6/environment-variables/) for the test script using the '--env' command-line flag in the k6 command in the container.
46+
47+
```golang
48+
k6.RunContainer(ctx, k6.SetEnvVar("URL","test.k6.io"), k6.WithTestScript("/tests/test.js"))
49+
```
50+
51+
#### WithCache
52+
53+
Use `WithCache` passes a volume to be used as a [cache for building the k6 binary](https://github.com/szkiba/k6x#cache) inside the `k6` container.
54+
This option improves considerably the execution time of test suites that creates multiple `k6` test containers.
55+
If the volume does not exits, it is created. The test is responsible for cleaning up this volume when no longer needed.
56+
57+
58+
```golang
59+
k6.RunContainer(ctx, WithCache("cache"), k6.WithTestScript("/tests/test.js"))
60+
```
61+
62+
#### WithCmdOptions
63+
64+
Use `WithCmdOptions` to pass a variadic list of strings as [options](https://k6.io/docs/using-k6/k6-options/reference/) to the k6 run command
65+
66+
```golang
67+
k6.RunContainer(ctx, WithCmdOptions("--vus=10", "--duration=30s"), k6.WithTestScript("/tests/test.js"))
68+
```
69+
70+
#### WithTestScript
71+
72+
Use the `WithTestScript` option to specify the test script to run. The path to the script must be an absolute path. This option copies the script file to the container and pass it to k6's `run` command. At least one `WithTestScript` option must be specified.
73+
74+
```golang
75+
k6.RunContainer(ctx, k6.WithTestScript("/tests/test.js"))
76+
```

docs/modules/mariadb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ options.
6666
#### Init Scripts
6767

6868
If you would like to perform DDL or DML operations in the MariaDB container, add one or more `*.sql`, `*.sql.gz`, or `*.sh`
69-
scripts to the container request. Those files will be copied under `/docker-entrypoint-initdb.d`.
69+
scripts to the container request, using the `WithScripts(scriptPaths ...string)`. Those files will be copied under `/docker-entrypoint-initdb.d`.
7070

7171
<!--codeinclude-->
7272
[Example of Init script](../../modules/mariadb/testdata/schema.sql)

docs/modules/postgres.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ If you need to set a different database, and its credentials, you can use the `W
5151

5252
#### Init Scripts
5353

54-
If you would like to do additional initialization in the Postgres container, add one or more `*.sql`, `*.sql.gz`, or `*.sh` scripts to the container request with the `WithInitScript` function.
54+
If you would like to do additional initialization in the Postgres container, add one or more `*.sql`, `*.sql.gz`, or `*.sh` scripts to the container request with the `WithInitScripts` function.
5555
Those files will be copied after the container is created but before it's started under `/docker-entrypoint-initdb.d`. According to Postgres Docker image,
5656
it will run any `*.sql` files, run any executable `*.sh` scripts, and source any non-executable `*.sh` scripts found in that directory to do further
5757
initialization before starting the service.

docs/system_requirements/rancher.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Using Rancher Desktop
2+
3+
It is possible to use Rancher Desktop to satisfy the system requirements instead of Docker.
4+
5+
**IMPORTANT**: Please ensure you are running an up-to-date version of Rancher Desktop. There were some key fixes made in earlier versions (especially around v1.6). It is highly unlikely you will be able to get Rancher Desktop working with testcontainers if you are on an old version.
6+
7+
The instructions below are written on the assumption that:
8+
9+
1. you wish to run Rancher Desktop without administrative permissions (i.e. without granting `sudo` access a.k.a *"Administrative Access"* setting tickbox in Rancher Desktop is *unticked*).
10+
2. you are running Rancher Desktop on an Apple-silicon device a.k.a M-series processor.
11+
12+
Steps are as follows:
13+
14+
1. In Rancher Desktop change engine from `containerd` to `dockerd (moby)`.
15+
2. In Rancher Desktop set `VZ mode` networking.
16+
3. On macOS CLI (e.g. `Terminal` app), set the following environment variables:
17+
18+
```sh
19+
export DOCKER_HOST=unix://$HOME/.rd/docker.sock
20+
export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock
21+
export TESTCONTAINERS_HOST_OVERRIDE=$(rdctl shell ip a show vznat | awk '/inet / {sub("/.*",""); print $2}')
22+
```
23+
24+
As always, remember that environment variables are not persisted unless you add them to the relevant file for your default shell e.g. `~/.zshrc`.
25+
26+
Credit: Thank you to @pdrosos on GitHub.

examples/cockroachdb/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ require (
4848
github.com/pkg/errors v0.9.1 // indirect
4949
github.com/pmezard/go-difflib v1.0.0 // indirect
5050
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
51-
github.com/shirou/gopsutil/v3 v3.23.8 // indirect
51+
github.com/shirou/gopsutil/v3 v3.23.9 // indirect
5252
github.com/shoenig/go-m1cpu v0.1.6 // indirect
5353
github.com/sirupsen/logrus v1.9.0 // indirect
5454
github.com/tklauser/go-sysconf v0.3.12 // indirect

examples/cockroachdb/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThC
173173
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
174174
github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
175175
github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg=
176-
github.com/shirou/gopsutil/v3 v3.23.8 h1:xnATPiybo6GgdRoC4YoGnxXZFRc3dqQTGi73oLvvBrE=
177-
github.com/shirou/gopsutil/v3 v3.23.8/go.mod h1:7hmCaBn+2ZwaZOr6jmPBZDfawwMGuo1id3C6aM8EDqQ=
176+
github.com/shirou/gopsutil/v3 v3.23.9 h1:ZI5bWVeu2ep4/DIxB4U9okeYJ7zp/QLTO4auRb/ty/E=
177+
github.com/shirou/gopsutil/v3 v3.23.9/go.mod h1:x/NWSb71eMcjFIO0vhyGW5nZ7oSIgVjrCnADckb85GA=
178178
github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM=
179179
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
180180
github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU=

examples/consul/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ require (
4747
github.com/opencontainers/runc v1.1.5 // indirect
4848
github.com/pkg/errors v0.9.1 // indirect
4949
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
50-
github.com/shirou/gopsutil/v3 v3.23.8 // indirect
50+
github.com/shirou/gopsutil/v3 v3.23.9 // indirect
5151
github.com/shoenig/go-m1cpu v0.1.6 // indirect
5252
github.com/sirupsen/logrus v1.9.0 // indirect
5353
github.com/tklauser/go-sysconf v0.3.12 // indirect

examples/consul/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb
218218
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I=
219219
github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
220220
github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg=
221-
github.com/shirou/gopsutil/v3 v3.23.8 h1:xnATPiybo6GgdRoC4YoGnxXZFRc3dqQTGi73oLvvBrE=
222-
github.com/shirou/gopsutil/v3 v3.23.8/go.mod h1:7hmCaBn+2ZwaZOr6jmPBZDfawwMGuo1id3C6aM8EDqQ=
221+
github.com/shirou/gopsutil/v3 v3.23.9 h1:ZI5bWVeu2ep4/DIxB4U9okeYJ7zp/QLTO4auRb/ty/E=
222+
github.com/shirou/gopsutil/v3 v3.23.9/go.mod h1:x/NWSb71eMcjFIO0vhyGW5nZ7oSIgVjrCnADckb85GA=
223223
github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM=
224224
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
225225
github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU=

examples/nginx/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ require (
3434
github.com/opencontainers/runc v1.1.5 // indirect
3535
github.com/pkg/errors v0.9.1 // indirect
3636
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
37-
github.com/shirou/gopsutil/v3 v3.23.8 // indirect
37+
github.com/shirou/gopsutil/v3 v3.23.9 // indirect
3838
github.com/shoenig/go-m1cpu v0.1.6 // indirect
3939
github.com/sirupsen/logrus v1.9.0 // indirect
4040
github.com/tklauser/go-sysconf v0.3.12 // indirect

examples/nginx/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF
8787
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
8888
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
8989
github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg=
90-
github.com/shirou/gopsutil/v3 v3.23.8 h1:xnATPiybo6GgdRoC4YoGnxXZFRc3dqQTGi73oLvvBrE=
91-
github.com/shirou/gopsutil/v3 v3.23.8/go.mod h1:7hmCaBn+2ZwaZOr6jmPBZDfawwMGuo1id3C6aM8EDqQ=
90+
github.com/shirou/gopsutil/v3 v3.23.9 h1:ZI5bWVeu2ep4/DIxB4U9okeYJ7zp/QLTO4auRb/ty/E=
91+
github.com/shirou/gopsutil/v3 v3.23.9/go.mod h1:x/NWSb71eMcjFIO0vhyGW5nZ7oSIgVjrCnADckb85GA=
9292
github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM=
9393
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
9494
github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU=

examples/toxiproxy/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ require (
3838
github.com/opencontainers/runc v1.1.5 // indirect
3939
github.com/pkg/errors v0.9.1 // indirect
4040
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
41-
github.com/shirou/gopsutil/v3 v3.23.8 // indirect
41+
github.com/shirou/gopsutil/v3 v3.23.9 // indirect
4242
github.com/shoenig/go-m1cpu v0.1.6 // indirect
4343
github.com/sirupsen/logrus v1.9.0 // indirect
4444
github.com/tklauser/go-sysconf v0.3.12 // indirect

examples/toxiproxy/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF
9999
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
100100
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
101101
github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg=
102-
github.com/shirou/gopsutil/v3 v3.23.8 h1:xnATPiybo6GgdRoC4YoGnxXZFRc3dqQTGi73oLvvBrE=
103-
github.com/shirou/gopsutil/v3 v3.23.8/go.mod h1:7hmCaBn+2ZwaZOr6jmPBZDfawwMGuo1id3C6aM8EDqQ=
102+
github.com/shirou/gopsutil/v3 v3.23.9 h1:ZI5bWVeu2ep4/DIxB4U9okeYJ7zp/QLTO4auRb/ty/E=
103+
github.com/shirou/gopsutil/v3 v3.23.9/go.mod h1:x/NWSb71eMcjFIO0vhyGW5nZ7oSIgVjrCnADckb85GA=
104104
github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM=
105105
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
106106
github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU=

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
github.com/magiconair/properties v1.8.7
1515
github.com/moby/term v0.5.0
1616
github.com/opencontainers/image-spec v1.1.0-rc4
17-
github.com/shirou/gopsutil/v3 v3.23.8
17+
github.com/shirou/gopsutil/v3 v3.23.9
1818
github.com/stretchr/testify v1.8.4
1919
golang.org/x/exp v0.0.0-20230510235704-dd950f8aeaea
2020
golang.org/x/sys v0.12.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ github.com/rogpeppe/go-internal v1.8.1 h1:geMPLpDpQOgVyCg5z5GoRwLHepNdb71NXb67XF
9797
github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o=
9898
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
9999
github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg=
100-
github.com/shirou/gopsutil/v3 v3.23.8 h1:xnATPiybo6GgdRoC4YoGnxXZFRc3dqQTGi73oLvvBrE=
101-
github.com/shirou/gopsutil/v3 v3.23.8/go.mod h1:7hmCaBn+2ZwaZOr6jmPBZDfawwMGuo1id3C6aM8EDqQ=
100+
github.com/shirou/gopsutil/v3 v3.23.9 h1:ZI5bWVeu2ep4/DIxB4U9okeYJ7zp/QLTO4auRb/ty/E=
101+
github.com/shirou/gopsutil/v3 v3.23.9/go.mod h1:x/NWSb71eMcjFIO0vhyGW5nZ7oSIgVjrCnADckb85GA=
102102
github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM=
103103
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
104104
github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU=

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,13 @@ nav:
6565
- Modules:
6666
- modules/index.md
6767
- modules/artemis.md
68+
- modules/cassandra.md
6869
- modules/clickhouse.md
6970
- modules/couchbase.md
7071
- modules/elasticsearch.md
7172
- modules/gcloud.md
7273
- modules/k3s.md
74+
- modules/k6.md
7375
- modules/kafka.md
7476
- modules/localstack.md
7577
- modules/mariadb.md
@@ -104,6 +106,7 @@ nav:
104106
- system_requirements/ci/travis.md
105107
- system_requirements/using_colima.md
106108
- system_requirements/using_podman.md
109+
- system_requirements/rancher.md
107110
- Contributing:
108111
- contributing.md
109112
- contributing_docs.md

modules/artemis/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ require (
3838
github.com/pkg/errors v0.9.1 // indirect
3939
github.com/pmezard/go-difflib v1.0.0 // indirect
4040
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
41-
github.com/shirou/gopsutil/v3 v3.23.8 // indirect
41+
github.com/shirou/gopsutil/v3 v3.23.9 // indirect
4242
github.com/shoenig/go-m1cpu v0.1.6 // indirect
4343
github.com/sirupsen/logrus v1.9.0 // indirect
4444
github.com/tklauser/go-sysconf v0.3.12 // indirect

modules/artemis/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:Om
9494
github.com/rogpeppe/go-internal v1.8.1 h1:geMPLpDpQOgVyCg5z5GoRwLHepNdb71NXb67XFkP+Eg=
9595
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
9696
github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg=
97-
github.com/shirou/gopsutil/v3 v3.23.8 h1:xnATPiybo6GgdRoC4YoGnxXZFRc3dqQTGi73oLvvBrE=
98-
github.com/shirou/gopsutil/v3 v3.23.8/go.mod h1:7hmCaBn+2ZwaZOr6jmPBZDfawwMGuo1id3C6aM8EDqQ=
97+
github.com/shirou/gopsutil/v3 v3.23.9 h1:ZI5bWVeu2ep4/DIxB4U9okeYJ7zp/QLTO4auRb/ty/E=
98+
github.com/shirou/gopsutil/v3 v3.23.9/go.mod h1:x/NWSb71eMcjFIO0vhyGW5nZ7oSIgVjrCnADckb85GA=
9999
github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM=
100100
github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ=
101101
github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU=

0 commit comments

Comments
 (0)