Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 214 for target01 (0.14 sec)

  1. pkg/volume/iscsi/iscsi_test.go

    	spec, _ := getVolumeSpecFromGlobalMapPath("test", path)
    
    	portal := spec.PersistentVolume.Spec.PersistentVolumeSource.ISCSI.TargetPortal
    	if portal != "127.0.0.1:3260" {
    		t.Errorf("wrong portal: %v", portal)
    	}
    	iqn := spec.PersistentVolume.Spec.PersistentVolumeSource.ISCSI.IQN
    	if iqn != "iqn.2014-12.server:storage.target01" {
    		t.Errorf("wrong iqn: %v", iqn)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 15:56:32 UTC 2022
    - 16.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions_test.go

    				TargetPortal: "127.0.0.1:3260",
    				IQN:          "iqn.2016-12.server:storage.target01",
    				FSType:       "ext4",
    				Lun:          0,
    			},
    		},
    	}
    	volState2 := v1.Volume{
    		VolumeSource: v1.VolumeSource{
    			ISCSI: &v1.ISCSIVolumeSource{
    				TargetPortal: "127.0.0.1:3260",
    				IQN:          "iqn.2017-12.server:storage.target01",
    				FSType:       "ext4",
    				Lun:          0,
    			},
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 17:40:39 UTC 2023
    - 17.3K bytes
    - Viewed (0)
  3. internal/config/lambda/event/targetid.go

    	"fmt"
    	"strings"
    )
    
    // TargetID - holds identification and name strings of notification target.
    type TargetID struct {
    	ID   string
    	Name string
    }
    
    // String - returns string representation.
    func (tid TargetID) String() string {
    	return tid.ID + ":" + tid.Name
    }
    
    // ToARN - converts to ARN.
    func (tid TargetID) ToARN(region string) ARN {
    	return ARN{TargetID: tid, region: region}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. internal/event/targetid.go

    	"fmt"
    	"strings"
    )
    
    // TargetID - holds identification and name strings of notification target.
    type TargetID struct {
    	ID   string
    	Name string
    }
    
    // String - returns string representation.
    func (tid TargetID) String() string {
    	return tid.ID + ":" + tid.Name
    }
    
    // ToARN - converts to ARN.
    func (tid TargetID) ToARN(region string) ARN {
    	return ARN{TargetID: tid, region: region}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  5. pkg/volume/util/device_util_linux_test.go

    		"/sys/class/iscsi_host/host2/device/session1/target2:0:0/2:0:0:1": "2:0:0:1",
    		"/sys/class/iscsi_host/host2/device/session1/target2:0:0/2:0:0:2": "2:0:0:2",
    		"/sys/class/iscsi_host/host3/device/session2/target3:0:0/3:0:0:1": "3:0:0:1",
    		"/sys/class/iscsi_host/host3/device/session2/target3:0:0/3:0:0:2": "3:0:0:2",
    	}
    	if dev, ok := links[name]; ok {
    		return &fakeFileInfo{name: dev}, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 8K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultObjectConfigurationActionTest.groovy

            then:
            action.from('script')
            action.to(target1)
            action.to(target2)
            action.execute()
        }
    
        void flattensCollections() {
            when:
            Object target1 = new Object()
            Object target2 = new Object()
            1 * resolver.resolveUri('script') >> file
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. internal/event/targetlist_test.go

    )
    
    type ExampleTarget struct {
    	id       TargetID
    	sendErr  bool
    	closeErr bool
    }
    
    func (target ExampleTarget) ID() TargetID {
    	return target.id
    }
    
    // Save - Sends event directly without persisting.
    func (target ExampleTarget) Save(eventData Event) error {
    	return target.send(eventData)
    }
    
    // Store - Returns a nil store.
    func (target ExampleTarget) Store() TargetStore {
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/cluster_util_test.cc

      auto clusters = GetClusters(module.get());
      constexpr StringRef kTarget0 = "tpu0";
      EXPECT_EQ(clusters.count(kTarget0), 1);
      EXPECT_EQ(clusters[kTarget0].size(), 1);
      EXPECT_EQ(clusters[kTarget0][0].ops.size(), 2);
    
      constexpr StringRef kTarget1 = "tpu1";
      EXPECT_EQ(clusters.count(kTarget1), 1);
      EXPECT_EQ(clusters[kTarget1].size(), 1);
      EXPECT_EQ(clusters[kTarget1][0].ops.size(), 2);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. pkg/controller/podautoscaler/horizontal.go

    			utilruntime.HandleError(err)
    		}
    		return fmt.Errorf("invalid API version in scale target reference: %v%w", err, errSpec)
    	}
    
    	targetGK := schema.GroupKind{
    		Group: targetGV.Group,
    		Kind:  hpa.Spec.ScaleTargetRef.Kind,
    	}
    
    	mappings, err := a.mapper.RESTMappings(targetGK)
    	if err != nil {
    		a.eventRecorder.Event(hpa, v1.EventTypeWarning, "FailedGetScale", err.Error())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  10. internal/logger/targets.go

    //	group2 contains the remaining targets
    func splitTargets(targets []Target, t types.TargetType) (group1 []Target, group2 []Target) {
    	for _, target := range targets {
    		if target.Type() == t {
    			group1 = append(group1, target)
    		} else {
    			group2 = append(group2, target)
    		}
    	}
    	return
    }
    
    func cancelTargets(targets []Target) {
    	for _, target := range targets {
    		go target.Cancel()
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top