~dave-cheney/juju-core/057-environs-config-default-series-tests

« back to all changes in this revision

Viewing changes to environs/interface.go

environs: split bootstrap certificate/key

It's more consistent with the way we treat cert/key
pairs elsewhere.

R=gz, john.meinel, TheMue
CC=
https://codereview.appspot.com/6782103

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
        // environment via the juju package, the password hash will be
132
132
        // automatically replaced by the real password.
133
133
        //
134
 
        // The stateServerPEM parameter holds both the private key and the
135
 
        // respective certificate to be used by the initial state server.
136
 
        Bootstrap(uploadTools bool, stateServerPEM []byte) error
 
134
        // The stateServerCertPEM and stateServerKeyPEM parameters holds
 
135
        // both the certificate and the respective private key to be
 
136
        // used by the initial state server.
 
137
        Bootstrap(uploadTools bool, stateServerCertPEM, stateServerKeyPEM []byte) error
137
138
 
138
139
        // StateInfo returns information on the state initialized
139
140
        // by Bootstrap.