kubernetes/vendor/github.com/google/cel-go/common/types/int.go

type Int

const IntZero

const IntOne

const IntNegOne

var int32WrapperType

var int64WrapperType

// Add implements traits.Adder.Add.
func (i Int) Add(other ref.Val) ref.Val {}

// Compare implements traits.Comparer.Compare.
func (i Int) Compare(other ref.Val) ref.Val {}

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

// ConvertToType implements ref.Val.ConvertToType.
func (i Int) ConvertToType(typeVal ref.Type) ref.Val {}

// Divide implements traits.Divider.Divide.
func (i Int) Divide(other ref.Val) ref.Val {}

// Equal implements ref.Val.Equal.
func (i Int) Equal(other ref.Val) ref.Val {}

// IsZeroValue returns true if integer is equal to 0
func (i Int) IsZeroValue() bool {}

// Modulo implements traits.Modder.Modulo.
func (i Int) Modulo(other ref.Val) ref.Val {}

// Multiply implements traits.Multiplier.Multiply.
func (i Int) Multiply(other ref.Val) ref.Val {}

// Negate implements traits.Negater.Negate.
func (i Int) Negate() ref.Val {}

// Subtract implements traits.Subtractor.Subtract.
func (i Int) Subtract(subtrahend ref.Val) ref.Val {}

// Type implements ref.Val.Type.
func (i Int) Type() ref.Type {}

// Value implements ref.Val.Value.
func (i Int) Value() any {}

// isJSONSafe indicates whether the int is safely representable as a floating point value in JSON.
func (i Int) isJSONSafe() bool {}

const maxIntJSON

const minIntJSON