Documentation ¶
Overview ¶
Package archive provides implementation of actions to work with archive files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompressAction ¶
CompressAction implements compression. Currently, it supports zip, tar and tar.gz formats.
func (*CompressAction) GetName ¶
func (c *CompressAction) GetName() string
GetName returns this action unique identifier
func (*CompressAction) Run ¶
func (c *CompressAction) Run(ctx context.Context, channels *actions.RunnableChannels, input jobs.ActionMessage) (jobs.ActionMessage, error)
Run the actual action code
type ExtractAction ¶
func (*ExtractAction) GetName ¶
func (ex *ExtractAction) GetName() string
GetName returns this action unique identifier
func (*ExtractAction) Run ¶
func (ex *ExtractAction) 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.