Documentation ¶
Overview ¶
Package credentialprovider contains helper functions used in auth package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseSchemelessURL ¶
ParseSchemelessURL parses a schemeless url and returns a url.URL url.Parse require a scheme, but ours don't have schemes. Adding a scheme to make url.Parse happy, then clear out the resulting scheme.
func URLsMatch ¶
URLsMatch checks whether the given target url matches the glob url, which may have glob wild cards in the host name.
Examples:
globURL=*.docker.io, targetURL=blah.docker.io => match globURL=*.docker.io, targetURL=not.right.io => no match
Note that we don't support wildcards in ports and paths yet.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.