package
1.0.1
Repository: https://github.com/containers/common.git
Documentation: pkg.go.dev

# Functions

CheckAuthFile validates filepath given by --authfile used by command has --authfile flag.
GetDefaultAuthFile returns env value REGISTRY_AUTH_FILE as default --authfile path used in multiple --authfile flag definitions Will fail over to DOCKER_CONFIG if REGISTRY_AUTH_FILE environment is not set.
GetLoginFlags defines and returns login flags for containers tools.
GetLoginFlagsCompletions returns the FlagCompletions for the login flags.
GetLogoutFlags defines and returns logout flags for containers tools.
GetLogoutFlagsCompletions returns the FlagCompletions for the logout flags.
Login implements a “log in” command with the provided opts and args reading the password from opts.Stdin or the options in opts.
Logout implements a “log out” command with the provided opts and args.

# Structs

LoginOptions represents common flags in login In addition, the caller should probably provide a --tls-verify flag (that affects the provided *types.SystemContest).
LogoutOptions represents the results for flags in logout.