package cbor

import "k8s.io/apimachinery/pkg/runtime/serializer/cbor"

Index

Types

type Option

type Option func(*options)

func Strict

func Strict(s bool) Option

type Serializer

type Serializer interface {
	runtime.Serializer
	recognizer.RecognizingDecoder
}

func NewSerializer

func NewSerializer(creater runtime.ObjectCreater, typer runtime.ObjectTyper, options ...Option) Serializer

Source Files

cbor.go

Directories

PathSynopsis
pkg/runtime/serializer/cbor/directPackage direct provides functions for marshaling and unmarshaling between arbitrary Go values and CBOR data, with behavior that is compatible with that of the CBOR serializer.
pkg/runtime/serializer/cbor/internal
Version
v0.31.0-alpha.0
Published
Mar 7, 2024
Platform
js/wasm
Imports
12 packages
Last checked
14 hours ago

Tools for package owners.