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

Method Deployment

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

Deployment creates a new Deployment based on the types current state. Errors are returned if not possible.

()

Source from the content-addressed store, hash-verified

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 10

testCompareEntityFunction · 0.65
deployWithPodFunction · 0.65
DeploymentMethod · 0.65
TestRCAttachImageFunction · 0.65
TestRCAttachContainerFunction · 0.65
TestRCAttachPodFunction · 0.65
StatusMethod · 0.65
DiffMethod · 0.65
BuildMethod · 0.65
fileDeployMethod · 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 4

testCompareEntityFunction · 0.52
TestRCAttachImageFunction · 0.52
TestRCAttachContainerFunction · 0.52
TestRCAttachPodFunction · 0.52