unstructured

package
v0.0.0-...-75b8dd2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2017 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package unstructured provides conversion from runtime objects to map[string]interface{} representation.

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultConverter = NewConverter(parseBool(os.Getenv("KUBE_PATCH_CONVERSION_DETECTOR")))
)

Functions

This section is empty.

Types

type Converter

type Converter interface {
	ToUnstructured(obj runtime.Object, u *map[string]interface{}) error
	FromUnstructured(u map[string]interface{}, obj runtime.Object) error
}

Converter is an interface for converting between runtime.Object and map[string]interface representation.

func NewConverter

func NewConverter(mismatchDetection bool) Converter

Jump to

Keyboard shortcuts

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