kubernetes/staging/src/k8s.io/apiserver/pkg/cel/cidr.go

type CIDR

var CIDRType

// ConvertToNative implements ref.Val.ConvertToNative.
func (d CIDR) ConvertToNative(typeDesc reflect.Type) (any, error) {}

// ConvertToType implements ref.Val.ConvertToType.
func (d CIDR) ConvertToType(typeVal ref.Type) ref.Val {}

// Equal implements ref.Val.Equal.
func (d CIDR) Equal(other ref.Val) ref.Val {}

// Type implements ref.Val.Type.
func (d CIDR) Type() ref.Type {}

// Value implements ref.Val.Value.
func (d CIDR) Value() any {}

// Size returns the size of the CIDR prefix address in bytes.
// Used in the size estimation of the runtime cost.
func (d CIDR) Size() ref.Val {}