Documentation
¶
Index ¶
Constants ¶
View Source
const ManifestJSON string = `` /* 2190-byte string literal not displayed */
ManifestJSON is a test manifest
Variables ¶
View Source
var IntegrationManifestJSON string = `{ "Packages": { "backend": { "Debug": true, "SecurityVersion": 1, "ProductID": 3 }, "frontend": { "Debug": true, "SecurityVersion": 2, "ProductID": 3 } }, "Infrastructures": { "Azure": { "QESVN": 2, "PCESVN": 3, "CPUSVN": [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15], "RootCA": [3,3,3] } }, "Marbles": { "test_marble_server": { "Package": "backend", "Parameters": { "Files": { "/tmp/coordinator_test/defg.txt": "foo", "/tmp/coordinator_test/jkl.mno": "bar" }, "Argv": [ "./marble", "serve" ], "Env": { "IS_FIRST": "true", "SEAL_KEY": "{{ hex .Marblerun.SealKey }}" } } }, "test_marble_client": { "Package": "backend", "Parameters": { "Files": { "/tmp/coordinator_test/defg.txt": "foo", "/tmp/coordinator_test/jkl.mno": "bar" }, "Env": { "IS_FIRST": "true", "SEAL_KEY": "{{ hex .Marblerun.SealKey }}" } } }, "bad_marble": { "Package": "frontend", "Parameters": { "Files": { "/tmp/coordinator_test/defg.txt": "foo", "/tmp/coordinator_test/jkl.mno": "bar" }, "Env": { "SEAL_KEY": "{{ hex .Marblerun.SealKey }}" } } } }, "Clients": { "owner": [9,9,9] }, "RecoveryKey": "` + strings.ReplaceAll(string(RecoveryPublicKey), "\n", "\\n") + `" }`
IntegrationManifestJSON is a test manifest
View Source
var ManifestJSONWithRecoveryKey string = `{ "Packages": { "frontend": { "SignerID": "1f1e1d1c1b1a191817161514131211100f0e0d0c0b0a09080706050403020100", "ProductID": 44, "SecurityVersion": 3, "Debug": true } }, "Infrastructures": { "Azure": { "QESVN": 2, "PCESVN": 3, "CPUSVN": [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15], "RootCA": [3,3,3] } }, "Marbles": { "frontend": { "Package": "frontend", "Parameters": { "Env": { "SEAL_KEY": "{{ hex .Marblerun.SealKey }}" } } } }, "Clients": { "owner": [9,9,9] }, "RecoveryKey": "` + strings.ReplaceAll(string(RecoveryPublicKey), "\n", "\\n") + `" }`
ManifestJSONWithRecoveryKey is a test manifest with a dynamically generated RSA key
View Source
var RecoveryPublicKey, RecoveryPrivateKey = generateTestRecoveryKey()
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.