- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 136 for driver_name (0.15 sec)
-
pkg/volume/csi/csi_plugin.go
pod: pod, podUID: pod.UID, driverName: csiDriverName(driverName), volumeLifecycleMode: volumeLifecycleMode, volumeID: volumeHandle, specVolumeID: spec.Name(), readOnly: readOnly, kubeVolHost: kvh, } mounter.csiClientGetter.driverName = csiDriverName(driverName) dir := mounter.GetPath()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 29.2K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclassparameters_test.go
parameters.VendorParameters = []resource.VendorParameters{ { DriverName: goodName, }, { DriverName: badName, }, } return parameters }(), }, "parameters-duplicate-driver": { wantFailures: field.ErrorList{field.Duplicate(field.NewPath("vendorParameters").Index(1).Child("driverName"), goodName)}, parameters: func() *resource.ResourceClassParameters {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:21:16 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclaim_test.go
claim.Status.DriverName = "valid" return claim }, }, "invalid-add-allocation": { wantFailures: field.ErrorList{field.Required(field.NewPath("status", "driverName"), "must be specified when `allocation` is set")}, oldClaim: validClaim, update: func(claim *resource.ResourceClaim) *resource.ResourceClaim { // DriverName must also get set here!
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.7K bytes - Viewed (0) -
pkg/volume/csi/nodeinfomanager/nodeinfomanager.go
func (nim *nodeInfoManager) UninstallCSIDriver(driverName string) error { err := nim.uninstallDriverFromCSINode(driverName) if err != nil { return fmt.Errorf("error uninstalling CSI driver from CSINode object %v", err) } err = nim.updateNode( removeMaxAttachLimit(driverName), removeNodeIDFromNode(driverName), ) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 20.1K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/non_csi_test.go
existingPods []*v1.Pod filterName string driverName string maxVols int32 test string wantStatus *framework.Status wantPreFilterStatus *framework.Status }{ { newPod: oneVolPod, existingPods: []*v1.Pod{twoVolPod, oneVolPod}, filterName: ebsVolumeFilterType, driverName: csilibplugins.AWSEBSInTreePluginName, maxVols: 4,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Dec 30 23:00:56 UTC 2023 - 36.8K bytes - Viewed (0) -
pkg/volume/util/attach_limit_test.go
if csiLimitKeyLonger != expectedCSIKey { t.Errorf("Expected limit to be %s got %s", expectedCSIKey, csiLimitKeyLonger) } } func getDriverHash(driverName string) string { charsFromDriverName := driverName[:23] hash := sha1.New() hash.Write([]byte(driverName)) hashed := hex.EncodeToString(hash.Sum(nil)) hashed = hashed[:16] return CSIAttachLimitPrefix + charsFromDriverName + hashed
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 05 16:29:00 UTC 2018 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/api/resource/v1alpha2/types.go
type ResourceHandle struct { // DriverName specifies the name of the resource driver whose kubelet // plugin should be invoked to process this ResourceHandle's data once it // lands on a node. This may differ from the DriverName set in // ResourceClaimStatus this ResourceHandle is embedded in. DriverName string `json:"driverName" protobuf:"bytes,1,name=driverName"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 27 10:22:35 UTC 2024 - 30K bytes - Viewed (0) -
pkg/volume/util/attach_limit.go
) // GetCSIAttachLimitKey returns limit key used for CSI volumes func GetCSIAttachLimitKey(driverName string) string { csiPrefixLength := len(CSIAttachLimitPrefix) totalkeyLength := csiPrefixLength + len(driverName) if totalkeyLength >= ResourceNameLengthLimit { charsFromDriverName := driverName[:23] hash := sha1.New() hash.Write([]byte(driverName)) hashed := hex.EncodeToString(hash.Sum(nil)) hashed = hashed[:16]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 17:25:30 UTC 2022 - 2.7K bytes - Viewed (0) -
pkg/volume/flexvolume/volume.go
import ( "k8s.io/mount-utils" utilstrings "k8s.io/utils/strings" "k8s.io/apimachinery/pkg/types" "k8s.io/kubernetes/pkg/volume" ) type flexVolume struct { // driverName is the name of the plugin driverName. driverName string // Driver executable used to setup the volume. execPath string // mounter provides the interface that is used to mount the actual // block device. mounter mount.Interface
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 17 04:51:24 UTC 2020 - 1.6K bytes - Viewed (0) -
pkg/volume/csi/csi_util_test.go
os.Exit(m.Run()) } func makeTestPVWithMountOptions(name string, sizeGig int, driverName, volID string, mountOptions []string) *api.PersistentVolume { pv := makeTestPV(name, sizeGig, driverName, volID) pv.Spec.MountOptions = mountOptions return pv } func makeTestPV(name string, sizeGig int, driverName, volID string) *api.PersistentVolume { return &api.PersistentVolume{ ObjectMeta: meta.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 14:49:03 UTC 2023 - 5.5K bytes - Viewed (0)