gen

package
v0.0.33 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lift

func Lift[G constraint.Gen](fn G) tdl.Generator

func New

func New(gen Func) tdl.Generator

Types

type FromFs

type FromFs pipe.FromFs[afero.Fs]

type FromInput

type FromInput pipe.FromInput[afero.Fs]

type FromReader

type FromReader pipe.FromReader[afero.Fs]

type Func

type Func func(context.Context, *tdlv1alpha1.Spec) (afero.Fs, error)

func (Func) Execute

func (f Func) Execute(ctx context.Context, spec *tdlv1alpha1.Spec) (afero.Fs, error)

func (Func) String added in v0.0.33

func (f Func) String() string

type ToWriter

type ToWriter pipe.ToWriter[*tdlv1alpha1.Spec]

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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