mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
* feat: Open Policy Agent module (#1740) * Format documentation * Fix typo, `ropa` -> `rego` Co-authored-by: David Knaack <davidkna@users.noreply.github.com> * Update presets for OPA module * Add extra space to OPA module symbol Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
This commit is contained in:
@@ -982,6 +982,25 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"opa": {
|
||||
"default": {
|
||||
"detect_extensions": [
|
||||
"rego"
|
||||
],
|
||||
"detect_files": [],
|
||||
"detect_folders": [],
|
||||
"disabled": false,
|
||||
"format": "via [$symbol($version )]($style)",
|
||||
"style": "bold blue",
|
||||
"symbol": "🪖 ",
|
||||
"version_format": "v${raw}"
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpaConfig"
|
||||
}
|
||||
]
|
||||
},
|
||||
"openstack": {
|
||||
"default": {
|
||||
"disabled": false,
|
||||
@@ -3864,6 +3883,55 @@
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"OpaConfig": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"format": {
|
||||
"default": "via [$symbol($version )]($style)",
|
||||
"type": "string"
|
||||
},
|
||||
"version_format": {
|
||||
"default": "v${raw}",
|
||||
"type": "string"
|
||||
},
|
||||
"symbol": {
|
||||
"default": "🪖 ",
|
||||
"type": "string"
|
||||
},
|
||||
"style": {
|
||||
"default": "bold blue",
|
||||
"type": "string"
|
||||
},
|
||||
"disabled": {
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
},
|
||||
"detect_extensions": {
|
||||
"default": [
|
||||
"rego"
|
||||
],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"detect_files": {
|
||||
"default": [],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"detect_folders": {
|
||||
"default": [],
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"OspConfig": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user