Versions in this module Expand all Collapse all v1 v1.0.1 Apr 21, 2026 Changes in this version + func IsAuthError(err error) bool + func IsNotFound(err error) bool + type APIError struct + Attempts int + Message string + Status int + func (e *APIError) Error() string + type AuthError struct + Kind AuthKind + Message string + func (e *AuthError) Error() string + type AuthKind int + const AuthForbidden + const AuthUnauthorized + type BulkRevealResponse struct + Missing []string + Secrets map[string]string + Vault VaultSummary + type Client struct + func New(baseURL, token string, opts ...Option) (*Client, error) + func (c *Client) BulkReveal(ctx context.Context, org, project, vaultName, namespace string, names []string) (*BulkRevealResponse, error) + func (c *Client) IsClusterIdentity() bool + func (c *Client) OIDCExchange(ctx context.Context, clusterID, saToken string) (string, time.Time, error) + func (c *Client) Probe(ctx context.Context) error + type NotFoundError struct + Message string + func (e *NotFoundError) Error() string + type OIDCExchangeResponse struct + AccessToken string + ExpiresAt time.Time + TokenType string + type Option func(*Client) + func WithRetry(p RetryPolicy) Option + type RetryPolicy struct + Backoff []time.Duration + Jitter float64 + MaxAttempts int + func DefaultRetryPolicy() RetryPolicy + type TransportError struct + Attempts int + Underlying error + func (e *TransportError) Error() string + func (e *TransportError) Unwrap() error + type VaultSummary struct + Environment string + ID string + Name string