Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "v2.5.1"
Variables ¶
This section is empty.
Functions ¶
func ExePath ¶
func ExePath(param *ParamExePath) string
Types ¶
type CommandExecutor ¶
type ExecutorImpl ¶
type ExecutorImpl struct {
// contains filtered or unexported fields
}
func NewExecutor ¶
func NewExecutor(executor CommandExecutor, param *config.Param) *ExecutorImpl
func (*ExecutorImpl) Verify ¶
func (e *ExecutorImpl) Verify(ctx context.Context, logE *logrus.Entry, param *ParamVerify, provenancePath string) error
type MockExecutor ¶
type MockExecutor struct {
Err error
}
func (*MockExecutor) Verify ¶
func (m *MockExecutor) Verify(ctx context.Context, logE *logrus.Entry, param *ParamVerify, provenancePath string) error
type MockVerifier ¶
type MockVerifier struct {
// contains filtered or unexported fields
}
type ParamExePath ¶
type ParamVerify ¶
Click to show internal directories.
Click to hide internal directories.