Versions in this module Expand all Collapse all v1 v1.2.5 Aug 7, 2023 v1.2.4 Aug 7, 2023 Changes in this version + const IndexHostname + func NewClient(configPaths ...string) (auth.Client, error) + func NewClientWithDockerFallback(configPaths ...string) (auth.Client, error) + type Client struct + func (c *Client) Credential(hostname string) (string, string, error) + func (c *Client) Login(ctx context.Context, hostname, username, secret string, insecure bool) error + func (c *Client) LoginWithOpts(options ...iface.LoginOption) error + func (c *Client) Logout(_ context.Context, hostname string) error + func (c *Client) Resolver(_ context.Context, client *http.Client, plainHTTP bool) (remotes.Resolver, error) + func (c *Client) ResolverWithOpts(options ...iface.ResolverOption) (remotes.Resolver, error)