Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for RawConfig (0.3 sec)

  1. istioctl/pkg/cli/context.go

    	rawConfig, err := clientcmd.NewNonInteractiveDeferredLoadingClientConfig(kube.ConfigLoadingRules(*i.kubeconfig), nil).RawConfig()
    	if err != nil {
    		return nil, fmt.Errorf("getting raw kubeconfig from file %q: %v", *i.kubeconfig, err)
    	}
    	impersonateConfig := i.getImpersonateConfig()
    	rawConfigContexts := maps.Keys(rawConfig.Contexts)
    	for _, c := range contexts {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. istioctl/pkg/analyze/analyze.go

    		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 {
    				continue
    			}
    			client, err := kube.NewCLIClient(clientConfig,
    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