obj

package
v0.0.0-...-3b98f14 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

type Bucket interface {
	// Object returns a handle to an object specified by name.
	Object(name string) Object
}

Bucket is an interface for an object storage bucket.

type Client

type Client interface {
	// Bucket returns a handle to a bucket specified by name,
	Bucket(name string) Bucket
	// Error closes the client.
	Close() error
}

Client is an interface for object storage.

type Object

type Object interface {
	// NewRangeReader returns a new io.ReadCloser for the section [offset, offset+length)
	// for the object.
	NewRangeReader(ctx context.Context, offset, length int64) (io.ReadCloser, error)
}

Object is an interface to an object in object storage.

Directories

Path Synopsis
Package mock_obj is a generated GoMock package.
Package mock_obj is a generated GoMock package.

Jump to

Keyboard shortcuts

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