...

Package cbor

import "k8s.io/apimachinery/pkg/runtime/serializer/cbor"
Overview
Index
Subdirectories

Overview ▾

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

Subdirectories

Name Synopsis
..
direct Package 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.