encoding

package
v0.2.0-kubernetes.115 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Decoder

type Decoder interface {
	Decode(data []byte) (runtime.Object, error)
	EncodeYAML(obj runtime.Object) ([]byte, error)
	EncodeJSON(obj runtime.Object) ([]byte, error)
}

Decoder is the standard interface for decoding and encoding resources

func NewDecoder

func NewDecoder(scheme *runtime.Scheme, strict bool) Decoder

NewDecoder creates a new universal decoder

Jump to

Keyboard shortcuts

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