kubernetes/staging/src/k8s.io/apiserver/pkg/cel/library/format.go

// <Format>.validate(str: string) -> ?list<string>
//
//	Validates the given string against the given format. Returns optional.none
//	if the string is valid, otherwise a list of validation error strings.
func Format() cel.EnvOption {}

var formatLib

type format

func (*format) LibraryName() string {}

func (*format) Types() []*cel.Type {}

func (*format) declarations() map[string][]cel.FunctionOpt {}

func ZeroArgumentFunctionBinding(binding func() ref.Val) decls.OverloadOpt {}

func (*format) CompileOptions() []cel.EnvOption {}

func (*format) ProgramOptions() []cel.ProgramOption {}

var ConstantFormats

var formatLibraryDecls

func formatValidate(arg1, arg2 ref.Val) ref.Val {}