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.
PARAMETERS data []byte Data to decode and interprete
func LoadFromFile ¶
func LoadFromFile(filename string) (*config.ControllerConfiguration, error)
LoadFromFile takes a filename and de-serializes the contents into ControllerConfiguration object.
PARAMETERS filename string File path and name to load
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.