Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for submatch (0.27 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go

    					// which lacks the M method.
    					//
    					// With tilde, it is clearer that the containment is via an
    					// approximation element.
    					subpath[len(subpath)-1] = "~" + subpath[len(subpath)-1]
    				}
    				return append(subpath, typ.String())
    			}
    		}
    		return nil
    	}
    
    	for {
    		atyp, ok := typ.Underlying().(*types.Array)
    		if !ok {
    			break
    		}
    		typ = atyp.Elem()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. pkg/volume/util/atomic_writer.go

    	for file := range payload {
    		// add all subpaths for the payload to the set of new paths
    		// to avoid attempting to remove non-empty dirs
    		for subPath := file; subPath != ""; {
    			newPaths.Insert(subPath)
    			subPath, _ = filepath.Split(subPath)
    			subPath = strings.TrimSuffix(subPath, string(os.PathSeparator))
    		}
    	}
    	klog.V(5).Infof("%s: new paths:       %+v", w.targetDir, sets.List(newPaths))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. pkg/kubelet/container/helpers_test.go

    		expectedMountPath string
    		expectedOk        bool
    	}{
    		{
    			name: "subpath with no expansion",
    			container: &v1.Container{
    				VolumeMounts: []v1.VolumeMount{{SubPathExpr: "foo"}},
    			},
    			expectedSubPath:   "foo",
    			expectedMountPath: "",
    			expectedOk:        true,
    		},
    		{
    			name: "volumes with expanded subpath",
    			container: &v1.Container{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 01:55:46 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. pkg/volume/testing/volume_host.go

    	"k8s.io/client-go/tools/record"
    	csilibplugins "k8s.io/csi-translation-lib/plugins"
    	. "k8s.io/kubernetes/pkg/volume"
    	"k8s.io/kubernetes/pkg/volume/util/hostutil"
    	"k8s.io/kubernetes/pkg/volume/util/subpath"
    	"k8s.io/mount-utils"
    	"k8s.io/utils/exec"
    	testingexec "k8s.io/utils/exec/testing"
    )
    
    type FakeVolumeHost interface {
    	VolumeHost
    
    	GetPluginMgr() *VolumePluginMgr
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  5. pkg/kubelet/util/util_unsupported.go

    limitations under the License.
    */
    
    package util
    
    import (
    	"fmt"
    	"time"
    )
    
    // LockAndCheckSubPath empty implementation
    func LockAndCheckSubPath(volumePath, subPath string) ([]uintptr, error) {
    	return []uintptr{}, nil
    }
    
    // UnlockPath empty implementation
    func UnlockPath(fileHandles []uintptr) {
    }
    
    // LocalEndpoint empty implementation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. pkg/kube/inject/testdata/inputs/custom-template.yaml.40.values.gen.yaml

        }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. pkg/kubemark/hollow_kubelet.go

    	"k8s.io/kubernetes/pkg/volume/portworx"
    	"k8s.io/kubernetes/pkg/volume/projected"
    	"k8s.io/kubernetes/pkg/volume/secret"
    	"k8s.io/kubernetes/pkg/volume/util/hostutil"
    	"k8s.io/kubernetes/pkg/volume/util/subpath"
    	"k8s.io/kubernetes/test/utils"
    )
    
    type HollowKubelet struct {
    	KubeletFlags         *options.KubeletFlags
    	KubeletConfiguration *kubeletconfig.KubeletConfiguration
    	KubeletDeps          *kubelet.Dependencies
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. cni/pkg/constants/constants.go

    	ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount"
    )
    
    // Exposed for testing "constants"
    var (
    	CNIBinDir     = "/opt/cni/bin"
    	HostCNIBinDir = "/host/opt/cni/bin"
    	// Well-known subpath we will mount any needed host-mounts under,
    	// to preclude shadowing or breaking any pod-internal mounts
    	HostMountsPath = "/host"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods.go

    			return nil, cleanupAction, err
    		}
    
    		subPath := mount.SubPath
    		if mount.SubPathExpr != "" {
    			subPath, err = kubecontainer.ExpandContainerVolumeMounts(mount, expandEnvs)
    
    			if err != nil {
    				return nil, cleanupAction, err
    			}
    		}
    
    		if subPath != "" {
    			if utilfs.IsAbs(subPath) {
    				return nil, cleanupAction, fmt.Errorf("error SubPath `%s` must not be an absolute path", subPath)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_volumes.go

    			// Remove both files and empty directories here, as the subpath may have been a bind-mount of a file or a directory.
    			if err := os.Remove(subpathVolumePath); err != nil {
    				orphanVolumeErrors = append(orphanVolumeErrors, fmt.Errorf("orphaned pod %q found, but failed to rmdir() subpath at path %v: %v", uid, subpathVolumePath, err))
    			} else {
    				klog.InfoS("Cleaned up orphaned volume subpath from pod", "podUID", uid, "path", subpathVolumePath)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top