Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for attachable (0.15 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/Attachable.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.model;
    
    public interface Attachable<T> {
        void attach(ClassMetaDataRepository<T> repository);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 740 bytes
    - Viewed (0)
  2. pkg/volume/util/attach_limit.go

    	AzureVolumeLimitKey = "attachable-volumes-azure-disk"
    	// GCEVolumeLimitKey stores resource name that will store volume limits for GCE node
    	GCEVolumeLimitKey = "attachable-volumes-gce-pd"
    
    	// CinderVolumeLimitKey contains Volume limit key for Cinder
    	CinderVolumeLimitKey = "attachable-volumes-cinder"
    	// DefaultMaxCinderVolumes defines the maximum number of PD Volumes for Cinder
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 17:25:30 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  3. pkg/volume/util/attach_limit_test.go

    )
    
    func TestGetCSIAttachLimitKey(t *testing.T) {
    	// When driverName is less than 39 characters
    	csiLimitKey := GetCSIAttachLimitKey("com.amazon.ebs")
    	if csiLimitKey != "attachable-volumes-csi-com.amazon.ebs" {
    		t.Errorf("Expected com.amazon.ebs got %s", csiLimitKey)
    	}
    
    	// When driver is longer than 39 chars
    	longDriverName := "com.amazon.kubernetes.eks.ec2.ebs/csi-driver"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 05 16:29:00 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  4. pkg/kubelet/volumemanager/reconciler/reconstruct.go

    		return
    	}
    
    	for _, volumeID := range rc.volumesNeedUpdateFromNodeStatus {
    		attachable := false
    		for _, attachedVolume := range node.Status.VolumesAttached {
    			if volumeID != attachedVolume.Name {
    				continue
    			}
    			rc.actualStateOfWorld.UpdateReconstructedDevicePath(volumeID, attachedVolume.DevicePath)
    			attachable = true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:23:12 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. pkg/volume/csi/csi_util_test.go

    		Name: name,
    		VolumeSource: api.VolumeSource{
    			CSI: &api.CSIVolumeSource{
    				Driver:   driverName,
    				ReadOnly: &ro,
    			},
    		},
    	}
    }
    
    func getTestCSIDriver(name string, podInfoMount *bool, attachable *bool, volumeLifecycleModes []storagev1.VolumeLifecycleMode) *storagev1.CSIDriver {
    	defaultFSGroupPolicy := storagev1.ReadWriteOnceWithFSTypeFSGroupPolicy
    	seLinuxMountSupport := true
    	noSElinuxMountSupport := false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 14:49:03 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

    import gradlebuild.docs.model.Attachable;
    import gradlebuild.docs.model.ClassMetaDataRepository;
    import org.gradle.util.CollectionUtils;
    
    import java.io.Serializable;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    public class ClassLinkMetaData implements Serializable, Attachable<ClassLinkMetaData> {
        private final String className;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  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/controller/volume/attachdetach/populator/desired_state_of_world_populator_test.go

    			volumeExists)
    	}
    
    	// Change the CSI volume plugin attachability
    	fakeVolumePlugin.NonAttachable = true
    
    	dswp.findAndRemoveDeletedPods(logger)
    
    	// The volume should not exist after it becomes non-attachable
    	volumeExists = dswp.desiredStateOfWorld.VolumeExists(expectedVolumeName, k8stypes.NodeName(pod.Spec.NodeName))
    	if volumeExists {
    		t.Fatalf(
    			"VolumeExists(%q) failed. Expected: <false> Actual: <%v>",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top