-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: extend the configuration file with the other providers (#157)
* feat: extend the configuration file with the other providers Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> * fixed not handling group information from the config file Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com> --------- Signed-off-by: Gergely Brautigam <182850+Skarlso@users.noreply.github.com>
- Loading branch information
Showing
7 changed files
with
112 additions
and
20 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
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,33 @@ | ||
package cmd | ||
|
||
type URLs struct { | ||
URL string `json:"url"` | ||
Username string `json:"username,omitempty"` | ||
Password string `json:"password,omitempty"` | ||
Token string `json:"token,omitempty"` | ||
} | ||
|
||
type GITUrls struct { | ||
URL string `json:"url"` | ||
Username string `json:"username,omitempty"` | ||
Password string `json:"password,omitempty"` | ||
Token string `json:"token,omitempty"` | ||
Tag string `json:"tag,omitempty"` | ||
PrivateKey string `json:"privateKey,omitempty"` | ||
UseSSHAgent bool `json:"useSSHAgent,omitempty"` | ||
} | ||
|
||
// APIGroups defines groups by which grouping will happen in the resulting HTML output. | ||
type APIGroups struct { | ||
Name string `json:"name"` | ||
Description string `json:"description,omitempty"` | ||
Files []string `json:"files,omitempty"` | ||
Folders []string `json:"folders,omitempty"` | ||
URLs []URLs `json:"urls,omitempty"` | ||
GitURLs []GITUrls `json:"gitUrls,omitempty"` | ||
} | ||
|
||
// RenderConfig defines a configuration for the resulting rendered HTML content. | ||
type RenderConfig struct { | ||
APIGroups []APIGroups `json:"apiGroups"` | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Release v1.1.2 | ||
|
||
- feat: extend the configuration file with the other providers #157 | ||
|
||
The configuration file has been extended with all the providers. | ||
|
||
```yaml | ||
apiGroups: | ||
- name: "com.aws.services" | ||
description: "Resources related to AWS services" | ||
files: # files and folders can be defined together or on their own | ||
- sample-crd/infrastructure.cluster.x-k8s.io_awsclusters.yaml | ||
- sample-crd/delivery.krok.app_krokcommands | ||
- name: "com.azure.services" | ||
description: "Resources related to Azure services" | ||
folders: | ||
- azure-crds | ||
- name: "whatever" | ||
urls: | ||
- url: https://raw.githubusercontent.com/Skarlso/crd-bootstrap/refs/heads/main/crd-bootstrap/crds/delivery.crd-bootstrap_bootstraps.yaml | ||
gitUrls: | ||
- url: git@github.com:Skarlso/crd-bootstrap | ||
- url: git@github.com:crossplane/crossplane | ||
``` |
This file was deleted.
Oops, something went wrong.