Documentation ¶
Index ¶
- func Cascade(req *Request) ([]byte, error)
- func CascadeWith(opts ...Option) ([]byte, error)
- func ValidateByScheme(src []byte, schemedata []byte) error
- func ValidateSourceByScheme(src spiffing.Source, schemedata []byte) error
- type Option
- type OptionFunction
- func Context(ctx datacontext.Context) OptionFunction
- func FileSystem(fs vfs.FileSystem) OptionFunction
- func Functions(functions spiffing.Functions) OptionFunction
- func Mode(m int) OptionFunction
- func StubData(name string, data []byte) OptionFunction
- func StubFile(path string, fss ...vfs.FileSystem) OptionFunction
- func TemplateData(name string, data []byte) OptionFunction
- func TemplateFile(path string, fss ...vfs.FileSystem) OptionFunction
- func Values(values interface{}) OptionFunction
- func ValuesNode(values string) OptionFunction
- func WorkDir(path string) OptionFunction
- type Options
- type Request
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CascadeWith ¶
func ValidateByScheme ¶
Types ¶
type OptionFunction ¶
func Context ¶
func Context(ctx datacontext.Context) OptionFunction
func FileSystem ¶
func FileSystem(fs vfs.FileSystem) OptionFunction
func Functions ¶
func Functions(functions spiffing.Functions) OptionFunction
func Mode ¶
func Mode(m int) OptionFunction
func StubData ¶
func StubData(name string, data []byte) OptionFunction
func StubFile ¶
func StubFile(path string, fss ...vfs.FileSystem) OptionFunction
func TemplateData ¶
func TemplateData(name string, data []byte) OptionFunction
func TemplateFile ¶
func TemplateFile(path string, fss ...vfs.FileSystem) OptionFunction
func Values ¶
func Values(values interface{}) OptionFunction
func ValuesNode ¶
func ValuesNode(values string) OptionFunction
func WorkDir ¶
func WorkDir(path string) OptionFunction
func (OptionFunction) ApplyToRequest ¶
func (f OptionFunction) ApplyToRequest(r *Request) error
Click to show internal directories.
Click to hide internal directories.