Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 222 for recordDef (0.2 sec)

  1. src/cmd/compile/internal/types2/builtins_test.go

    	}
    	if n != 1 {
    		t.Errorf("%s: got %d CallExprs; want 1", src0, n)
    		return
    	}
    
    	// check recorded types for fun and descendents (may be parenthesized)
    	for {
    		// the recorded type for the built-in must match the wanted signature
    		typ := types[fun].Type
    		if typ == nil {
    			t.Errorf("%s: no type recorded for %s", src0, ExprString(fun))
    			return
    		}
    		if got := typ.String(); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/storageversion/manager.go

    type Manager interface {
    	// AddResourceInfo records resources whose StorageVersions need updates
    	AddResourceInfo(resources ...*ResourceInfo)
    	// UpdateStorageVersions tries to update the StorageVersions of the recorded resources
    	UpdateStorageVersions(kubeAPIServerClientConfig *rest.Config, apiserverID string)
    	// PendingUpdate returns true if the StorageVersion of the given resource is still pending update.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 17:47:19 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  3. pkg/kubelet/eviction/eviction_manager.go

    		killPodFunc:                   killPodFunc,
    		imageGC:                       imageGC,
    		containerGC:                   containerGC,
    		config:                        config,
    		recorder:                      recorder,
    		summaryProvider:               summaryProvider,
    		nodeRef:                       nodeRef,
    		nodeConditionsLastObservedAt:  nodeConditionsObservedAt{},
    		thresholdsFirstObservedAt:     thresholdsObservedAt{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 18:55:56 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/audit/types.go

    	// error responses, this will be auto-populated with the error Message.
    	// +optional
    	ResponseStatus *metav1.Status
    
    	// API object from the request, in JSON format. The RequestObject is recorded as-is in the request
    	// (possibly re-encoded as JSON), prior to version conversion, defaulting, admission or
    	// merging. It is an external versioned object type, and may not be a valid object on its own.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 09:18:23 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/container_manager_linux.go

    	// Absolute cgroupfs path to a cgroup that Kubelet needs to place all pods under.
    	// This path include a top level container for enforcing Node Allocatable.
    	cgroupRoot CgroupName
    	// Event recorder interface.
    	recorder record.EventRecorder
    	// Interface for QoS cgroup management
    	qosContainerManager QOSContainerManager
    	// Interface for exporting and allocating devices reported by device plugins.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go

    	"k8s.io/apiserver/pkg/endpoints/request"
    	"k8s.io/apiserver/pkg/endpoints/responsewriter"
    	"k8s.io/klog/v2"
    )
    
    type recorder struct {
    	lock  sync.Mutex
    	count int
    }
    
    func (r *recorder) Record() {
    	r.lock.Lock()
    	defer r.lock.Unlock()
    	r.count++
    }
    
    func (r *recorder) Count() int {
    	r.lock.Lock()
    	defer r.lock.Unlock()
    	return r.count
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. pkg/controller/disruption/disruption.go

    	if err != nil {
    		dc.recorder.Eventf(pdb, v1.EventTypeWarning, "NoPods", "Failed to get pods: %v", err)
    		return err
    	}
    	if len(pods) == 0 {
    		dc.recorder.Eventf(pdb, v1.EventTypeNormal, "NoPods", "No matching pods found")
    	}
    
    	expectedCount, desiredHealthy, unmanagedPods, err := dc.getExpectedPodCount(ctx, pdb, pods)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.1K bytes
    - Viewed (0)
  8. pkg/controller/controller_utils.go

    			logger.V(4).Info("Pod has already been deleted.", "pod", klog.KRef(namespace, podID))
    			return err
    		}
    		r.Recorder.Eventf(object, v1.EventTypeWarning, FailedDeletePodReason, "Error deleting: %v", err)
    		return fmt.Errorf("unable to delete pods: %v", err)
    	}
    	r.Recorder.Eventf(object, v1.EventTypeNormal, SuccessfulDeletePodReason, "Deleted pod: %v", podID)
    
    	return nil
    }
    
    type FakePodControl struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 12 15:34:44 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  9. pkg/controller/nodeipam/ipam/sync/sync.go

    )
    
    const (
    	// InvalidPodCIDR is the event recorded when a node is found with an
    	// invalid PodCIDR.
    	InvalidPodCIDR = "CloudCIDRAllocatorInvalidPodCIDR"
    	// InvalidModeEvent is the event recorded when the CIDR range cannot be
    	// sync'd due to the cluster running in the wrong mode.
    	InvalidModeEvent = "CloudCIDRAllocatorInvalidMode"
    	// MismatchEvent is the event recorded when the CIDR range allocated in the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 07:50:01 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  10. src/go/types/builtins_test.go

    	}
    	if n != 1 {
    		t.Errorf("%s: got %d CallExprs; want 1", src0, n)
    		return
    	}
    
    	// check recorded types for fun and descendents (may be parenthesized)
    	for {
    		// the recorded type for the built-in must match the wanted signature
    		typ := types[fun].Type
    		if typ == nil {
    			t.Errorf("%s: no type recorded for %s", src0, ExprString(fun))
    			return
    		}
    		if got := typ.String(); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top