file

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal added in v0.17.0

func Unmarshal(file string, obj interface{}) error

func UnmarshalEntities added in v0.44.0

func UnmarshalEntities(file string, dir string) ([]modelAPI.Entity, error)

UnmarshalEntities will read the file if provided or the directory and will extract any Perses resources.

func UnmarshalEntitiesFromDirectory added in v0.41.0

func UnmarshalEntitiesFromDirectory(dir string) ([]modelAPI.Entity, []error)

func UnmarshalEntitiesFromFile added in v0.41.0

func UnmarshalEntitiesFromFile(file string) ([]modelAPI.Entity, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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