Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getNamespaces (0.28 sec)

  1. 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
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. istioctl/pkg/injector/injector-list_test.go

    		},
    	}
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %s", i, c.name), func(t *testing.T) {
    			assert.Equal(t, c.expectedRevision, extractRevisionFromPod(c.pod))
    		})
    	}
    }
    
    func Test_getNamespaces(t *testing.T) {
    	createNamespace := func(name string, labels map[string]string) *corev1.Namespace {
    		return &corev1.Namespace{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:   name,
    				Labels: labels,
    			},
    		}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. 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
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. 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)) {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. maven-core/src/test/resources/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    public String getNamespaceUri(int) throws XmlPullParserExcepti; public String getNamespace(String); public int getDepth(); private static int findFragment(int, char[], int, int); public String getPositionDescripti(); public int getLineNumber(); public int getColumnNumber(); public boolean isWhitespace() throws XmlPullParserExcepti; public String getText(); public char[] getTextCharacters(int[]); public String getNamespace(); public String getName(); public String getPrefix(); public boolean isEmptyElementTag()...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 164.6K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    public String getNamespaceUri(int) throws XmlPullParserExcepti; public String getNamespace(String); public int getDepth(); private static int findFragment(int, char[], int, int); public String getPositionDescripti(); public int getLineNumber(); public int getColumnNumber(); public boolean isWhitespace() throws XmlPullParserExcepti; public String getText(); public char[] getTextCharacters(int[]); public String getNamespace(); public String getName(); public String getPrefix(); public boolean isEmptyElementTag()...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 164.6K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/codehaus/plexus/plexus-utils/1.4.5/plexus-utils-1.4.5.jar

    public String getNamespaceUri(int) throws XmlPullParserExcepti; public String getNamespace(String); public int getDepth(); private static int findFragment(int, char[], int, int); public String getPositionDescripti(); public int getLineNumber(); public int getColumnNumber(); public boolean isWhitespace() throws XmlPullParserExcepti; public String getText(); public char[] getTextCharacters(int[]); public String getNamespace(); public String getName(); public String getPrefix(); public boolean isEmptyElementTag()...
    Archive
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Tue Oct 16 20:15:40 GMT 2007
    - 200.2K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    public String getNamespaceUri(int) throws XmlPullParserExcepti; public String getNamespace(String); public int getDepth(); private static int findFragment(int, char[], int, int); public String getPositionDescripti(); public int getLineNumber(); public int getColumnNumber(); public boolean isWhitespace() throws XmlPullParserExcepti; public String getText(); public char[] getTextCharacters(int[]); public String getNamespace(); public String getName(); public String getPrefix(); public boolean isEmptyElementTag()...
    Archive
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 164.6K bytes
    - Viewed (0)
  9. maven-core/src/test/remote-repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar

    public String getNamespaceUri(int) throws XmlPullParserExcepti; public String getNamespace(String); public int getDepth(); private static int findFragment(int, char[], int, int); public String getPositionDescripti(); public int getLineNumber(); public int getColumnNumber(); public boolean isWhitespace() throws XmlPullParserExcepti; public String getText(); public char[] getTextCharacters(int[]); public String getNamespace(); public String getName(); public String getPrefix(); public boolean isEmptyElementTag()...
    Archive
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Oct 23 23:48:02 GMT 2009
    - 164.6K bytes
    - Viewed (0)
  10. istioctl/pkg/wait/wait_test.go

    			}
    			fc := k.Dynamic().(*dynamicfake.FakeDynamicClient)
    			fc.PrependWatchReactor("*", func(action clienttesting.Action) (handled bool, ret watch.Interface, err error) {
    				gvr := action.GetResource()
    				ns := action.GetNamespace()
    				watch, err := fc.Tracker().Watch(gvr, ns)
    				if err != nil {
    					return false, nil, err
    				}
    				// Kubernetes Fake watches do not add initial state, but real server does
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 6.8K bytes
    - Viewed (0)
Back to top