Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for handleNamespace (0.06 sec)

  1. istioctl/pkg/cli/context.go

    }
    
    func (i *instance) NamespaceOrDefault(namespace string) string {
    	return handleNamespace(namespace, i.DefaultNamespace())
    }
    
    // handleNamespace returns the defaultNamespace if the namespace is empty
    func handleNamespace(ns, defaultNamespace string) string {
    	if ns == corev1.NamespaceAll {
    		ns = defaultNamespace
    	}
    	return ns
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top