CopilotCommandArgs
Constructs a list of command-line arguments for the flyte-copilot executable based on the provided storage configuration. It dynamically adds arguments for multi-container support, init container, storage type, and detailed connection parameters, including those for Stow if configured.
def CopilotCommandArgs(
storageConfig: *storage.Config
) - > []string
Builds a slice of command-line arguments for the Flyte Copilot service based on the provided storage configuration. This function is used to construct the necessary arguments to initialize the Copilot service with the correct storage settings.
Parameters
| Name | Type | Description |
|---|---|---|
| storageConfig | *storage.Config | The storage configuration object containing details such as multi-container enablement, initial container name, storage type, and connection parameters. This configuration dictates how the Copilot service will interact with storage. |
Returns
| Type | Description |
|---|---|
[]string | A slice of strings representing the command-line arguments for the Flyte Copilot service. |