envoy: refactor envoy embedding (#2296)

* envoy: add full version

* remove unused import

* envoy: refactor envoy embedding

* fix lint

* commit ignored files

* maybe fix test
This commit is contained in:
Caleb Doxsey 2021-06-15 08:18:30 -06:00 committed by GitHub
parent 31fa214983
commit 9bce8314ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 108 additions and 100 deletions

View file

@ -6,11 +6,10 @@ import (
"strings"
)
//go:embed envoy.sha256
var rawChecksum string
//go:embed envoy.version
var rawVersion string
// Binary returns the raw envoy binary bytes.
func Binary() []byte {
return rawBinary
}
// Checksum returns the checksum for the embedded envoy binary.
func Checksum() string {