Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,958 for ktypes (0.21 sec)

  1. pkg/config/schema/kubeclient/resources.gen.go

    	case *k8sioapiextensionsapiserverpkgapisapiextensionsv1.CustomResourceDefinition:
    		return c.Ext().ApiextensionsV1().CustomResourceDefinitions().(ktypes.WriteAPI[T])
    	case *k8sioapiappsv1.DaemonSet:
    		return c.Kube().AppsV1().DaemonSets(namespace).(ktypes.WriteAPI[T])
    	case *k8sioapiappsv1.Deployment:
    		return c.Kube().AppsV1().Deployments(namespace).(ktypes.WriteAPI[T])
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  2. pkg/config/schema/codegen/templates/clients.go.tmpl

    	}
    }
    
    func GetClient[T, TL runtime.Object](c ClientGetter, namespace string) ktypes.ReadWriteAPI[T, TL] {
    	switch any(ptr.Empty[T]()).(type) {
    {{- range .Entries }}
    	{{- if not .Resource.Synthetic }}
    	case *{{ .IstioAwareClientImport }}.{{ .Resource.Kind }}:
    		return  c.{{.ClientGetter}}().{{ .ClientGroupPath }}().{{ .ClientTypePath }}({{if not .Resource.ClusterScoped}}namespace{{end}}).(ktypes.ReadWriteAPI[T, TL])
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. pkg/config/schema/kubeclient/common.go

    }
    
    func GetInformerFilteredFromGVR(c ClientGetter, opts ktypes.InformerOptions, g schema.GroupVersionResource) informerfactory.StartableInformer {
    	switch opts.InformerType {
    	case ktypes.DynamicInformer:
    		return getInformerFilteredDynamic(c, opts, g)
    	case ktypes.MetadataInformer:
    		return getInformerFilteredMetadata(c, opts, g)
    	default:
    		return getInformerFiltered(c, opts, g)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. pkg/config/schema/kubeclient/common_test.go

    	corev1 "k8s.io/api/core/v1"
    	v1 "k8s.io/api/networking/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/watch"
    
    	"istio.io/istio/pkg/kube"
    	ktypes "istio.io/istio/pkg/kube/kubetypes"
    )
    
    func TestCustomRegistration(t *testing.T) {
    	Register[*v1.NetworkPolicy](
    		v1.SchemeGroupVersion.WithResource("networkpolicies"),
    		v1.SchemeGroupVersion.WithKind("NetworkPolicy"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/runtime/type.go

    		}
    
    		prev = md
    	}
    }
    
    type _typePair struct {
    	t1 *_type
    	t2 *_type
    }
    
    func toRType(t *abi.Type) rtype {
    	return rtype{t}
    }
    
    // typesEqual reports whether two types are equal.
    //
    // Everywhere in the runtime and reflect packages, it is assumed that
    // there is exactly one *_type per Go type, so that pointer equality
    // can be used to test if types are equal. There is one place that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/types.go

    // license that can be found in the LICENSE file.
    
    // Package typesinternal provides access to internal go/types APIs that are not
    // yet exported.
    package typesinternal
    
    import (
    	"go/token"
    	"go/types"
    	"reflect"
    	"unsafe"
    )
    
    func SetUsesCgo(conf *types.Config) bool {
    	v := reflect.ValueOf(conf).Elem()
    
    	f := v.FieldByName("go115UsesCgo")
    	if !f.IsValid() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    		return true
    
    	case *types.Basic:
    		switch typ.Kind() {
    		case types.UntypedBool,
    			types.Bool:
    			return m.t&argBool != 0
    
    		case types.UntypedInt,
    			types.Int,
    			types.Int8,
    			types.Int16,
    			types.Int32,
    			types.Int64,
    			types.Uint,
    			types.Uint8,
    			types.Uint16,
    			types.Uint32,
    			types.Uint64,
    			types.Uintptr:
    			return m.t&argInt != 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/types.go

    	return types
    }
    
    func buildDeclTypes(path string, t *DeclType, types map[string]*DeclType) {
    	// Ensure object types are properly named according to where they appear in the schema.
    	if t.IsObject() {
    		// Hack to ensure that names are uniquely qualified and work well with the type
    		// resolution steps which require fully qualified type names for field resolution
    		// to function properly.
    		types[t.TypeName()] = t
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  9. maven-di/src/main/java/org/apache/maven/di/impl/Types.java

         *
         * @param type type whose actual type arguments should be retrieved
         * @return an array of actual type arguments for a given {@link Type}
         */
        public static Type[] getActualTypeArguments(Type type) {
            if (type instanceof Class) {
                return ((Class<?>) type).isArray() ? new Type[] {((Class<?>) type).getComponentType()} : NO_TYPES;
            } else if (type instanceof ParameterizedType) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  10. src/internal/types/testdata/examples/types.go

    // // type is a type parameter not declared by that type declaration.
    // func _[T any]() {
    // 	type _ T         // ERROR "cannot use function type parameter T as RHS in type declaration"
    // 	type _ [_ any] T // ERROR "cannot use function type parameter T as RHS in type declaration"
    // }
    
    // As a special case, an explicit type argument may be omitted
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top