Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for reflectType (0.2 sec)

  1. pkg/config/schema/collections/collections.gen.go

    		Plural:     "authorizationpolicies",
    		Version:    "v1beta1",
    		VersionAliases: []string{
    			"v1",
    		},
    		Proto: "istio.security.v1beta1.AuthorizationPolicy", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    		ReflectType: reflect.TypeOf(&istioioapisecurityv1beta1.AuthorizationPolicy{}).Elem(), StatusType: reflect.TypeOf(&istioioapimetav1alpha1.IstioStatus{}).Elem(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  2. pkg/config/schema/collections/collections.agent.gen.go

    		Plural:     "authorizationpolicies",
    		Version:    "v1beta1",
    		VersionAliases: []string{
    			"v1",
    		},
    		Proto: "istio.security.v1beta1.AuthorizationPolicy", StatusProto: "istio.meta.v1alpha1.IstioStatus",
    		ReflectType: reflect.TypeOf(&istioioapisecurityv1beta1.AuthorizationPolicy{}).Elem(), StatusType: reflect.TypeOf(&istioioapimetav1alpha1.IstioStatus{}).Elem(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. schema/pool.go

    package schema
    
    import (
    	"reflect"
    	"sync"
    )
    
    // sync pools
    var (
    	normalPool      sync.Map
    	poolInitializer = func(reflectType reflect.Type) FieldNewValuePool {
    		v, _ := normalPool.LoadOrStore(reflectType, &sync.Pool{
    			New: func() interface{} {
    				return reflect.New(reflectType).Interface()
    			},
    		})
    		return v.(FieldNewValuePool)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 11 13:37:44 UTC 2022
    - 345 bytes
    - Viewed (0)
  4. pkg/config/schema/resource/schema.go

    	VersionAliases []string
    
    	// Proto refers to the protobuf message type name corresponding to the type
    	Proto string
    
    	StatusProto string
    
    	// ReflectType is the type of the go struct
    	ReflectType reflect.Type
    
    	// StatusType is the type of the associated status.
    	StatusType reflect.Type
    
    	// ProtoPackage refers to the name of golang package for the protobuf message.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  5. pkg/config/schema/codegen/templates/collections.go.tmpl

    			        "{{$alias}}",
    		 	    {{- end}}
    			},
    			{{- end}}
    			Proto: "{{ .Resource.Proto }}",
    			{{- if ne .Resource.StatusProto "" }}StatusProto: "{{ .Resource.StatusProto }}",{{end}}
    			ReflectType: reflect.TypeOf(&{{.ClientImport}}.{{.SpecType}}{}).Elem(),
    			{{- if ne .StatusType "" }}StatusType: reflect.TypeOf(&{{.StatusImport}}.{{.StatusType}}{}).Elem(), {{end}}
    			ProtoPackage: "{{ .Resource.ProtoPackage }}",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. pkg/config/analysis/local/helpers_test.go

    var K8SCollection1 = r2.Builder{
    	Group:         "testdata.istio.io",
    	Kind:          "Kind1",
    	Plural:        "Kind1s",
    	Version:       "v1alpha1",
    	Proto:         "google.protobuf.Struct",
    	ReflectType:   reflect.TypeOf(&structpb.Struct{}).Elem(),
    	ProtoPackage:  "github.com/gogo/protobuf/types",
    	ClusterScoped: false,
    	ValidateProto: validation.EmptyValidate,
    }.MustBuild()
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. pkg/log/scope.go

    		fields = make([]zapcore.Field, 0, len(s.labelKeys))
    		for _, k := range s.labelKeys {
    			v := s.labels[k]
    			fields = append(fields, zap.Field{
    				Key:       k,
    				Interface: v,
    				Type:      zapcore.ReflectType,
    			})
    		}
    	} else if len(s.labelKeys) > 0 {
    		sb := &strings.Builder{}
    		// Assume roughly 15 chars per kv pair. Its fine to be off, this is just an optimization
    		sb.Grow(len(msg) + 15*len(s.labelKeys))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 16:47:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    	}
    	var rtype *ssa.Value
    	if rtypeExpr != nil {
    		rtype = s.expr(rtypeExpr)
    	} else {
    		rtype = s.reflectType(elem)
    	}
    	s.rtcall(ir.Syms.CheckPtrAlignment, true, nil, v, rtype, count)
    }
    
    // reflectType returns an SSA value representing a pointer to typ's
    // reflection type descriptor.
    func (s *state) reflectType(typ *types.Type) *ssa.Value {
    	// TODO(mdempsky): Make this Fatalf under Unified IR; frontend needs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  9. pkg/apis/core/validation/validation.go

    	var allErrs field.ErrorList
    
    	reflectType, reflectValue := reflect.TypeOf(value), reflect.ValueOf(value)
    	for i := 0; i < reflectType.NumField(); i++ {
    		f := reflectType.Field(i)
    		if allowedFields[f.Name] {
    			continue
    		}
    
    		// Compare the value of this field to its zero value to determine if it has been set
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
Back to top