Make PKI data and RunnerFactory public objects (#865)

* Make PKI data and RunnerFactory public objects

* removes unnecessary nullRunner object

* renames secure factory to point out MTLS
This commit is contained in:
Gerardo Viedma
2018-03-16 15:40:58 +00:00
committed by GitHub
parent 62de4a5c9a
commit 1cae6f988e
3 changed files with 15 additions and 36 deletions

View File

@@ -27,7 +27,7 @@ type mockRunner struct {
type mockRunnerPool struct {
runners []pool.Runner
generator insecureRunnerFactory
pki *pkiData
pki *pool.PKIData
}
func newMockRunnerPool(rf insecureRunnerFactory, runnerAddrs []string) *mockRunnerPool {
@@ -43,7 +43,7 @@ func newMockRunnerPool(rf insecureRunnerFactory, runnerAddrs []string) *mockRunn
return &mockRunnerPool{
runners: runners,
generator: rf,
pki: &pkiData{},
pki: &pool.PKIData{},
}
}