Image represents a Docker image in the Redspread hierarchy. It wraps image.Image.
| 11 | |
| 12 | // Image represents a Docker image in the Redspread hierarchy. It wraps image.Image. |
| 13 | type Image struct { |
| 14 | base |
| 15 | image *image.Image |
| 16 | } |
| 17 | |
| 18 | // NewImage creates a new Entity for the image.Image it's provided with. |
| 19 | func NewImage(image *image.Image, defaults kube.ObjectMeta, source string, objects ...deploy.KubeObject) (*Image, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected