- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 5,422 for nameslice (0.14 sec)
-
tests/integration/security/main_test.go
SetupParallel( namespace.Setup(&echo1NS, namespace.Config{Prefix: "echo1", Inject: true}), namespace.Setup(&echo2NS, namespace.Config{Prefix: "echo2", Inject: true}), namespace.Setup(&externalNS, namespace.Config{Prefix: "external", Inject: false}), namespace.Setup(&serverNS, namespace.Config{Prefix: "servers", Inject: true})). SetupParallel( jwt.Setup(&jwtServer, namespace.Future(&serverNS)),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 23:04:36 UTC 2024 - 2.7K bytes - Viewed (0) -
pkg/kube/krt/index_test.go
Name: "name2", Namespace: "namespace", }, Status: corev1.PodStatus{PodIP: "1.2.3.5"}, } pc.CreateOrUpdateStatus(pod2) tt.WaitUnordered("add/namespace/name2") assert.Equal(t, Collection.Get(), ptr.Of("namespace/name,namespace/name2")) pc.Delete(pod.Name, pod.Namespace) pc.Delete(pod2.Name, pod2.Namespace) tt.WaitUnordered("delete/namespace/name", "delete/namespace/name2")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/registry/core/namespace/strategy_test.go
} Strategy.PrepareForCreate(ctx, namespace) if namespace.Status.Phase != api.NamespaceActive { t.Errorf("Namespaces do not allow setting phase on create") } if len(namespace.Spec.Finalizers) != 1 || namespace.Spec.Finalizers[0] != api.FinalizerKubernetes { t.Errorf("Prepare For Create should have added kubernetes finalizer") } errs := Strategy.Validate(ctx, namespace) if len(errs) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 07 08:51:17 UTC 2021 - 6K bytes - Viewed (0) -
pilot/pkg/model/authorization.go
Name string `json:"name"` Namespace string `json:"namespace"` Annotations map[string]string `json:"annotations"` Spec *authpb.AuthorizationPolicy `json:"spec"` } func (ap *AuthorizationPolicy) NamespacedName() types.NamespacedName { return types.NamespacedName{Name: ap.Name, Namespace: ap.Namespace} }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util.go
func MakeGroupNames(namespace string) []string { return []string{ AllServiceAccountsGroup, MakeNamespaceGroupName(namespace), } } // MakeNamespaceGroupName returns the name of the group all service accounts in the namespace are included in func MakeNamespaceGroupName(namespace string) string { return ServiceAccountGroupPrefix + namespace }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 05 10:24:31 UTC 2024 - 8.1K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/types.gen.go
Generation: obj.Generation, }, Spec: obj, } }, gvk.Namespace: func(r runtime.Object) config.Config { obj := r.(*k8sioapicorev1.Namespace) return config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.Namespace, Name: obj.Name, Namespace: obj.Namespace, Labels: obj.Labels, Annotations: obj.Annotations,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 62.2K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/authorizationpolicies.yaml
apiVersion: v1 kind: Namespace metadata: name: httpbin labels: istio-injection: "enabled" spec: {} --- apiVersion: v1 kind: Service metadata: name: httpbin namespace: httpbin labels: app: httpbin spec: ports: - name: http port: 8000 targetPort: 80 selector: app: httpbin --- apiVersion: apps/v1 kind: Deployment metadata: name: httpbin namespace: httpbin spec:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 08 14:14:46 UTC 2023 - 7.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/namer.go
type ScopeNamer interface { // Namespace returns the appropriate namespace value from the request (may be empty) or an // error. Namespace(req *http.Request) (namespace string, err error) // Name returns the name from the request, and an optional namespace value if this is a namespace // scoped call. An error is returned if the name is not available. Name(req *http.Request) (namespace, name string, err error)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 14 10:11:56 UTC 2022 - 2.6K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceregistry_test.go
} labels := map[string]string{ "app": "foo", } namespace := "namespace" serviceEntry := config.Config{ Meta: config.Meta{ Name: "service-entry", Namespace: namespace, GroupVersionKind: gvk.ServiceEntry, Domain: "cluster.local", }, Spec: &networking.ServiceEntry{ Hosts: []string{"service.namespace.svc.cluster.local"}, Ports: []*networking.ServicePort{port},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 51.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util_test.go
t.Errorf("%s: Expected to match username", k) } namespace, name, err := SplitUsername(username) if (err != nil) != tc.ExpectedErr { t.Errorf("%s: Expected error=%v, got %v", k, tc.ExpectedErr, err) continue } if err != nil { continue } if namespace != tc.Namespace { t.Errorf("%s: Expected namespace %q, got %q", k, tc.Namespace, namespace) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 21:15:10 UTC 2023 - 7.7K bytes - Viewed (0)