profileinstructions

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ManagedKeysForTest

func ManagedKeysForTest(refs ...*driver.InstructionsBundleRef) []string

func PromptPrefix

func PromptPrefix(prepared Prepared, mode driver.InstructionMode) string

func Snapshot

func Snapshot(driverType, profileDir string, ref *driver.InstructionsBundleRef, synced bool) engine.ResourceSnapshot

func Sync

func Sync(ctx context.Context, driverType, profileDir string, ref *driver.InstructionsBundleRef) (engine.ResourceSnapshot, string, error)

Types

type Prepared

type Prepared struct {
	Path           string
	Content        string
	Snapshot       engine.ResourceSnapshot
	PromptFallback bool
}

func PrepareForRun

func PrepareForRun(ctx context.Context, driverType, profileDir, workspaceDir string, ref *driver.InstructionsBundleRef) (Prepared, error)

Jump to

Keyboard shortcuts

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