gitclient

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupAuthenticatedClient

func SetupAuthenticatedClient(
	ctx context.Context,
	vcx provider.Interface,
	kint kubeinteraction.Interface,
	run *params.Run,
	event *info.Event,
	repo *v1alpha1.Repository,
	globalRepo *v1alpha1.Repository,
	pacInfo *info.PacOpts,
	logger *zap.SugaredLogger,
) error

SetupAuthenticatedClient sets up the authenticated VCS client with proper token scoping. This is the centralized place for all client authentication and token scoping logic.

This function is idempotent and safe to call multiple times.

Types

This section is empty.

Jump to

Keyboard shortcuts

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