Versions in this module Expand all Collapse all v0 v0.1.1 Jul 17, 2026 Changes in this version + func GetSecret(name string) (string, error) + func Input[T interface{ ... }, E any](args *Args, name string) (E, error) + func LoadParams(base string) (map[string]any, error) + func Param[T any](args *Args, name string) (T, error) + func ReadBlockManifest(base string) map[string]any + func RunAt[O IntoOutput](base string, handler func(*Args) (O, error)) error + func RunNoOutput(handler func(*Args) error) + func RunNoOutputAt(base string, handler func(*Args) error) error + func Run[O IntoOutput](handler func(*Args) (O, error)) + func ScanInputs(base string) (map[string]InputEntry, error) + func WriteOutputs(result IntoOutput, base string, manifestOutputs map[string]any) error + type Args struct + func BuildArgs(base string) (*Args, error) + func (a *Args) HasInput(name string) bool + func (a *Args) HasParam(name string) bool + type BoolType struct + func (BoolType) DefaultOutputName() string + func (BoolType) ManifestEntry() ManifestInfo + func (BoolType) TypeName() string + type Directory struct + Path string + func NewDirectory(path string) Directory + func (d *Directory) DefaultOutputName() string + func (d *Directory) FromDirectory(path string) error + func (d *Directory) FromMultipleFiles(_ []string) error + func (d *Directory) FromSingleFile(_ string) error + func (d *Directory) ManifestEntry() ManifestInfo + func (d *Directory) TypeName() string + func (d *Directory) WriteTo(outputDir string) error + type ErrEmptyInputDir struct + Name string + func (e *ErrEmptyInputDir) Error() string + type ErrInputNotFound struct + Name string + func (e *ErrInputNotFound) Error() string + type ErrParamNotFound struct + Name string + func (e *ErrParamNotFound) Error() string + type ErrTypeMismatch struct + Expected string + Found string + Name string + func (e *ErrTypeMismatch) Error() string + type File struct + Path string + func NewFile(path string) File + func (f *File) DefaultOutputName() string + func (f *File) FromDirectory(_ string) error + func (f *File) FromMultipleFiles(paths []string) error + func (f *File) FromSingleFile(path string) error + func (f *File) ManifestEntry() ManifestInfo + func (f *File) TypeName() string + func (f *File) WriteTo(outputDir string) error + type FileCollection struct + Paths []string + func NewFileCollection(paths []string) FileCollection + func (c *FileCollection) DefaultOutputName() string + func (c *FileCollection) FromDirectory(_ string) error + func (c *FileCollection) FromMultipleFiles(paths []string) error + func (c *FileCollection) FromSingleFile(path string) error + func (c *FileCollection) ManifestEntry() ManifestInfo + func (c *FileCollection) TypeName() string + func (c *FileCollection) WriteTo(outputDir string) error + type FromInput interface + FromDirectory func(path string) error + FromMultipleFiles func(paths []string) error + FromSingleFile func(path string) error + type InputEntry struct + Kind InputKind + Path string + Paths []string + type InputKind int + const InputMultiple + const InputSingle + type IntoOutput interface + DefaultOutputName func() string + WriteTo func(outputDir string) error + type JsonFile struct + Path string + func NewJsonFile(path string) JsonFile + func (f *JsonFile) DefaultOutputName() string + func (f *JsonFile) FromDirectory(_ string) error + func (f *JsonFile) FromMultipleFiles(paths []string) error + func (f *JsonFile) FromSingleFile(path string) error + func (f *JsonFile) ManifestEntry() ManifestInfo + func (f *JsonFile) TypeName() string + func (f *JsonFile) WriteTo(outputDir string) error + type ManifestBuilder struct + func ManifestInput[T SpadeType](b *ManifestBuilder, name string) *ManifestBuilder + func ManifestOutput[T SpadeType](b *ManifestBuilder, name string) *ManifestBuilder + func NewManifestBuilder() *ManifestBuilder + func (b *ManifestBuilder) Build() map[string]any + func (b *ManifestBuilder) Description(desc string) *ManifestBuilder + type ManifestInfo struct + Format string + ItemType string + TypeName string + type NumberType struct + func (NumberType) DefaultOutputName() string + func (NumberType) ManifestEntry() ManifestInfo + func (NumberType) TypeName() string + type Outputs struct + func NewOutputs() *Outputs + func (o *Outputs) Add(name string, value IntoOutput) + func (o *Outputs) DefaultOutputName() string + func (o *Outputs) ManifestEntry() ManifestInfo + func (o *Outputs) TypeName() string + func (o *Outputs) WriteTo(outputDir string) error + type RasterFile struct + Path string + func NewRasterFile(path string) RasterFile + func (f *RasterFile) DefaultOutputName() string + func (f *RasterFile) FromDirectory(_ string) error + func (f *RasterFile) FromMultipleFiles(paths []string) error + func (f *RasterFile) FromSingleFile(path string) error + func (f *RasterFile) ManifestEntry() ManifestInfo + func (f *RasterFile) TypeName() string + func (f *RasterFile) WriteTo(outputDir string) error + type RasterFileCollection struct + Paths []string + func NewRasterFileCollection(paths []string) RasterFileCollection + func (c *RasterFileCollection) DefaultOutputName() string + func (c *RasterFileCollection) FromDirectory(_ string) error + func (c *RasterFileCollection) FromMultipleFiles(paths []string) error + func (c *RasterFileCollection) FromSingleFile(path string) error + func (c *RasterFileCollection) ManifestEntry() ManifestInfo + func (c *RasterFileCollection) TypeName() string + func (c *RasterFileCollection) WriteTo(outputDir string) error + type SpadeType interface + DefaultOutputName func() string + ManifestEntry func() ManifestInfo + TypeName func() string + type StringType struct + func (StringType) DefaultOutputName() string + func (StringType) ManifestEntry() ManifestInfo + func (StringType) TypeName() string + type TabularFile struct + Path string + func NewTabularFile(path string) TabularFile + func (f *TabularFile) DefaultOutputName() string + func (f *TabularFile) FromDirectory(_ string) error + func (f *TabularFile) FromMultipleFiles(paths []string) error + func (f *TabularFile) FromSingleFile(path string) error + func (f *TabularFile) ManifestEntry() ManifestInfo + func (f *TabularFile) TypeName() string + func (f *TabularFile) WriteTo(outputDir string) error + type TabularFileCollection struct + Paths []string + func NewTabularFileCollection(paths []string) TabularFileCollection + func (c *TabularFileCollection) DefaultOutputName() string + func (c *TabularFileCollection) FromDirectory(_ string) error + func (c *TabularFileCollection) FromMultipleFiles(paths []string) error + func (c *TabularFileCollection) FromSingleFile(path string) error + func (c *TabularFileCollection) ManifestEntry() ManifestInfo + func (c *TabularFileCollection) TypeName() string + func (c *TabularFileCollection) WriteTo(outputDir string) error + type VectorFile struct + Path string + func NewVectorFile(path string) VectorFile + func (f *VectorFile) DefaultOutputName() string + func (f *VectorFile) FromDirectory(_ string) error + func (f *VectorFile) FromMultipleFiles(paths []string) error + func (f *VectorFile) FromSingleFile(path string) error + func (f *VectorFile) ManifestEntry() ManifestInfo + func (f *VectorFile) TypeName() string + func (f *VectorFile) WriteTo(outputDir string) error + type VectorFileCollection struct + Paths []string + func NewVectorFileCollection(paths []string) VectorFileCollection + func (c *VectorFileCollection) DefaultOutputName() string + func (c *VectorFileCollection) FromDirectory(_ string) error + func (c *VectorFileCollection) FromMultipleFiles(paths []string) error + func (c *VectorFileCollection) FromSingleFile(path string) error + func (c *VectorFileCollection) ManifestEntry() ManifestInfo + func (c *VectorFileCollection) TypeName() string + func (c *VectorFileCollection) WriteTo(outputDir string) error