staticfile

package
v0.0.0-...-70df4a6 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct{}

func (Builder) Build

func (b Builder) Build(fsys fs.FS) (confengine.ConfEngine, error)

type Engine

type Engine struct {
	// contains filtered or unexported fields
}

Engine is a static file config engine

func New

func New(fsys fs.FS) *Engine

func (*Engine) Exec

func (e *Engine) Exec(ctx context.Context, name string, args map[string]any, stdout io.Writer) (io.ReadCloser, error)

Exec implements confengine.ConfEngine and copies static file configs

Jump to

Keyboard shortcuts

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