class CredentialRetrieverFactory {

  public CredentialRetriever dockerConfig() {
    return dockerConfig(
        DockerConfigCredentialRetriever.create(
            imageReference.getRegistry(),
            Paths.get(System.getProperty("user.home"), ".docker", "config.json")));
  }

  @VisibleForTesting  CredentialRetrieverFactory(
      ImageReference imageReference,
      Consumer<LogEvent> logger,
      DockerCredentialHelperFactory dockerCredentialHelperFactory,
      GoogleCredentialsProvider googleCredentialsProvider);

}