structured

package
v0.0.85 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package structured implements a data source that parses and returns structured data from files stored in a filesystem.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoInput triggers if a decoder is called without input
	ErrNoInput = errors.New("unable to decode, no input defined")
)
View Source
var ErrorNoFileMatchInPath = errors.New("no file matched through path specification")

ErrorNoFileMatchInPath triggers if the path specification can't match a file in the filesystem received by the data source.

Functions

func NewStructDataSource

func NewStructDataSource(sds *minderv1.StructDataSource) (v1datasources.DataSource, error)

NewStructDataSource builds a new REST data source.

Types

This section is empty.

Jump to

Keyboard shortcuts

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