Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for myattacher (0.27 sec)

  1. pkg/apis/storage/validation/validation_test.go

    		Spec: storage.VolumeAttachmentSpec{
    			Attacher: "myattacher",
    			Source: storage.VolumeAttachmentSource{
    				PersistentVolumeName: &volumeName,
    			},
    			NodeName: "mynode",
    		},
    	}, {
    		ObjectMeta: metav1.ObjectMeta{Name: "foo-with-inlinespec"},
    		Spec: storage.VolumeAttachmentSpec{
    			Attacher: "myattacher",
    			Source: storage.VolumeAttachmentSource{
    				InlineVolumeSpec: &inlineSpec,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 69.7K bytes
    - Viewed (0)
  2. pkg/volume/csi/csi_attacher_test.go

    	// Setup
    	// Create a new attacher
    	fakeClient := fakeclient.NewSimpleClientset()
    	plug, tmpDir := newTestPlugin(t, fakeClient)
    	defer os.RemoveAll(tmpDir)
    	attacher, err0 := plug.NewAttacher()
    	if err0 != nil {
    		t.Fatalf("failed to create new attacher: %v", err0)
    	}
    	csiAttacher := getCsiAttacherFromVolumeAttacher(attacher, testWatchTimeout)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  3. pkg/volume/testing/testing.go

    // a zero AttachCallCount. Otherwise it returns an error.
    func VerifyZeroAttachCalls(fakeVolumePlugin *FakeVolumePlugin) error {
    	for _, attacher := range fakeVolumePlugin.GetAttachers() {
    		actualCallCount := attacher.GetAttachCallCount()
    		if actualCallCount != 0 {
    			return fmt.Errorf(
    				"At least one attacher has non-zero AttachCallCount: <%v>.",
    				actualCallCount)
    		}
    	}
    
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/storage/v1alpha1/generated.pb.go

    		if err != nil {
    			return 0, err
    		}
    		i -= size
    		i = encodeVarintGenerated(dAtA, i, uint64(size))
    	}
    	i--
    	dAtA[i] = 0x12
    	i -= len(m.Attacher)
    	copy(dAtA[i:], m.Attacher)
    	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Attacher)))
    	i--
    	dAtA[i] = 0xa
    	return len(dAtA) - i, nil
    }
    
    func (m *VolumeAttachmentStatus) Marshal() (dAtA []byte, err error) {
    	size := m.Size()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 76.5K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    		func() (bool, error) {
    			for i, attacher := range fakePlugin.GetAttachers() {
    				actualCallCount := attacher.GetAttachCallCount()
    				if actualCallCount == expectedAttachCallCount {
    					return true, nil
    				}
    				t.Logf(
    					"Warning: Wrong attacher[%v].GetAttachCallCount(). Expected: <%v> Actual: <%v>. Will try next attacher.",
    					i,
    					expectedAttachCallCount,
    					actualCallCount)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  6. pkg/volume/csi/csi_mounter_test.go

    			attachment := &storage.VolumeAttachment{
    				ObjectMeta: meta.ObjectMeta{
    					Name: attachID,
    				},
    				Spec: storage.VolumeAttachmentSpec{
    					NodeName: "test-node",
    					Attacher: CSIPluginName,
    					Source: storage.VolumeAttachmentSource{
    						PersistentVolumeName: &pvName,
    					},
    				},
    				Status: storage.VolumeAttachmentStatus{
    					Attached:    false,
    					AttachError: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.3.md

        * Specifically the new controller watches the API server for scheduled pods. It processes each pod and ensures that any volumes that implement the volume Attacher interface are attached to the node their pod is scheduled to.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 84K bytes
    - Viewed (0)
Back to top