Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestManagedHostsFileContent (0.16 sec)

  1. pkg/kubelet/kubelet_pods_test.go

    	tmpdir, err := os.MkdirTemp("", "kubelet=kubelet_pods_test.go=")
    	if err != nil {
    		return "", err
    	}
    	return tmpdir, os.WriteFile(filepath.Join(tmpdir, filename), []byte(cfg), 0644)
    }
    
    func TestManagedHostsFileContent(t *testing.T) {
    	testCases := []struct {
    		hostIPs         []string
    		hostName        string
    		hostDomainName  string
    		hostAliases     []v1.HostAlias
    		expectedContent string
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
Back to top