Documentation ¶
Index ¶
- type ExportLogsOption
- type Usecase
- func (x *Usecase) DumpLogs(ctx *model.Context) error
- func (x *Usecase) ExportLogs(ctx *model.Context, options ...ExportLogsOption) (*model.ExportLogsResponse, error)
- func (x *Usecase) ImportLogs(ctx *model.Context) error
- func (x *Usecase) LoadCommands(ctx *model.Context, filePath string) (map[string]*model.Command, error)
- func (x *Usecase) OpenBrowser(uri *url.URL) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExportLogsOption ¶
type ExportLogsOption func(opt *exportLogsOptions) error
func WithLimit ¶
func WithLimit(limit string) ExportLogsOption
func WithQuery ¶
func WithQuery(q string) ExportLogsOption
func WithToken ¶
func WithToken(token string) ExportLogsOption
type Usecase ¶
type Usecase struct {
// contains filtered or unexported fields
}
func (*Usecase) ExportLogs ¶
func (x *Usecase) ExportLogs(ctx *model.Context, options ...ExportLogsOption) (*model.ExportLogsResponse, error)
func (*Usecase) LoadCommands ¶
Click to show internal directories.
Click to hide internal directories.