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

type IP

var IPType

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

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

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

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

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

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