package
0.0.0-20250122002640-edcc206a77a1
Repository: https://github.com/opengovern/resilient-bridge.git
Documentation: pkg.go.dev

# Functions

ExtractExternalBaseImagesFromBase64 parses a base64-encoded Dockerfile, expands ARG references, and returns a deduplicated slice of external (non-alias) base images.
GenerateECDSAKeyPair creates a new ECDSA P-256 key pair entirely in Go.
GetAllCredentials takes a JSON byte slice and a scope (e.g., `repository:myrepo:pull`).
NewAzureSPN creates a new AzureSPN instance.
PullArtifact pulls an OCI/Docker artifact from the given URI using the provided credentials, and stores the artifact files in the specified output directory.

# Structs

AzureSPN provides methods to acquire and refresh tokens for Azure using SPN credentials.
AzureSPNCertificateCredentials holds fields required for SPN certificate-based credential retrieval.
AzureSPNConfig holds configuration required for authenticating via SPN.
AzureSPNPasswordCredentials holds fields required for SPN password-based credential retrieval.
CredentialsInput is the combined structure for all supported credential types.
DockerHubCredentials for DockerHub registry.
ECDSAKeyPair holds the PEM-encoded private key and public key.
GitHubCredentials for GitHub Container Registry (GHCR).
GoogleServiceAccountCredentials represents the GCP service account JSON for GCR.