Documentation ¶
Overview ¶
Package archive provides implementation of actions to work with archive files.
Index ¶
- type ArchiveAction
- func (a *ArchiveAction) GetDescription(lang ...string) actions.ActionDescription
- func (a *ArchiveAction) GetName() string
- func (a *ArchiveAction) GetParametersForm() *forms.Form
- func (a *ArchiveAction) Init(job *jobs.Job, cl client.Client, action *jobs.Action) error
- func (a *ArchiveAction) Run(ctx context.Context, channels *actions.RunnableChannels, ...) (jobs.ActionMessage, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveAction ¶
type ArchiveAction struct {
RemainingRows uint64
}
ArchiveAction implements archiving.
func (*ArchiveAction) GetDescription ¶
func (a *ArchiveAction) GetDescription(lang ...string) actions.ActionDescription
func (*ArchiveAction) GetName ¶
func (a *ArchiveAction) GetName() string
GetName returns this action unique identifier
func (*ArchiveAction) GetParametersForm ¶
func (a *ArchiveAction) GetParametersForm() *forms.Form
func (*ArchiveAction) Run ¶
func (a *ArchiveAction) Run(ctx context.Context, channels *actions.RunnableChannels, input jobs.ActionMessage) (jobs.ActionMessage, error)
Run the actual action code
Click to show internal directories.
Click to hide internal directories.