- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,933 for pths (0.23 sec)
-
staging/src/k8s.io/apiextensions-apiserver/test/integration/defaulting_test.go
} mustExist := func(obj map[string]interface{}, pths [][]string) { t.Helper() for _, pth := range pths { if _, found, _ := unstructured.NestedFieldNoCopy(obj, pth...); !found { t.Errorf("Expected '%s' field was missing", strings.Join(pth, ".")) } } } mustNotExist := func(obj map[string]interface{}, pths [][]string) { t.Helper() for _, pth := range pths {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 06 05:32:34 UTC 2023 - 21.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/path/path.go
return authorizer.DecisionNoOpinion, "", nil } pth := strings.TrimPrefix(a.GetPath(), "/") if paths.Has(pth) { return authorizer.DecisionAllow, "", nil } for _, prefix := range prefixes { if strings.HasPrefix(pth, prefix) { return authorizer.DecisionAllow, "", nil } } return authorizer.DecisionNoOpinion, "", nil }), nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 09 13:47:19 UTC 2021 - 1.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/objectmeta/algorithm.go
} fieldErr := c.coerce(pth, obj, s, schemaOpts) sort.Strings(schemaOpts.UnknownFieldPaths) return fieldErr, schemaOpts.UnknownFieldPaths } // Coerce calls CoerceWithOptions without returning unknown field paths. func Coerce(pth *field.Path, obj interface{}, s *structuralschema.Structural, isResourceRoot, dropInvalidFields bool) *field.Error {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 18 14:55:12 UTC 2022 - 5.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/path/path_test.go
return } for _, cases := range []struct { paths []string want authorizer.Decision }{ {tt.allowed, authorizer.DecisionAllow}, {tt.denied, authorizer.DecisionDeny}, {tt.noOpinion, authorizer.DecisionNoOpinion}, } { for _, pth := range cases.paths { info := authorizer.AttributesRecord{ Path: pth, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 24 15:14:54 UTC 2019 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java
public void setFrom(Object... paths) { assertMutable(); setExplicitCollector(paths.length > 0 ? newExplicitValue(paths) : EMPTY_COLLECTOR); } private ValueCollector newConventionValue(Iterable<?> paths) { return newValue(getBaseValue(false), paths); } private ValueCollector newConventionValue(Object[] paths) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 16:06:55 UTC 2024 - 30.2K bytes - Viewed (0) -
operator/pkg/translate/translate_value.go
"istio.io/istio/operator/pkg/util" "istio.io/istio/operator/pkg/version" oversion "istio.io/istio/operator/version" ) // ReverseTranslator is a set of mappings to translate between values.yaml and API paths, charts, k8s paths. type ReverseTranslator struct { Version version.MinorVersion // APIMapping is Values.yaml path to API path mapping using longest prefix match. If the path is a non-leaf node,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 08 03:52:24 UTC 2024 - 21.6K bytes - Viewed (0) -
src/runtime/slice_test.go
for i := 0; i < b.N; i++ { x = make([]int, len(ints)) copy(x, ints) } }) b.Run("Ptr", func(b *testing.B) { var x []*byte for i := 0; i < b.N; i++ { x = make([]*byte, len(ptrs)) copy(x, ptrs) } }) }) b.Run("makecopy", func(b *testing.B) { b.Run("Byte", func(b *testing.B) { var x []byte for i := 0; i < b.N; i++ { x = make([]byte, 8*length) copy(x, bytes)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 17 09:45:44 UTC 2020 - 10.3K bytes - Viewed (0) -
pkg/kubelet/apis/config/helpers.go
// passing the configuration to the application. This method must be kept up to date as new fields are added. func KubeletConfigurationPathRefs(kc *KubeletConfiguration) []*string { paths := []*string{} paths = append(paths, &kc.StaticPodPath) paths = append(paths, &kc.Authentication.X509.ClientCAFile) paths = append(paths, &kc.TLSCertFile)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 17:55:59 UTC 2024 - 1.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_trimpath.txt
env GO111MODULE=on mkdir $WORK/a/src/paths $WORK/b/src/paths cp paths.go $WORK/a/src/paths cp paths.go $WORK/b/src/paths cp overlay.json $WORK/a/src/paths cp overlay.json $WORK/b/src/paths cp go.mod $WORK/a/src/paths/ cp go.mod $WORK/b/src/paths/ # A binary built without -trimpath should contain the module root dir # and GOROOT for debugging and stack traces. cd $WORK/a/src/paths go build -o $WORK/paths-dbg.exe .
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 4.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/merge.go
for k, s := range staticSpec.Parameters { specToReturn.Parameters[k] = s } } if staticSpec.Paths != nil { specToReturn.Paths = &spec.Paths{ Paths: make(map[string]spec.PathItem, len(staticSpec.Paths.Paths)), } for k, p := range staticSpec.Paths.Paths { specToReturn.Paths.Paths[k] = p } } crdSpec := &spec.Swagger{} for _, s := range crdSpecs {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jul 16 14:08:01 UTC 2023 - 4.9K bytes - Viewed (0)