Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 170 for ObjectReference (0.29 sec)

  1. common-protos/k8s.io/api/events/v1/generated.proto

      // it acts on some changes in a ReplicaSet object.
      // +optional
      optional k8s.io.api.core.v1.ObjectReference regarding = 8;
    
      // related is the optional secondary object for more complex actions. E.g. when regarding object triggers
      // a creation or deletion of related object.
      // +optional
      optional k8s.io.api.core.v1.ObjectReference related = 9;
    
      // note is a human-readable description of the status of this operation.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/events/v1/generated.proto

      // it acts on some changes in a ReplicaSet object.
      // +optional
      optional .k8s.io.api.core.v1.ObjectReference regarding = 8;
    
      // related is the optional secondary object for more complex actions. E.g. when regarding object triggers
      // a creation or deletion of related object.
      // +optional
      optional .k8s.io.api.core.v1.ObjectReference related = 9;
    
      // note is a human-readable description of the status of this operation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

    		syncNodeStatus = func() {}
    		nodeRef        = &v1.ObjectReference{Kind: "Node", Name: "test", UID: types.UID("test"), Namespace: ""}
    		fakeclock      = testingclock.NewFakeClock(time.Now())
    	)
    
    	type fields struct {
    		recorder                         record.EventRecorder
    		nodeRef                          *v1.ObjectReference
    		probeManager                     prober.Manager
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. pkg/controller/endpointslice/endpointslice_controller_test.go

    	assert.Len(t, slice.Endpoints, 1, "Expected 1 endpoint in first slice")
    	assert.NotEmpty(t, slice.Annotations[v1.EndpointsLastChangeTriggerTime])
    	endpoint := slice.Endpoints[0]
    	assert.EqualValues(t, endpoint.TargetRef, &v1.ObjectReference{Kind: "Pod", Namespace: ns, Name: pod1.Name})
    }
    
    func TestSyncServiceEndpointSlicePendingDeletion(t *testing.T) {
    	client, esController := newController(t, []string{"node-1"}, time.Duration(0))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  5. pkg/registry/core/serviceaccount/strategy.go

    	cleanSecretReferences(obj.(*api.ServiceAccount))
    }
    
    func cleanSecretReferences(serviceAccount *api.ServiceAccount) {
    	for i, secret := range serviceAccount.Secrets {
    		serviceAccount.Secrets[i] = api.ObjectReference{Name: secret.Name}
    	}
    }
    
    func (strategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList {
    	return validation.ValidateServiceAccountUpdate(obj.(*api.ServiceAccount), old.(*api.ServiceAccount))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 18 14:42:36 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/types.go

    	// +optional
    	// +listType=atomic
    	ResourceNames []string `json:"resourceNames,omitempty" protobuf:"bytes,3,rep,name=resourceNames"`
    }
    
    // ObjectReference contains enough information to let you inspect or modify the referred object.
    type ObjectReference struct {
    	// +optional
    	Resource string `json:"resource,omitempty" protobuf:"bytes,1,opt,name=resource"`
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:24:10 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/util/util_test.go

    	nodeName    = kubetypes.NodeName(testNodeName)
    	hostPath    = &v1.HostPathVolumeSource{
    		Path: socketPath,
    		Type: &dirOrCreate,
    	}
    	migratedObjectReference    = v1.ObjectReference{Namespace: "default", Name: "migrated-pvc"}
    	nonMigratedObjectReference = v1.ObjectReference{Namespace: "default", Name: "non-migrated-pvc"}
    	fsVolumeMode               = new(v1.PersistentVolumeMode)
    )
    
    type vaTest struct {
    	desc                 string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 12 05:42:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/index_test.go

    	ebs.Spec.ClaimRef = &v1.ObjectReference{}
    	claim.Spec.AccessModes = []v1.PersistentVolumeAccessMode{v1.ReadWriteOnce}
    	volume, _ = index.findBestMatchForClaim(claim, false)
    	if volume.Name != gce.Name {
    		t.Errorf("Expected %s but got volume %s instead", gce.Name, volume.Name)
    	}
    
    	// continue up the levels of modes.
    	gce.Spec.ClaimRef = &v1.ObjectReference{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/audit/request.go

    			ev.User.Extra[k] = authnv1.ExtraValue(v)
    		}
    		ev.User.Groups = user.GetGroups()
    		ev.User.UID = user.GetUID()
    	}
    
    	if attribs.IsResourceRequest() {
    		ev.ObjectRef = &auditinternal.ObjectReference{
    			Namespace:   attribs.GetNamespace(),
    			Name:        attribs.GetName(),
    			Resource:    attribs.GetResource(),
    			Subresource: attribs.GetSubresource(),
    			APIGroup:    attribs.GetAPIGroup(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/audit/types.go

    	// An empty list implies that every instance of the resource is matched.
    	// +optional
    	ResourceNames []string
    }
    
    // ObjectReference contains enough information to let you inspect or modify the referred object.
    type ObjectReference struct {
    	// +optional
    	Resource string
    	// +optional
    	Namespace string
    	// +optional
    	Name string
    	// +optional
    	UID types.UID
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 09:18:23 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top