kopscodecs

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GroupFactoryRegistry = make(announced.APIGroupFactoryRegistry)
View Source
var Registry = registered.NewOrDie(os.Getenv("KUBE_API_VERSIONS"))
View Source
var Scheme = runtime.NewScheme()

Functions

func ParseVersionedYaml

func ParseVersionedYaml(data []byte) (runtime.Object, *schema.GroupVersionKind, error)

func ToVersionedJSON

func ToVersionedJSON(obj runtime.Object) ([]byte, error)

ToVersionedJSON encodes the object to JSON

func ToVersionedJSONWithVersion

func ToVersionedJSONWithVersion(obj runtime.Object, version runtime.GroupVersioner) ([]byte, error)

ToVersionedJSONWithVersion encodes the object to JSON, in a specified API version

func ToVersionedYaml

func ToVersionedYaml(obj runtime.Object) ([]byte, error)

ToVersionedYaml encodes the object to YAML

func ToVersionedYamlWithVersion

func ToVersionedYamlWithVersion(obj runtime.Object, version runtime.GroupVersioner) ([]byte, error)

ToVersionedYamlWithVersion encodes the object to YAML, in a specified API version

Types

This section is empty.

Jump to

Keyboard shortcuts

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