Documentation
¶
Index ¶
- func BackupCmd(ch *cmdutil.Helper) *cobra.Command
- func CreateCmd(ch *cmdutil.Helper) *cobra.Command
- func DeleteCmd(ch *cmdutil.Helper) *cobra.Command
- func ListCmd(ch *cmdutil.Helper) *cobra.Command
- func RestoreCmd(ch *cmdutil.Helper) *cobra.Command
- func ShowCmd(ch *cmdutil.Helper) *cobra.Command
- type Backup
- type Backups
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backup ¶ added in v0.14.0
type Backup struct {
PublicID string `header:"id" json:"id"`
Name string `header:"name" json:"name"`
State string `header:"state" json:"state"`
Size int64 `header:"size" json:"size"`
CreatedAt int64 `header:"created_at,timestamp(ms|utc|human)" json:"created_at"`
UpdatedAt int64 `header:"updated_at,timestamp(ms|utc|human)" json:"updated_at"`
StartedAt int64 `header:"started_at,timestamp(ms|utc|human)" json:"started_at"`
ExpiresAt int64 `header:"expires_at,timestamp(ms|utc|human)" json:"expires_at"`
CompletedAt int64 `header:"completed_at,timestamp(ms|utc|human)" json:"completed_at"`
// contains filtered or unexported fields
}
func (*Backup) MarshalCSVValue ¶ added in v0.17.0
func (b *Backup) MarshalCSVValue() interface{}
func (*Backup) MarshalJSON ¶ added in v0.14.0
Click to show internal directories.
Click to hide internal directories.