mirror of
https://github.com/rancher/types.git
synced 2025-09-16 14:59:16 +00:00
Show state on containers and fix jobs
This commit is contained in:
@@ -472,6 +472,7 @@ func podTypes(schemas *types.Schemas) *types.Schemas {
|
||||
&m.AnnotationField{Field: "description"},
|
||||
&m.AnnotationField{Field: "publicEndpoints", List: true},
|
||||
mapper.ContainerPorts{},
|
||||
mapper.ContainerStatus{},
|
||||
).
|
||||
// Must import handlers before Container
|
||||
MustImport(&Version, v1.ContainerPort{}, struct {
|
||||
@@ -489,9 +490,13 @@ func podTypes(schemas *types.Schemas) *types.Schemas {
|
||||
MustImport(&Version, v1.Handler{}, handlerOverride{}).
|
||||
MustImport(&Version, v1.Probe{}, handlerOverride{}).
|
||||
MustImport(&Version, v1.Container{}, struct {
|
||||
Environment map[string]string
|
||||
EnvironmentFrom []EnvironmentFrom
|
||||
InitContainer bool
|
||||
Environment map[string]string
|
||||
EnvironmentFrom []EnvironmentFrom
|
||||
InitContainer bool
|
||||
State string
|
||||
TransitioningMessage string
|
||||
ExitCode *int
|
||||
RestartCount int
|
||||
}{}).
|
||||
MustImport(&Version, v1.PodSpec{}, struct {
|
||||
Scheduling *Scheduling
|
||||
|
Reference in New Issue
Block a user