Beispiel #1
0
func init() {
	cache, err := newDigestToRepositoryCache(1024)
	if err != nil {
		panic(err)
	}
	cachedLayers = cache
	repomw.Register("openshift", repomw.InitFunc(newRepository))
}
func init() {
	cache, err := newDigestToRepositoryCache(1024)
	if err != nil {
		panic(err)
	}
	cachedLayers = cache
	repomw.Register("openshift", repomw.InitFunc(newRepository))

	secureTransport = http.DefaultTransport
	insecureTransport, err = kclient.TransportFor(&kclient.Config{Insecure: true})
	if err != nil {
		panic(fmt.Sprintf("Unable to configure a default transport for importing insecure images: %v", err))
	}
}
func init() {
	repomw.Register("openshift", repomw.InitFunc(newRepository))
}
func init() {
	repomw.Register("atomicenterprise", repomw.InitFunc(newRepository))
}