Documentation
¶
Overview ¶
Package cmdagent owns agent arguments and report presentation.
Index ¶
- func New(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewAwait(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewCompare(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewDiff(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewExperiment(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewProfiles(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewPrune(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewReview(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewRun(runtime shared.Runtime, deps Dependencies) *cobra.Command
- func NewTaskTypes(runtime shared.Runtime, deps Dependencies) *cobra.Command
- type Dependencies
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCompare ¶
func NewCompare(runtime shared.Runtime, deps Dependencies) *cobra.Command
NewCompare builds `wb agent compare`.
func NewDiff ¶
func NewDiff(runtime shared.Runtime, deps Dependencies) *cobra.Command
NewDiff builds `wb agent diff`.
func NewExperiment ¶
func NewExperiment(runtime shared.Runtime, deps Dependencies) *cobra.Command
NewExperiment builds `wb agent experiment <id>`.
func NewProfiles ¶
func NewProfiles(runtime shared.Runtime, deps Dependencies) *cobra.Command
NewProfiles builds `wb agent profiles`, the machine-readable profile catalog.
func NewPrune ¶
func NewPrune(runtime shared.Runtime, deps Dependencies) *cobra.Command
NewPrune builds `wb agent prune`, the retention control.
func NewReview ¶
func NewReview(runtime shared.Runtime, deps Dependencies) *cobra.Command
NewReview builds `wb agent review`: the only writer of the acceptance axis.
func NewRun ¶
func NewRun(runtime shared.Runtime, deps Dependencies) *cobra.Command
NewRun builds `wb agent run`: the task-type and profile aware entry point.
func NewTaskTypes ¶
func NewTaskTypes(runtime shared.Runtime, deps Dependencies) *cobra.Command
NewTaskTypes builds `wb agent task-types`, the machine-readable task-type catalog.
Types ¶
type Dependencies ¶
type Dependencies struct {
agentrun.Operations
ResolveRemote func(string) (agents.RemoteTarget, error)
CallRemote func(context.Context, agents.RemoteTarget, agents.RemoteRequest) (agents.RemoteResponse, error)
ReadTaskFile func(string) ([]byte, error)
Discovery func(*cobra.Command, string)
}