-
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.
- Loading branch information
1 parent
2589bd1
commit 72593e0
Showing
1 changed file
with
21 additions
and
0 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,21 @@ | ||
package domain | ||
|
||
// EffectiveBlueprintV2 declaratively describes what is the wanted state after evaluating the blueprint and the blueprintMask. | ||
// This is still a static description, so no actual state of the ecosystem is taken into consideration here. | ||
type EffectiveBlueprint struct { | ||
// ID is the unique name of the set over all components. This blueprint ID should be used to distinguish from similar | ||
// blueprints between humans in an easy way. Must not be empty. | ||
ID string `json:"blueprintId"` | ||
// Dogus contains a set of exact dogu versions which should be present or absent in the CES instance after which this | ||
// blueprint was applied. Optional. | ||
Dogus []TargetDogu `json:"dogus,omitempty"` | ||
// Components contains a set of exact components versions which should be present or absent in the CES instance after which | ||
// this blueprint was applied. Optional. | ||
Components []Component `json:"components,omitempty"` | ||
// Used to configure registry globalRegistryEntries on blueprint upgrades | ||
RegistryConfig RegistryConfig `json:"registryConfig,omitempty"` | ||
// Used to remove registry globalRegistryEntries on blueprint upgrades | ||
RegistryConfigAbsent []string `json:"registryConfigAbsent,omitempty"` | ||
// Used to configure encrypted registry globalRegistryEntries on blueprint upgrades | ||
RegistryConfigEncrypted RegistryConfig `json:"registryConfigEncrypted,omitempty"` | ||
} |