Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for unknownType (0.23 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/testing/zz_generated.deepcopy.go

    func (in *UnknownType) DeepCopyInto(out *UnknownType) {
    	*out = *in
    	out.MyWeirdCustomEmbeddedVersionKindField = in.MyWeirdCustomEmbeddedVersionKindField
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UnknownType.
    func (in *UnknownType) DeepCopy() *UnknownType {
    	if in == nil {
    		return nil
    	}
    	out := new(UnknownType)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/testing/types.go

    	MyWeirdCustomEmbeddedVersionKindField `json:",inline"`
    	A                                     string `json:"A,omitempty"`
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    type UnknownType struct {
    	MyWeirdCustomEmbeddedVersionKindField `json:",inline"`
    	A                                     string `json:"A,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 28 03:26:35 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/value.go

    		return v, NullType, nil
    	case *ListValue:
    		return v, ListType, nil
    	case *MapValue:
    		return v, MapType, nil
    	case *ObjectValue:
    		return v, v.objectType, nil
    	default:
    		return nil, unknownType, fmt.Errorf("unsupported type: (%T)%v", v, v)
    	}
    }
    
    // PlainTextValue is a text string literal which must not be treated as an expression.
    type PlainTextValue string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
  4. src/fmt/print.go

    		if tooLarge(num) {
    			return 0, false, end // Overflow; crazy long number most likely.
    		}
    		num = num*10 + int(s[newi]-'0')
    		isnum = true
    	}
    	return
    }
    
    func (p *pp) unknownType(v reflect.Value) {
    	if !v.IsValid() {
    		p.buf.writeString(nilAngleString)
    		return
    	}
    	p.buf.writeByte('?')
    	p.buf.writeString(v.Type().String())
    	p.buf.writeByte('?')
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/common/values.go

    }
    
    func (t *unknownPreserved) Equal(other ref.Val) ref.Val {
    	return types.Bool(equality.Semantic.DeepEqual(t.u, other.Value()))
    }
    
    func (t *unknownPreserved) Type() ref.Type {
    	return types.UnknownType
    }
    
    func (t *unknownPreserved) Value() interface{} {
    	return t.u // used by Equal checks
    }
    
    // unstructuredMapList represents an unstructured data instance of an OpenAPI array with x-kubernetes-list-type=map.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 20.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/runtime/scheme_test.go

    		same   bool
    		out    runtime.Object
    		errFn  func(error) bool
    	}{
    		// errors if the type is not registered in the scheme
    		{
    			scheme: GetTestScheme(),
    			in:     &runtimetesting.UnknownType{},
    			errFn:  func(err error) bool { return err != nil && runtime.IsNotRegisteredError(err) },
    		},
    		// errors if the group versioner returns no target
    		{
    			scheme: GetTestScheme(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  7. pkg/webhooks/validation/server/monitoring.go

    		With(StatusTag.Value(strconv.Itoa(status))).
    		Increment()
    }
    
    const (
    	reasonUnsupportedOperation = "unsupported_operation"
    	reasonYamlDecodeError      = "yaml_decode_error"
    	reasonUnknownType          = "unknown_type"
    	reasonCRDConversionError   = "crd_conversion_error"
    	reasonInvalidConfig        = "invalid_resource"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 09 16:50:34 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top