edgelesssys / contrast

Deploy and manage confidential containers on Kubernetes
https://docs.edgeless.systems/contrast
GNU Affero General Public License v3.0
160 stars 6 forks source link

manifest: validate manifest fields #630

Closed davidweisse closed 2 days ago

davidweisse commented 3 days ago

This adds a function Validate() to the manifest to check if every field in the manifest struct contains a reasonable value or if any required fields are missing.