Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ClientConfig (0.11 sec)

  1. istioctl/pkg/analyze/analyze.go

    	})
    	if err != nil {
    		return nil, err
    	}
    	for _, s := range secrets.Items {
    		for _, cfg := range s.Data {
    			clientConfig, err := clientcmd.NewClientConfigFromBytes(cfg)
    			if err != nil {
    				return nil, err
    			}
    			rawConfig, err := clientConfig.RawConfig()
    			if err != nil {
    				return nil, err
    			}
    			curContext := rawConfig.Contexts[rawConfig.CurrentContext]
    			if curContext == 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