@user/swamp/repo
Model type — v2026.02.11.1
Details
- Type
- @user/swamp/repo
- Normalized
- @user/swamp/repo
- Version
- v2026.02.11.1
- Methods
- 3
- Resources
- 1
- Files
- 0
- Definitions
- 1
Global Arguments
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"sshHost": {
"type": "string",
"description": "SSH hostname/IP of the target host"
},
"sshUser": {
"default": "root",
"description": "SSH user",
"type": "string"
},
"remoteDir": {
"type": "string",
"description": "Remote directory for the swamp repo"
}
},
"required": [
"sshHost",
"sshUser",
"remoteDir"
],
"additionalProperties": false
}Methods (3)
syncCode
Rsync swamp repo to remote host
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"excludes": {
"default": [],
"description": "Additional rsync excludes",
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
]
},
"localDir": {
"description": "Override source directory (absolute or relative to repoDir)",
"type": "string"
},
"remoteSubdir": {
"description": "Subdirectory within remoteDir to sync into",
"type": "string"
}
},
"required": [
"excludes"
],
"additionalProperties": false
}syncBinary
Copy swamp binary to remote host
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"binaryName": {
"default": "swamp",
"description": "Name of the binary to find via which",
"type": "string"
},
"remotePath": {
"default": "swamp",
"description": "Relative path within remoteDir for the binary",
"type": "string"
}
},
"required": [
"binaryName",
"remotePath"
],
"additionalProperties": false
}syncSecrets
Rsync vault secrets to remote host (soft-fail)
Input Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {},
"additionalProperties": false
}Resources (1)
repo
Swamp repo sync result
- Lifetime
- infinite
- Garbage Collection
- 5
Definitions (1)
| Name | Version | Tags | ID |
|---|---|---|---|
| swampRepo | v1 | 641e9e77 |