Documentation ¶
Index ¶
- type MockInstaller
- func (mock *MockInstaller) FailHandler() pegomock.FailHandler
- func (mock *MockInstaller) Install(_param0 string) (string, error)
- func (mock *MockInstaller) InstallDir(_param0 string) (string, error)
- func (mock *MockInstaller) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockInstaller) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockInstaller
- func (mock *MockInstaller) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockInstaller
- func (mock *MockInstaller) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierMockInstaller
- func (mock *MockInstaller) VerifyWasCalledOnce() *VerifierMockInstaller
- type MockInstaller_InstallDir_OngoingVerification
- type MockInstaller_Install_OngoingVerification
- type VerifierMockInstaller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInstaller ¶
type MockInstaller struct {
// contains filtered or unexported fields
}
func NewMockInstaller ¶
func NewMockInstaller(options ...pegomock.Option) *MockInstaller
func (*MockInstaller) FailHandler ¶
func (mock *MockInstaller) FailHandler() pegomock.FailHandler
func (*MockInstaller) InstallDir ¶
func (mock *MockInstaller) InstallDir(_param0 string) (string, error)
func (*MockInstaller) SetFailHandler ¶
func (mock *MockInstaller) SetFailHandler(fh pegomock.FailHandler)
func (*MockInstaller) VerifyWasCalled ¶
func (mock *MockInstaller) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockInstaller
func (*MockInstaller) VerifyWasCalledEventually ¶
func (mock *MockInstaller) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockInstaller
func (*MockInstaller) VerifyWasCalledInOrder ¶
func (mock *MockInstaller) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockInstaller
func (*MockInstaller) VerifyWasCalledOnce ¶
func (mock *MockInstaller) VerifyWasCalledOnce() *VerifierMockInstaller
type MockInstaller_InstallDir_OngoingVerification ¶
type MockInstaller_InstallDir_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockInstaller_InstallDir_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockInstaller_InstallDir_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockInstaller_InstallDir_OngoingVerification) GetCapturedArguments ¶
func (c *MockInstaller_InstallDir_OngoingVerification) GetCapturedArguments() string
type MockInstaller_Install_OngoingVerification ¶
type MockInstaller_Install_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockInstaller_Install_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockInstaller_Install_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockInstaller_Install_OngoingVerification) GetCapturedArguments ¶
func (c *MockInstaller_Install_OngoingVerification) GetCapturedArguments() string
type VerifierMockInstaller ¶
type VerifierMockInstaller struct {
// contains filtered or unexported fields
}
func (*VerifierMockInstaller) Install ¶
func (verifier *VerifierMockInstaller) Install(_param0 string) *MockInstaller_Install_OngoingVerification
func (*VerifierMockInstaller) InstallDir ¶
func (verifier *VerifierMockInstaller) InstallDir(_param0 string) *MockInstaller_InstallDir_OngoingVerification
Click to show internal directories.
Click to hide internal directories.