-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
747 additions
and
77 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
title: "`sleep` content provider" | ||
plugin: | ||
name: blackstork/builtin | ||
description: "Sleeps for the specified duration. Useful for testing and debugging" | ||
tags: ["debug"] | ||
version: "v0.4.2" | ||
source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" | ||
resource: | ||
type: content-provider | ||
type: docs | ||
--- | ||
|
||
{{< breadcrumbs 2 >}} | ||
|
||
{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.2" "sleep" "content provider" >}} | ||
|
||
## Description | ||
Sleeps for the specified duration. Useful for testing and debugging. | ||
|
||
The content provider is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. | ||
|
||
|
||
#### Configuration | ||
|
||
The content provider doesn't support any configuration arguments. | ||
|
||
#### Usage | ||
|
||
The content provider supports the following execution arguments: | ||
|
||
```hcl | ||
content sleep { | ||
# Duration to sleep | ||
# | ||
# Optional string. | ||
# Must be non-empty | ||
# Default value: | ||
duration = "1s" | ||
} | ||
``` | ||
|
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,40 @@ | ||
--- | ||
title: "`sleep` data source" | ||
plugin: | ||
name: blackstork/builtin | ||
description: "Sleeps for the specified duration. Useful for testing and debugging" | ||
tags: ["debug"] | ||
version: "v0.4.2" | ||
source_github: "https://github.com/blackstork-io/fabric/tree/main/internal/builtin/" | ||
resource: | ||
type: data-source | ||
type: docs | ||
--- | ||
|
||
{{< breadcrumbs 2 >}} | ||
|
||
{{< plugin-resource-header "blackstork/builtin" "builtin" "v0.4.2" "sleep" "data source" >}} | ||
|
||
## Description | ||
Sleeps for the specified duration. Useful for testing and debugging. | ||
|
||
The data source is built-in, which means it's a part of `fabric` binary. It's available out-of-the-box, no installation required. | ||
|
||
## Configuration | ||
|
||
The data source doesn't support any configuration arguments. | ||
|
||
## Usage | ||
|
||
The data source supports the following execution arguments: | ||
|
||
```hcl | ||
data sleep { | ||
# Duration to sleep | ||
# | ||
# Optional string. | ||
# Must be non-empty | ||
# Default value: | ||
duration = "1s" | ||
} | ||
``` |
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
Oops, something went wrong.