filehandler

package
v0.2.210 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InMemoryFileHandler

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

func CreateInMemoryFileHandler

func CreateInMemoryFileHandler() (*InMemoryFileHandler, error)

func (*InMemoryFileHandler) AddFile

func (s *InMemoryFileHandler) AddFile(bucket, file string)

func (*InMemoryFileHandler) AddFiles

func (s *InMemoryFileHandler) AddFiles(bucket string, files map[string]bool) error

func (*InMemoryFileHandler) GetAndDeleteFiles

func (s *InMemoryFileHandler) GetAndDeleteFiles(bucket string) (map[string]bool, error)

GetAndDeleteFiles returns a list of files for a container and purges the list for InMemoryFileHandler

func (*InMemoryFileHandler) RemoveBucket

func (s *InMemoryFileHandler) RemoveBucket(bucket string) error

Jump to

Keyboard shortcuts

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