Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for attachable (0.13 sec)

  1. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    	attached := asw.GetAttachedVolumes()
    	attachable := false
    
    	for _, volume := range attached {
    		if volume.VolumeName == volumeToCheck {
    			attachable = volume.PluginIsAttachable
    			break
    		}
    	}
    
    	switch expected {
    	case volumeAttachabilityTrue:
    		if !attachable {
    			t.Errorf("ASW reports %s as not-attachable, when %s was expected", volumeToCheck, expected)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    }
    
    // Call AddPodToVolume() on different pods for different kinds of volumes
    // Verities generated names are same for different pods if volume is device mountable or attachable
    // Verities generated names are different for different pods if volume is not device mountble and attachable
    func Test_AddPodToVolume_Positive_NamesForDifferentPodsAndDifferentVolumes(t *testing.T) {
    	// Arrange
    	fakeVolumeHost := volumetesting.NewFakeVolumeHost(t,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model;
    
    import gradlebuild.docs.model.Attachable;
    import gradlebuild.docs.model.ClassMetaDataRepository;
    import org.apache.commons.lang.StringUtils;
    import org.gradle.api.Action;
    import org.gradle.api.Transformer;
    import org.gradle.util.GUtil;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  4. pkg/volume/util/operationexecutor/operation_executor.go

    	// volume to the pod specified in volumeToMount.
    	// Specifically it will:
    	// * Wait for the device to finish attaching (for attachable volumes only).
    	// * Mount device to global mount path (for attachable volumes only).
    	// * Update actual state of world to reflect volume is globally mounted (for
    	//   attachable volumes only).
    	// * Mount the volume to the pod specific path.
    	// * Update actual state of world to reflect volume is mounted to the pod
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/populator/desired_state_of_world_populator.go

    		volumeAttachable := volutil.IsAttachableVolume(volumeToAttach.VolumeSpec, dswp.volumePluginMgr)
    		if !volumeAttachable {
    			logger.Info("Volume changes from attachable to non-attachable", "volumeName", volumeToAttach.VolumeName)
    			for _, scheduledPod := range volumeToAttach.ScheduledPods {
    				podUID := volutil.GetUniquePodName(scheduledPod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. pkg/kubelet/volumemanager/reconciler/reconstruct_common.go

    	// Searching by spec checks whether the volume is actually attachable
    	// (i.e. has a PV) whereas searching by plugin name can only tell whether
    	// the plugin supports attachable volumes.
    	deviceMountablePlugin, err := rc.volumePluginMgr.FindDeviceMountablePluginBySpec(volumeSpec)
    	if err != nil {
    		return nil, err
    	}
    
    	// The unique volume name used depends on whether the volume is attachable/device-mountable
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

            def newRepo = new SimpleClassMetaDataRepository<TestDomainObject>()
            newRepo.load(file)
    
            then:
            newRepo.find('class') == value
        }
    }
    
    class TestDomainObject implements Attachable<TestDomainObject>, Serializable {
        def value
    
        TestDomainObject(String value) {
            this.value = value
        }
    
        @Override
        boolean equals(Object o) {
            return o.value == value
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. pkg/scheduler/metrics/resources/resources_test.go

    								},
    								Limits: v1.ResourceList{
    									"hugepages-x":            resource.MustParse("1"),
    									"hugepages-":             resource.MustParse("2"),
    									"attachable-volumes-aws": resource.MustParse("3"),
    									"attachable-volumes-":    resource.MustParse("4"),
    								},
    							}},
    						},
    					},
    				},
    			},
    			expected: `
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

    import java.util.List;
    import java.util.Map;
    import java.util.TreeMap;
    
    import static org.apache.commons.lang.StringUtils.getLevenshteinDistance;
    
    public class SimpleClassMetaDataRepository<T extends Attachable<T>> implements ClassMetaDataRepository<T> {
        private final Map<String, T> classes = new TreeMap<>();
    
        @SuppressWarnings("unchecked")
        public void load(File repoFile) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4K bytes
    - Viewed (0)
  10. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go

    				attachableVolumePlugin, err := dswp.volumePluginMgr.FindAttachablePluginBySpec(volumeToMount.VolumeSpec)
    				// only this means the plugin is truly non-attachable
    				if err == nil && attachableVolumePlugin == nil {
    					// It is not possible right now for a CSI plugin to be both attachable and non-deviceMountable
    					// So the uniqueVolumeName should remain the same after the attachability change
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top