inference

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package inference defines the interface for provisioning inference provider credentials during fullsend installation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	// Name returns the provider identifier (e.g. "vertex").
	Name() string

	// Provision acquires credentials and returns secrets to store.
	// Returns a map of secret-name → secret-value pairs to store
	// as repo secrets on .fullsend. Implementations must be
	// idempotent — Install calls Provision on every run.
	Provision(ctx context.Context) (map[string]string, error)

	// SecretNames returns the names of secrets this provider manages,
	// used by Analyze to check whether credentials are present.
	SecretNames() []string

	// Variables returns non-secret name/value pairs to store as repo
	// variables (e.g. region). May return nil.
	Variables() map[string]string
}

Provider provisions inference credentials during install.

Directories

Path Synopsis
Package vertex implements the inference.Provider interface for Google Cloud Vertex AI using Workload Identity Federation with GitHub OIDC.
Package vertex implements the inference.Provider interface for Google Cloud Vertex AI using Workload Identity Federation with GitHub OIDC.

Jump to

Keyboard shortcuts

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