Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 332 for submatch (0.18 sec)

  1. pkg/volume/util/subpath/subpath_linux_test.go

    		expectError bool
    	}{
    		{
    			name: "subpath-dir",
    			prepare: func(base string) ([]string, string, string, error) {
    				volpath, _ := getTestPaths(base)
    				subpath := filepath.Join(volpath, "dir0")
    				return nil, volpath, subpath, os.MkdirAll(subpath, defaultPerm)
    			},
    			expectError: false,
    		},
    		{
    			name: "subpath-dir-symlink",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/ingress/testdata/simple.yaml

        http:
          paths:
            # Simple path
          - path: /path
            backend:
              service:
                name: service1
                port:
                  number: 4200
            # Subpath without trailing /
          - path: /sub/path
            backend:
              service:
                name: service1
                port:
                  number: 4201
          # With a trailing /
          - path: /sub/path/
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 10 16:43:09 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods_linux_test.go

    			expectedErrMsg: "error SubPath `/must/not/be/absolute` must not be an absolute path",
    		},
    		"invalid SubPath with backsteps": {
    			podVolumes: kubecontainer.VolumeMap{
    				"disk": kubecontainer.VolumeInfo{Mounter: &stubVolume{path: "/mnt/disk"}},
    			},
    			container: v1.Container{
    				VolumeMounts: []v1.VolumeMount{
    					{
    						MountPath: "/mnt/path3",
    						SubPath:   "no/backsteps/../allowed",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 18:00:59 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. 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)
  5. helm/minio/templates/statefulset.yaml

                  mountPath: {{ $mountPath }}-{{ $i }}
                  {{- if and $penabled $subPath }}
                  subPath: {{ $subPath }}
                  {{- end }}
                {{- end }}
                {{- else }}
                - name: export
                  mountPath: {{ $mountPath }}
                  {{- if and $penabled $subPath }}
                  subPath: {{ $subPath }}
                  {{- end }}
                {{- end }}
                {{- end }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 07:50:24 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. pilot/pkg/networking/grpcgen/grpcgen.go

    // (see grpc/xds/internal/client/xds.go securityConfigFromCluster).
    func buildCommonTLSContext(sans []string) *tls.CommonTlsContext {
    	var sanMatch []*matcher.StringMatcher
    	if len(sans) > 0 {
    		sanMatch = util.StringToExactMatch(sans)
    	}
    	return &tls.CommonTlsContext{
    		TlsCertificateCertificateProviderInstance: &tls.CommonTlsContext_CertificateProviderInstance{
    			InstanceName:    "default",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. pkg/kubelet/server/auth.go

    }
    
    type nodeAuthorizerAttributesGetter struct {
    	nodeName types.NodeName
    }
    
    func isSubpath(subpath, path string) bool {
    	path = strings.TrimSuffix(path, "/")
    	return subpath == path || (strings.HasPrefix(subpath, path) && subpath[len(path)] == '/')
    }
    
    // GetRequestAttributes populates authorizer attributes for the requests to the kubelet API.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. testing/smoke-test/src/smokeTest/groovy/org/gradle/play/integtest/fixtures/external/PlayApp.groovy

                        return
                    }
    
                    def subpath = RelativePathUtil.relativePath(baseDirFile, source.parentFile)
    
                    if(oldVersion) {
                        if(isOldVersionFile(source)) {
                            sourceFiles.add(new SourceFile("$baseDir/$subpath", source.name[0..<-4], source.text))
                        } else if (!oldVersionFileExists(source)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_volumes_linux_test.go

    			},
    		},
    		"pod-doesnot-exists-with-populated-subpath": {
    			prepareFunc: func(kubelet *Kubelet) error {
    				podDir := kubelet.getPodDir("pod1uid")
    				subPath := filepath.Join(podDir, "volume-subpaths/volume/container/index")
    				if err := os.MkdirAll(subPath, 0750); err != nil {
    					return err
    				}
    				return os.WriteFile(filepath.Join(subPath, "test.txt"), []byte("test1"), 0640)
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 8.9K bytes
    - Viewed (0)
  10. src/regexp/example_test.go

    	result := []byte{}
    
    	// For each match of the regex in the content.
    	for _, submatches := range pattern.FindAllSubmatchIndex(content, -1) {
    		// Apply the captured submatches to the template and append the output
    		// to the result.
    		result = pattern.Expand(result, template, content, submatches)
    	}
    	fmt.Println(string(result))
    	// Output:
    	// option1=value1
    	// option2=value2
    	// option3=value3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:22:53 UTC 2023
    - 11.1K bytes
    - Viewed (0)
Back to top