encoding

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package encoding implements utilities for decoding from yaml the `kind` Config

Index

Constants

This section is empty.

Variables

Codecs provides access to encoding and decoding for the scheme.

View Source
var Scheme = runtime.NewScheme()

Scheme is the runtime.Scheme to which all `kind` config API versions and types are registered.

Functions

func AddToScheme

func AddToScheme(scheme *runtime.Scheme)

AddToScheme builds the scheme using all known `kind` API versions.

func Load

func Load(path string) (*config.Config, error)

Load reads the file at path and attempts to convert into a `kind` Config; the file can be one of the different API versions defined in scheme. If path == "" then the default config is returned

Types

This section is empty.

Jump to

Keyboard shortcuts

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