unstructured

package
v0.12.1-0...-0a124f2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Converter

type Converter struct {
}

Converter knows how to convert betweek runtime.Object and Unstructured in both ways.

func NewConverter

func NewConverter() *Converter

func (*Converter) FromUnstructured

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

func (*Converter) ToUnstructured

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

Jump to

Keyboard shortcuts

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