credentials

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Package credentials contains the logic to manage credentials for accessing remote registries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CredentialsFromSecret added in v0.3.0

func CredentialsFromSecret(secret *corev1.Secret) (auth.Credential, error)

CredentialsFromSecret extracts registry credentials from a Kubernetes Secret.

func FromSecret added in v0.3.0

func FromSecret(registry string, secret *corev1.Secret) (auth.CredentialFunc, error)

FromSecret derives an ORAS credential function from a Secret. A nil secret yields anonymous credentials.

Types

This section is empty.

Jump to

Keyboard shortcuts

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