Documentation
¶
Index ¶
- Constants
- Variables
- func Execute()
- func NewAPICmd() *cobra.Command
- func NewBuildCmd() *cobra.Command
- func NewCatalogCmd() *cobra.Command
- func NewDebugCmd() *cobra.Command
- func NewEvalCmd() *cobra.Command
- func NewExecCmd() *cobra.Command
- func NewFeedbackCmd() *cobra.Command
- func NewNewCmd() *cobra.Command
- func NewPrintCmd() *cobra.Command
- func NewPullCmd() *cobra.Command
- func NewPushCmd() *cobra.Command
- func NewReadmeCmd() *cobra.Command
- func NewRootCmd() *cobra.Command
- func NewRunCmd() *cobra.Command
- func NewTuiCmd() *cobra.Command
- func NewVersionCmd() *cobra.Command
- func Run()
- type ConfirmationResult
- type RuntimeError
Constants ¶
View Source
const AppName = "cagent"
Variables ¶
View Source
var FeedbackLink = "https://docker.qualtrics.com/jfe/form/SV_cNsCIg92nQemlfw"
Functions ¶
func NewBuildCmd ¶ added in v1.1.0
func NewCatalogCmd ¶
NewCatalogCmd creates the catalog command with its subcommands
func NewDebugCmd ¶
NewDebugCmd creates a command that prints the debug information about cagent.
func NewEvalCmd ¶
func NewExecCmd ¶ added in v0.7.0
func NewFeedbackCmd ¶
NewFeedbackCmd creates a new feedback command
func NewPrintCmd ¶ added in v1.5.4
func NewPullCmd ¶
func NewPushCmd ¶
func NewReadmeCmd ¶
NewReadmeCmd creates a command that prints the README of an agent.
func NewVersionCmd ¶
NewVersionCmd creates a new version command
Types ¶
type ConfirmationResult ¶
type ConfirmationResult string
confirmation result types
const ( ConfirmationApprove ConfirmationResult = "approve" ConfirmationApproveSession ConfirmationResult = "approve_session" ConfirmationReject ConfirmationResult = "reject" ConfirmationAbort ConfirmationResult = "abort" )
type RuntimeError ¶ added in v1.5.8
type RuntimeError struct {
Err error
}
RuntimeError wraps runtime errors to distinguish them from usage errors
func (RuntimeError) Error ¶ added in v1.5.8
func (e RuntimeError) Error() string
func (RuntimeError) Unwrap ¶ added in v1.5.8
func (e RuntimeError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.