mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 08:50:42 +02:00
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:
parent
31fa214983
commit
9bce8314ba
15 changed files with 108 additions and 100 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue