Documentation ¶
Index ¶
- type BlobstoreDelegator
- type BlobstoreDelegatorImpl
- func (b *BlobstoreDelegatorImpl) CleanUp(signedURL, fileName string) (err error)
- func (b *BlobstoreDelegatorImpl) Delete(signedURL, blobID string) (err error)
- func (b *BlobstoreDelegatorImpl) Get(digest boshcrypto.Digest, signedURL, blobID string, headers map[string]string) (fileName string, err error)
- func (b *BlobstoreDelegatorImpl) Write(signedURL, path string, headers map[string]string) (string, boshcrypto.MultipleDigest, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobstoreDelegator ¶
type BlobstoreDelegator interface { Get(digest boshcrypto.Digest, signedURL, blobID string, headers map[string]string) (fileName string, err error) Write(signedURL, path string, headers map[string]string) (string, boshcrypto.MultipleDigest, error) CleanUp(signedURL, path string) error Delete(signedURL, blobID string) error }
type BlobstoreDelegatorImpl ¶
type BlobstoreDelegatorImpl struct {
// contains filtered or unexported fields
}
func NewBlobstoreDelegator ¶
func NewBlobstoreDelegator(hp httpblobprovider.HTTPBlobProvider, bp blobstore.DigestBlobstore, logger boshlog.Logger) *BlobstoreDelegatorImpl
func (*BlobstoreDelegatorImpl) CleanUp ¶
func (b *BlobstoreDelegatorImpl) CleanUp(signedURL, fileName string) (err error)
func (*BlobstoreDelegatorImpl) Delete ¶
func (b *BlobstoreDelegatorImpl) Delete(signedURL, blobID string) (err error)
func (*BlobstoreDelegatorImpl) Get ¶
func (b *BlobstoreDelegatorImpl) Get(digest boshcrypto.Digest, signedURL, blobID string, headers map[string]string) (fileName string, err error)
func (*BlobstoreDelegatorImpl) Write ¶
func (b *BlobstoreDelegatorImpl) Write(signedURL, path string, headers map[string]string) (string, boshcrypto.MultipleDigest, error)
Click to show internal directories.
Click to hide internal directories.