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 ¶ added in v1.3.1104
func (mock *MockInstaller) FailHandler() pegomock.FailHandler
func (*MockInstaller) InstallDir ¶
func (mock *MockInstaller) InstallDir(_param0 string) (string, error)
func (*MockInstaller) SetFailHandler ¶ added in v1.3.1104
func (mock *MockInstaller) SetFailHandler(fh pegomock.FailHandler)
func (*MockInstaller) VerifyWasCalled ¶
func (mock *MockInstaller) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockInstaller
func (*MockInstaller) VerifyWasCalledEventually ¶ added in v1.3.818
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 ¶ added in v1.3.1104
type MockInstaller_InstallDir_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockInstaller_InstallDir_OngoingVerification) GetAllCapturedArguments ¶ added in v1.3.1104
func (c *MockInstaller_InstallDir_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockInstaller_InstallDir_OngoingVerification) GetCapturedArguments ¶ added in v1.3.1104
func (c *MockInstaller_InstallDir_OngoingVerification) GetCapturedArguments() string
type MockInstaller_Install_OngoingVerification ¶ added in v1.3.1104
type MockInstaller_Install_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockInstaller_Install_OngoingVerification) GetAllCapturedArguments ¶ added in v1.3.1104
func (c *MockInstaller_Install_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockInstaller_Install_OngoingVerification) GetCapturedArguments ¶ added in v1.3.1104
func (c *MockInstaller_Install_OngoingVerification) GetCapturedArguments() string
type VerifierMockInstaller ¶ added in v1.3.1104
type VerifierMockInstaller struct {
// contains filtered or unexported fields
}
func (*VerifierMockInstaller) Install ¶ added in v1.3.1104
func (verifier *VerifierMockInstaller) Install(_param0 string) *MockInstaller_Install_OngoingVerification
func (*VerifierMockInstaller) InstallDir ¶ added in v1.3.1104
func (verifier *VerifierMockInstaller) InstallDir(_param0 string) *MockInstaller_InstallDir_OngoingVerification
Click to show internal directories.
Click to hide internal directories.