kubernetes/vendor/github.com/fxamacker/cbor/v2/valid.go

type SyntaxError

func (e *SyntaxError) Error() string {}

type SemanticError

func (e *SemanticError) Error() string {}

type MaxNestedLevelError

func (e *MaxNestedLevelError) Error() string {}

type MaxArrayElementsError

func (e *MaxArrayElementsError) Error() string {}

type MaxMapPairsError

func (e *MaxMapPairsError) Error() string {}

type IndefiniteLengthError

func (e *IndefiniteLengthError) Error() string {}

type TagsMdError

func (e *TagsMdError) Error() string {}

type ExtraneousDataError

func (e *ExtraneousDataError) Error() string {}

// wellformed checks whether the CBOR data item is well-formed.
// allowExtraData indicates if extraneous data is allowed after the CBOR data item.
// - use allowExtraData = true when using Decoder.Decode()
// - use allowExtraData = false when using Unmarshal()
func (d *decoder) wellformed(allowExtraData bool, checkBuiltinTags bool) error {}

// wellformedInternal checks data's well-formedness and returns max depth and error.
func (d *decoder) wellformedInternal(depth int, checkBuiltinTags bool) (int, error) {}

// wellformedIndefiniteString checks indefinite length byte/text string's well-formedness and returns max depth and error.
func (d *decoder) wellformedIndefiniteString(t cborType, depth int, checkBuiltinTags bool) (int, error) {}

// wellformedIndefiniteArrayOrMap checks indefinite length array/map's well-formedness and returns max depth and error.
func (d *decoder) wellformedIndefiniteArrayOrMap(t cborType, depth int, checkBuiltinTags bool) (int, error) {}

func (d *decoder) wellformedHeadWithIndefiniteLengthFlag() (
	t cborType,
	ai byte,
	val uint64,
	indefiniteLength bool,
	err error,
) {}

func (d *decoder) wellformedHead() (t cborType, ai byte, val uint64, err error) {}

func (d *decoder) acceptableFloat(f float64) error {}