~juju-qa/ubuntu/yakkety/juju/2.0-beta17

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/provider/lxd/credentials.go

  • Committer: Nicholas Skaggs
  • Date: 2016-08-26 19:57:01 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20160826195701-8fc8jt1x5b7cakp7
fix unwanted src modifications

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
        // TODO (anastasiamac 2016-04-14) When/If this value changes,
17
17
        // verify that juju/juju/cloud/clouds.go#BuiltInClouds
18
18
        // with lxd type are up to-date.
19
 
        // TODO(wallyworld) update BuiltInClouds to match when we actually take notice of TLSAuthType
20
 
        return map[cloud.AuthType]cloud.CredentialSchema{
21
 
                cloud.EmptyAuthType: {},
22
 
                cloud.CertificateAuthType: {
23
 
                        {
24
 
                                cfgClientCert, cloud.CredentialAttr{Description: "The client cert used for connecting to a LXD host machine."},
25
 
                        }, {
26
 
                                cfgClientKey, cloud.CredentialAttr{Description: "The client key used for connecting to a LXD host machine."},
27
 
                        }, {
28
 
                                cfgServerPEMCert, cloud.CredentialAttr{Description: "The certificate of the LXD server on the host machine."},
29
 
                        },
30
 
                },
31
 
        }
 
19
        return map[cloud.AuthType]cloud.CredentialSchema{cloud.EmptyAuthType: {}}
32
20
}
33
21
 
34
22
// DetectCredentials is part of the environs.ProviderCredentials interface.