Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 170 for ObjectReference (0.14 sec)

  1. pkg/controller/garbagecollector/operations.go

    		return schema.GroupVersionResource{}, false, newRESTMappingError(kind, apiVersion)
    	}
    	return mapping.Resource, mapping.Scope == meta.RESTScopeNamespace, nil
    }
    
    func (gc *GarbageCollector) deleteObject(item objectReference, policy *metav1.DeletionPropagation) error {
    	resource, namespaced, err := gc.apiResource(item.APIVersion, item.Kind)
    	if err != nil {
    		return err
    	}
    	uid := item.UID
    	preconditions := metav1.Preconditions{UID: &uid}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 13:37:56 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/graph_builder.go

    func getAlternateOwnerIdentity(deps []*node, verifiedAbsentIdentity objectReference) *objectReference {
    	absentIdentityIsClusterScoped := len(verifiedAbsentIdentity.Namespace) == 0
    
    	seenAlternates := map[objectReference]bool{verifiedAbsentIdentity: true}
    
    	// keep track of the first alternate reference (according to referenceLessThan)
    	var first *objectReference
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. plugin/pkg/admission/eventratelimit/admission_test.go

    			sourceAndObjectBurst:     1,
    			sourceAndObjectCacheSize: 10,
    			requests: createSourceAndObjectKeyInclusionRequests(func(label string) *api.Event {
    				return &api.Event{InvolvedObject: api.ObjectReference{Kind: label}}
    			}),
    		},
    		{
    			name:                     "involved object namespace should be included in source+object key",
    			serverBurst:              100,
    			sourceAndObjectBurst:     1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 17 13:19:08 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  4. pkg/controller/endpoint/endpoints_controller_test.go

    		Addresses: []v1.EndpointAddress{
    			{IP: "1.2.3.4", NodeName: &emptyNodeName, TargetRef: &v1.ObjectReference{Kind: "Pod", Name: "pod0", Namespace: ns}},
    			{IP: "1.2.3.5", NodeName: &emptyNodeName, TargetRef: &v1.ObjectReference{Kind: "Pod", Name: "pod1", Namespace: ns}},
    			{IP: "1.2.3.6", NodeName: &emptyNodeName, TargetRef: &v1.ObjectReference{Kind: "Pod", Name: "pod2", Namespace: ns}},
    		},
    		Ports: []v1.EndpointPort{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/node_container_manager_linux.go

    		return fmt.Errorf("invalid Node Allocatable configuration. %s", strings.Join(errors, " "))
    	}
    	return nil
    }
    
    // Using ObjectReference for events as the node maybe not cached; refer to #42701 for detail.
    func nodeRefFromNode(nodeName string) *v1.ObjectReference {
    	return &v1.ObjectReference{
    		Kind:      "Node",
    		Name:      nodeName,
    		UID:       types.UID(nodeName),
    		Namespace: "",
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. pkg/apis/events/v1/zz_generated.conversion.go

    	out.ReportingInstance = in.ReportingInstance
    	out.Action = in.Action
    	out.Reason = in.Reason
    	// WARNING: in.Regarding requires manual conversion: does not exist in peer-type
    	out.Related = (*core.ObjectReference)(unsafe.Pointer(in.Related))
    	// WARNING: in.Note requires manual conversion: does not exist in peer-type
    	out.Type = in.Type
    	// WARNING: in.DeprecatedSource requires manual conversion: does not exist in peer-type
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  7. pkg/apis/events/v1beta1/zz_generated.conversion.go

    	out.ReportingInstance = in.ReportingInstance
    	out.Action = in.Action
    	out.Reason = in.Reason
    	// WARNING: in.Regarding requires manual conversion: does not exist in peer-type
    	out.Related = (*core.ObjectReference)(unsafe.Pointer(in.Related))
    	// WARNING: in.Note requires manual conversion: does not exist in peer-type
    	out.Type = in.Type
    	// WARNING: in.DeprecatedSource requires manual conversion: does not exist in peer-type
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  8. pkg/registry/core/pod/storage/storage_test.go

    				Target:     api.ObjectReference{},
    			},
    			errOK: func(err error) bool { return err != nil },
    		},
    		"badNameInURL": {
    			binding: api.Binding{
    				ObjectMeta: metav1.ObjectMeta{Namespace: metav1.NamespaceDefault, Name: "foo"},
    				Target:     api.ObjectReference{},
    			},
    			badNameInURL: true,
    			errOK:        func(err error) bool { return err != nil },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 07:18:44 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  9. pkg/kubelet/oom/types.go

    limitations under the License.
    */
    
    package oom
    
    import v1 "k8s.io/api/core/v1"
    
    // Watcher defines the interface of OOM watchers.
    type Watcher interface {
    	Start(ref *v1.ObjectReference) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 08:00:07 UTC 2019
    - 731 bytes
    - Viewed (0)
  10. pkg/kubelet/oom/oom_watcher_unsupported.go

    // NewWatcher creates a fake one here
    func NewWatcher(_ record.EventRecorder) (Watcher, error) {
    	return &oomWatcherUnsupported{}, nil
    }
    
    func (ow *oomWatcherUnsupported) Start(_ *v1.ObjectReference) error {
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 993 bytes
    - Viewed (0)
Back to top