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

Delta Between Two Patch Sets: environs/openstack/provider.go

Issue 6855054: state: add CACert to Info.
Left Patch Set: state: add RootCertPEM to Info. Created 12 years, 4 months ago
Right Patch Set: state: add CACert to Info. Created 12 years, 4 months 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 | « environs/openstack/local_test.go ('k') | environs/tools_test.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 // Stub provider for OpenStack, using goose will be implemented here 1 // Stub provider for OpenStack, using goose will be implemented here
2 2
3 package openstack 3 package openstack
4 4
5 import ( 5 import (
6 "fmt" 6 "fmt"
7 "io/ioutil" 7 "io/ioutil"
8 "launchpad.net/juju-core/environs" 8 "launchpad.net/juju-core/environs"
9 "launchpad.net/juju-core/environs/config" 9 "launchpad.net/juju-core/environs/config"
10 "launchpad.net/juju-core/log" 10 "launchpad.net/juju-core/log"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 e.ecfgMutex.Lock() 84 e.ecfgMutex.Lock()
85 ecfg := e.ecfgUnlocked 85 ecfg := e.ecfgUnlocked
86 e.ecfgMutex.Unlock() 86 e.ecfgMutex.Unlock()
87 return ecfg 87 return ecfg
88 } 88 }
89 89
90 func (e *environ) Name() string { 90 func (e *environ) Name() string {
91 return e.name 91 return e.name
92 } 92 }
93 93
94 func (e *environ) Bootstrap(uploadTools bool, certPEM, keyPEM []byte) error { 94 func (e *environ) Bootstrap(uploadTools bool, cert, key []byte) error {
95 panic("not implemented") 95 panic("not implemented")
96 } 96 }
97 97
98 func (e *environ) StateInfo() (*state.Info, error) { 98 func (e *environ) StateInfo() (*state.Info, error) {
99 panic("not implemented") 99 panic("not implemented")
100 } 100 }
101 101
102 func (e *environ) Config() *config.Config { 102 func (e *environ) Config() *config.Config {
103 panic("not implemented") 103 panic("not implemented")
104 } 104 }
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 if err != nil { 191 if err != nil {
192 continue 192 continue
193 } 193 }
194 return strings.TrimSpace(string(data)), nil 194 return strings.TrimSpace(string(data)), nil
195 } 195 }
196 if err != nil { 196 if err != nil {
197 return "", fmt.Errorf("cannot get %q: %v", uri, err) 197 return "", fmt.Errorf("cannot get %q: %v", uri, err)
198 } 198 }
199 return 199 return
200 } 200 }
LEFTRIGHT

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