mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
f67b96659f
for backwards compatibility reasons with 3rd party projects. Signed-off-by: Johan Fylling <johan.dev@fylling.se>
20 lines
480 B
Go
20 lines
480 B
Go
// Copyright 2021 The OPA Authors. All rights reserved.
|
|
// Use of this source code is governed by an Apache2
|
|
// license that can be found in the LICENSE file.
|
|
|
|
//go:build go1.16
|
|
// +build go1.16
|
|
|
|
package capabilities
|
|
|
|
import (
|
|
"embed"
|
|
)
|
|
|
|
// FS contains the embedded capabilities/ directory of the built version,
|
|
// which has all the capabilities of previous versions:
|
|
// "v0.18.0.json" contains the capabilities JSON of version v0.18.0, etc
|
|
//
|
|
//go:embed *.json
|
|
var FS embed.FS
|