Documentation ¶
Index ¶
- Variables
- type HTTPBlobImpl
- func (h HTTPBlobImpl) Get(signedURL string, digest boshcrypto.MultipleDigest) (string, error)
- func (h HTTPBlobImpl) Upload(signedURL, filepath string) (boshcrypto.MultipleDigest, error)
- func (h HTTPBlobImpl) WithAlgorithms(a []boshcrypto.Algorithm) HTTPBlobImpl
- func (h HTTPBlobImpl) WithDefaultAlgorithms() HTTPBlobImpl
- type HTTPBlobProvider
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCryptoAlgorithms = []boshcrypto.Algorithm{boshcrypto.DigestAlgorithmSHA1, boshcrypto.DigestAlgorithmSHA512}
Functions ¶
This section is empty.
Types ¶
type HTTPBlobImpl ¶
type HTTPBlobImpl struct {
// contains filtered or unexported fields
}
func NewHTTPBlobImpl ¶
func NewHTTPBlobImpl(fs boshsys.FileSystem) HTTPBlobImpl
func (HTTPBlobImpl) Get ¶
func (h HTTPBlobImpl) Get(signedURL string, digest boshcrypto.MultipleDigest) (string, error)
func (HTTPBlobImpl) Upload ¶
func (h HTTPBlobImpl) Upload(signedURL, filepath string) (boshcrypto.MultipleDigest, error)
func (HTTPBlobImpl) WithAlgorithms ¶
func (h HTTPBlobImpl) WithAlgorithms(a []boshcrypto.Algorithm) HTTPBlobImpl
func (HTTPBlobImpl) WithDefaultAlgorithms ¶
func (h HTTPBlobImpl) WithDefaultAlgorithms() HTTPBlobImpl
type HTTPBlobProvider ¶
type HTTPBlobProvider interface { Upload(signedURL, filepath string) (boshcrypto.MultipleDigest, error) Get(signedURL string, digest boshcrypto.MultipleDigest) (string, error) }
Click to show internal directories.
Click to hide internal directories.