Versions in this module Expand all Collapse all v0 v0.1.0 Jun 11, 2024 Changes in this version + var ErrEmptyAccessKeyID = errors.New("empty access key id") + var ErrEmptyAccessKeySecret = errors.New("empty access key secret") + var ErrEmptyBucket = errors.New("empty bucket") + var ErrEmptyOssEndpoint = errors.New("empty oss endpoint") + var ErrEmptyS3Region = errors.New("empty s3 region") + func CompleteLocalConfig(config *v1.BackendLocalConfig) error + func CompleteOssConfig(config *v1.BackendOssConfig) + func CompleteS3Config(config *v1.BackendS3Config) + func ValidateOssConfig(config *v1.BackendOssConfig) error + func ValidateOssConfigFromFile(config *v1.BackendOssConfig) error + func ValidateS3Config(config *v1.BackendS3Config) error + func ValidateS3ConfigFromFile(config *v1.BackendS3Config) error + type LocalStorage struct + func NewLocalStorage(config *v1.BackendLocalConfig) *LocalStorage + func (s *LocalStorage) ReleaseStorage(project, workspace string) (release.Storage, error) + func (s *LocalStorage) WorkspaceStorage() (workspace.Storage, error) + type OssStorage struct + func NewOssStorage(config *v1.BackendOssConfig) (*OssStorage, error) + func (s *OssStorage) ReleaseStorage(project, workspace string) (release.Storage, error) + func (s *OssStorage) WorkspaceStorage() (workspace.Storage, error) + type S3Storage struct + func NewS3Storage(config *v1.BackendS3Config) (*S3Storage, error) + func (s *S3Storage) ReleaseStorage(project, workspace string) (release.Storage, error) + func (s *S3Storage) WorkspaceStorage() (workspace.Storage, error)