workloadsetup

package
v0.1.0-rc.48 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: BSD-3-Clause Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

package workloadsetup owns trusted workload setup and stable provider bindings. it depends on configuration, provider metadata and public control contracts; connector runtime acquisition never calls setup or provider account APIs.

Index

Constants

This section is empty.

Variables

View Source
var ErrBinding = errors.New("workload setup could not bind the selected platform identity; check provider authentication and project selection")
View Source
var ErrGitLabAuthentication = errors.New("workload setup needs existing glab authentication with read access to the selected GitLab project")
View Source
var ErrGoogleAuthentication = errors.New("first Google workload apply needs gcloud authentication with permission to describe the selected service account")
View Source
var ErrKubernetesAuthentication = errors.New("workload setup needs an authenticated kubectl context with service-account and issuer-discovery read access")
View Source
var ErrRebinding = errors.New("the selected workload resolves to a different platform identity; use a new workload name to grant it access")
View Source
var ErrVercelAuthentication = errors.New("first Vercel workload apply needs VERCEL_TOKEN with read access to the selected project and team")
View Source
var ErrVercelProject = errors.New("select vercel.project or link this project with vercel link before applying")

Functions

func Resolve

func Resolve(ctx context.Context, options Options) (map[string]controlv1.ProjectWorkload, error)

resolve uses existing authentication only. successful applies save exact identities so unchanged applies do not need provider account credentials.

Types

type Options

type Options struct {
	Directory  string
	Server     string
	Workloads  map[string]config.Workload
	Previous   map[string]controlv1.ProjectWorkload
	Repository func(context.Context) (string, error)
}

Jump to

Keyboard shortcuts

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