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

Interface Deployable

pkg/deploy/deployable.go:8–13  ·  view source on GitHub ↗

A Deployable can produce a Deployment

Source from the content-addressed store, hash-verified

6
7// A Deployable can produce a Deployment
8type Deployable interface {
9 // Deployment creates a new Deployment based on the types current state. Errors are returned if not possible.
10 Deployment() (*Deployment, error)
11 // Images returns the images required for deployment
12 Images() []*image.Image
13}

Callers 16

testCompareEntityFunction · 0.65
deployWithPodFunction · 0.65
DeploymentMethod · 0.65
TestRCAttachImageFunction · 0.65
TestRCAttachContainerFunction · 0.65
TestRCAttachPodFunction · 0.65
StatusMethod · 0.65
DiffMethod · 0.65
testCompareEntityFunction · 0.65
ImagesMethod · 0.65
ImagesMethod · 0.65
ImagesMethod · 0.65

Implementers 5

Podpkg/entity/pod.go
Imagepkg/entity/image.go
ReplicationControllerpkg/entity/replicationcontroller.go
Apppkg/entity/app.go
Containerpkg/entity/container.go

Calls

no outgoing calls

Tested by

no test coverage detected