- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for contextName (0.14 sec)
-
cni/pkg/install/kubeconfig.go
}, AuthInfos: map[string]*api.AuthInfo{ userName: { Token: string(token), }, }, Contexts: map[string]*api.Context{ contextName: { AuthInfo: userName, Cluster: clusterName, }, }, CurrentContext: contextName, } lcfg, err := latest.Scheme.ConvertToVersion(kcfg, latest.ExternalVersion) if err != nil { return kubeconfig{}, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 4K bytes - Viewed (0) -
istioctl/pkg/cli/context.go
} } var clients []kube.CLIClient for _, contextName := range contexts { if i.remoteClients[contextName] != nil { clients = append(clients, i.remoteClients[contextName]) continue } c, err := newKubeClientWithRevision(*i.kubeconfig, contextName, "", impersonateConfig) if err != nil { return nil, fmt.Errorf("creating kube client for context %q: %v", contextName, err) } clients = append(clients, c)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
src/cmd/api/main_test.go
{GOOS: "openbsd", GOARCH: "386", CgoEnabled: true}, {GOOS: "openbsd", GOARCH: "386"}, {GOOS: "openbsd", GOARCH: "amd64", CgoEnabled: true}, {GOOS: "openbsd", GOARCH: "amd64"}, } func contextName(c *build.Context) string { s := c.GOOS + "-" + c.GOARCH if c.CgoEnabled { s += "-cgo" } if c.Dir != "" { s += fmt.Sprintf(" [%s]", c.Dir) } return s }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0)