magic

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Magic

type Magic interface {
	Render(ctx context.Context, opts MagicRenderOptions) ([]file.File, error)
}

func FromManifest

func FromManifest(mf manifest.Manifest) Magic

func NewMagic

func NewMagic(version, name string, vars []variable.Variable, casts []cast.Cast) Magic

type MagicRenderOptions

type MagicRenderOptions struct {
	Variables variable.Variables
}

Jump to

Keyboard shortcuts

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