Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(61)

Delta Between Two Patch Sets: cmd/jujud/provisioning.go

Issue 5901058: cmd/juju: working bootstrap and destroy commands
Left Patch Set: cmd/juju: working bootstrap and destroy commands Created 13 years, 1 month ago
Right Patch Set: cmd/juju: working bootstrap and destroy commands Created 13 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « cmd/jujud/main_test.go ('k') | cmd/jujud/unit.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(no file at all)
1 package main 1 package main
2 2
3 import "fmt" 3 import (
4 » "fmt"
5 » "launchpad.net/juju/go/cmd"
6 )
4 7
5 // ProvisioningAgent is a cmd.Command responsible for running a provisioning age nt. 8 // ProvisioningAgent is a cmd.Command responsible for running a provisioning age nt.
6 type ProvisioningAgent struct { 9 type ProvisioningAgent struct {
7 agentConf 10 agentConf
8 } 11 }
9 12
10 func NewProvisioningAgent() *ProvisioningAgent { 13 func NewProvisioningAgent() *ProvisioningAgent {
11 return &ProvisioningAgent{agentConf: agentConf{name: "provisioning"}} 14 return &ProvisioningAgent{agentConf: agentConf{name: "provisioning"}}
12 } 15 }
13 16
14 // Run runs a provisioning agent. 17 // Run runs a provisioning agent.
15 func (a *ProvisioningAgent) Run() error { 18 func (a *ProvisioningAgent) Run(_ *cmd.Context) error {
16 return fmt.Errorf("MachineAgent.Run not implemented") 19 return fmt.Errorf("MachineAgent.Run not implemented")
17 } 20 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b