Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Oct 30 22:53:10 UTC 2024
    - Last Modified: Fri Oct 25 03:42:48 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top