s3

package
v4.10.5 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillCredentials

func FillCredentials(o *snapshotapi.S3Options, isClient bool)

func IsValidS3URLScheme

func IsValidS3URLScheme(s3URL string) bool

IsValidS3URLScheme returns true if the scheme is http:// or https:// and the url parses correctly, otherwise, return false

Types

type ObjectStore

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

func NewStore

func NewStore(logger logr.Logger) *ObjectStore

func (*ObjectStore) Delete

func (o *ObjectStore) Delete(ctx context.Context) error

func (*ObjectStore) GetObject

func (o *ObjectStore) GetObject(ctx context.Context) (io.ReadCloser, error)

func (*ObjectStore) Init

func (o *ObjectStore) Init(config *snapshotapi.S3Options) error

func (*ObjectStore) List

func (*ObjectStore) PutObject

func (o *ObjectStore) PutObject(ctx context.Context, body io.Reader) error

func (*ObjectStore) Target

func (o *ObjectStore) Target() string

Jump to

Keyboard shortcuts

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