Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for namespace_b (0.18 sec)

  1. pkg/config/validation/validation.go

    			if visibility.Instance(e) == visibility.Private {
    				// substitute this with the current namespace so that we
    				// can check for duplicates like ., namespace
    				key = namespace
    			}
    			if exportToSet.Contains(key) {
    				if key != e {
    					errs = appendErrors(errs, fmt.Errorf("duplicate entries in exportTo: . and current namespace %s", namespace))
    				} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_builder_test.go

    		Resolution: model.ClientSideLB,
    		Attributes: model.ServiceAttributes{
    			Namespace: TestServiceNamespace,
    		},
    	}
    	http2Service := &model.Service{
    		Hostname:   host.Name("foo.default.svc.cluster.local"),
    		Ports:      http2ServicePort,
    		Resolution: model.ClientSideLB,
    		Attributes: model.ServiceAttributes{
    			Namespace: TestServiceNamespace,
    		},
    	}
    
    	cases := []struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    	kl.removeOrphanedPodStatuses(allPods, mirrorPods)
    
    	// Remove orphaned pod user namespace allocations (if any).
    	klog.V(3).InfoS("Clean up orphaned pod user namespace allocations")
    	if err = kl.usernsManager.CleanupOrphanedPodUsernsAllocations(allPods, runningRuntimePods); err != nil {
    		klog.ErrorS(err, "Failed cleaning up orphaned pod user namespaces allocations")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_test.go

    }
    
    func podWithUIDNameNs(uid types.UID, name, namespace string) *v1.Pod {
    	return &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID:         uid,
    			Name:        name,
    			Namespace:   namespace,
    			Annotations: map[string]string{},
    		},
    	}
    }
    
    func podWithUIDNameNsSpec(uid types.UID, name, namespace string, spec v1.PodSpec) *v1.Pod {
    	pod := podWithUIDNameNs(uid, name, namespace)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  5. pkg/kubelet/eviction/helpers_test.go

    // newPodStats returns a pod stat where each container is using the specified working set
    // each pod must have a Name, UID, Namespace
    func newPodStats(pod *v1.Pod, podWorkingSetBytes uint64) statsapi.PodStats {
    	return statsapi.PodStats{
    		PodRef: statsapi.PodReference{
    			Name:      pod.Name,
    			Namespace: pod.Namespace,
    			UID:       string(pod.UID),
    		},
    		Memory: &statsapi.MemoryStats{
    			WorkingSetBytes: &podWorkingSetBytes,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers_test.go

    			expected: []metav1.TableRow{{Cells: []interface{}{"namespace1", "FooStatus", "0s"}}},
    		},
    		// Basic namespace without status or age.
    		{
    			namespace: api.Namespace{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "namespace2",
    				},
    			},
    			// Columns: Name, Status, Age
    			expected: []metav1.TableRow{{Cells: []interface{}{"namespace2", "", "<unknown>"}}},
    		},
    	}
    
    	for i, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  7. pkg/apis/core/zz_generated.deepcopy.go

    func (in *Namespace) DeepCopyInto(out *Namespace) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	in.Status.DeepCopyInto(&out.Status)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace.
    func (in *Namespace) DeepCopy() *Namespace {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    func (in *Namespace) DeepCopyInto(out *Namespace) {
    	*out = *in
    	out.TypeMeta = in.TypeMeta
    	in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
    	in.Spec.DeepCopyInto(&out.Spec)
    	in.Status.DeepCopyInto(&out.Status)
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Namespace.
    func (in *Namespace) DeepCopy() *Namespace {
    	if in == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  9. pkg/printers/internalversion/printers.go

    	}
    	paramName := "<unset>"
    	if pr := obj.Spec.ParamRef; pr != nil {
    		if len(pr.Name) > 0 {
    			if pr.Namespace != "" {
    				paramName = pr.Namespace + "/" + pr.Name
    			} else {
    				// Can't tell from here if param is cluster-scoped, so all
    				// params without names get * namespace
    				paramName = "*/" + pr.Name
    			}
    		} else if pr.Selector != nil {
    			paramName = pr.Selector.String()
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

    using ::int64_t;
    using mlir::func::FuncOp;
    using tensorflow::shape_inference::DimensionHandle;
    using tensorflow::shape_inference::InferenceContext;
    using tensorflow::shape_inference::ShapeHandle;
    
    namespace mlir {
    namespace TF {
    namespace {
    
    // Compute a refined type between two types `lhs` and `rhs`, the result type
    // is always more refined (i.e. has more static information) than `lhs`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top