Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,724 for modes (0.14 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. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/modes_test.go

    	"k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes"
    )
    
    var encModeNames = map[cbor.EncMode]string{
    	modes.Encode:                 "Encode",
    	modes.EncodeNondeterministic: "EncodeNondeterministic",
    }
    
    var allEncModes = []cbor.EncMode{
    	modes.Encode,
    	modes.EncodeNondeterministic,
    }
    
    var decModeNames = map[cbor.DecMode]string{
    	modes.Decode:    "Decode",
    	modes.DecodeLax: "DecodeLax",
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    				u.Items = unstructureds
    			default:
    				u.SetUnstructuredContent(content)
    			}
    		}()
    		into = &content
    	}
    
    	if !s.options.strict {
    		return nil, modes.DecodeLax.Unmarshal(data, into)
    	}
    
    	err := modes.Decode.Unmarshal(data, into)
    	// TODO: UnknownFieldError is ambiguous. It only provides the index of the first problematic
    	// map entry encountered and does not indicate which map the index refers to.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/AbstractProcessInstrumentationInDynamicGroovyIntegrationTest.groovy

         * @return the list of test cases
         */
        abstract def testCases()
    
        /**
         * Produces a list of indy compilation modes. Each test case from {@link #testCases()} will run in every mode from the returned list.
         * @return the list of indy modes
         */
        def indyModes() {
            return [true, false]
        }
    
        final def testCasesWithIndyModes() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. 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)
  8. pkg/volume/csi/csi_plugin_test.go

    			modes:      []storage.VolumeLifecycleMode{storage.VolumeLifecycleEphemeral},
    		},
    		{
    			name:       "construct spec from volume spec2, missing mode",
    			specVolID:  "volspec2",
    			originSpec: volume.NewSpecFromVolume(makeTestVol("volspec2", testDriver)),
    			podUID:     types.UID(fmt.Sprintf("%08X", rand.Uint64())),
    			modes:      []storage.VolumeLifecycleMode{},
    			shouldFail: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/session/AbstractSessionInvalidationTest.kt

                // Standalone modes) to have different test results (since `testPrefix` normally supports this functionality), but (1) we are
                // currently only testing the IDE mode and (2) the test results between different modes should not differ for session
                // invalidation in the first place.
                testPrefix = resultFileSuffix,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/initialization/AbstractInjectedClasspathInstrumentationStrategy.kt

            return if (isThirdPartyAgentPresent) {
                // Currently, the build logic instrumentation can interfere with Java agents, such as Jacoco
                // So, disable or fail or whatever based on which execution modes are enabled
                whenThirdPartyAgentPresent()
            } else {
                CachedClasspathTransformer.StandardTransform.BuildLogic
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top