client

package
v0.1.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const STORAGE_SCHEME = "ss"

Variables

View Source
var ErrInvalidURL = errors.New("URL must match pattern ss:///bucket/[prefix]")

Functions

func NewStorageAPI

func NewStorageAPI(ctx context.Context, projectRef string) (storage.StorageAPI, error)

func NewVolcengineStorageAPI

func NewVolcengineStorageAPI(ctx context.Context, api *volcengine.Client, workspaceID, branchID string) (storage.StorageAPI, error)

NewVolcengineStorageAPI resolves a branch gateway and service role key for the lifetime of one Storage command. Credentials are never persisted.

func ParseStorageURL

func ParseStorageURL(objectURL string) (string, error)

func SplitBucketPrefix

func SplitBucketPrefix(objectPath string) (string, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL