mirror of
https://github.com/hanzoai/metrics.git
synced 2026-10-30 20:03:39 +00:00
Add build tag `disable_grpc_modules` for vmbackup, vmrestore and vmbackupmanager. Binary size increases only for 3MB with it. It's acceptable trade-off for security and feature updates. Related issue: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/8008
11 lines
331 B
Go
11 lines
331 B
Go
package spiffebundle
|
|
|
|
import "github.com/spiffe/go-spiffe/v2/spiffeid"
|
|
|
|
// Source represents a source of SPIFFE bundles keyed by trust domain.
|
|
type Source interface {
|
|
// GetBundleForTrustDomain returns the SPIFFE bundle for the given trust
|
|
// domain.
|
|
GetBundleForTrustDomain(trustDomain spiffeid.TrustDomain) (*Bundle, error)
|
|
}
|