kubernetes/vendor/github.com/google/cel-go/checker/format.go

const kindUnknown

const kindError

const kindFunction

const kindDyn

const kindPrimitive

const kindWellKnown

const kindWrapper

const kindNull

const kindAbstract

const kindType

const kindList

const kindMap

const kindObject

const kindTypeParam

// FormatCheckedType converts a type message into a string representation.
func FormatCheckedType(t *exprpb.Type) string {}

type formatter

// FormatCELType formats a types.Type value to a string representation.
//
// The type formatting is identical to FormatCheckedType.
func FormatCELType(t any) string {}

func formatExprType(t any) string {}

func formatFunctionExprType(resultType *exprpb.Type, argTypes []*exprpb.Type, isInstance bool) string {}

func formatFunctionDeclType(resultType *types.Type, argTypes []*types.Type, isInstance bool) string {}

func formatFunctionInternal[T any](resultType T, argTypes []T, isInstance bool, format formatter) string {}

// kindOf returns the kind of the type as defined in the checked.proto.
func kindOf(t *exprpb.Type) int {}