Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 216 for fdpath (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/validation/field/path.go

    	"fmt"
    	"strconv"
    )
    
    type pathOptions struct {
    	path *Path
    }
    
    // PathOption modifies a pathOptions
    type PathOption func(o *pathOptions)
    
    // WithPath generates a PathOption
    func WithPath(p *Path) PathOption {
    	return func(o *pathOptions) {
    		o.path = p
    	}
    }
    
    // ToPath produces *Path from a set of PathOption
    func ToPath(opts ...PathOption) *Path {
    	c := &pathOptions{}
    	for _, opt := range opts {
    		opt(c)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 11 08:23:53 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test_cases/valid/httproute.yaml

    spec:
      rules:
      - matches:
        - path:
            type: PathPrefix
            value: /mypath
        backendRefs:
        - name: my-service-1
          port: 8080
      - matches:
        - path:
            type: PathPrefix
            value: /mypath-012
        backendRefs:
        - name: my-service-2
          port: 8080
      - matches:
        - path:
            type: PathPrefix
            value: /my%20path/123
        backendRefs:
        - name: my-service-3
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 17:15:18 UTC 2023
    - 510 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/definingUsingConfigurations-custom/groovy/build.gradle

    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        jasper 'org.apache.tomcat.embed:tomcat-embed-jasper:9.0.2'
    }
    
    tasks.register('preCompileJsps') {
        def jasperClasspath = configurations.jasper.asPath
        def projectLayout = layout
        doLast {
            ant.taskdef(classname: 'org.apache.jasper.JspC',
                        name: 'jasper',
                        classpath: jasperClasspath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 719 bytes
    - Viewed (0)
  4. hack/lib/init.sh

    set -o nounset
    set -o pipefail
    
    # Short-circuit if init.sh has already been sourced
    [[ $(type -t kube::init::loaded) == function ]] && return 0
    
    # Unset CDPATH so that path interpolation can work correctly
    # https://github.com/kubernetes/kubernetes/issues/52255
    unset CDPATH
    
    # The root of the build/dist directory
    KUBE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd -P)"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/kotlin/build.gradle.kts

    tasks.register("check") {
        doLast {
            ant.withGroovyBuilder {
                "taskdef"("name" to "pmd",
                          "classname" to "net.sourceforge.pmd.ant.PMDTask",
                          "classpath" to pmd.asPath)
                "pmd"("shortFilenames" to true,
                      "failonruleviolation" to true,
                      "rulesetfiles" to file("pmd-rules.xml").toURI().toString()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 800 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			got := validateIssuerURL(tt.in, tt.disallowedIssuers, fldPath).ToAggregate()
    			if d := cmp.Diff(tt.want, errString(got)); d != "" {
    				t.Fatalf("URL validation mismatch (-want +got):\n%s", d)
    			}
    		})
    	}
    }
    
    func TestValidateIssuerDiscoveryURL(t *testing.T) {
    	fldPath := field.NewPath("issuer", "discoveryURL")
    
    	testCases := []struct {
    		name      string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  7. pkg/volume/downwardapi/downwardapi.go

    	}
    
    	errlist := []error{}
    	data := make(map[string]volumeutil.FileProjection)
    	for _, fileInfo := range items {
    		var fileProjection volumeutil.FileProjection
    		fPath := filepath.Clean(fileInfo.Path)
    		if fileInfo.Mode != nil {
    			fileProjection.Mode = *fileInfo.Mode
    		} else {
    			fileProjection.Mode = *defaultMode
    		}
    		if fileInfo.FieldRef != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. src/cmd/internal/objabi/path.go

    // symbol table. All control characters, space, '%' and '"', as well as
    // non-7-bit clean bytes turn into %xx. The period needs escaping only in the
    // last segment of the path, and it makes for happier users if we escape that as
    // little as possible.
    func PathToPrefix(s string) string {
    	slash := strings.LastIndex(s, "/")
    	// check for chars that need escaping
    	n := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 13:56:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. src/os/path.go

    // If there is an error, it will be of type [*PathError].
    func RemoveAll(path string) error {
    	return removeAll(path)
    }
    
    // endsWithDot reports whether the final component of path is ".".
    func endsWithDot(path string) bool {
    	if path == "." {
    		return true
    	}
    	if len(path) >= 2 && path[len(path)-1] == '.' && IsPathSeparator(path[len(path)-2]) {
    		return true
    	}
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. src/path/path.go

    // If the path is empty, Base returns ".".
    // If the path consists entirely of slashes, Base returns "/".
    func Base(path string) string {
    	if path == "" {
    		return "."
    	}
    	// Strip trailing slashes.
    	for len(path) > 0 && path[len(path)-1] == '/' {
    		path = path[0 : len(path)-1]
    	}
    	// Find the last element
    	if i := bytealg.LastIndexByteString(path, '/'); i >= 0 {
    		path = path[i+1:]
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 23 17:33:57 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top