Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add volcengine tos storage to support #256

Closed
yaoice opened this issue Sep 9, 2024 · 1 comment · Fixed by #257
Closed

add volcengine tos storage to support #256

yaoice opened this issue Sep 9, 2024 · 1 comment · Fixed by #257
Labels
enhancement New feature or request

Comments

@yaoice
Copy link
Contributor

yaoice commented Sep 9, 2024

No description provided.

@dosubot dosubot bot added the enhancement New feature or request label Sep 9, 2024
Copy link

dosubot bot commented Sep 9, 2024

To add Volcengine TOS storage support, you can follow the existing pattern for integrating new storage services. Here are the steps:

  1. Define Environment Variables:

    • Add new environment variables for Volcengine TOS similar to the existing ones for S3, Azure Blob, and Aliyun OSS.
  2. Update Configuration:

    • Modify the configuration section to include Volcengine TOS as a storage type.
  3. Implement Storage Integration:

    • Implement the necessary code to handle file operations (upload, download, delete) using Volcengine TOS SDK.

Example Configuration

Add the following environment variables for Volcengine TOS:

- TOS_ENDPOINT: TOS endpoint address
- TOS_BUCKET_NAME: TOS bucket name
- TOS_ACCESS_KEY: TOS Access Key
- TOS_SECRET_KEY: TOS Secret Key
- TOS_REGION: TOS region information

Update Configuration Section

Modify the configuration section to include Volcengine TOS:

- STORAGE_TYPE

  Type of storage facility

  - local (default)
  - s3
  - azure-blob
  - aliyun-oss
  - tos  # Add this line for Volcengine TOS

- TOS_ENDPOINT: TOS endpoint address
- TOS_BUCKET_NAME: TOS bucket name
- TOS_ACCESS_KEY: TOS Access Key
- TOS_SECRET_KEY: TOS Secret Key
- TOS_REGION: TOS region information

Implement Storage Integration

Implement the necessary code to handle file operations using the Volcengine TOS SDK. Ensure you follow the same structure as the existing storage integrations.

For detailed steps on adding a new provider, refer to the Adding a New Provider guide [1][2].

This should help you integrate Volcengine TOS storage into the project.

To continue talking to Dosu, mention @dosu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant