Documentation
¶
Index ¶
- func DeleteFile(token string, server string, options Options) bool
- func DeleteWithPrefix(token string, server string, options Options)
- func DeleteWithSegments(token string, server string, options Options)
- func Download(token string, server string, options Options) bool
- func DownloadWithPrefix(token string, server string, options Options)
- func Head(token string, server string, options Options) string
- func Show(token string, server string, options Options) (data map[string]string, err error)
- func Upload(token string, server string, options Options) bool
- type Options
- type Segment
- type SwiftFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFile ¶
Delete deletes a file from swift
func DeleteWithPrefix ¶
DeleteWithPrefix deletes all files matching prefix
func DeleteWithSegments ¶
DeleteWithSegments deletes a file and segments if any from swift
func DownloadWithPrefix ¶
DownloadWithPrefix downloads all files matching prefix from swift
Types ¶
type Options ¶
type Options struct { Bucket string File string ObjectName string Size int64 Prefix string LeaveSegments bool Meta map[string]string }
Options to access swift content
Click to show internal directories.
Click to hide internal directories.