loader

package
v1.7.4 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2020 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Codec  runtime.Codec
	Scheme *runtime.Scheme
)

Functions

func Load

func Load(data []byte) (*config.SchedulerConfiguration, error)

Load takes a byte slice and de-serializes the contents into SchedulerConfiguration object. Encapsulates de-serialization without assuming the source is a file.

func LoadFromFile

func LoadFromFile(filename string) (*config.SchedulerConfiguration, error)

LoadFromFile takes a filename and de-serializes the contents into SchedulerConfiguration object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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