Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TrustServerMap = map[string]TrustServerFn{ "docker.io": Identity("https://notary.docker.io"), "quay.io": Identity("https://quay.io:443"), "bluemix.net": IBMRegional, "icr.io": ICRRegional, }
TrustServerMap Easy way to link known registries to their sponsored trust servers
Functions ¶
func IBMRegional ¶
IBMRegional IBM Sponsored Trust server, depends on the regional part of the docker image hostname.
func ICRRegional ¶
ICRRegional IBM Sponsored Trust server, depends on the regional part of the docker image hostname.
Types ¶
type TrustServerFn ¶
TrustServerFn A simple type alias to represent a function that takes image and suffix and returns trust url
func Identity ¶
func Identity(value string) TrustServerFn
Identity Returns a configured function that just returns a string. For static trust server hosts.
Click to show internal directories.
Click to hide internal directories.