Documentation ¶
Index ¶
- Constants
- func NewCachedKeychainFactory(keychainFactory registry.KeychainFactory) registry.KeychainFactory
- func NewVolumeSecretKeychain() (authn.Keychain, error)
- func VerifyReadAccess(keychain authn.Keychain, tag string) error
- func VerifyWriteAccess(keychain authn.Keychain, tag string) error
- type DockerCreds
- type RegistryMatcher
Constants ¶
View Source
const (
SecretFilePathEnv = "CREDENTIAL_PROVIDER_SECRET_PATH"
)
Variables ¶
This section is empty.
Functions ¶
func NewCachedKeychainFactory ¶
func NewCachedKeychainFactory(keychainFactory registry.KeychainFactory) registry.KeychainFactory
func NewVolumeSecretKeychain ¶
Types ¶
type DockerCreds ¶
type DockerCreds map[string]authn.AuthConfig
func ParseBasicAuthSecrets ¶
func ParseBasicAuthSecrets(volumeName string, secrets []string) (DockerCreds, error)
func ParseDockerConfigSecret ¶
func ParseDockerConfigSecret(dir string) (DockerCreds, error)
func (DockerCreds) Append ¶
func (c DockerCreds) Append(a DockerCreds) (DockerCreds, error)
func (DockerCreds) Resolve ¶
func (c DockerCreds) Resolve(reg authn.Resource) (authn.Authenticator, error)
func (DockerCreds) Save ¶
func (c DockerCreds) Save(path string) error
type RegistryMatcher ¶
type RegistryMatcher struct {
Registry string
}
func (RegistryMatcher) Match ¶
func (m RegistryMatcher) Match(reg string) bool
Source Files ¶
Click to show internal directories.
Click to hide internal directories.