Documentation
¶
Index ¶
- func CopyNativeConfig(provider, destination, publishedDestination, privateDestination string, ...) error
- func PrepareHistorySeed(source, root string, plan tool.Object) error
- func PrepareNative(ctx context.Context, o *Options, plan tool.Object, root string) error
- func ReadHistorySeed(source string, plan tool.Object) error
- func ReserveRecordService(ctx context.Context, root string) (interface{ ... }, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyNativeConfig ¶
func CopyNativeConfig(provider, destination, publishedDestination, privateDestination string, env map[string]string) error
CopyNativeConfig copies connection and model-routing configuration into the visible config directory. Authentication files stay in privateDestination so an execution overlay can link them for one record run without retaining them. The source is discovered from the standard environment or HOME location; callers cannot inject an arbitrary configuration path. Generated catalog references name publishedDestination even when destination is still staging.
func PrepareHistorySeed ¶
A completed capture supplies native saved records. Preparing a later case does not execute an SDK, start a session, or require the replay stage first.
func PrepareNative ¶
func ReadHistorySeed ¶ added in v0.2.0
ReadHistorySeed reconstructs preparation facts from the frozen source without changing it or touching the writable native environment.
func ReserveRecordService ¶
func ReserveRecordService(ctx context.Context, root string) (interface { URL() string TokenFile() string Start(context.Context, Options, tool.Object) error Close() error Stopped() bool ProcessID() int Evidence() tool.Object }, error, )
ReserveRecordService allocates only a private target. Start runs after the ordinary agent result identifies the execution overlay that owns its env.