Documentation ¶
Index ¶
- type Build
- type CLI
- func (c *CLI) Build(ctx context.Context, in *Build) error
- func (c *CLI) Create(ctx context.Context, in *Create) error
- func (c *CLI) Custom(ctx context.Context, in *Custom) error
- func (c *CLI) Generate(ctx context.Context, in *Generate) (err error)
- func (c *CLI) NewController(ctx context.Context, in *NewController) error
- func (c *CLI) Parse(ctx context.Context, args ...string) error
- func (c *CLI) Run(ctx context.Context, in *Run) error
- func (c *CLI) ToolCacheClean(ctx context.Context, in *ToolCacheClean) error
- func (c *CLI) ToolDS(ctx context.Context, in *ToolDS) error
- func (c *CLI) ToolDi(ctx context.Context, in *ToolDi) error
- func (c *CLI) ToolFsCat(ctx context.Context, in *ToolFsCat) error
- func (c *CLI) ToolFsLs(ctx context.Context, in *ToolFsLs) error
- func (c *CLI) ToolFsTree(ctx context.Context, in *ToolFsTree) error
- func (c *CLI) ToolFsTxtar(ctx context.Context, in *ToolFsTxtar) error
- func (c *CLI) ToolV8(ctx context.Context, in *ToolV8) error
- func (c *CLI) Version(ctx context.Context, in *Version) error
- type Create
- type Custom
- type Generate
- type NewController
- type Run
- type ToolCacheClean
- type ToolDS
- type ToolDi
- type ToolFsCat
- type ToolFsLs
- type ToolFsTree
- type ToolFsTxtar
- type ToolV8
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶ added in v0.1.5
type CLI struct { Dir string Log string Stdin io.Reader Stdout io.Writer Stderr io.Writer Env []string // Closer is used to manage resources Closer closer // Used for testing Bus pubsub.Client WebListener socket.Listener DevListener socket.Listener AFSListener socket.Listener // contains filtered or unexported fields }
func New ¶ added in v0.1.5
func New(closer closer) *CLI
TODO: figuring out how the resource lifecycle should be managed. Ideally the closer is optional, and if it is not passed in, the CLI will manage the resources.
func (*CLI) NewController ¶ added in v0.2.6
func (c *CLI) NewController(ctx context.Context, in *NewController) error
func (*CLI) ToolCacheClean ¶ added in v0.2.6
func (c *CLI) ToolCacheClean(ctx context.Context, in *ToolCacheClean) error
func (*CLI) ToolFsTree ¶ added in v0.2.6
func (c *CLI) ToolFsTree(ctx context.Context, in *ToolFsTree) error
func (*CLI) ToolFsTxtar ¶ added in v0.2.6
func (c *CLI) ToolFsTxtar(ctx context.Context, in *ToolFsTxtar) error
type NewController ¶ added in v0.2.6
type ToolCacheClean ¶ added in v0.2.6
type ToolFsTree ¶ added in v0.2.6
type ToolFsTxtar ¶ added in v0.2.6
Click to show internal directories.
Click to hide internal directories.