libcompose: Index | Files

package auth

import ""


Package Files


type ConfigLookup Uses

type ConfigLookup struct {

ConfigLookup implements AuthLookup by reading a Docker config file

func NewConfigLookup Uses

func NewConfigLookup(configfile *configfile.ConfigFile) *ConfigLookup

NewConfigLookup creates a new ConfigLookup for a given context

func (*ConfigLookup) All Uses

func (c *ConfigLookup) All() map[string]types.AuthConfig

All uses a Docker config file to get all authentication information

func (*ConfigLookup) Lookup Uses

func (c *ConfigLookup) Lookup(repoInfo *registry.RepositoryInfo) types.AuthConfig

Lookup uses a Docker config file to lookup authentication information

type Lookup Uses

type Lookup interface {
    All() map[string]types.AuthConfig
    Lookup(repoInfo *registry.RepositoryInfo) types.AuthConfig

Lookup defines a method for looking up authentication information

Package auth imports 4 packages (graph) and is imported by 26 packages. Updated 2019-08-05. Refresh now. Tools for package owners.