util

package
v0.0.0-...-0f21197 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPrefixedObjectClient

func NewPrefixedObjectClient(downstreamClient chunk.ObjectClient, prefix string) chunk.ObjectClient

Types

type PrefixedObjectClient

type PrefixedObjectClient struct {
	// contains filtered or unexported fields
}

func (PrefixedObjectClient) DeleteObject

func (p PrefixedObjectClient) DeleteObject(ctx context.Context, objectKey string) error

func (PrefixedObjectClient) GetObject

func (p PrefixedObjectClient) GetObject(ctx context.Context, objectKey string) (io.ReadCloser, error)

func (PrefixedObjectClient) List

func (PrefixedObjectClient) PutObject

func (p PrefixedObjectClient) PutObject(ctx context.Context, objectKey string, object io.ReadSeeker) error

func (PrefixedObjectClient) Stop

func (p PrefixedObjectClient) Stop()

Jump to

Keyboard shortcuts

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