1
0
mirror of https://github.com/rancher/types.git synced 2025-09-16 23:08:25 +00:00

Moving scheduling to pod

This commit is contained in:
Darren Shepherd
2017-12-18 17:08:01 -07:00
parent 638d526a3a
commit 33d6093dcf

View File

@@ -288,17 +288,17 @@ func podTypes(schemas *types.Schemas) *types.Schemas {
MustImport(&Version, v1.Handler{}, handlerOverride{}).
MustImport(&Version, v1.Probe{}, handlerOverride{}).
MustImport(&Version, v1.Container{}, struct {
Scheduling *Scheduling
Resources *Resources
Environment map[string]string
EnvironmentFrom []EnvironmentFrom
InitContainer bool
}{}).
MustImport(&Version, v1.PodSpec{}, struct {
NodeName string `norman:"type=reference[node]"`
Net string
PID string
IPC string
Scheduling *Scheduling
NodeName string `norman:"type=reference[node]"`
Net string
PID string
IPC string
}{}).
MustImport(&Version, v1.Pod{}, projectOverride{}, struct {
WorkloadID string `norman:"type=reference[workload]"`