Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlobGetHandler ¶
func NewBlobPutHandler ¶
func NewBlobPutHandler(presigner presigner.RequestPresigner, allocs allocationstore.AllocationStore, blobs blobstore.Blobstore) func(http.ResponseWriter, *http.Request)
Types ¶
type BlobService ¶
type BlobService struct {
// contains filtered or unexported fields
}
func (*BlobService) Access ¶
func (b *BlobService) Access() access.Access
func (*BlobService) Allocations ¶
func (b *BlobService) Allocations() allocationstore.AllocationStore
func (*BlobService) Presigner ¶
func (b *BlobService) Presigner() presigner.RequestPresigner
func (*BlobService) Store ¶
func (b *BlobService) Store() blobstore.Blobstore
type Blobs ¶
type Blobs interface { // Blobs is the storage interface for blobs. Store() blobstore.Blobstore // Allocations is a store for received blob allocations. Allocations() allocationstore.AllocationStore // Presigner provides an interface to allow signed request access to upload blobs. Presigner() presigner.RequestPresigner // Access provides an interface to allowing public access to download blobs. Access() access.Access }
type Option ¶
type Option func(*options) error
func WithLogLevel ¶
WithLogLevel changes the log level for the claims subsystem.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(presigner presigner.RequestPresigner, allocs allocationstore.AllocationStore, blobs blobstore.Blobstore) (*Server, error)
Click to show internal directories.
Click to hide internal directories.