Documentation ¶
Index ¶
- type MockExec
- func (mock *MockExec) CombinedOutput(_param0 []string, _param1 map[string]string, _param2 string) (string, error)
- func (mock *MockExec) FailHandler() pegomock.FailHandler
- func (mock *MockExec) LookPath(_param0 string) (string, error)
- func (mock *MockExec) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockExec) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockExec
- func (mock *MockExec) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockExec
- func (mock *MockExec) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockExec
- func (mock *MockExec) VerifyWasCalledOnce() *VerifierMockExec
- type MockExec_CombinedOutput_OngoingVerification
- type MockExec_LookPath_OngoingVerification
- type MockFilePath
- func (mock *MockFilePath) FailHandler() pegomock.FailHandler
- func (mock *MockFilePath) Join(_param0 ...string) models.FilePath
- func (mock *MockFilePath) NotExists() bool
- func (mock *MockFilePath) Resolve() string
- func (mock *MockFilePath) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockFilePath) Symlink(_param0 string) (models.FilePath, error)
- func (mock *MockFilePath) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockFilePath
- func (mock *MockFilePath) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockFilePath
- func (mock *MockFilePath) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, ...) *VerifierMockFilePath
- func (mock *MockFilePath) VerifyWasCalledOnce() *VerifierMockFilePath
- type MockFilePath_Join_OngoingVerification
- type MockFilePath_NotExists_OngoingVerification
- type MockFilePath_Resolve_OngoingVerification
- type MockFilePath_Symlink_OngoingVerification
- type VerifierMockExec
- type VerifierMockFilePath
- func (verifier *VerifierMockFilePath) Join(_param0 ...string) *MockFilePath_Join_OngoingVerification
- func (verifier *VerifierMockFilePath) NotExists() *MockFilePath_NotExists_OngoingVerification
- func (verifier *VerifierMockFilePath) Resolve() *MockFilePath_Resolve_OngoingVerification
- func (verifier *VerifierMockFilePath) Symlink(_param0 string) *MockFilePath_Symlink_OngoingVerification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExec ¶
type MockExec struct {
// contains filtered or unexported fields
}
func NewMockExec ¶
func (*MockExec) CombinedOutput ¶
func (*MockExec) FailHandler ¶
func (mock *MockExec) FailHandler() pegomock.FailHandler
func (*MockExec) SetFailHandler ¶
func (mock *MockExec) SetFailHandler(fh pegomock.FailHandler)
func (*MockExec) VerifyWasCalled ¶
func (mock *MockExec) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockExec
func (*MockExec) VerifyWasCalledEventually ¶
func (mock *MockExec) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockExec
func (*MockExec) VerifyWasCalledInOrder ¶
func (mock *MockExec) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockExec
func (*MockExec) VerifyWasCalledOnce ¶
func (mock *MockExec) VerifyWasCalledOnce() *VerifierMockExec
type MockExec_CombinedOutput_OngoingVerification ¶
type MockExec_CombinedOutput_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockExec_CombinedOutput_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockExec_CombinedOutput_OngoingVerification) GetAllCapturedArguments() (_param0 [][]string, _param1 []map[string]string, _param2 []string)
func (*MockExec_CombinedOutput_OngoingVerification) GetCapturedArguments ¶
func (c *MockExec_CombinedOutput_OngoingVerification) GetCapturedArguments() ([]string, map[string]string, string)
type MockExec_LookPath_OngoingVerification ¶
type MockExec_LookPath_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockExec_LookPath_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockExec_LookPath_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockExec_LookPath_OngoingVerification) GetCapturedArguments ¶
func (c *MockExec_LookPath_OngoingVerification) GetCapturedArguments() string
type MockFilePath ¶
type MockFilePath struct {
// contains filtered or unexported fields
}
func NewMockFilePath ¶
func NewMockFilePath(options ...pegomock.Option) *MockFilePath
func (*MockFilePath) FailHandler ¶
func (mock *MockFilePath) FailHandler() pegomock.FailHandler
func (*MockFilePath) NotExists ¶
func (mock *MockFilePath) NotExists() bool
func (*MockFilePath) Resolve ¶
func (mock *MockFilePath) Resolve() string
func (*MockFilePath) SetFailHandler ¶
func (mock *MockFilePath) SetFailHandler(fh pegomock.FailHandler)
func (*MockFilePath) Symlink ¶
func (mock *MockFilePath) Symlink(_param0 string) (models.FilePath, error)
func (*MockFilePath) VerifyWasCalled ¶
func (mock *MockFilePath) VerifyWasCalled(invocationCountMatcher pegomock.InvocationCountMatcher) *VerifierMockFilePath
func (*MockFilePath) VerifyWasCalledEventually ¶
func (mock *MockFilePath) VerifyWasCalledEventually(invocationCountMatcher pegomock.InvocationCountMatcher, timeout time.Duration) *VerifierMockFilePath
func (*MockFilePath) VerifyWasCalledInOrder ¶
func (mock *MockFilePath) VerifyWasCalledInOrder(invocationCountMatcher pegomock.InvocationCountMatcher, inOrderContext *pegomock.InOrderContext) *VerifierMockFilePath
func (*MockFilePath) VerifyWasCalledOnce ¶
func (mock *MockFilePath) VerifyWasCalledOnce() *VerifierMockFilePath
type MockFilePath_Join_OngoingVerification ¶
type MockFilePath_Join_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockFilePath_Join_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockFilePath_Join_OngoingVerification) GetAllCapturedArguments() (_param0 [][]string)
func (*MockFilePath_Join_OngoingVerification) GetCapturedArguments ¶
func (c *MockFilePath_Join_OngoingVerification) GetCapturedArguments() []string
type MockFilePath_NotExists_OngoingVerification ¶
type MockFilePath_NotExists_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockFilePath_NotExists_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockFilePath_NotExists_OngoingVerification) GetAllCapturedArguments()
func (*MockFilePath_NotExists_OngoingVerification) GetCapturedArguments ¶
func (c *MockFilePath_NotExists_OngoingVerification) GetCapturedArguments()
type MockFilePath_Resolve_OngoingVerification ¶
type MockFilePath_Resolve_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockFilePath_Resolve_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockFilePath_Resolve_OngoingVerification) GetAllCapturedArguments()
func (*MockFilePath_Resolve_OngoingVerification) GetCapturedArguments ¶
func (c *MockFilePath_Resolve_OngoingVerification) GetCapturedArguments()
type MockFilePath_Symlink_OngoingVerification ¶
type MockFilePath_Symlink_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockFilePath_Symlink_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockFilePath_Symlink_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockFilePath_Symlink_OngoingVerification) GetCapturedArguments ¶
func (c *MockFilePath_Symlink_OngoingVerification) GetCapturedArguments() string
type VerifierMockExec ¶
type VerifierMockExec struct {
// contains filtered or unexported fields
}
func (*VerifierMockExec) CombinedOutput ¶
func (verifier *VerifierMockExec) CombinedOutput(_param0 []string, _param1 map[string]string, _param2 string) *MockExec_CombinedOutput_OngoingVerification
func (*VerifierMockExec) LookPath ¶
func (verifier *VerifierMockExec) LookPath(_param0 string) *MockExec_LookPath_OngoingVerification
type VerifierMockFilePath ¶
type VerifierMockFilePath struct {
// contains filtered or unexported fields
}
func (*VerifierMockFilePath) Join ¶
func (verifier *VerifierMockFilePath) Join(_param0 ...string) *MockFilePath_Join_OngoingVerification
func (*VerifierMockFilePath) NotExists ¶
func (verifier *VerifierMockFilePath) NotExists() *MockFilePath_NotExists_OngoingVerification
func (*VerifierMockFilePath) Resolve ¶
func (verifier *VerifierMockFilePath) Resolve() *MockFilePath_Resolve_OngoingVerification
func (*VerifierMockFilePath) Symlink ¶
func (verifier *VerifierMockFilePath) Symlink(_param0 string) *MockFilePath_Symlink_OngoingVerification
Click to show internal directories.
Click to hide internal directories.