Documentation
¶
Index ¶
- func App() *cli.App
- func Context() context.Context
- func Format(ctx context.Context, rs []io.Reader, info FormatInfo) error
- func GetURI(c *cli.Context) (uri string, err error)
- func Lint(ctx context.Context, cln *client.Client, uri string, info LintInfo) error
- func ParseModuleURI(ctx context.Context, cln *client.Client, stdin io.Reader, uri string) (*ast.Module, error)
- func Run(ctx context.Context, cln *client.Client, uri string, info RunInfo) (err error)
- func Tree(ctx context.Context, cln *client.Client, uri string, info TreeInfo) (err error)
- func Vendor(ctx context.Context, cln *client.Client, uri string, info VendorInfo) (err error)
- type ControlDebugger
- type FormatInfo
- type LintInfo
- type RunInfo
- type TreeInfo
- type VendorInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseModuleURI ¶
Types ¶
type ControlDebugger ¶
func ControlDebuggerTUI ¶
func ControlDebuggerTUI(stdin io.Reader, stdout, stderr io.Writer) ControlDebugger
type FormatInfo ¶
type FormatInfo struct {
Write bool
}
type RunInfo ¶
type RunInfo struct {
DAP bool
Tree bool
Backtrace bool
Targets []string
LLB bool
LogOutput string
DefaultPlatform string // format: osname/osarch
Stdin io.Reader
Stderr io.Writer
Stdout io.Writer
Debug bool
ControlDebugger ControlDebugger
// override defaults sources as necessary
Environ []string
Cwd string
Os string
Arch string
}
Click to show internal directories.
Click to hide internal directories.