Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client allows for http calls to Heroku
type PublicUrl ¶
func GetPublicUrl ¶
GetPublicUrl takes a Transfer and app name and returns the URL of a publicly accessible signed URL for the most recent backup.
type Transfer ¶
type Transfer struct { FinishedAt string `json:"finished_at"` FromName string `json:"from_name"` FromType string `json:"from_type"` Num int Succeeded bool ToType string `json:"to_type"` CreatedAt string `json:"created_at"` }
func GetTransfers ¶
GetTransfers takes a Heroku app name and returns the most recent successful backup
type TransfersList ¶
type TransfersList []Transfer
func (TransfersList) Len ¶
func (t TransfersList) Len() int
func (TransfersList) Less ¶
func (t TransfersList) Less(i, j int) bool
func (TransfersList) Swap ¶
func (t TransfersList) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.