Function
newEnvProfileAccount
(id string, cfg *config.EnvProfile, certBytes []byte)
Source from the content-addressed store, hash-verified
| 153 | } |
| 154 | |
| 155 | func newEnvProfileAccount(id string, cfg *config.EnvProfile, certBytes []byte) *envProfile { |
| 156 | return &envProfile{ |
| 157 | id: id, |
| 158 | name: cfg.Name, |
| 159 | certPass: cfg.CertPass, |
| 160 | originalCert: certBytes, |
| 161 | accountName: cfg.AccountName, |
| 162 | accountPass: cfg.AccountPass, |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | func (p *envProfile) GetId() string { |
| 167 | return p.id |
Tested by
no test coverage detected