code: func NewECRAuthProvider(ecrFactory ecr.ECRFactory, cache async.Cache) DockerAuthProvider {
  	return &ecrAuthProvider{
  		tokenCache: cache,
  		factory:    ecrFactory,
  	}
  }
docs: // NewECRAuthProvider returns a DockerAuthProvider that can handle retrieve
  // credentials for pulling from Amazon EC2 Container Registry