Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for fromsvc (0.14 sec)

  1. pkg/config/schema/codegen/templates/gvk.go.tmpl

    		panic("unknown kind: " + g.String())
    	}
    	return r
    }
    
    // FromGVR converts a GVR to a GVK.
    func FromGVR(g schema.GroupVersionResource) (config.GroupVersionKind, bool) {
    	switch g {
    {{- range .Entries }}
    		case gvr.{{.Resource.Identifier}}:
    			return {{.Resource.Identifier}}, true
    {{- end }}
    	}
    
    	return config.GroupVersionKind{}, false
    }
    
    // FromGVR converts a GVR to a GVK, and panics if it cannot be converted
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 03:54:51 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/converter.go

    	fromGVK := in.GetObjectKind().GroupVersionKind()
    	toGVK, ok := target.KindForGroupVersionKinds([]schema.GroupVersionKind{fromGVK})
    	if !ok {
    		// TODO: should this be a typed error?
    		return nil, fmt.Errorf("%v is unstructured and is not suitable for converting to %q", fromGVK.String(), target)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/FileTreeCodec.kt

                roots.add(toSpec(sourceTree))
            }
        }
    
        private
        fun fromSpec(spec: FileTreeSpec): FileTreeInternal = when (spec) {
            is AdaptedFileTreeSpec -> fileCollectionFactory.treeOf(spec.tree)
            is FilteredFileTreeSpec -> spec.tree.matching(spec.patterns)
            is FilteredMinimalFileTreeSpec -> fromSpec(spec.tree).matching(spec.patterns)
            is WrappedFileCollectionTreeSpec -> spec.collection.asFileTree
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

            }
        }
    
        protected static int[] parseTime(final String time) {
            final String[] froms = time.split(":");
            if (froms.length != 2) {
                throw new FessSystemException("Invalid format: " + time);
            }
            final int[] values = new int[2];
            values[0] = Integer.parseInt(froms[0]);
            if (values[0] < 0 || values[0] > 23) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. pilot/pkg/xds/proxy_dependencies_test.go

    	test.SetForTest(t, &features.JwksFetchMode, jwt.Envoy)
    
    	const (
    		fooSvc       = "foo"
    		extensionSvc = "extension"
    		jwksSvc      = "jwks"
    	)
    
    	cg = core.NewConfigGenTest(t, core.TestOptions{
    		Services: []*model.Service{
    			{
    				Hostname: fooSvc,
    				Attributes: model.ServiceAttributes{
    					ExportTo:  sets.New(visibility.Public),
    					Namespace: nsName,
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/integTest/groovy/org/gradle/api/file/ConfigurableFileTreeIntegrationTest.groovy

                val collection = files("abc")
                val froms = collection.from
                assert(froms.size == 1)
                assert(froms.first() == "abc")
            """
            file("groovy-dsl/build.gradle") << """
                def collection = files("abc")
                def froms = collection.from
                assert froms.size() == 1
                assert froms.first() == "abc"
            """
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  7. pkg/config/schema/gvk/resources.gen.go

    func MustToGVR(g config.GroupVersionKind) schema.GroupVersionResource {
    	r, ok := ToGVR(g)
    	if !ok {
    		panic("unknown kind: " + g.String())
    	}
    	return r
    }
    
    // FromGVR converts a GVR to a GVK.
    func FromGVR(g schema.GroupVersionResource) (config.GroupVersionKind, bool) {
    	switch g {
    	case gvr.AuthorizationPolicy:
    		return AuthorizationPolicy, true
    	case gvr.CertificateSigningRequest:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 17:37:32 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  8. src/net/net_fake.go

    	n, _, err = ffd.queue.recvfrom(ffd.readDeadline.Load(), p, true, func(from sockaddr) error {
    		fromSA, err := from.sockaddr(syscall.AF_INET)
    		if err != nil {
    			return err
    		}
    		if fromSA == nil {
    			return os.NewSyscallError("readFromInet4", syscall.EINVAL)
    		}
    		*sa = *(fromSA.(*syscall.SockaddrInet4))
    		return nil
    	})
    	return n, err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  9. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/ApiGroovyCompiler.java

            this.projectLayout = projectLayout;
        }
    
        private static abstract class IncrementalCompilationCustomizer extends CompilationCustomizer {
            static IncrementalCompilationCustomizer fromSpec(GroovyJavaJointCompileSpec spec, ApiCompilerResult result) {
                if (spec.incrementalCompilationEnabled()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/set_tpu_infeed_layout.cc

        return failure();
      }
      ApiConverter::ToC(old_shape, &old_shape_c);
      executor->TpuTransferManager_GetInfeedLayoutFn(&old_shape_c, &new_shape_c);
      xla::Shape new_shape = ApiConverter::FromC(&new_shape_c);
      ApiConverter::Destroy(&old_shape_c);
      ApiConverter::Destroy(&new_shape_c);
    
      auto minor_to_major = new_shape.layout().minor_to_major();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top