hostscaffold

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrConflict = errors.New("host scaffold output conflicts with an existing file")

Functions

This section is empty.

Types

type Config

type Config struct {
	Profile Profile
	Package string
}

type File

type File struct {
	Name    string
	Content []byte
}

func Generate

func Generate(cfg Config) ([]File, error)

type Profile

type Profile string
const (
	ProfileMemory             Profile = "memory"
	ProfileDurableBasic       Profile = "durable-basic"
	ProfileApproval           Profile = "approval"
	ProfileProductionRecovery Profile = "production-recovery"
	ProfileSubAgent           Profile = "subagent"
)

func ParseProfile

func ParseProfile(value string) (Profile, error)

func Profiles

func Profiles() []Profile

Directories

Path Synopsis
fixtures

Jump to

Keyboard shortcuts

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