Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getServerFromKubeconfig (0.15 sec)

  1. istioctl/pkg/multicluster/remote_secret.go

    				Name: ns,
    			},
    		}, metav1.CreateOptions{}); err != nil {
    			return fmt.Errorf("failed creating namespace %s: %v", ns, err)
    		}
    	}
    	return nil
    }
    
    func getServerFromKubeconfig(client kube.CLIClient) (string, Warning, error) {
    	restCfg := client.RESTConfig()
    	if restCfg == nil {
    		return "", nil, fmt.Errorf("failed getting REST config from client")
    	}
    	server := restCfg.Host
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top