auth

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAuthConfig

func GenerateAuthConfig(username, password string) (*dockertypes.AuthConfig, error)

GenerateUserPasswordAuthConfig return an AuthConfig to identify to docker registry using base64 auth credentials

func GenerateEncodedUserPasswordAuthConfig

func GenerateEncodedUserPasswordAuthConfig(username, password string) (*string, error)

GenerateEncodedUserPasswordAuthConfig return a pointer to an encoded docker registry auth string

func GenerateUserPasswordAuthConfig

func GenerateUserPasswordAuthConfig(username, password string) (*dockertypes.AuthConfig, error)

GenerateUserPasswordAuthConfig return an AuthConfig to identify to docker registry using user-password credentials

Types

This section is empty.

Jump to

Keyboard shortcuts

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