Documentation ¶
Index ¶
- type Buffer
- func (n *Buffer) BufferType() storage.CDNBufferType
- func (n *Buffer) Connect() (*gonfs.Mount, *gonfs.Target, error)
- func (n *Buffer) GetDriverName() string
- func (n *Buffer) Init(ctx context.Context, cfg interface{}, bufferType storage.CDNBufferType) error
- func (n *Buffer) ItemExists(ctx context.Context, m *gorpmapper.Mapper, db gorp.SqlExecutor, i sdk.CDNItem) (bool, error)
- func (n *Buffer) NewReader(ctx context.Context, i sdk.CDNItemUnit) (io.ReadCloser, error)
- func (n *Buffer) NewWriter(ctx context.Context, i sdk.CDNItemUnit) (io.WriteCloser, error)
- func (n *Buffer) Remove(ctx context.Context, i sdk.CDNItemUnit) error
- func (n *Buffer) ResyncWithDatabase(ctx context.Context, db gorp.SqlExecutor, t sdk.CDNItemType, dryRun bool)
- func (n *Buffer) Size(_ sdk.CDNItemUnit) (int64, error)
- func (n *Buffer) Status(_ context.Context) []sdk.MonitoringStatusLine
- type Reader
- type Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct { storage.AbstractUnit encryption.NoConvergentEncryption // contains filtered or unexported fields }
func (*Buffer) BufferType ¶
func (n *Buffer) BufferType() storage.CDNBufferType
func (*Buffer) GetDriverName ¶
func (*Buffer) ItemExists ¶
func (*Buffer) NewReader ¶
func (n *Buffer) NewReader(ctx context.Context, i sdk.CDNItemUnit) (io.ReadCloser, error)
func (*Buffer) NewWriter ¶
func (n *Buffer) NewWriter(ctx context.Context, i sdk.CDNItemUnit) (io.WriteCloser, error)
func (*Buffer) ResyncWithDatabase ¶
func (n *Buffer) ResyncWithDatabase(ctx context.Context, db gorp.SqlExecutor, t sdk.CDNItemType, dryRun bool)
Click to show internal directories.
Click to hide internal directories.