schema
stringclasses 471
values | key
stringlengths 0
203
| description
stringlengths 0
4.37k
| object
stringlengths 2
322k
|
---|---|---|---|
config.json | replacers | Replacers specifies a list of replacer instruction | {"items": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "type": "array"} |
config.json | items | Replacer is struct used to feed strings.Replacer | {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]} |
config.json | from | From defines the source value which need to be replaced | {"type": "string"} |
config.json | to | To defines the "to what" a "from" value needs to be replaced | {"type": "string"} |
config.json | replacer | Replacer specifies what value needs to be changed and how | {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]} |
config.json | from | From defines the source value which need to be replaced | {"type": "string"} |
config.json | to | To defines the "to what" a "from" value needs to be replaced | {"type": "string"} |
config.json | find | Find searches for a specific value if it exists and return false if it doesn't | {"type": "string"} |
config.json | findsubmatch | Find searches for a specific value if it exists then return the value using regular expression | {"properties": {"pattern": {"type": "string"}, "captureindex": {"type": "integer"}}, "additionalProperties": false, "type": "object", "required": ["pattern"]} |
config.json | pattern | Pattern defines regular expression to use for retrieving a submatch | {"type": "string"} |
config.json | captureindex | CaptureIndex defines which substring occurrence to retrieve. Note also that a value of `0` for `captureIndex` returns all submatches, and individual submatch indexes start at `1`. | {"type": "integer"} |
config.json | semverinc | SemvVerInc specifies a comma separated list semantic versioning component that needs to be upgraded. | {"type": "string"} |
config.json | spec | Spec defines a specification for a "shell" resource parsed from an updatecli manifest file | {"$schema": "http://json-schema.org/draft-04/schema", "properties": {"command": {"type": "string"}, "environments": {"items": {"properties": {"name": {"type": "string"}, "value": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["name"]}, "type": "array"}, "changedif": {"oneOf": [{"$schema": "http://json-schema.org/draft-04/schema", "properties": {"kind": {"enum": ["console/output"]}, "spec": true}, "additionalProperties": false, "type": "object"}, {"$schema": "http://json-schema.org/draft-04/schema", "properties": {"kind": {"enum": ["exitcode"]}, "spec": {"$schema": "http://json-schema.org/draft-04/schema", "properties": {"warning": {"type": "integer"}, "success": {"type": "integer"}, "failure": {"type": "integer"}}, "additionalProperties": false, "type": "object", "required": ["warning", "success", "failure"]}}, "additionalProperties": false, "type": "object"}, {"$schema": "http://json-schema.org/draft-04/schema", "properties": {"kind": {"enum": ["file/checksum"]}, "spec": {"$schema": "http://json-schema.org/draft-04/schema", "properties": {"files": {"items": {"type": "string"}, "type": "array"}}, "additionalProperties": false, "type": "object", "required": ["files"]}}, "additionalProperties": false, "type": "object"}]}, "shell": {"type": "string"}, "workdir": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["command"]} |
config.json | command | command specifies the shell command to execute by Updatecli | {"type": "string"} |
config.json | environments | environments allows to pass environment variable(s) to the shell script. By default no environment variable are shared. | {"items": {"properties": {"name": {"type": "string"}, "value": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["name"]}, "type": "array"} |
config.json | items | Environment is a struct containing information for an environment variable such as its name and its value | {"properties": {"name": {"type": "string"}, "value": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["name"]} |
config.json | name | Name defines the environment variable name | {"type": "string"} |
config.json | value | Value defines the environment variable value | {"type": "string"} |
config.json | changedif | ChangedIf defines how to interpreted shell command success criteria. What a success means, what an error means, and what a warning would mean | {"oneOf": [{"$schema": "http://json-schema.org/draft-04/schema", "properties": {"kind": {"enum": ["console/output"]}, "spec": true}, "additionalProperties": false, "type": "object"}, {"$schema": "http://json-schema.org/draft-04/schema", "properties": {"kind": {"enum": ["exitcode"]}, "spec": {"$schema": "http://json-schema.org/draft-04/schema", "properties": {"warning": {"type": "integer"}, "success": {"type": "integer"}, "failure": {"type": "integer"}}, "additionalProperties": false, "type": "object", "required": ["warning", "success", "failure"]}}, "additionalProperties": false, "type": "object"}, {"$schema": "http://json-schema.org/draft-04/schema", "properties": {"kind": {"enum": ["file/checksum"]}, "spec": {"$schema": "http://json-schema.org/draft-04/schema", "properties": {"files": {"items": {"type": "string"}, "type": "array"}}, "additionalProperties": false, "type": "object", "required": ["files"]}}, "additionalProperties": false, "type": "object"}]} |
config.json | warning | Warning defines the command exit code used by Updatecli to identify a change need. Default to 2 if no exitcode have been specified | {"type": "integer"} |
config.json | success | Success defines the command exit code used by Updatecli to identify no changes are needed. Default to 0 if no exitcode have been specified | {"type": "integer"} |
config.json | failure | Failure defines the command exit code used by Updatecli to identify that something went wrong. Default to 1 if no exitcode have been specified | {"type": "integer"} |
config.json | files | Files specifies the list of file that Updatecli monitors to identify state change | {"items": {"type": "string"}, "type": "array"} |
config.json | shell | Shell specifies which shell interpreter to use. Default to powershell(Windows) and "/bin/sh" (Darwin/Linux) | {"type": "string"} |
config.json | workdir | workdir specifies the working directory path from where to execute the command. It defaults to the current context path (scm or current shell). Updatecli join the current path and the one specified in parameter if the parameter one contains a relative path. | {"type": "string"} |
config.json | scmid | scmid specifies the scm configuration key associated to the current resource | {"type": "string"} |
config.json | dependson | dependson specifies which resources must be executed before the current one | {"items": {"type": "string"}, "type": "array"} |
config.json | name | name specifies the resource name | {"type": "string"} |
config.json | transformers | transformers defines how the default input value need to be transformed | {"items": {"properties": {"addprefix": {"type": "string"}, "addsuffix": {"type": "string"}, "trimprefix": {"type": "string"}, "trimsuffix": {"type": "string"}, "replacers": {"items": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "type": "array"}, "replacer": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "find": {"type": "string"}, "findsubmatch": {"properties": {"pattern": {"type": "string"}, "captureindex": {"type": "integer"}}, "additionalProperties": false, "type": "object", "required": ["pattern"]}, "semverinc": {"type": "string"}}, "additionalProperties": false, "type": "object"}, "type": "array"} |
config.json | items | Transformer holds a transformer rule | {"properties": {"addprefix": {"type": "string"}, "addsuffix": {"type": "string"}, "trimprefix": {"type": "string"}, "trimsuffix": {"type": "string"}, "replacers": {"items": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "type": "array"}, "replacer": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "find": {"type": "string"}, "findsubmatch": {"properties": {"pattern": {"type": "string"}, "captureindex": {"type": "integer"}}, "additionalProperties": false, "type": "object", "required": ["pattern"]}, "semverinc": {"type": "string"}}, "additionalProperties": false, "type": "object"} |
config.json | addprefix | AddPrefix adds a prefix to the transformer input value | {"type": "string"} |
config.json | addsuffix | AddSuffix adds a suffix to the transformer input value | {"type": "string"} |
config.json | trimprefix | TrimPrefix removes a prefix to the transformer input value | {"type": "string"} |
config.json | trimsuffix | TrimSuffix removes the suffix from the transformer input value | {"type": "string"} |
config.json | replacers | Replacers specifies a list of replacer instruction | {"items": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "type": "array"} |
config.json | items | Replacer is struct used to feed strings.Replacer | {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]} |
config.json | from | From defines the source value which need to be replaced | {"type": "string"} |
config.json | to | To defines the "to what" a "from" value needs to be replaced | {"type": "string"} |
config.json | replacer | Replacer specifies what value needs to be changed and how | {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]} |
config.json | from | From defines the source value which need to be replaced | {"type": "string"} |
config.json | to | To defines the "to what" a "from" value needs to be replaced | {"type": "string"} |
config.json | find | Find searches for a specific value if it exists and return false if it doesn't | {"type": "string"} |
config.json | findsubmatch | Find searches for a specific value if it exists then return the value using regular expression | {"properties": {"pattern": {"type": "string"}, "captureindex": {"type": "integer"}}, "additionalProperties": false, "type": "object", "required": ["pattern"]} |
config.json | pattern | Pattern defines regular expression to use for retrieving a submatch | {"type": "string"} |
config.json | captureindex | CaptureIndex defines which substring occurrence to retrieve. Note also that a value of `0` for `captureIndex` returns all submatches, and individual submatch indexes start at `1`. | {"type": "integer"} |
config.json | semverinc | SemvVerInc specifies a comma separated list semantic versioning component that needs to be upgraded. | {"type": "string"} |
config.json | spec | Spec defines a specification for a "Golang" resource parsed from an updatecli manifest file | {"$schema": "http://json-schema.org/draft-04/schema", "properties": {"version": {"type": "string"}, "versionfilter": {"properties": {"kind": {"type": "string"}, "pattern": {"type": "string"}, "strict": {"type": "boolean"}}, "additionalProperties": false, "type": "object"}}, "additionalProperties": false, "type": "object"} |
config.json | version | [C] Version defines a specific golang version | {"type": "string"} |
config.json | versionfilter | [S] VersionFilter provides parameters to specify version pattern and its type like regex, semver, or just latest. | {"properties": {"kind": {"type": "string"}, "pattern": {"type": "string"}, "strict": {"type": "boolean"}}, "additionalProperties": false, "type": "object"} |
config.json | kind | specifies the version kind such as semver, regex, or latest | {"type": "string"} |
config.json | pattern | specifies the version pattern according the version kind | {"type": "string"} |
config.json | strict | strict enforce strict versioning rule. Only used for semantic versioning at this time | {"type": "boolean"} |
config.json | scmid | scmid specifies the scm configuration key associated to the current resource | {"type": "string"} |
config.json | dependson | dependson specifies which resources must be executed before the current one | {"items": {"type": "string"}, "type": "array"} |
config.json | name | name specifies the resource name | {"type": "string"} |
config.json | transformers | transformers defines how the default input value need to be transformed | {"items": {"properties": {"addprefix": {"type": "string"}, "addsuffix": {"type": "string"}, "trimprefix": {"type": "string"}, "trimsuffix": {"type": "string"}, "replacers": {"items": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "type": "array"}, "replacer": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "find": {"type": "string"}, "findsubmatch": {"properties": {"pattern": {"type": "string"}, "captureindex": {"type": "integer"}}, "additionalProperties": false, "type": "object", "required": ["pattern"]}, "semverinc": {"type": "string"}}, "additionalProperties": false, "type": "object"}, "type": "array"} |
config.json | items | Transformer holds a transformer rule | {"properties": {"addprefix": {"type": "string"}, "addsuffix": {"type": "string"}, "trimprefix": {"type": "string"}, "trimsuffix": {"type": "string"}, "replacers": {"items": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "type": "array"}, "replacer": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "find": {"type": "string"}, "findsubmatch": {"properties": {"pattern": {"type": "string"}, "captureindex": {"type": "integer"}}, "additionalProperties": false, "type": "object", "required": ["pattern"]}, "semverinc": {"type": "string"}}, "additionalProperties": false, "type": "object"} |
config.json | addprefix | AddPrefix adds a prefix to the transformer input value | {"type": "string"} |
config.json | addsuffix | AddSuffix adds a suffix to the transformer input value | {"type": "string"} |
config.json | trimprefix | TrimPrefix removes a prefix to the transformer input value | {"type": "string"} |
config.json | trimsuffix | TrimSuffix removes the suffix from the transformer input value | {"type": "string"} |
config.json | replacers | Replacers specifies a list of replacer instruction | {"items": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "type": "array"} |
config.json | items | Replacer is struct used to feed strings.Replacer | {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]} |
config.json | from | From defines the source value which need to be replaced | {"type": "string"} |
config.json | to | To defines the "to what" a "from" value needs to be replaced | {"type": "string"} |
config.json | replacer | Replacer specifies what value needs to be changed and how | {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]} |
config.json | from | From defines the source value which need to be replaced | {"type": "string"} |
config.json | to | To defines the "to what" a "from" value needs to be replaced | {"type": "string"} |
config.json | find | Find searches for a specific value if it exists and return false if it doesn't | {"type": "string"} |
config.json | findsubmatch | Find searches for a specific value if it exists then return the value using regular expression | {"properties": {"pattern": {"type": "string"}, "captureindex": {"type": "integer"}}, "additionalProperties": false, "type": "object", "required": ["pattern"]} |
config.json | pattern | Pattern defines regular expression to use for retrieving a submatch | {"type": "string"} |
config.json | captureindex | CaptureIndex defines which substring occurrence to retrieve. Note also that a value of `0` for `captureIndex` returns all submatches, and individual submatch indexes start at `1`. | {"type": "integer"} |
config.json | semverinc | SemvVerInc specifies a comma separated list semantic versioning component that needs to be upgraded. | {"type": "string"} |
config.json | spec | "yaml" defines the specification for manipulating "yaml" files. | {"$schema": "http://json-schema.org/draft-04/schema", "properties": {"file": {"type": "string"}, "files": {"items": {"type": "string"}, "type": "array"}, "key": {"type": "string"}, "value": {"type": "string"}, "keyonly": {"type": "boolean"}}, "additionalProperties": false, "type": "object"} |
config.json | file | "file" defines the yaml file path to interact with.
compatible:
* source
* condition
* target
remark:
* "file" and "files" are mutually exclusive
* scheme "https://", "http://", and "file://" are supported in path for source and condition | {"type": "string"} |
config.json | files | "files" defines the list of yaml files path to interact with.
compatible:
* condition
* target
remark:
* file and files are mutually exclusive
* protocols "https://", "http://", and "file://" are supported in file path for source and condition | {"items": {"type": "string"}, "type": "array"} |
config.json | key | "key" defines the yaml keypath.
compatible:
* source
* condition
* target
remark:
* key is a simpler version of yamlpath accepts keys.
example:
* key: $.name
* key: $.agent.name
* key: $.agents[0].name
* key: $.agents[*].name
* key: $.'agents.name'
remark:
field path with key/value is not supported at the moment.
some help would be useful on https://github.com/goccy/go-yaml/issues/290 | {"type": "string"} |
config.json | value | "value" is the value associated with a yaml key.
compatible:
* source
* condition
* target
default:
When used from a condition or a target, the default value is set to linked source output. | {"type": "string"} |
config.json | keyonly | "keyonly" allows to only check if a key exist and do not return an error otherwise
compatible:
* condition
default:
false | {"type": "boolean"} |
config.json | scmid | scmid specifies the scm configuration key associated to the current resource | {"type": "string"} |
config.json | dependson | dependson specifies which resources must be executed before the current one | {"items": {"type": "string"}, "type": "array"} |
config.json | name | name specifies the resource name | {"type": "string"} |
config.json | transformers | transformers defines how the default input value need to be transformed | {"items": {"properties": {"addprefix": {"type": "string"}, "addsuffix": {"type": "string"}, "trimprefix": {"type": "string"}, "trimsuffix": {"type": "string"}, "replacers": {"items": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "type": "array"}, "replacer": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "find": {"type": "string"}, "findsubmatch": {"properties": {"pattern": {"type": "string"}, "captureindex": {"type": "integer"}}, "additionalProperties": false, "type": "object", "required": ["pattern"]}, "semverinc": {"type": "string"}}, "additionalProperties": false, "type": "object"}, "type": "array"} |
config.json | items | Transformer holds a transformer rule | {"properties": {"addprefix": {"type": "string"}, "addsuffix": {"type": "string"}, "trimprefix": {"type": "string"}, "trimsuffix": {"type": "string"}, "replacers": {"items": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "type": "array"}, "replacer": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "find": {"type": "string"}, "findsubmatch": {"properties": {"pattern": {"type": "string"}, "captureindex": {"type": "integer"}}, "additionalProperties": false, "type": "object", "required": ["pattern"]}, "semverinc": {"type": "string"}}, "additionalProperties": false, "type": "object"} |
config.json | addprefix | AddPrefix adds a prefix to the transformer input value | {"type": "string"} |
config.json | addsuffix | AddSuffix adds a suffix to the transformer input value | {"type": "string"} |
config.json | trimprefix | TrimPrefix removes a prefix to the transformer input value | {"type": "string"} |
config.json | trimsuffix | TrimSuffix removes the suffix from the transformer input value | {"type": "string"} |
config.json | replacers | Replacers specifies a list of replacer instruction | {"items": {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]}, "type": "array"} |
config.json | items | Replacer is struct used to feed strings.Replacer | {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]} |
config.json | from | From defines the source value which need to be replaced | {"type": "string"} |
config.json | to | To defines the "to what" a "from" value needs to be replaced | {"type": "string"} |
config.json | replacer | Replacer specifies what value needs to be changed and how | {"properties": {"from": {"type": "string"}, "to": {"type": "string"}}, "additionalProperties": false, "type": "object", "required": ["from", "to"]} |
config.json | from | From defines the source value which need to be replaced | {"type": "string"} |
config.json | to | To defines the "to what" a "from" value needs to be replaced | {"type": "string"} |
config.json | find | Find searches for a specific value if it exists and return false if it doesn't | {"type": "string"} |
config.json | findsubmatch | Find searches for a specific value if it exists then return the value using regular expression | {"properties": {"pattern": {"type": "string"}, "captureindex": {"type": "integer"}}, "additionalProperties": false, "type": "object", "required": ["pattern"]} |
config.json | pattern | Pattern defines regular expression to use for retrieving a submatch | {"type": "string"} |
config.json | captureindex | CaptureIndex defines which substring occurrence to retrieve. Note also that a value of `0` for `captureIndex` returns all submatches, and individual submatch indexes start at `1`. | {"type": "integer"} |
config.json | semverinc | SemvVerInc specifies a comma separated list semantic versioning component that needs to be upgraded. | {"type": "string"} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.