Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "v2.2.0"
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 (exe *ExecutorImpl) Verify(ctx context.Context, logE *logrus.Entry, param *ParamVerify, provenancePath string) error
type MockExecutor ¶
type MockExecutor struct {
Err error
}
func (*MockExecutor) Verify ¶
func (mock *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 ¶
type VerifierImpl ¶
type VerifierImpl struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.