mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-18 17:32:58 +02:00
* dep ensure and use k8schain * checkpoint * fix vendoring, stuff builds * Use k8schain for pushes too * Use NewNoClient * update ggcr dep * Move k8schain usage to image_util.go
16 lines
209 B
Go
16 lines
209 B
Go
//+build go1.9
|
|
|
|
package concurrent
|
|
|
|
import "sync"
|
|
|
|
// Map is a wrapper for sync.Map introduced in go1.9
|
|
type Map struct {
|
|
sync.Map
|
|
}
|
|
|
|
// NewMap creates a thread safe Map
|
|
func NewMap() *Map {
|
|
return &Map{}
|
|
}
|