Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,527 for modes (0.05 sec)

  1. pkg/apis/core/v1/helper/helpers.go

    // modes, when present, are always in the same order: RWO,ROX,RWX,RWOP.
    func GetAccessModesAsString(modes []v1.PersistentVolumeAccessMode) string {
    	modes = removeDuplicateAccessModes(modes)
    	modesStr := []string{}
    	if ContainsAccessMode(modes, v1.ReadWriteOnce) {
    		modesStr = append(modesStr, "RWO")
    	}
    	if ContainsAccessMode(modes, v1.ReadOnlyMany) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. pkg/apis/core/v1/helper/helpers_test.go

    	}
    
    	modes = GetAccessModesFromString("RWO,ROX,RWX")
    	if !ContainsAccessMode(modes, v1.ReadWriteOnce) {
    		t.Errorf("Expected mode %s, but got %+v", v1.ReadWriteOnce, modes)
    	}
    	if !ContainsAccessMode(modes, v1.ReadOnlyMany) {
    		t.Errorf("Expected mode %s, but got %+v", v1.ReadOnlyMany, modes)
    	}
    	if !ContainsAccessMode(modes, v1.ReadWriteMany) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/options/authorization.go

    	}
    
    	modes := sets.NewString(o.Modes...)
    	for _, mode := range o.Modes {
    		if !authzmodes.IsValidAuthorizationMode(mode) {
    			allErrors = append(allErrors, fmt.Errorf("authorization-mode %q is not a valid mode", mode))
    		}
    		if mode == authzmodes.ModeABAC && o.PolicyFile == "" {
    			allErrors = append(allErrors, fmt.Errorf("authorization-mode ABAC's authorization policy file not passed"))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. pkg/apis/core/helper/helpers.go

    // modes, when present, are always in the same order: RWO,ROX,RWX,RWOP.
    func GetAccessModesAsString(modes []core.PersistentVolumeAccessMode) string {
    	modes = removeDuplicateAccessModes(modes)
    	modesStr := []string{}
    	if ContainsAccessMode(modes, core.ReadWriteOnce) {
    		modesStr = append(modesStr, "RWO")
    	}
    	if ContainsAccessMode(modes, core.ReadOnlyMany) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go

    		{
    			name:  "case-insensitive match treated as unknown field",
    			modes: []cbor.DecMode{modes.Decode},
    			in:    hex("a1614101"), // {"A": 1}
    			into: struct {
    				A int `json:"a"`
    			}{},
    			assertOnError: assertIdenticalError(&cbor.UnknownFieldError{Index: 0}),
    		},
    		{
    			name:  "case-insensitive match ignored in lax mode",
    			modes: []cbor.DecMode{modes.DecodeLax},
    			in:    hex("a1614101"), // {"A": 1}
    			into: struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  6. pkg/volume/downwardapi/downwardapi_test.go

    	defaultMode := int32(0644)
    	var files []v1.DownwardAPIVolumeFile
    	for path, fieldPath := range volumeFiles {
    		file := v1.DownwardAPIVolumeFile{
    			Path: path,
    			FieldRef: &v1.ObjectFieldSelector{
    				FieldPath: fieldPath,
    			},
    		}
    		if mode, found := modes[path]; found {
    			file.Mode = &mode
    		}
    		files = append(files, file)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 04:48:49 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/Files.java

        private final File file;
        private final ImmutableSet<FileWriteMode> modes;
    
        private FileByteSink(File file, FileWriteMode... modes) {
          this.file = checkNotNull(file);
          this.modes = ImmutableSet.copyOf(modes);
        }
    
        @Override
        public FileOutputStream openStream() throws IOException {
          return new FileOutputStream(file, modes.contains(APPEND));
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. pkg/proxy/apis/config/types.go

    	PortRange string
    }
    
    // ProxyMode represents modes used by the Kubernetes proxy server.
    //
    // Currently, three modes of proxy are available on Linux platforms: 'iptables', 'ipvs',
    // and 'nftables'. One mode of proxy is available on Windows platforms: 'kernelspace'.
    //
    // If the proxy mode is unspecified, the best-available proxy mode will be used (currently this
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. pkg/controller/volume/persistentvolume/index_test.go

    	}
    
    	// order of the requested modes should not matter
    	claim.Spec.AccessModes = []v1.PersistentVolumeAccessMode{v1.ReadWriteMany, v1.ReadWriteOnce, v1.ReadOnlyMany}
    	volume, _ = index.findBestMatchForClaim(claim, false)
    	if volume.Name != nfs.Name {
    		t.Errorf("Expected %s but got volume %s instead", nfs.Name, volume.Name)
    	}
    
    	// fewer modes requested should still match
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 21 13:31:28 UTC 2023
    - 44K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy

            when:
            runWithTestConfig("useTestNG(); maxParallelForks 2; $mode.config")
    
            then:
            verify(mode)
    
            where:
            mode << modes
        }
    
        def "produces JUnit xml results with aggressive forking - #mode.name"() {
            when:
            runWithTestConfig("useTestNG(); forkEvery 1; $mode.config")
    
            then:
            verify(mode)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 21:27:42 UTC 2023
    - 15.1K bytes
    - Viewed (0)
Back to top