modify

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilesPipe added in v0.3.0

type FilesPipe struct {
	*common.BasePipe
	// contains filtered or unexported fields
}

func Files added in v0.3.0

func Files(modifiers ...Fn[*types.File]) *FilesPipe

func (*FilesPipe) Run added in v0.3.0

func (p *FilesPipe) Run(ctx context.Context, state *types.State) (*types.State, error)

type Fn added in v0.3.0

type Fn[T any] func(data T) error

type JsonsPipe

type JsonsPipe[T any] struct {
	*common.BasePipe
	// contains filtered or unexported fields
}

func Jsons

func Jsons[T any](modifiers ...Fn[T]) *JsonsPipe[T]

func (*JsonsPipe[T]) Run

func (p *JsonsPipe[T]) Run(ctx context.Context, state *types.State) (*types.State, error)

type YamlsPipe

type YamlsPipe[T any] struct {
	*common.BasePipe
	// contains filtered or unexported fields
}

func Yamls

func Yamls[T any](modifiers ...Fn[T]) *YamlsPipe[T]

func (*YamlsPipe[T]) Run

func (p *YamlsPipe[T]) Run(ctx context.Context, state *types.State) (*types.State, error)

Jump to

Keyboard shortcuts

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