assistant

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	Client *api.Client
	Region string
	// contains filtered or unexported fields
}

Driver wraps JDCloud's Cloud Assistant (云助手) command-exec flow: CreateCommand → InvokeCommand → poll DescribeInvocations → DeleteCommands. JDCloud does not expose an agent-status preflight (unlike volcengine's DescribeCloudAssistantStatus), so an offline agent surfaces as an invalid / failed invocation status and we relay the ErrorInfo upstream.

func (*Driver) RunCommand

func (d *Driver) RunCommand(instanceID, osType, cmd string) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL