- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getNamespaces (0.14 sec)
-
istioctl/pkg/completion/completion.go
ctx := context.Background() nsList, err := getNamespaces(ctx, kubeClient) if err != nil { return nil, err } var nsNameList []string for _, ns := range nsList { if toComplete == "" || strings.HasPrefix(ns.Name, toComplete) { nsNameList = append(nsNameList, ns.Name) } } return nsNameList, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 4.9K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
pods, err := client.Kube().CoreV1().Pods("").List(ctx, metav1.ListOptions{}) if err != nil { return retval, err } for _, pod := range pods.Items { retval[resource.Namespace(pod.GetNamespace())] = append(retval[resource.Namespace(pod.GetNamespace())], pod) } return retval, nil } // getInjectedImages() returns a map of revision->dockerimage
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Oct 18 11:39:52 UTC 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
"istio-injection": "enabled", }), } client := kube.NewFakeClient(nss...) expected := sets.New[string]("default", "no-ambient") actual, err := getNamespaces(context.TODO(), client, "istio-system") assert.NoError(t, err) for _, ns := range actual { assert.Equal(t, true, expected.Contains(ns.Name)) } } func Test_injectionDisabled(t *testing.T) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 5.5K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
"This is not recommended, See "+url.ProtocolSelection, fmt.Sprintf("%s/%s/:", un.GetName(), un.GetNamespace()))) } } else { if p["name"] == nil { errs = multierror.Append(errs, fmt.Errorf("service %q has an unnamed port. This is not recommended,"+ " See "+url.DeploymentRequirements, fmt.Sprintf("%s/%s/:", un.GetName(), un.GetNamespace()))) continue } if servicePortPrefixed(p["name"].(string)) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 22:27:47 UTC 2024 - 14.3K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
nsObj, err := getNamespace(kubeClient, ns) if err != nil { return false, err } if nsObj.Labels == nil { return false, nil } return nsObj.Labels[label] != "", nil } func namespaceHasLabelWithValue(kubeClient kube.CLIClient, ns string, label, labelValue string) (bool, error) { nsObj, err := getNamespace(kubeClient, ns) if err != nil { return false, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 19.6K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
res := &resource.Instance{ Origin: &legacykube.Origin{ Type: config.GroupVersionKind(deployment.GroupVersionKind()), FullName: resource.FullName{ Namespace: resource.Namespace(deployment.GetNamespace()), Name: resource.LocalName(deployment.GetName()), }, ResourceVersion: resource.Version(deployment.GetResourceVersion()), Ref: nil, FieldsMap: nil, },
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
return nil } // key: namespace ingressPods := map[string][]*corev1.Pod{} ingressNss := sets.New[string]() for i, pod := range pods.Items { ns := pod.GetNamespace() ingressNss.Insert(ns) ingressPods[ns] = append(ingressPods[ns], pods.Items[i].DeepCopy()) } foundIngresses := []*ingressInfo{} for _, ns := range ingressNss.UnsortedList() {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0) -
test-site/activator-launch-1.3.2.jar
org.apache.ivy.plugins.latest.LatestStrategy); public final org.apache.ivy.plugins.lock.LockStrategy getLockStrategy(String); private void addLockStrategy(String, org.apache.ivy.plugins.lock.LockStrategy); public final org.apache.ivy.plugins.namespace.Namespace getNamespace(String); public final org.apache.ivy.plugins.namespace.Namespace getSystemNamespace(); public final org.apache.ivy.plugins.matcher.PatternMatcher getMatcher(String); private void addMatcher(org.apache.ivy.plugins.matcher.PatternMatcher); public...
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 1.2M bytes - Viewed (0)