cuobjclient

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MaxTransferSize = 1 << 30

MaxTransferSize is the largest transfer size supported by the cuObject client path in this package.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct{}

Session is a non-Linux stub so packages compile on unsupported platforms.

func NewSession

func NewSession(size int) (*Session, error)

NewSession always returns an unsupported-platform error on this build.

On supported platforms, sessions are intended to be reused for multiple sequential transfers and are not safe for concurrent use by multiple goroutines.

func (*Session) Close

func (s *Session) Close()

Close is a no-op in the unsupported-platform stub.

func (*Session) Download

func (s *Session) Download(base *s3lib.Client, bucket, key string, dst []byte) error

Download always returns an unsupported-platform error on this build.

func (*Session) Upload

func (s *Session) Upload(base *s3lib.Client, bucket, key string, src []byte) error

Upload always returns an unsupported-platform error on this build.

Jump to

Keyboard shortcuts

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