services

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ErrCredentialProtocolNotSupported means this service doesn't support this credential protocol
	ErrCredentialProtocolNotSupported = errors.New("credential protocol not supported")
	// ErrPairRequired means this operation missing required pairs.
	ErrPairRequired = errors.New("pair required")
	// ErrPairConflict means this operation has conflict pairs.
	ErrPairConflict = errors.New("pair conflict")
	// ErrStorageClassNotSupported means this service doesn't support this storage class
	ErrStorageClassNotSupported = errors.New("storage class not supported")

	// ErrObjectNotExist means the object to be operated is not exist.
	ErrObjectNotExist = errors.New("object not exist")
	// ErrPermissionDenied means this operation doesn't have enough permission.
	ErrPermissionDenied = errors.New("permission denied")
)

Functions

This section is empty.

Types

type PairError

type PairError struct {
	Op  string
	Err error

	Pairs []*types.Pair
}

PairError represent errors related to pair.

func (*PairError) Error

func (e *PairError) Error() string

func (*PairError) Unwrap

func (e *PairError) Unwrap() error

Unwrap implements xerrors.Wrapper

type ServiceError

type ServiceError struct {
	Op  string
	Err error

	storage.Servicer
	Name string
}

ServiceError represent errors related to service.

func (*ServiceError) Error

func (e *ServiceError) Error() string

func (*ServiceError) Unwrap

func (e *ServiceError) Unwrap() error

Unwrap implements xerrors.Wrapper

type StorageError

type StorageError struct {
	Op  string
	Err error

	storage.Storager
	Path []string
}

StorageError represent errors related to storage.

func (*StorageError) Error

func (e *StorageError) Error() string

func (*StorageError) Unwrap

func (e *StorageError) Unwrap() error

Unwrap implements xerrors.Wrapper

Directories

Path Synopsis
Package azblob provided support for Azure Storage containers and blobs objects (https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package azblob provided support for Azure Storage containers and blobs objects (https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blobs-introduction) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package cos provided support for Tencent Cloud's Cloud Object Storage (https://intl.cloud.tencent.com/product/cos) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package cos provided support for Tencent Cloud's Cloud Object Storage (https://intl.cloud.tencent.com/product/cos) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package dropbox provides support for Dropbox (https://www.dropbox.com/).
Package dropbox provides support for Dropbox (https://www.dropbox.com/).
Package fs provided support for local file system.
Package fs provided support for local file system.
Package gcs provided support for Google Cloud Storage (https://cloud.google.com/storage/) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package gcs provided support for Google Cloud Storage (https://cloud.google.com/storage/) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package kodo provided support for qiniu kodo object storage (https://www.qiniu.com/en/products/kodo) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package kodo provided support for qiniu kodo object storage (https://www.qiniu.com/en/products/kodo) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package oss provided support for Aliyun Object Storage Service (https://cn.aliyun.com/product/oss) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package oss provided support for Aliyun Object Storage Service (https://cn.aliyun.com/product/oss) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package qingstor provided support for qingstor object storage (https://www.qingcloud.com/products/qingstor/) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package qingstor provided support for qingstor object storage (https://www.qingcloud.com/products/qingstor/) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package s3 provided support for AWS s3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/Welcome.html) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package s3 provided support for AWS s3 (https://docs.aws.amazon.com/AmazonS3/latest/dev/Welcome.html) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package uss provided support for UPYUN Storage Service (https://www.upyun.com/products/file-storage) Code generated by go generate via internal/cmd/service; DO NOT EDIT.
Package uss provided support for UPYUN Storage Service (https://www.upyun.com/products/file-storage) Code generated by go generate via internal/cmd/service; DO NOT EDIT.

Jump to

Keyboard shortcuts

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