Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 6,311 for modes (0.07 sec)

  1. 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)
  2. pkg/kubeapiserver/authorizer/config.go

    var repeatableAuthorizerTypes = []string{modes.ModeWebhook}
    
    // GetNameForAuthorizerMode returns the name to be set for the mode in AuthorizationConfiguration
    // For now, lower cases the mode name
    func GetNameForAuthorizerMode(mode string) string {
    	return strings.ToLower(mode)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. pkg/apis/resource/fuzzer/fuzzer.go

    			c.FuzzNoCustom(obj) // fuzz self without calling this function again
    
    			// Custom fuzzing for allocation mode: pick one valid mode randomly.
    			modes := []resource.AllocationMode{
    				resource.AllocationModeImmediate,
    				resource.AllocationModeWaitForFirstConsumer,
    			}
    			obj.AllocationMode = modes[c.Rand.Intn(len(modes))]
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 10 19:08:24 UTC 2022
    - 1.3K 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. pkg/kubeapiserver/authorizer/reload.go

    	for _, configuredAuthorizer := range authzConfig.Authorizers {
    		// Keep cases in sync with constant list in k8s.io/kubernetes/pkg/kubeapiserver/authorizer/modes/modes.go.
    		switch configuredAuthorizer.Type {
    		case authzconfig.AuthorizerType(modes.ModeNode):
    			if r.nodeAuthorizer == nil {
    				return nil, nil, fmt.Errorf("authorizer type Node is not allowed if it was not enabled at initial server startup")
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. src/cmd/dist/supported_test.go

    			if _, ok := cgoEnabled[o+"/"+a]; !ok {
    				continue
    			}
    			goos = o
    			for _, mode := range modes {
    				var dt tester
    				dist := dt.supportedBuildmode(mode)
    				std := platform.BuildModeSupported("gc", mode, o, a)
    				if dist != std {
    					t.Errorf("discrepancy for %s-%s %s: dist says %t, standard library says %t", o, a, mode, dist, std)
    				}
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/ArchiveTestFixture.groovy

            dirs.add(relativePath)
        }
    
        protected void addMode(String relativePath, int mode) {
            fileModesByRelativePath.put(relativePath, mode & 0777)
        }
    
        def assertFileMode(String relativePath, int fileMode) {
            List<Integer> modes = fileModesByRelativePath.get(relativePath)
            assert modes.size() == 1
            assertThat(modes.get(0), equalTo(fileMode))
            this
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. pkg/kubelet/volumemanager/cache/desired_state_of_wold_selinux_metrics.go

    			Help:           "Number of errors when kubelet cannot compute SELinux context for a container that are ignored. They will become real errors when SELinuxMountReadWriteOncePod feature is expanded to all volume access modes.",
    		},
    		[]string{"access_mode"},
    	)
    	seLinuxPodContextMismatchErrors = compbasemetrics.NewGaugeVec(
    		&compbasemetrics.GaugeOpts{
    			Name:           "volume_manager_selinux_pod_context_mismatch_errors_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 12:16:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top