Container represents kube.Container in the Redspread hierarchy.
| 21 | |
| 22 | // Container represents kube.Container in the Redspread hierarchy. |
| 23 | type Container struct { |
| 24 | base |
| 25 | container kube.Container |
| 26 | image *Image |
| 27 | } |
| 28 | |
| 29 | // NewContainer creates a new Entity for the provided kube.Container. Container must be valid. |
| 30 | func NewContainer(container kube.Container, defaults kube.ObjectMeta, source string, objects ...deploy.KubeObject) (*Container, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected