Documentation ¶
Index ¶
- func ApplyAuthToLocalHypermodeModelRequest(ctx context.Context, connection manifest.ConnectionInfo, req *http.Request) error
- func ApplySecretsToHttpRequest(ctx context.Context, connection *manifest.HTTPConnectionInfo, ...) error
- func ApplySecretsToString(ctx context.Context, connection manifest.ConnectionInfo, str string) (string, error)
- func GetConnectionSecret(connection manifest.ConnectionInfo, secretName string) (string, error)
- func GetConnectionSecrets(connection manifest.ConnectionInfo) (map[string]string, error)
- func GetSecretValue(name string) (string, error)
- func HasSecret(name string) bool
- func Initialize(ctx context.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplySecretsToHttpRequest ¶
func ApplySecretsToHttpRequest(ctx context.Context, connection *manifest.HTTPConnectionInfo, req *http.Request) error
ApplySecretsToHttpRequest evaluates the given request and replaces any placeholders present in the query parameters and headers with their secret values for the given connection.
func ApplySecretsToString ¶
func ApplySecretsToString(ctx context.Context, connection manifest.ConnectionInfo, str string) (string, error)
ApplySecretsToString evaluates the given string and replaces any placeholders present in the string with their secret values for the given connection.
func GetConnectionSecret ¶
func GetConnectionSecret(connection manifest.ConnectionInfo, secretName string) (string, error)
func GetConnectionSecrets ¶
func GetConnectionSecrets(connection manifest.ConnectionInfo) (map[string]string, error)
func GetSecretValue ¶
func Initialize ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.