Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hooker ¶
type Hooker interface {
HandleInspect(ctx *context.BizContext) bool
}
type StrategyInspect ¶
type StrategyInspect struct {
// contains filtered or unexported fields
}
func NewInspectStrategy ¶
func NewInspectStrategy(ctx *context.BaseContext, taskName string, conf config.InspectConfig, hook Hooker) (*StrategyInspect, error)
new object
func (*StrategyInspect) Name ¶
func (strategy *StrategyInspect) Name() string
func (*StrategyInspect) Run ¶
func (strategy *StrategyInspect) Run() error
Click to show internal directories.
Click to hide internal directories.