Documentation ¶
Index ¶
- func ApplyAuthToLocalModelRequest(ctx context.Context, host manifest.HostInfo, req *http.Request) error
- func ApplyHostSecretsToHttpRequest(ctx context.Context, host *manifest.HTTPHostInfo, req *http.Request) error
- func ApplyHostSecretsToString(ctx context.Context, host manifest.HostInfo, str string) (string, error)
- func GetHostSecret(host manifest.HostInfo, secretName string) (string, error)
- func GetHostSecrets(host manifest.HostInfo) (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 ApplyHostSecretsToHttpRequest ¶
func ApplyHostSecretsToHttpRequest(ctx context.Context, host *manifest.HTTPHostInfo, req *http.Request) error
ApplyHostSecretsToHttpRequest evaluates the given request and replaces any placeholders present in the query parameters and headers with their secret values for the given host.
func ApplyHostSecretsToString ¶
func ApplyHostSecretsToString(ctx context.Context, host manifest.HostInfo, str string) (string, error)
ApplyHostSecretsToString evaluates the given string and replaces any placeholders present in the string with their secret values for the given host.
func GetSecretValue ¶
func Initialize ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.