Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveVaultGatewayURL ¶
func ResolveVaultGatewayURL(tenantCtx *tenantctx.EnvironmentContext, envSet *environments.EnvironmentSet) string
ResolveVaultGatewayURL returns the vault gateway URL for secrets operations. Precedence: CRE_VAULT_DON_GATEWAY_URL env var, then the user context file vault_gateway_url, then the embedded default from EnvironmentSet.
func ValidateGatewayURL ¶ added in v1.22.0
ValidateGatewayURL rejects vault gateway URLs that are not HTTPS with a host, except for HTTP on loopback hosts used by local development and integration tests.
Types ¶
type HTTPClient ¶
type HTTPClient struct {
URL string
Client *http.Client
RetryAttempts uint
RetryDelay time.Duration
}
func (*HTTPClient) PostWithBearer ¶
Click to show internal directories.
Click to hide internal directories.