Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Retain artifacts
Retain = "retain"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Performer ¶
type Performer interface { // Perform the action // // Arguments: // candidates []*art.Candidate : the targets to perform // // Returns: // []*art.Result : result infos // error : common error if any errors occurred Perform(ctx context.Context, candidates []*selector.Candidate) ([]*selector.Result, error) }
Performer performs the related actions targeting the candidates
func NewRetainAction ¶
NewRetainAction is factory method for RetainAction
type PerformerFactory ¶
PerformerFactory is factory method for creating Performer
Click to show internal directories.
Click to hide internal directories.