- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for NamespaceName (0.39 sec)
-
security/pkg/k8s/configutil_test.go
existingConfigMap: createConfigMap(namespaceName, configMapName, map[string]string{}), expectedActions: []ktesting.Action{ ktesting.NewUpdateAction(gvr, namespaceName, createConfigMap(namespaceName, configMapName, testData)), }, expectedErr: "", }, { name: "existing nop ConfigMap", existingConfigMap: createConfigMap(namespaceName, configMapName, testData),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 21:58:25 UTC 2024 - 13K bytes - Viewed (0) -
tests/integration/security/testdata/authz/egress-gateway.yaml.tmpl
apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: name: route-via-egressgateway-2 namespace: {{ .From.NamespaceName }} spec: hosts: - "{{ .Allowed.ServiceName }}-{{ .Allowed.NamespaceName }}-only.com" - "jwt-only.com" - "jwt-and-{{ .Allowed.ServiceName }}-{{ .Allowed.NamespaceName }}-only.com" gateways: - test-egress - mesh http: - match: - gateways:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 31 15:08:52 UTC 2023 - 5.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher.go
accessor, err := meta.Accessor(attr.GetObject()) if err != nil { return nil, err } return accessor.GetLabels(), nil } namespaceName := attr.GetNamespace() namespace, err := m.NamespaceLister.Get(namespaceName) if err != nil && !apierrors.IsNotFound(err) { return nil, err } if apierrors.IsNotFound(err) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 15 00:53:08 UTC 2023 - 4.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/dispatcher.go
var namespace *v1.Namespace namespaceName := a.GetNamespace() // Special case, the namespace object has the namespace of itself (maybe a bug). // unset it if the incoming object is a namespace if gvk := a.GetKind(); gvk.Kind == "Namespace" && gvk.Version == "v1" && gvk.Group == "" { namespaceName = "" } // if it is cluster scoped, namespaceName will be empty
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 14.4K bytes - Viewed (0) -
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) -
pkg/test/framework/components/echo/config.go
func ConfigFuture(custom *[]Config) ConfigGetter { return func() []Config { return *custom } } // NamespaceName returns the string name of the namespace. func (c Config) NamespaceName() string { return c.NamespacedName().NamespaceName() } // NamespacedName returns the namespaced name for the service. func (c Config) NamespacedName() NamespacedName { return NamespacedName{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 09 12:26:52 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/test/framework/components/echo/instances.go
type Instances []Instance func (i Instances) ServiceName() string { return i.Config().Service } func (i Instances) NamespaceName() string { return i.Config().NamespaceName() } func (i Instances) ServiceAccountName() string { return i.Config().ServiceAccountName() } func (i Instances) ClusterLocalFQDN() string { return i.Config().ClusterLocalFQDN()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 25 18:26:17 UTC 2024 - 4.7K bytes - Viewed (0) -
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) -
pkg/test/framework/components/echo/echotest/filters_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 - 13.1K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
fp.servicesSynced = true fp.endpointSlicesSynced = true // Add initial service serviceName := "svc1" namespaceName := "ns1" fp.OnServiceAdd(&v1.Service{ ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespaceName}, Spec: v1.ServiceSpec{ ClusterIP: "172.20.1.1", Selector: map[string]string{"foo": "bar"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0)