Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for configureDefaultNamespace (0.24 sec)

  1. istioctl/pkg/cli/option.go

    }
    
    // DefaultNamespace returns the default namespace to use.
    func (r *RootFlags) DefaultNamespace() string {
    	if r.defaultNamespace == "" {
    		r.configureDefaultNamespace()
    	}
    	return r.defaultNamespace
    }
    
    func (r *RootFlags) configureDefaultNamespace() {
    	configAccess := clientcmd.NewDefaultPathOptions()
    
    	kubeconfig := *r.kubeconfig
    	if kubeconfig != "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 30 01:19:20 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top