Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for controllerrevisions (0.37 sec)

  1. pkg/controller/statefulset/stateful_set_control_test.go

    func TestStatefulSetControl_getSetRevisions(t *testing.T) {
    	type testcase struct {
    		name            string
    		existing        []*apps.ControllerRevision
    		set             *apps.StatefulSet
    		expectedCount   int
    		expectedCurrent *apps.ControllerRevision
    		expectedUpdate  *apps.ControllerRevision
    		err             bool
    	}
    
    	testFn := func(test *testcase, t *testing.T) {
    		client := fake.NewSimpleClientset()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  2. pkg/controller/daemon/daemon_controller_test.go

    		podStore.Add(pod)
    	}
    }
    
    func newControllerRevision(name string, namespace string, label map[string]string,
    	ownerReferences []metav1.OwnerReference) *apps.ControllerRevision {
    	return &apps.ControllerRevision{
    		TypeMeta: metav1.TypeMeta{APIVersion: "apps/v1"},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:            name,
    			Labels:          label,
    			Namespace:       namespace,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apps/v1beta1/generated.pb.go

    func (m *ControllerRevision) Reset()      { *m = ControllerRevision{} }
    func (*ControllerRevision) ProtoMessage() {}
    func (*ControllerRevision) Descriptor() ([]byte, []int) {
    	return fileDescriptor_2747f709ac7c95e7, []int{0}
    }
    func (m *ControllerRevision) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ControllerRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/apps/v1/generated.pb.go

    func (m *ControllerRevision) Reset()      { *m = ControllerRevision{} }
    func (*ControllerRevision) ProtoMessage() {}
    func (*ControllerRevision) Descriptor() ([]byte, []int) {
    	return fileDescriptor_5b781835628d5338, []int{0}
    }
    func (m *ControllerRevision) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ControllerRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 217.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1beta2/generated.pb.go

    func (m *ControllerRevision) Reset()      { *m = ControllerRevision{} }
    func (*ControllerRevision) ProtoMessage() {}
    func (*ControllerRevision) Descriptor() ([]byte, []int) {
    	return fileDescriptor_c423c016abf485d4, []int{0}
    }
    func (m *ControllerRevision) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *ControllerRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  6. pkg/apis/apps/validation/validation_test.go

    			}
    		})
    	}
    }
    
    func TestValidateControllerRevision(t *testing.T) {
    	newControllerRevision := func(name, namespace string, data runtime.Object, revision int64) apps.ControllerRevision {
    		return apps.ControllerRevision{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      name,
    				Namespace: namespace,
    			},
    			Data:     data,
    			Revision: revision,
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers_test.go

    		t.Errorf("mismatch: %s", cmp.Diff(expectedRows, rows))
    	}
    }
    
    func TestPrintControllerRevision(t *testing.T) {
    	tests := []struct {
    		history  apps.ControllerRevision
    		expected []metav1.TableRow
    	}{
    		{
    			history: apps.ControllerRevision{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "test1",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  8. pkg/printers/internalversion/printers.go

    		{Name: "Controller", Type: "string", Description: "Controller of the object"},
    		{Name: "Revision", Type: "string", Description: appsv1beta1.ControllerRevision{}.SwaggerDoc()["revision"]},
    		{Name: "Age", Type: "string", Description: metav1.ObjectMeta{}.SwaggerDoc()["creationTimestamp"]},
    	}
    	_ = h.TableHandler(controllerRevisionColumnDefinition, printControllerRevision)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top