2
0

style(vault): align error variable declarations
Some checks failed
Build and Release / Unit Tests (push) Successful in 2m55s
Build and Release / Create Release (push) Successful in 0s
Build and Release / Integration Tests (PostgreSQL) (push) Successful in 4m52s
Build and Release / Lint (push) Successful in 4m57s
Build and Release / Build Binaries (amd64, linux, linux-latest) (push) Successful in 3m7s
Build and Release / Build Binaries (amd64, windows, windows-latest) (push) Successful in 9h4m56s
Build and Release / Build Binaries (amd64, darwin, macos) (push) Successful in 5m19s
Build and Release / Build Binaries (arm64, darwin, macos) (push) Successful in 5m37s
Build and Release / Build Binary (linux/arm64) (push) Failing after 1m47s

This commit is contained in:
2026-01-20 01:19:56 -05:00
parent 040dd2d527
commit 0784c2e6d6

View File

@@ -11,20 +11,20 @@ import (
)
var (
ErrVaultNotAvailable = errors.New("vault plugin not available")
ErrVaultNotLicensed = errors.New("vault plugin not licensed")
ErrVaultNotConfigured = errors.New("vault master key not configured")
ErrSecretNotFound = errors.New("secret not found")
ErrSecretExists = errors.New("secret already exists")
ErrSecretLimitReached = errors.New("secret limit reached for current license tier")
ErrFeatureNotInTier = errors.New("feature not available in current license tier")
ErrTokenNotFound = errors.New("token not found")
ErrTokenExpired = errors.New("token expired")
ErrTokenLimitReached = errors.New("token limit reached for current license tier")
ErrTokenTTLExceeded = errors.New("token TTL exceeds maximum for current license tier")
ErrInvalidToken = errors.New("invalid token")
ErrInvalidScope = errors.New("invalid token scope")
ErrAccessDenied = errors.New("access denied")
ErrVaultNotAvailable = errors.New("vault plugin not available")
ErrVaultNotLicensed = errors.New("vault plugin not licensed")
ErrVaultNotConfigured = errors.New("vault master key not configured")
ErrSecretNotFound = errors.New("secret not found")
ErrSecretExists = errors.New("secret already exists")
ErrSecretLimitReached = errors.New("secret limit reached for current license tier")
ErrFeatureNotInTier = errors.New("feature not available in current license tier")
ErrTokenNotFound = errors.New("token not found")
ErrTokenExpired = errors.New("token expired")
ErrTokenLimitReached = errors.New("token limit reached for current license tier")
ErrTokenTTLExceeded = errors.New("token TTL exceeds maximum for current license tier")
ErrInvalidToken = errors.New("invalid token")
ErrInvalidScope = errors.New("invalid token scope")
ErrAccessDenied = errors.New("access denied")
)
// Plugin defines the interface that vault plugins must implement