auth

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package auth provides functionality to fetch authentication information for various Docker registries. It provides special handling for Docker Hub.

Index

Constants

View Source
const ENV_NAME = "INVOLUCRO_AUTH"

Variables

This section is empty.

Functions

func ForServer

func ForServer(server string) (docker.AuthConfiguration, bool, error)

ForServer reads the configuration file and returns a AuthConfiguration, when there is one for the given server.

If there is one, the second return value will be true, if there is none, it is false.

However, if an error other than file not found occurs, this error will be returned and the value of the other values is undefined.

Types

This section is empty.

Jump to

Keyboard shortcuts

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