unstructured

package
v1.8.0-alpha.2....-f6929fc Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2017 License: Apache-2.0 Imports: 15 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 interface{}) (map[string]interface{}, error)
	FromUnstructured(u map[string]interface{}, obj interface{}) error
}

Converter is an interface for converting between interface{} 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