cobra

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bool

func Bool(key *keys.Key, flags *pflag.FlagSet) (bool, error)

func CreateBackupRequest

func CreateBackupRequest(cmd *cobra.Command) (*types.CreateBackupRequest, error)

func DeleteRequest

func DeleteRequest(cmd *cobra.Command) (*types.DeleteBackupRequest, error)

func InitBackup

func InitBackup(cmd *cobra.Command)

func InitCron

func InitCron(cmd *cobra.Command)

func InitDaemon

func InitDaemon(cmd *cobra.Command)

func InitDaemonClient

func InitDaemonClient(cmd *cobra.Command)

func InitDebug

func InitDebug(cmd *cobra.Command)

func InitDelete

func InitDelete(cmd *cobra.Command)

func InitGlobal

func InitGlobal(cmd *cobra.Command)

func InitList

func InitList(cmd *cobra.Command)

func InitRestore

func InitRestore(cmd *cobra.Command)

func InitRotate added in v0.0.9

func InitRotate(cmd *cobra.Command)

func Int

func Int(key *keys.Key, flags *pflag.FlagSet) (int, error)

func RestoreBackupRequest

func RestoreBackupRequest(cmd *cobra.Command) (*types.RestoreBackupRequest, error)

func RotateBackupsRequest added in v0.0.9

func RotateBackupsRequest(cmd *cobra.Command) (*types.RotateBackupsRequest, error)

func String

func String(key *keys.Key, flags *pflag.FlagSet) (string, error)

func StringSlice

func StringSlice(key *keys.Key, flags *pflag.FlagSet) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL