Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 170 for ObjectReference (0.29 sec)

  1. pkg/controller/endpointslicemirroring/utils_test.go

    func TestAddressToEndpoint(t *testing.T) {
    	//name: "simple + gate enabled",
    	epAddress := v1.EndpointAddress{
    		IP:       "10.1.2.3",
    		Hostname: "foo",
    		NodeName: pointer.String("node-abc"),
    		TargetRef: &v1.ObjectReference{
    			APIVersion: "v1",
    			Kind:       "Pod",
    			Namespace:  "default",
    			Name:       "foo",
    		},
    	}
    	ready := true
    	expectedEndpoint := discovery.Endpoint{
    		Addresses: []string{"10.1.2.3"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 23 15:40:23 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/events/v1beta1/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.3K bytes
    - Viewed (0)
  3. pkg/apis/batch/v1beta1/zz_generated.conversion.go

    }
    
    func autoConvert_v1beta1_CronJobStatus_To_batch_CronJobStatus(in *v1beta1.CronJobStatus, out *batch.CronJobStatus, s conversion.Scope) error {
    	out.Active = *(*[]core.ObjectReference)(unsafe.Pointer(&in.Active))
    	out.LastScheduleTime = (*v1.Time)(unsafe.Pointer(in.LastScheduleTime))
    	out.LastSuccessfulTime = (*v1.Time)(unsafe.Pointer(in.LastSuccessfulTime))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 20:39:47 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. pkg/registry/core/serviceaccount/storage/storage_test.go

    func validNewServiceAccount(name string) *api.ServiceAccount {
    	return &api.ServiceAccount{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			Namespace: metav1.NamespaceDefault,
    		},
    		Secrets: []api.ObjectReference{},
    	}
    }
    
    func TestCreate(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/events/v1beta1/types.go

    	// it acts on some changes in a ReplicaSet object.
    	// +optional
    	Regarding corev1.ObjectReference `json:"regarding,omitempty" protobuf:"bytes,8,opt,name=regarding"`
    
    	// related is the optional secondary object for more complex actions. E.g. when regarding object triggers
    	// a creation or deletion of related object.
    	// +optional
    	Related *corev1.ObjectReference `json:"related,omitempty" protobuf:"bytes,9,opt,name=related"`
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 03 11:06:50 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  6. pkg/proxy/kubemark/hollow_proxy.go

    				OOMScoreAdj:      ptr.To[int32](0),
    			},
    
    			Client:      client,
    			Proxier:     &FakeProxier{},
    			Broadcaster: broadcaster,
    			Recorder:    recorder,
    			NodeRef: &v1.ObjectReference{
    				Kind:      "Node",
    				Name:      nodeName,
    				UID:       types.UID(nodeName),
    				Namespace: "",
    			},
    		},
    	}
    }
    
    func (hp *HollowProxy) Run() error {
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/defaultbinder/default_binder_test.go

    		injectErr   error
    		wantBinding *v1.Binding
    	}{
    		{
    			name: "successful",
    			wantBinding: &v1.Binding{
    				ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: "foo"},
    				Target:     v1.ObjectReference{Kind: "Node", Name: testNode},
    			},
    		}, {
    			name:      "binding error",
    			injectErr: errors.New("binding error"),
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 23 02:17:34 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/generated.proto

      // An empty list implies that every instance of the resource is matched.
      // +optional
      // +listType=atomic
      repeated string resourceNames = 3;
    }
    
    // ObjectReference contains enough information to let you inspect or modify the referred object.
    message ObjectReference {
      // +optional
      optional string resource = 1;
    
      // +optional
      optional string namespace = 2;
    
      // +optional
      optional string name = 3;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. pkg/kubelet/network/dns/dns_test.go

    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    		strings.Repeat("A", 127),
    	}
    
    	recorder := record.NewFakeRecorder(20)
    	nodeRef := &v1.ObjectReference{
    		Kind:      "Node",
    		Name:      string("testNode"),
    		UID:       types.UID("testNode"),
    		Namespace: "",
    	}
    	testClusterDNSDomain := "TEST"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  10. 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)
Back to top