serializer

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2019 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateObject

func CreateObject(kind, extensionType, subType, extensionVersion string) interface{}

func Marshal

func Marshal(v interface{}) ([]byte, error)

func MarshalToResource

func MarshalToResource(r runtime.Object, s interface{}) error

func MustRegister

func MustRegister(kind, extensionType, subType, extensionVersion string, v interface{})

func Register

func Register(kind, extensionType, subType, extensionVersion string, v interface{}) error

func Unmarshal

func Unmarshal(kind, extensionType, subType string, data []byte) (interface{}, error)

func UnmarshalFromResource

func UnmarshalFromResource(subType string, r runtime.Object) (interface{}, error)

func UnmarshalFromResourceInto

func UnmarshalFromResourceInto(r runtime.Object, into interface{}) error

func UnmarshalInto

func UnmarshalInto(data []byte, into interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL