0.2.1
flyteplugins.union.utils.auth
Directory
Classes
| Class | Description |
|---|---|
AppClientCredentials |
Application client credentials for API key. |
Methods
| Method | Description |
|---|---|
encode_app_client_credentials() |
Encode app credentials as a base64 string for use as UNION_API_KEY. |
is_serverless_endpoint() |
Check if endpoint is a Union serverless endpoint. |
Methods
encode_app_client_credentials()
def encode_app_client_credentials(
app_credentials: flyteplugins.union.utils.auth.AppClientCredentials,
) -> strEncode app credentials as a base64 string for use as UNION_API_KEY.
| Parameter | Type | Description |
|---|---|---|
app_credentials |
flyteplugins.union.utils.auth.AppClientCredentials |
The application credentials to encode |
Returns: Base64-encoded credential string
is_serverless_endpoint()
def is_serverless_endpoint(
endpoint: str,
) -> boolCheck if endpoint is a Union serverless endpoint.
| Parameter | Type | Description |
|---|---|---|
endpoint |
str |