blobstore

package
v1.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2023 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobStoreAzureService

type BlobStoreAzureService client.Service

func NewBlobStoreAzureService

func NewBlobStoreAzureService(c *client.Client) *BlobStoreAzureService

func (*BlobStoreAzureService) Create

func (s *BlobStoreAzureService) Create(bs *blobstore.Azure) error

func (*BlobStoreAzureService) Delete

func (s *BlobStoreAzureService) Delete(name string) error

func (*BlobStoreAzureService) Get

func (*BlobStoreAzureService) GetQuotaStatus

func (s *BlobStoreAzureService) GetQuotaStatus(name string) error

func (*BlobStoreAzureService) TestConnection

func (s *BlobStoreAzureService) TestConnection(bs *blobstore.Azure) error

func (*BlobStoreAzureService) Update

func (s *BlobStoreAzureService) Update(name string, bs *blobstore.Azure) error

type BlobStoreFileService

type BlobStoreFileService client.Service

func NewBlobStoreFileService

func NewBlobStoreFileService(c *client.Client) *BlobStoreFileService

func (*BlobStoreFileService) Create

func (s *BlobStoreFileService) Create(bs *blobstore.File) error

func (*BlobStoreFileService) Delete

func (s *BlobStoreFileService) Delete(name string) error

func (*BlobStoreFileService) Get

func (s *BlobStoreFileService) Get(name string) (*blobstore.File, error)

func (*BlobStoreFileService) GetQuotaStatus

func (s *BlobStoreFileService) GetQuotaStatus(name string) error

func (*BlobStoreFileService) Update

func (s *BlobStoreFileService) Update(name string, bs *blobstore.File) error

type BlobStoreGroupService

type BlobStoreGroupService client.Service

func NewBlobStoreGroupService

func NewBlobStoreGroupService(c *client.Client) *BlobStoreGroupService

func (*BlobStoreGroupService) Create

func (s *BlobStoreGroupService) Create(bs *blobstore.Group) error

func (*BlobStoreGroupService) Delete

func (s *BlobStoreGroupService) Delete(name string) error

func (*BlobStoreGroupService) Get

func (*BlobStoreGroupService) GetQuotaStatus

func (s *BlobStoreGroupService) GetQuotaStatus(name string) error

func (*BlobStoreGroupService) Update

func (s *BlobStoreGroupService) Update(name string, bs *blobstore.Group) error

type BlobStoreLegacyService

type BlobStoreLegacyService client.Service

func NewBlobStoreLegacyService

func NewBlobStoreLegacyService(c *client.Client) *BlobStoreLegacyService

func (*BlobStoreLegacyService) Create

func (*BlobStoreLegacyService) Delete

func (s *BlobStoreLegacyService) Delete(name string) error

func (*BlobStoreLegacyService) Get

func (*BlobStoreLegacyService) GetQuotaStatus

func (s *BlobStoreLegacyService) GetQuotaStatus(name string) error

func (*BlobStoreLegacyService) ReadDetails

func (s *BlobStoreLegacyService) ReadDetails(id string, bsType string) (*blobstore.Legacy, error)

func (*BlobStoreLegacyService) Update

type BlobStoreS3Service

type BlobStoreS3Service client.Service

func NewBlobStoreS3Service

func NewBlobStoreS3Service(c *client.Client) *BlobStoreS3Service

func (*BlobStoreS3Service) Create

func (s *BlobStoreS3Service) Create(bs *blobstore.S3) error

func (*BlobStoreS3Service) Delete

func (s *BlobStoreS3Service) Delete(name string) error

func (*BlobStoreS3Service) Get

func (s *BlobStoreS3Service) Get(name string) (*blobstore.S3, error)

func (*BlobStoreS3Service) GetQuotaStatus

func (s *BlobStoreS3Service) GetQuotaStatus(name string) error

func (*BlobStoreS3Service) Update

func (s *BlobStoreS3Service) Update(name string, bs *blobstore.S3) error

type BlobStoreService

type BlobStoreService struct {
	Client *client.Client

	// API Services
	Azure  *BlobStoreAzureService
	File   *BlobStoreFileService
	Group  *BlobStoreGroupService
	S3     *BlobStoreS3Service
	Legacy *BlobStoreLegacyService
}

func NewBlobStoreService

func NewBlobStoreService(c *client.Client) *BlobStoreService

func (*BlobStoreService) Delete

func (s *BlobStoreService) Delete(name string) error

func (*BlobStoreService) GetQuotaStatus

func (s *BlobStoreService) GetQuotaStatus(name string) error

func (*BlobStoreService) List

func (s *BlobStoreService) List() ([]blobstore.Generic, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL