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

Struct Container

pkg/entity/container.go:23–27  ·  view source on GitHub ↗

Container represents kube.Container in the Redspread hierarchy.

Source from the content-addressed store, hash-verified

21
22// Container represents kube.Container in the Redspread hierarchy.
23type 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.
30func NewContainer(container kube.Container, defaults kube.ObjectMeta, source string, objects ...deploy.KubeObject) (*Container, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected