s3

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3

type S3 struct {
	*models.S3Storage
}

func FindDefaultS3

func FindDefaultS3() (*S3, error)

func FindInternalS3

func FindInternalS3() *S3

获取内置的s3

func FindS3ById

func FindS3ById(id string) (*S3, error)

func UnmarshalNewS3Storage

func UnmarshalNewS3Storage(str string) (*S3, error)

func UnmarshalNewS3StorageFromEncrypted

func UnmarshalNewS3StorageFromEncrypted(encrypted string) (*S3, error)

func (*S3) GetEncrypted

func (s *S3) GetEncrypted() (encrypted string, err error)

func (*S3) GetObjectPath

func (s *S3) GetObjectPath(name string) string

func (*S3) GetSchema

func (s *S3) GetSchema() string

func (*S3) GetURI

func (s *S3) GetURI() string

func (*S3) GetURL

func (s *S3) GetURL() string

func (*S3) Validate

func (s *S3) Validate() error

Jump to

Keyboard shortcuts

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