docker_creds

package
v0.0.0-...-b2f4650 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const AWS_EKR_RE = `123456.dkr.ecr.region.amazonaws.com/`

Variables

This section is empty.

Functions

func BestGuess

func BestGuess(imageRef types.ImageReference) (*types.DockerAuthConfig, error)

BestGuess returns docker registry crendentials based on the imageUri. Credentials are fetched from various sources to mimic docker credStore behavior. Docker credStore is not readily available outside of docker command yet: See https://github.com/moby/moby/issues/39377 https://github.com/containers/image/pull/656

Types

This section is empty.

Jump to

Keyboard shortcuts

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