s3

package
v0.35.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillCredentials added in v0.35.0

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 added in v0.25.2

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 added in v0.25.2

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