Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CLIClientsForContexts (0.11 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 Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top