uact

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 8 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 {
	Credential ucloudauth.Credential
	Client     *api.Client
	ProjectID  string
}

Driver wraps UCloud Action Trail (UACT) lookups. Action name and shape are pattern-inferred from UCloud's JSON-RPC convention; verify against the upstream SDK before relying on this in production.

func (*Driver) DumpEvents

func (d *Driver) DumpEvents(ctx context.Context, args string) ([]schema.Event, error)

DumpEvents returns recent action-log entries. `args` may be a `<startUnix>:<endUnix>` time window, "all", or empty.

func (*Driver) HandleEvents

func (d *Driver) HandleEvents(ctx context.Context, _ string) (schema.EventActionResult, error)

HandleEvents is unsupported — UCloud Action Trail is read-only.

Jump to

Keyboard shortcuts

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