Make Manifest() return manifest.Manifest
Return manifest.Manifest from the Manifest() function without serializing. The caller then has to call the manifest.Serialize() function using the depsolved packages. This moves towards changing the order of actions required to generate a manifest. With this change, the manifest creation and depsolving can be done independently, but this still requires instantiating the manifest object twice (InstantiateManifest() is called in PackageSets() and Manifest()), which we don't want to have to do.
This commit is contained in:
parent
db431a565d
commit
12e8ab3ac6
20 changed files with 145 additions and 80 deletions
|
|
@ -592,7 +592,7 @@ func TestComposeStatusSuccess(t *testing.T) {
|
|||
"kind": "ComposeManifests",
|
||||
"manifests": [
|
||||
{
|
||||
"version": "",
|
||||
"version": "2",
|
||||
"pipelines": [],
|
||||
"sources": {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue