Documentation
¶
Index ¶
- func ApplyCmd() *cobra.Command
- func BootChat(ctx context.Context, workspace string, resourceType string, ...) error
- func Chat(ctx context.Context, workspace string, resourceType string, ...) error
- func ChatCmd() *cobra.Command
- func CheckResource(ctx context.Context, workspace string, resourceType string, ...) error
- func CheckWorkspaceAccess(workspaceName string, credentials sdk.Credentials) (sdk.Workspace, error)
- func ConnectCmd() *cobra.Command
- func ConnectSandboxCmd() *cobra.Command
- func CreateAgentAppCmd() *cobra.Command
- func CreateJobCmd() *cobra.Command
- func CreateMCPCmd() *cobra.Command
- func CreateSandboxCmd() *cobra.Command
- func DeleteCmd() *cobra.Command
- func DeleteFn(resource *core.Resource, name string) error
- func DeleteImagesCmd() *cobra.Command
- func DeployCmd() *cobra.Command
- func Execute(releaseVersion string, releaseCommit string, releaseDate string) error
- func GetCmd() *cobra.Command
- func GetFn(resource *core.Resource, name string)
- func GetImagesCmd() *cobra.Command
- func HandleJobNestedResource(args []string) bool
- func ListAllImages()
- func ListExec(resource *core.Resource) ([]interface{}, error)
- func ListFn(resource *core.Resource)
- func ListOrSetWorkspacesCmd() *cobra.Command
- func LoginCmd() *cobra.Command
- func LogoutCmd() *cobra.Command
- func LogsCmd() *cobra.Command
- func NewCmd() *cobra.Command
- func RunCmd() *cobra.Command
- func SendMessage(ctx context.Context, workspace string, resourceType string, ...) (string, error)
- func SendMessageStream(ctx context.Context, workspace string, resourceType string, ...) error
- func ServeCmd() *cobra.Command
- func TokenCmd() *cobra.Command
- func UpgradeCmd() *cobra.Command
- func VersionCmd() *cobra.Command
- type ApplyOption
- type ApplyResult
- type Deployment
- func (d *Deployment) Apply() error
- func (d *Deployment) ApplyInteractive() error
- func (d *Deployment) Generate(skipBuild bool) error
- func (d *Deployment) GenerateDeployment(skipBuild bool) core.Result
- func (d *Deployment) IgnoredPaths() []string
- func (d *Deployment) Print(skipBuild bool) error
- func (d *Deployment) PrintTar() error
- func (d *Deployment) PrintZip() error
- func (d *Deployment) Ready()
- func (d *Deployment) Tar() error
- func (d *Deployment) Upload(url string) error
- func (d *Deployment) Zip() error
- type ResourceOperationResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckResource ¶ added in v0.1.27
func CheckWorkspaceAccess ¶
func ConnectCmd ¶ added in v0.1.27
func ConnectSandboxCmd ¶ added in v0.1.27
func CreateAgentAppCmd ¶ added in v0.1.27
CreateAgentAppCmd returns a deprecated command that redirects users to `bl new agent`.
func CreateJobCmd ¶ added in v0.1.27
CreateJobCmd returns a deprecated command that redirects users to `bl new job`.
func CreateMCPCmd ¶ added in v0.1.70
CreateMCPCmd returns a deprecated command that redirects users to `bl new mcp`.
func CreateSandboxCmd ¶ added in v0.1.34
CreateSandboxCmd returns a deprecated command that redirects users to `bl new sandbox`.
func DeleteImagesCmd ¶ added in v0.1.55
func GetImagesCmd ¶ added in v0.1.55
func HandleJobNestedResource ¶ added in v0.1.62
HandleJobNestedResource handles nested resources for jobs (like executions) Returns true if a nested resource was handled, false if this is a regular get
func ListAllImages ¶ added in v0.1.55
func ListAllImages()
ListAllImages lists all images without their tags
func ListOrSetWorkspacesCmd ¶ added in v0.1.27
func NewCmd ¶ added in v0.1.39
NewCmd implements `bl new` which unifies create commands under one entrypoint. Usage:
bl new [type] [directory] [-t template] [-y]
Examples:
bl new agent my-app -t template-google-adk-py bl new mcp my-func -y bl new
func SendMessage ¶ added in v0.1.27
func SendMessageStream ¶ added in v0.1.27
func UpgradeCmd ¶ added in v0.1.57
func VersionCmd ¶ added in v0.1.27
Types ¶
type ApplyOption ¶
type ApplyOption func(*applyOptions)
ApplyOption defines a function type for apply options
func WithRecursive ¶
func WithRecursive(recursive bool) ApplyOption
WithRecursive sets the recursive option
type ApplyResult ¶
type ApplyResult struct {
Kind string
Name string
Result ResourceOperationResult
}
func Apply ¶ added in v0.1.27
func Apply(filePath string, opts ...ApplyOption) ([]ApplyResult, error)
func ApplyResources ¶ added in v0.1.27
func ApplyResources(results []core.Result) ([]ApplyResult, error)
type Deployment ¶
type Deployment struct {
// contains filtered or unexported fields
}
func (*Deployment) Apply ¶
func (d *Deployment) Apply() error
func (*Deployment) ApplyInteractive ¶ added in v0.1.44
func (d *Deployment) ApplyInteractive() error
func (*Deployment) Generate ¶
func (d *Deployment) Generate(skipBuild bool) error
func (*Deployment) GenerateDeployment ¶
func (d *Deployment) GenerateDeployment(skipBuild bool) core.Result
func (*Deployment) IgnoredPaths ¶
func (d *Deployment) IgnoredPaths() []string
func (*Deployment) Print ¶
func (d *Deployment) Print(skipBuild bool) error
func (*Deployment) PrintTar ¶ added in v0.1.45
func (d *Deployment) PrintTar() error
func (*Deployment) PrintZip ¶
func (d *Deployment) PrintZip() error
func (*Deployment) Ready ¶ added in v0.1.15
func (d *Deployment) Ready()
func (*Deployment) Tar ¶ added in v0.1.45
func (d *Deployment) Tar() error
func (*Deployment) Upload ¶
func (d *Deployment) Upload(url string) error
func (*Deployment) Zip ¶
func (d *Deployment) Zip() error