package boilerplate

const (
	upstreamRemoteURL = "git+ssh://git@git-aws.internal.justin.tv/kdkly/boilerplate-gen"
)

type binaryVersion struct {
	VersionTag, Digest, DownloadURL string
}

// N.B.: This list is generated by the `cmd/scrape-go-binaries` tool.
var (
	binaryVersions = []*binaryVersion{
		{"go1.7.3", "508028aac0654e993564b6e2014bf2d4a9751e3b286661b0b0040046cf18028e", "https://storage.googleapis.com/golang/go1.7.3.linux-amd64.tar.gz"},
		{"go1.7.1", "43ad621c9b014cde8db17393dc108378d37bc853aa351a6c74bf6432c1bbd182", "https://storage.googleapis.com/golang/go1.7.1.linux-amd64.tar.gz"},
		{"go1.7", "702ad90f705365227e902b42d91dd1a40e48ca7f67a2f4b2fd052aaa4295cd95", "https://storage.googleapis.com/golang/go1.7.linux-amd64.tar.gz"},
		{"go1.6.3", "cdde5e08530c0579255d6153b08fdb3b8e47caabbe717bc7bcd7561275a87aeb", "https://storage.googleapis.com/golang/go1.6.3.linux-amd64.tar.gz"},
		{"go1.6.2", "e40c36ae71756198478624ed1bb4ce17597b3c19d243f3f0899bb5740d56212a", "https://storage.googleapis.com/golang/go1.6.2.linux-amd64.tar.gz"},
		{"go1.6.1", "6d894da8b4ad3f7f6c295db0d73ccc3646bce630e1c43e662a0120681d47e988", "https://storage.googleapis.com/golang/go1.6.1.linux-amd64.tar.gz"},
		{"go1.6", "5470eac05d273c74ff8bac7bef5bad0b5abbd1c4052efbdbc8db45332e836b0b", "https://storage.googleapis.com/golang/go1.6.linux-amd64.tar.gz"},
		{"go1.5.4", "a3358721210787dc1e06f5ea1460ae0564f22a0fbd91be9dcd947fb1d19b9560", "https://storage.googleapis.com/golang/go1.5.4.linux-amd64.tar.gz"},
		{"go1.5.3", "43afe0c5017e502630b1aea4d44b8a7f059bf60d7f29dfd58db454d4e4e0ae53", "https://storage.googleapis.com/golang/go1.5.3.linux-amd64.tar.gz"},
	}

	// TODO: Implement support for enforcing this blacklist.
	blacklistedTags = []string{
		// go1.7.2 was tagged but not fully released due to a last-minute bug report, and should not be used.
		"go1.7.2",
	}
)
