Add basic structure of a spec generator for pods

This will be used for remote creation of pods initially.

Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:
Matthew Heon
2020-03-19 12:10:05 -04:00
parent 6df1d2043b
commit cec2e6d706
2 changed files with 141 additions and 1 deletions

View File

@ -53,7 +53,7 @@ type ContainerBasicConfig struct {
Terminal bool `json:"terminal,omitempty"`
// Stdin is whether the container will keep its STDIN open.
Stdin bool `json:"stdin,omitempty"`
// Labels are key-valid labels that are used to add metadata to
// Labels are key-value pairs that are used to add metadata to
// containers.
// Optional.
Labels map[string]string `json:"labels,omitempty"`