Documentation ¶
Index ¶
- func EC2RoleAwsConfig(config *Config) *aws.Config
- type Client
- func (client Client) Delete(path string) error
- func (client Client) Get(path string) (file *os.File, err error)
- func (client Client) GetEndpoint() string
- func (client Client) List(path string) ([]*oss.Object, error)
- func (client Client) Put(urlPath string, reader io.Reader) (*oss.Object, error)
- func (client Client) Stat(path string) (info *os.FileInfo, notFound bool, err error)
- func (client Client) ToRelativePath(urlPath string) string
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EC2RoleAwsConfig ¶
Types ¶
type Client ¶
Client S3 storage
func (Client) GetEndpoint ¶
GetEndpoint get endpoint, FileSystem's endpoint is /
func (Client) ToRelativePath ¶
Click to show internal directories.
Click to hide internal directories.