Documentation ¶
Index ¶
- func NewCascadingBlobstore(innerBlobstore utilblobstore.DigestBlobstore, blobManager BlobManagerInterface, ...) utilblobstore.DigestBlobstore
- type BlobManager
- func (m BlobManager) BlobExists(blobID string) bool
- func (m BlobManager) Delete(blobID string) error
- func (m BlobManager) Fetch(blobID string) (boshsys.File, int, error)
- func (m BlobManager) GetPath(blobID string, digest boshcrypto.Digest) (string, error)
- func (m BlobManager) Write(blobID string, r io.Reader) error
- type BlobManagerInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCascadingBlobstore ¶
func NewCascadingBlobstore( innerBlobstore utilblobstore.DigestBlobstore, blobManager BlobManagerInterface, logger boshlog.Logger) utilblobstore.DigestBlobstore
Types ¶
type BlobManager ¶
type BlobManager struct {
// contains filtered or unexported fields
}
func NewBlobManager ¶
func NewBlobManager(workdir string) (*BlobManager, error)
func (BlobManager) BlobExists ¶
func (m BlobManager) BlobExists(blobID string) bool
func (BlobManager) Delete ¶
func (m BlobManager) Delete(blobID string) error
func (BlobManager) GetPath ¶
func (m BlobManager) GetPath(blobID string, digest boshcrypto.Digest) (string, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.