Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FormatMap (0.12 sec)

  1. pkg/fieldpath/fieldpath_test.go

    node.alpha.kubernetes.io/ttl="0"
    volumes.kubernetes.io/controller-managed-attach-detach="true"`,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if gotFmtStr := FormatMap(tt.args.m); gotFmtStr != tt.wantFmtStr {
    				t.Errorf("FormatMap() = %v, want %v", gotFmtStr, tt.wantFmtStr)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 02 06:26:55 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. pkg/volume/downwardapi/downwardapi_test.go

    }
    
    type verifyMapInFile struct {
    	stepName
    	expected map[string]string
    }
    
    func (step verifyMapInFile) run(test *downwardAPITest) {
    	doVerifyLinesInFile(test.t, test.volumePath, step.name, fieldpath.FormatMap(step.expected))
    }
    
    type verifyMode struct {
    	stepName
    	expectedMode int32
    }
    
    func (step verifyMode) run(test *downwardAPITest) {
    	fileInfo, err := os.Stat(filepath.Join(test.volumePath, step.name))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 04:48:49 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top