-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relocate the
xk6-disruptor API
to the Disruptor guide (#1549)
- Loading branch information
Showing
27 changed files
with
83 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
docs/sources/next/javascript-api/xk6-disruptor/faults/_index.md
This file was deleted.
Oops, something went wrong.
14 changes: 0 additions & 14 deletions
14
docs/sources/next/javascript-api/xk6-disruptor/get-started/_index.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rces/next/testing-guides/injecting-faults-with-xk6-disruptor/examples/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
...xt/javascript-api/xk6-disruptor/_index.md → ...ith-xk6-disruptor/xk6-disruptor/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
--- | ||
aliases: | ||
- ../../javascript-api/xk6-disruptor # docs/k6/<K6_VERSION>/javascript-api/xk6-disruptor | ||
title: xk6-disruptor API | ||
description: 'An overview of the API for xk6-disruptor.' | ||
weight: 14 | ||
weight: 06 | ||
--- | ||
|
||
# xk6-disruptor API | ||
|
||
The xk6-disruptor API is organized around _disruptors_ that affect specific targets such as pods or services. These disruptors can inject different types of [faults](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/xk6-disruptor/faults) on their targets. | ||
The xk6-disruptor API is organized around _disruptors_ that affect specific targets such as pods or services. These disruptors can inject different types of [faults](https://grafana.com/docs/k6/<K6_VERSION>/testing-guides/injecting-faults-with-xk6-disruptor/xk6-disruptor/faults) on their targets. | ||
|
||
| Class | Description | | ||
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | | ||
| [PodDisruptor](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/xk6-disruptor/poddisruptor) | Targets the Pods that match selection attributes such as labels. | | ||
| [ServiceDisruptor](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/xk6-disruptor/servicedisruptor) | Targets the Pods that back a Kubernetes Service | | ||
| [PodDisruptor](https://grafana.com/docs/k6/<K6_VERSION>/testing-guides/injecting-faults-with-xk6-disruptor/xk6-disruptor/poddisruptor) | Targets the Pods that match selection attributes such as labels. | | ||
| [ServiceDisruptor](https://grafana.com/docs/k6/<K6_VERSION>/testing-guides/injecting-faults-with-xk6-disruptor/xk6-disruptor/servicedisruptor) | Targets the Pods that back a Kubernetes Service | |
17 changes: 17 additions & 0 deletions
17
...sting-guides/injecting-faults-with-xk6-disruptor/xk6-disruptor/faults/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
aliases: | ||
- ../../../javascript-api/xk6-disruptor/faults # docs/k6/<K6_VERSION>/javascript-api/xk6-disruptor/faults | ||
title: 'Faults' | ||
description: 'xk6-disruptor: Fault Description' | ||
weight: 100 | ||
--- | ||
|
||
# Faults | ||
|
||
A fault is as an abnormal condition that affects a system component and which may lead to a failure. | ||
|
||
| Fault type | Description | | ||
| --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------- | | ||
| [gRPC Fault](https://grafana.com/docs/k6/<K6_VERSION>/testing-guides/injecting-faults-with-xk6-disruptor/xk6-disruptor/faults/grpc) | Fault affecting gRPC requests from a target | | ||
| [HTTP Fault](https://grafana.com/docs/k6/<K6_VERSION>/testing-guides/injecting-faults-with-xk6-disruptor/xk6-disruptor/faults/http) | Fault affecting HTTP requests from a target | | ||
| [Pod Termination Fault](https://grafana.com/docs/k6/<K6_VERSION>/testing-guides/injecting-faults-with-xk6-disruptor/xk6-disruptor/faults/pod-termination) | Fault terminating a number of target Pods | |
2 changes: 2 additions & 0 deletions
2
...vascript-api/xk6-disruptor/faults/grpc.md → ...k6-disruptor/xk6-disruptor/faults/grpc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...vascript-api/xk6-disruptor/faults/http.md → ...k6-disruptor/xk6-disruptor/faults/http.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...i/xk6-disruptor/faults/pod-termination.md → ...r/xk6-disruptor/faults/pod-termination.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.