- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CLIClientsForContexts (0.11 sec)
-
istioctl/pkg/cli/context.go
// NamespaceOrDefault returns the namespace specified by the user, or the default namespace if none was specified NamespaceOrDefault(namespace string) string // CLIClientsForContexts returns clients for all the given contexts in a kubeconfig. CLIClientsForContexts(contexts []string) ([]kube.CLIClient, error) } type instance struct { // clients are cached clients for each revision clients map[string]kube.CLIClient
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
remote: true, }) } } return clients, nil } func getClientsFromContexts(ctx cli.Context) ([]*Client, error) { var clients []*Client remoteClients, err := ctx.CLIClientsForContexts(remoteContexts) if err != nil { return nil, err } for _, c := range remoteClients { clients = append(clients, &Client{ client: c, remote: true, }) } return clients, nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0)