Skip to content

Commit

Permalink
#4 introduce effectiveBlueprint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-dammeier committed Nov 29, 2023
1 parent 2589bd1 commit 72593e0
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pkg/domain/effectiveBlueprint.go
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"`
}

0 comments on commit 72593e0

Please sign in to comment.