Created
September 3, 2014 18:15
-
-
Save markllama/e08f3375d754a718bb4b to your computer and use it in GitHub Desktop.
Kubernetes Pod Structure Definition
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Pod is a collection of containers, used as either input (create, update) or as output (list, get). | |
type Pod struct { | |
JSONBase `json:",inline" yaml:",inline"` | |
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"` | |
DesiredState PodState `json:"desiredState,omitempty" yaml:"desiredState,omitempty"` | |
CurrentState PodState `json:"currentState,omitempty" yaml:"currentState,omitempty"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment