Function
newEnvProfileProv
(id string, cfg *config.EnvProfile, certBytes []byte, provBytes []byte)
Source from the content-addressed store, hash-verified
| 143 | } |
| 144 | |
| 145 | func newEnvProfileProv(id string, cfg *config.EnvProfile, certBytes []byte, provBytes []byte) *envProfile { |
| 146 | return &envProfile{ |
| 147 | id: id, |
| 148 | name: cfg.Name, |
| 149 | prov: provBytes, |
| 150 | certPass: cfg.CertPass, |
| 151 | originalCert: certBytes, |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | func newEnvProfileAccount(id string, cfg *config.EnvProfile, certBytes []byte) *envProfile { |
| 156 | return &envProfile{ |
Tested by
no test coverage detected