mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 05:03:09 +00:00
Remove some dead code.
This commit is contained in:
parent
3ade280f89
commit
845fb5013d
@ -89,20 +89,6 @@ func NewMainKubelet(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewIntegrationTestKubelet creates a new Kubelet for use in integration tests.
|
|
||||||
// TODO: add more integration tests, and expand parameter list as needed.
|
|
||||||
func NewIntegrationTestKubelet(hn string, rd string, dc dockertools.DockerInterface) *Kubelet {
|
|
||||||
return &Kubelet{
|
|
||||||
hostname: hn,
|
|
||||||
dockerClient: dc,
|
|
||||||
rootDirectory: rd,
|
|
||||||
dockerPuller: &dockertools.FakeDockerPuller{},
|
|
||||||
networkContainerImage: NetworkContainerImage,
|
|
||||||
resyncInterval: 3 * time.Second,
|
|
||||||
podWorkers: newPodWorkers(),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
type httpGetter interface {
|
type httpGetter interface {
|
||||||
Get(url string) (*http.Response, error)
|
Get(url string) (*http.Response, error)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user