loader

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Overview

Package loader contains functions used for reading hcloud.provider.extensions.config.gardener.cloud

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

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

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

func LoadFromFile

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

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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