- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for MyNamespace (0.19 sec)
-
pkg/kubelet/config/common_test.go
pod := &v1.Pod{ TypeMeta: metav1.TypeMeta{ APIVersion: "", }, ObjectMeta: metav1.ObjectMeta{ Name: "test", UID: "12345", Namespace: "mynamespace", }, Spec: v1.PodSpec{ RestartPolicy: v1.RestartPolicyAlways, DNSPolicy: v1.DNSClusterFirst, TerminationGracePeriodSeconds: &grace, Containers: []v1.Container{{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 8.7K bytes - Viewed (0) -
pilot/pkg/model/sidecar_test.go
Name: "sidecar-scope-with-workloadselector-specific-dr-match", Namespace: "mynamespace", Labels: map[string]string{"app": "app2"}, }, Spec: &networking.Sidecar{}, } configs19 = &config.Config{ Meta: config.Meta{ Name: "sidecar-scope-with-workloadselector-specific-dr-no-match", Namespace: "mynamespace", Labels: map[string]string{"app": "app5"}, }, Spec: &networking.Sidecar{},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 07 09:38:49 UTC 2024 - 74.3K bytes - Viewed (0) -
pkg/config/analysis/analyzers/schema/validation_test.go
func (fakeOrigin) FriendlyName() string { return "myFriendlyName" } func (fakeOrigin) Comparator() string { return "myFriendlyName" } func (fakeOrigin) Namespace() resource.Namespace { return "myNamespace" } func (fakeOrigin) Reference() resource.Reference { return fakeReference{} } func (fakeOrigin) FieldMap() map[string]int { return make(map[string]int) } func (fakeOrigin) ClusterName() cluster.ID { return "cluster"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/testing/testvolumespec.go
extraPods = &v1.PodList{} fakeClient.AddReactor("list", "pods", func(action core.Action) (handled bool, ret runtime.Object, err error) { obj := &v1.PodList{} podNamePrefix := "mypod" namespace := "mynamespace" for i := 0; i < 5; i++ { podName := fmt.Sprintf("%s-%d", podNamePrefix, i) pod := v1.Pod{ Status: v1.PodStatus{ Phase: v1.PodRunning, }, ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 17 08:48:30 UTC 2023 - 16.5K bytes - Viewed (0) -
pkg/scheduler/util/assumecache/assume_cache_test.go
objAccessor, err := meta.Accessor(obj) if err != nil { return nil, err } return []string{objAccessor.GetNamespace()}, nil } tCtx, cache, informer := newTestWithIndexer(t, "myNamespace", namespaceIndexer) // Add a bunch of objects. ns := "ns1" objs := make([]interface{}, 0, 10) for i := 0; i < 10; i++ { obj := makeObj(fmt.Sprintf("test-pvc%v", i), "1", ns) objs = append(objs, obj)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 9.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go
APIVersion: "v1", Kind: "ConfigMap", }, ObjectMeta: metav1.ObjectMeta{ Name: "replicas-test.example.com", Namespace: "mynamespace", ResourceVersion: "1", }, Data: map[string]string{ "coolkey": "mynamespace", }, } configMapParam3 := &v1.ConfigMap{ TypeMeta: metav1.TypeMeta{ APIVersion: "v1", Kind: "ConfigMap", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 01:39:01 UTC 2024 - 63.8K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
ParentRef: &networking.ParentReference{ Group: "mygroup", Resource: "myresource", Namespace: "mynamespace", Name: "myname", }, }, } // Columns: Name, ParentRef, Age expected := []metav1.TableRow{{Cells: []interface{}{"192.168.2.2", "myresource.mygroup/mynamespace/myname", "10y"}}} rows, err := printIPAddress(&ip, printers.GenerateOptions{}) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
pilot/pkg/model/sidecar.go
// If there are more than one, pick the first alphabetically. func pickFirstVisibleNamespace(ps *PushContext, byNamespace map[string]*Service, configNamespace string) string { nss := make([]string, 0, len(byNamespace)) for ns := range byNamespace { if ps.IsServiceVisible(byNamespace[ns], configNamespace) { nss = append(nss, ns) } } if len(nss) > 0 { sort.Strings(nss) return nss[0]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 20:32:23 UTC 2024 - 38.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go
} var lister cache.GenericNamespaceLister = informer.Lister() if scope == meta.RESTScopeNamespace { lister = informer.Lister().ByNamespace(objectMeta.GetNamespace()) } fetched, err := lister.Get(objectMeta.GetName()) if err != nil { if errors.IsNotFound(err) { return false, nil } return true, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 19K bytes - Viewed (0) -
pkg/apis/flowcontrol/types.go
// is dedicated to a tenant. FlowDistinguisherMethodByNamespaceType FlowDistinguisherMethodType = "ByNamespace" ) // FlowDistinguisherMethod specifies the method of a flow distinguisher. type FlowDistinguisherMethod struct { // `type` is the type of flow distinguisher method // The supported types are "ByUser" and "ByNamespace". // Required. Type FlowDistinguisherMethodType }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 22:22:51 UTC 2023 - 24.3K bytes - Viewed (0)