Documentation
¶
Index ¶
- func BuildCLI(root *cobra.Command)
- type Backend
- type Handler
- func (h *Handler) Create(cmd *cobra.Command, args []string) error
- func (h *Handler) Delete(cmd *cobra.Command, args []string) error
- func (h *Handler) Describe(cmd *cobra.Command, args []string) error
- func (h *Handler) Export(cmd *cobra.Command, args []string) error
- func (h *Handler) Generate(cmd *cobra.Command, args []string) error
- func (h *Handler) Import(cmd *cobra.Command, args []string) error
- func (h *Handler) List(cmd *cobra.Command, args []string) error
- func (h *Handler) Show(cmd *cobra.Command, args []string) error
- func (h *Handler) Truncate(cmd *cobra.Command, args []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Backend ¶
type Backend struct { Logger *zap.SugaredLogger // contains filtered or unexported fields }
func NewBackend ¶
Click to show internal directories.
Click to hide internal directories.