Documentation ¶
Index ¶
- type BlobManager
- type Blobstore
- func NewExternalBlobstore(provider string, options map[string]interface{}, fs boshsys.FileSystem, ...) Blobstore
- func NewLocalBlobstore(fs boshsys.FileSystem, uuidGen boshuuid.Generator, ...) Blobstore
- func NewRetryableBlobstore(blobstore Blobstore, maxTries int, logger boshlog.Logger) Blobstore
- func NewSHA1VerifiableBlobstore(blobstore Blobstore) Blobstore
- type Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobManager ¶
type BlobManager struct {
// contains filtered or unexported fields
}
func NewBlobManager ¶
func NewBlobManager(fs boshsys.FileSystem, dirProvider boshdir.Provider) (manager BlobManager)
type Blobstore ¶
type Blobstore interface { // Assuming that local file system is available, // file handle is returned to downloaded blob. // Caller must not assume anything about layout of such scratch space. // Cleanup call is needed to properly cleanup downloaded blob. Get(blobID, fingerprint string) (fileName string, err error) CleanUp(fileName string) (err error) Create(fileName string) (blobID string, fingerprint string, err error) Validate() (err error) }
func NewExternalBlobstore ¶
func NewLocalBlobstore ¶
func NewRetryableBlobstore ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.