Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NamespaceName (0.19 sec)

  1. pkg/test/framework/components/echo/match/matchers.go

    			}
    		}
    		return false
    	}
    }
    
    // Namespace matches instances within the given namespace name.
    func Namespace(n namespace.Instance) Matcher {
    	return NamespaceName(n.Name())
    }
    
    // NamespaceName matches instances within the given namespace name.
    func NamespaceName(ns string) Matcher {
    	return func(i echo.Instance) bool {
    		return i.Config().Namespace.Name() == ns
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. pkg/test/framework/components/echo/match/matchers_test.go

    	cfg := echo.Config(f)
    	_ = cfg.FillDefaults(nil)
    	return cfg
    }
    
    func (f fakeInstance) ServiceName() string {
    	return f.Config().Service
    }
    
    func (f fakeInstance) NamespaceName() string {
    	return f.Config().NamespaceName()
    }
    
    func (f fakeInstance) ServiceAccountName() string {
    	return f.Config().ServiceAccountName()
    }
    
    func (f fakeInstance) ClusterLocalFQDN() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. tests/integration/security/cacert_rotation/main_test.go

    	podID, err := getPodID(i)
    	if err != nil {
    		t.Fatalf("Could not get Pod ID: %v", err)
    	}
    	podName := fmt.Sprintf("%s.%s", podID, i.NamespaceName())
    	out, errOut, err := ctl.Invoke([]string{"pc", "s", podName, "-o", "json"})
    	if err != nil || errOut != "" {
    		t.Errorf("failed to retrieve pod secret from %s, err: %v errOut: %s", podName, err, errOut)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top