Documentation ¶
Index ¶
- type FileObjectStore
- func (f *FileObjectStore) CreateSignedURL(bucket, key string, ttl time.Duration) (string, error)
- func (f *FileObjectStore) DeleteObject(bucket, key string) error
- func (f *FileObjectStore) GetObject(bucket, key string) (io.ReadCloser, error)
- func (f *FileObjectStore) Init(config map[string]string) error
- func (f *FileObjectStore) ListCommonPrefixes(bucket, prefix, delimiter string) ([]string, error)
- func (f *FileObjectStore) ListObjects(bucket, prefix string) ([]string, error)
- func (f *FileObjectStore) ObjectExists(bucket, key string) (bool, error)
- func (f *FileObjectStore) PutObject(bucket string, key string, body io.Reader) error
- type PluginConfigMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileObjectStore ¶
type FileObjectStore struct {
// contains filtered or unexported fields
}
func NewFileObjectStore ¶
func NewFileObjectStore(log logrus.FieldLogger) *FileObjectStore
NewFileObjectStore instantiates a FileObjectStore.
func (*FileObjectStore) CreateSignedURL ¶
func (*FileObjectStore) DeleteObject ¶
func (f *FileObjectStore) DeleteObject(bucket, key string) error
func (*FileObjectStore) GetObject ¶
func (f *FileObjectStore) GetObject(bucket, key string) (io.ReadCloser, error)
func (*FileObjectStore) Init ¶
func (f *FileObjectStore) Init(config map[string]string) error
Init initializes the plugin. After v0.10.0, this can be called multiple times.
func (*FileObjectStore) ListCommonPrefixes ¶
func (f *FileObjectStore) ListCommonPrefixes(bucket, prefix, delimiter string) ([]string, error)
func (*FileObjectStore) ListObjects ¶
func (f *FileObjectStore) ListObjects(bucket, prefix string) ([]string, error)
func (*FileObjectStore) ObjectExists ¶
func (f *FileObjectStore) ObjectExists(bucket, key string) (bool, error)
type PluginConfigMap ¶
Click to show internal directories.
Click to hide internal directories.