Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 67 for ObjectReference (0.19 sec)

  1. pkg/controller/tainteviction/taint_eviction.go

    	}
    }
    
    func (tc *Controller) emitPodDeletionEvent(nsName types.NamespacedName) {
    	if tc.recorder == nil {
    		return
    	}
    	ref := &v1.ObjectReference{
    		APIVersion: "v1",
    		Kind:       "Pod",
    		Name:       nsName.Name,
    		Namespace:  nsName.Namespace,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. pkg/controller/testutil/test_utils.go

    		f.Events = append(f.Events, event)
    	}
    }
    
    func (f *FakeRecorder) makeEvent(ref *v1.ObjectReference, eventtype, reason, message string) *v1.Event {
    	t := metav1.Time{Time: f.clock.Now()}
    	namespace := ref.Namespace
    	if namespace == "" {
    		namespace = metav1.NamespaceDefault
    	}
    
    	clientref := v1.ObjectReference{
    		Kind:            ref.Kind,
    		Namespace:       ref.Namespace,
    		Name:            ref.Name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. pkg/controller/endpoint/endpoints_controller.go

    // but excludes ResourceVersion of ObjectReference. They are used when comparing
    // endpoints in Endpoints and EndpointSlice objects to avoid unnecessary updates
    // caused by Pod resourceVersion change.
    var semanticIgnoreResourceVersion = conversion.EqualitiesOrDie(
    	func(a, b v1.ObjectReference) bool {
    		a.ResourceVersion = ""
    		b.ResourceVersion = ""
    		return a == b
    	},
    )
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. pkg/kubelet/network/dns/dns.go

    type Configurer struct {
    	recorder         record.EventRecorder
    	getHostDNSConfig func(string) (*runtimeapi.DNSConfig, error)
    	nodeRef          *v1.ObjectReference
    	nodeIPs          []net.IP
    
    	// If non-nil, use this for container DNS server.
    	clusterDNS []net.IP
    	// If non-empty, use this for container DNS search.
    	ClusterDomain string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 04 11:37:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/saved_model/core/saved_model_utils.cc

        auto child_node_iter = std::find_if(
            current_node->children().begin(), current_node->children().end(),
            [object_name](
                const TrackableObjectGraph::TrackableObject::ObjectReference& obj) {
              return object_name == obj.local_name();
            });
        if (child_node_iter == current_node->children().end()) {
          return absl::nullopt;
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 19:17:46 UTC 2023
    - 24K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/endpointslice.go

    //     correctness and security.
    //
    // Note: this is only used by endpointslice controller
    func getPod(c *Controller, ip string, ep *metav1.ObjectMeta, targetRef *corev1.ObjectReference, host host.Name) (*corev1.Pod, bool) {
    	var expectPod bool
    	pod := c.getPod(ip, ep.Namespace, targetRef)
    	if targetRef != nil && targetRef.Kind == "Pod" {
    		expectPod = true
    		if pod == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. pkg/kubelet/images/image_gc_manager.go

    	statsProvider StatsProvider
    
    	// Recorder for Kubernetes events.
    	recorder record.EventRecorder
    
    	// Reference to this node.
    	nodeRef *v1.ObjectReference
    
    	// imageCache is the cache of latest image list.
    	imageCache imageCache
    
    	// tracer for recording spans
    	tracer trace.Tracer
    }
    
    // imageCache caches latest result of ListImages.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. pkg/controlplane/reconcilers/endpointsadapter_test.go

    			Port:     &endpointPort.Port,
    			Protocol: &endpointPort.Protocol,
    		})
    	}
    
    	for i, address := range addresses {
    		endpointAddress := corev1.EndpointAddress{
    			IP: address,
    			TargetRef: &corev1.ObjectReference{
    				Kind: "Pod",
    				Name: fmt.Sprintf("pod-%d", i),
    			},
    		}
    
    		subset.Addresses = append(subset.Addresses, endpointAddress)
    
    		epSlice.Endpoints = append(epSlice.Endpoints, discovery.Endpoint{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. pkg/kubelet/eviction/eviction_manager.go

    	// captures when a node condition was last observed based on a threshold being met
    	nodeConditionsLastObservedAt nodeConditionsObservedAt
    	// nodeRef is a reference to the node
    	nodeRef *v1.ObjectReference
    	// used to record events about the node
    	recorder record.EventRecorder
    	// used to measure usage stats on system
    	summaryProvider stats.SummaryProvider
    	// records when a threshold was first observed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 18:55:56 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. pkg/volume/iscsi/iscsi_test.go

    					TargetPortal: "127.0.0.1:3260",
    					IQN:          "iqn.2014-12.server:storage.target01",
    					FSType:       "ext4",
    					Lun:          0,
    				},
    			},
    			ClaimRef: &v1.ObjectReference{
    				Name: "claimA",
    			},
    		},
    	}
    
    	claim := &v1.PersistentVolumeClaim{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "claimA",
    			Namespace: "nsA",
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 16.4K bytes
    - Viewed (0)
Back to top