Skip to content

Commit adcbe47

Browse files
authored
Merge pull request kubernetes#89619 from mattjmcnaughton/mattjmcnaughton/delete-unused-builder-type
Delete unused `Builder` type from `kubelet.go`
2 parents 38249c1 + 6b5b8bb commit adcbe47

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

pkg/kubelet/kubelet.go

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -204,39 +204,6 @@ type Bootstrap interface {
204204
RunOnce(<-chan kubetypes.PodUpdate) ([]RunPodResult, error)
205205
}
206206

207-
// Builder creates and initializes a Kubelet instance
208-
type Builder func(kubeCfg *kubeletconfiginternal.KubeletConfiguration,
209-
kubeDeps *Dependencies,
210-
crOptions *config.ContainerRuntimeOptions,
211-
containerRuntime string,
212-
runtimeCgroups string,
213-
hostnameOverride string,
214-
nodeIP string,
215-
providerID string,
216-
cloudProvider string,
217-
certDirectory string,
218-
rootDirectory string,
219-
registerNode bool,
220-
registerWithTaints []api.Taint,
221-
allowedUnsafeSysctls []string,
222-
remoteRuntimeEndpoint string,
223-
remoteImageEndpoint string,
224-
experimentalMounterPath string,
225-
experimentalKernelMemcgNotification bool,
226-
experimentalCheckNodeCapabilitiesBeforeMount bool,
227-
experimentalNodeAllocatableIgnoreEvictionThreshold bool,
228-
minimumGCAge metav1.Duration,
229-
maxPerPodContainerCount int32,
230-
maxContainerCount int32,
231-
masterServiceNamespace string,
232-
registerSchedulable bool,
233-
nonMasqueradeCIDR string,
234-
keepTerminatedPodVolumes bool,
235-
nodeLabels map[string]string,
236-
seccompProfileRoot string,
237-
bootstrapCheckpointPath string,
238-
nodeStatusMaxImages int32) (Bootstrap, error)
239-
240207
// Dependencies is a bin for things we might consider "injected dependencies" -- objects constructed
241208
// at runtime that are necessary for running the Kubelet. This is a temporary solution for grouping
242209
// these objects while we figure out a more comprehensive dependency injection story for the Kubelet.

0 commit comments

Comments
 (0)