const etcHostsPodName … const etcHostsHostNetworkPodName … const etcHostsPartialContent … const etcHostsPathLinux … const etcHostsPathWindows … const etcHostsOriginalPathLinux … const etcHostsOriginalPathWindows … type KubeletManagedHostConfig … var _ … func (config *KubeletManagedHostConfig) verifyEtcHosts() { … } func (config *KubeletManagedHostConfig) setup(ctx context.Context) { … } func (config *KubeletManagedHostConfig) createPodWithoutHostNetwork(ctx context.Context) { … } func (config *KubeletManagedHostConfig) createPodWithHostNetwork(ctx context.Context) { … } func assertManagedStatus( config *KubeletManagedHostConfig, podName string, expectedIsManaged bool, name string) { … } func (config *KubeletManagedHostConfig) getFileContents(podName, containerName, path string) string { … } func (config *KubeletManagedHostConfig) createPodSpec(podName string) *v1.Pod { … } func (config *KubeletManagedHostConfig) createPodSpecWithHostNetwork(podName string) *v1.Pod { … } func getEtcHostsPath() (string, string) { … }