Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidKey ¶
func KeyValidator ¶
func KeyValidator(value string, errorReporter structure.ErrorReporter)
func ValidateKey ¶
Types ¶
type Options ¶ added in v1.31.0
type Options struct {
MediaType *string `json:"mediaType,omitempty"`
}
func NewOptions ¶ added in v1.31.0
func NewOptions() *Options
type Store ¶
type Store interface {
Exists(ctx context.Context, key string) (bool, error)
Put(ctx context.Context, key string, reader io.Reader, options *Options) error
Get(ctx context.Context, key string) (io.ReadCloser, error)
Delete(ctx context.Context, key string) (bool, error)
DeleteDirectory(ctx context.Context, key string) error
}
Click to show internal directories.
Click to hide internal directories.