- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for NamespaceName (0.18 sec)
-
tests/integration/security/testdata/authz/not-namespace.yaml.tmpl
metadata: name: {{ .To.ServiceName }}-deny spec: selector: matchLabels: "app": "{{ .To.ServiceName }}" action: DENY rules: - from: - source:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 08 07:03:01 UTC 2023 - 293 bytes - Viewed (0) -
tests/integration/security/testdata/authz/conditions.yaml.tmpl
- operation: paths: [ "/source-namespace" ] when: - key: source.namespace values: [ "{{ .Allowed.NamespaceName }}" ] - to: - operation: paths: [ "/source-namespace-notValues" ] when: - key: source.namespace notValues: [ "{{ .Denied.NamespaceName }}" ] --- apiVersion: security.istio.io/v1beta1 kind: AuthorizationPolicy metadata:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 08 07:03:01 UTC 2023 - 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) -
plugin/pkg/admission/podnodeselector/admission.go
} return nil } func (p *Plugin) getNamespaceNodeSelectorMap(namespaceName string) (labels.Set, error) { namespace, err := p.namespaceLister.Get(namespaceName) if errors.IsNotFound(err) { namespace, err = p.defaultGetNamespace(namespaceName) if err != nil { if errors.IsNotFound(err) { return nil, err } return nil, errors.NewInternalError(err)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 8.3K 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/controller/namespace/deletion/namespaced_resources_deleter_test.go
} } func testSyncNamespaceThatIsTerminating(t *testing.T, versions *metav1.APIVersions) { now := metav1.Now() namespaceName := "test" testNamespacePendingFinalize := &v1.Namespace{ ObjectMeta: metav1.ObjectMeta{ Name: namespaceName, ResourceVersion: "1", DeletionTimestamp: &now, }, Spec: v1.NamespaceSpec{ Finalizers: []v1.FinalizerName{"kubernetes"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 07:34:23 UTC 2023 - 15.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/quota/v1/resources.go
return result } // CalculateUsage calculates and returns the requested ResourceList usage. // If an error is returned, usage only contains the resources which encountered no calculation errors. func CalculateUsage(namespaceName string, scopes []corev1.ResourceQuotaScope, hardLimits corev1.ResourceList, registry Registry, scopeSelector *corev1.ScopeSelector) (corev1.ResourceList, error) { // find the intersection between the hard resources on the quota
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 06 23:11:22 UTC 2021 - 8.7K 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)