kubelet/dockertools: Add puller interfaces in the containerManager.

This commit is contained in:
Yifan Gu
2015-04-13 12:24:01 -07:00
parent a0fa592b80
commit dda600e45c
8 changed files with 33 additions and 33 deletions

View File

@@ -96,8 +96,8 @@ type throttledDockerPuller struct {
limiter util.RateLimiter
}
// NewDockerPuller creates a new instance of the default implementation of DockerPuller.
func NewDockerPuller(client DockerInterface, qps float32, burst int) DockerPuller {
// newDockerPuller creates a new instance of the default implementation of DockerPuller.
func newDockerPuller(client DockerInterface, qps float32, burst int) DockerPuller {
dp := dockerPuller{
client: client,
keyring: credentialprovider.NewDockerKeyring(),