Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for newConst (0.1 sec)

  1. cni/pkg/install/kubeconfig_test.go

    	}
    	// Write out a kubeconfig with one cert
    	result, err = createKubeConfig(newCfg)
    	if err != nil {
    		t.Fatalf("did not expect failure: %v", err)
    	}
    	goldenNewFilepath := "testdata/kubeconfig-newhost"
    	testutils.CompareContent(t, []byte(result.Full), goldenNewFilepath)
    }
    
    func TestCheckNoExistingKubeConfig(t *testing.T) {
    	tmp := t.TempDir()
    	os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		// In distributed setup, anonymized addr = 'poolNum.serverNum'
    		newHost := fmt.Sprintf("pool%d.server%d", poolNum, srvrNum)
    		schemePfx := endpoint.Scheme + "://"
    
    		// Hostname
    		mapIfNotPresent(hostAnonymizer, endpoint.Hostname(), newHost)
    
    		newHostPort := newHost
    		if len(endpoint.Port()) > 0 {
    			// Host + port
    			newHostPort = newHost + ":" + endpoint.Port()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"MethodVal", Const, 5},
    		{"MissingMethod", Func, 5},
    		{"Named", Type, 5},
    		{"NewAlias", Func, 22},
    		{"NewArray", Func, 5},
    		{"NewChan", Func, 5},
    		{"NewChecker", Func, 5},
    		{"NewConst", Func, 5},
    		{"NewContext", Func, 18},
    		{"NewField", Func, 5},
    		{"NewFunc", Func, 5},
    		{"NewInterface", Func, 5},
    		{"NewInterfaceType", Func, 11},
    		{"NewLabel", Func, 5},
    		{"NewMap", Func, 5},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top