Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RawPermissionsToMode ¶ added in v1.4.0
func RegisterStorage ¶
Types ¶
type ConfigProvider ¶
func NewMapConfigProvider ¶
func NewMapConfigProvider(m map[string]interface{}) ConfigProvider
type Object ¶
type ObjectReader ¶
type ObjectReader struct { io.ReadCloser Object }
type Storage ¶
type Storage interface { fs.ReadDirFS json.Marshaler Type() string Name() string ListObject(ctx context.Context, objectPrefix string, recursion bool, callback func(key Object)) error HeadObject(ctx context.Context, objectPath string) (obj *Object, err error) GetObject(ctx context.Context, objectPath string) (*ObjectReader, error) PutObject(ctx context.Context, objectPath string, obj io.Reader, headers http.Header, metadata map[string]string) error }
Click to show internal directories.
Click to hide internal directories.