-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(store-types): Add ability to create store-types from `integratio…
…n-manifest.json` Signed-off-by: spbsoluble <[email protected]>
- Loading branch information
1 parent
4b1ca60
commit 9e407af
Showing
2 changed files
with
75 additions
and
12 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,30 @@ | ||
package cmd | ||
|
||
import ( | ||
"github.com/Keyfactor/keyfactor-go-client/v3/api" | ||
) | ||
|
||
type IntegrationManifest struct { | ||
Schema string `json:"$schema"` | ||
IntegrationType string `json:"integration_type"` | ||
Name string `json:"name"` | ||
Status string `json:"status"` | ||
LinkGithub bool `json:"link_github"` | ||
UpdateCatalog bool `json:"update_catalog"` | ||
SupportLevel string `json:"support_level"` | ||
ReleaseDir string `json:"release_dir"` | ||
ReleaseProject string `json:"release_project"` | ||
Description string `json:"description"` | ||
About About `json:"about"` | ||
} | ||
|
||
type About struct { | ||
Orchestrator Orchestrator `json:"orchestrator"` | ||
} | ||
|
||
type Orchestrator struct { | ||
UOFramework string `json:"UOFramework"` | ||
PAMSupport bool `json:"pam_support"` | ||
KeyfactorPlatformVersion string `json:"keyfactor_platform_version"` | ||
StoreTypes []api.CertificateStoreType `json:"store_types"` | ||
} |
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