Part one of the grand rename: Task -> Pod

This commit is contained in:
Brendan Burns
2014-06-08 21:17:53 -07:00
parent 139be599e9
commit c8d493f532
18 changed files with 125 additions and 125 deletions

View File

@@ -92,11 +92,11 @@ type TaskState struct {
type TaskList struct {
JSONBase
Items []Task `json:"items" yaml:"items,omitempty"`
Items []Pod `json:"items" yaml:"items,omitempty"`
}
// Task is a single task, used as either input (create, update) or as output (list, get)
type Task struct {
type Pod struct {
JSONBase
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
DesiredState TaskState `json:"desiredState,omitempty" yaml:"desiredState,omitempty"`