Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DigestFromTarget ¶
DigestFromTarget get a target and return the value of digest, in accordance to Docker-Content-Digest
func GetInternalTargets ¶
func GetInternalTargets(notaryEndpoint string, username string, repo string) ([]model.Target, error)
GetInternalTargets wraps GetTargets to read config values for getting full-qualified repo from internal notary instance.
func GetTargets ¶
GetTargets is a help function called by API to fetch signature information of a given repository. Per docker's convention the repository should contain the information of endpoint, i.e. it should look like "192.168.0.1/library/ubuntu", instead of "library/ubuntu" (fqRepo for fully-qualified repo)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.