- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for handleNamespace (0.07 sec)
-
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) -
istioctl/pkg/validate/validate.go
// we can't complain about. return nil, nil } func (v *validator) validateServicePortPrefix(istioNamespace string, un *unstructured.Unstructured) error { var errs error if un.GetNamespace() == handleNamespace(istioNamespace) { return nil } spec := un.Object["spec"].(map[string]any) if _, ok := spec["ports"]; ok { ports := spec["ports"].([]any) for _, port := range ports { p := port.(map[string]any)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 22:27:47 UTC 2024 - 14.3K bytes - Viewed (0)