Documentation
¶
Index ¶
- func DisableAuthCheck(cmd *cobra.Command)
- func DownloadFileThroughUrl(file string, downloadUrl string, maxRetries int) error
- func IsAuthCheckEnabled(cmd *cobra.Command) bool
- func NewTransport(timeout time.Duration) *http.Transport
- func SaveMomentsJson(moments []*api.Moment, dir string) error
- type Progress
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableAuthCheck ¶
func DownloadFileThroughUrl ¶
DownloadFileThroughUrl downloads a single file from the given downloadUrl. file is the absolute path of the file to be downloaded. downloadUrl is the pre-signed url to download the file from.
func IsAuthCheckEnabled ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.