Documentation ¶
Index ¶
- func CreateCmd(ch *cmdutil.Helper) *cobra.Command
- func DatabaseCmd(ch *cmdutil.Helper) *cobra.Command
- func DeleteCmd(ch *cmdutil.Helper) *cobra.Command
- func DumpCmd(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 Database
- type Databases
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DatabaseCmd ¶
DatabaseCmd encapsulates the commands for creating a database
func RestoreCmd ¶ added in v0.27.0
RestoreCmd encapsulates the commands for restore a database
Types ¶
type Database ¶ added in v0.14.0
type Database struct { Name string `header:"name" json:"name"` CreatedAt int64 `header:"created_at,timestamp(ms|utc|human)" json:"created_at"` UpdatedAt int64 `header:"updated_at,timestamp(ms|utc|human)" json:"updated_at"` Notes string `header:"notes" json:"notes"` // contains filtered or unexported fields }
Database returns a table-serializable database model.
func (*Database) MarshalCSVValue ¶ added in v0.17.0
func (d *Database) MarshalCSVValue() interface{}
func (*Database) MarshalJSON ¶ added in v0.14.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.