MCPcopy
hub / github.com/redspread/spread / Image

Struct Image

pkg/entity/image.go:13–16  ·  view source on GitHub ↗

Image represents a Docker image in the Redspread hierarchy. It wraps image.Image.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected