common

package
v0.36.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseInferenceStatusWIFProvider

func ParseInferenceStatusWIFProvider(output string) (string, error)

ParseInferenceStatusWIFProvider extracts the WIF provider from fullsend inference status JSON output.

func ProvisionInference

func ProvisionInference(
	binary, token, target, project string,
	runCLI CLIRunnerFunc,
	logf func(string, ...any),
) (string, error)

ProvisionInference runs inference provision and returns the WIF provider resource name. Mirrors the per-repo driver's provisionPerRepoInference.

func RunGitHubSetup

func RunGitHubSetup(
	binary, token, target, mintURL, gcpProjectID string,
	runCLI CLIRunnerFunc,
	logf func(string, ...any),
) error

RunGitHubSetup runs fullsend github setup for the given target with the provided mint URL. If gcpProjectID is non-empty, inference provisioning is performed first and the resulting WIF provider is threaded to setup.

Types

type CLIRunnerFunc

type CLIRunnerFunc = func(binary, token string, args ...string) (string, error)

CLIRunnerFunc is the signature for running a fullsend CLI command.

Jump to

Keyboard shortcuts

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