loader

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComponentDescriptorFromFile

func ComponentDescriptorFromFile(componentDescriptorPath string) (*cdv2.ComponentDescriptor, error)

ComponentDescriptorFromFile reads a component descriptor from a file.

func ComponentDescriptorToFile

func ComponentDescriptorToFile(componentDescriptor *cdv2.ComponentDescriptorList, path string) error

ComponentDescriptorToFile writes a component descriptor to a file.

func ExportsFromFile

func ExportsFromFile(path string) (*api.Exports, error)

ExportsFromFile reads export data from a file.

func ExportsToFile

func ExportsToFile(exports *api.Exports, path string) error

ExportsToFile writes export data to a file.

func ImportsFromFile

func ImportsFromFile(path string) (*api.Imports, error)

ImportsFromFile will read the file from the given path and try to unmarshal it into an api.Imports structure.

func ResourcesFromFile

func ResourcesFromFile(resourcesFilePath string) ([]cdresources.ResourceOptions, error)

ResourcesFromFile reads resources from a file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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