Documentation ¶
Index ¶
- type MockConfigHandler
- func (mock *MockConfigHandler) FailHandler() pegomock.FailHandler
- func (mock *MockConfigHandler) LoadConfig() (*auth.AuthConfig, error)
- func (mock *MockConfigHandler) SaveConfig(_param0 *auth.AuthConfig) error
- func (mock *MockConfigHandler) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockConfigHandler) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockConfigHandler
- func (mock *MockConfigHandler) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockConfigHandler
- func (mock *MockConfigHandler) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierMockConfigHandler
- func (mock *MockConfigHandler) VerifyWasCalledOnce() *VerifierMockConfigHandler
- type MockConfigHandler_LoadConfig_OngoingVerification
- type MockConfigHandler_SaveConfig_OngoingVerification
- type VerifierMockConfigHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfigHandler ¶
type MockConfigHandler struct {
// contains filtered or unexported fields
}
func NewMockConfigHandler ¶
func NewMockConfigHandler(options ...pegomock.Option) *MockConfigHandler
func (*MockConfigHandler) FailHandler ¶
func (mock *MockConfigHandler) FailHandler() pegomock.FailHandler
func (*MockConfigHandler) LoadConfig ¶
func (mock *MockConfigHandler) LoadConfig() (*auth.AuthConfig, error)
func (*MockConfigHandler) SaveConfig ¶
func (mock *MockConfigHandler) SaveConfig(_param0 *auth.AuthConfig) error
func (*MockConfigHandler) SetFailHandler ¶
func (mock *MockConfigHandler) SetFailHandler(fh pegomock.FailHandler)
func (*MockConfigHandler) VerifyWasCalled ¶
func (mock *MockConfigHandler) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockConfigHandler
func (*MockConfigHandler) VerifyWasCalledEventually ¶
func (mock *MockConfigHandler) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockConfigHandler
func (*MockConfigHandler) VerifyWasCalledInOrder ¶
func (mock *MockConfigHandler) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockConfigHandler
func (*MockConfigHandler) VerifyWasCalledOnce ¶
func (mock *MockConfigHandler) VerifyWasCalledOnce() *VerifierMockConfigHandler
type MockConfigHandler_LoadConfig_OngoingVerification ¶
type MockConfigHandler_LoadConfig_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockConfigHandler_LoadConfig_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockConfigHandler_LoadConfig_OngoingVerification) GetAllCapturedArguments()
func (*MockConfigHandler_LoadConfig_OngoingVerification) GetCapturedArguments ¶
func (c *MockConfigHandler_LoadConfig_OngoingVerification) GetCapturedArguments()
type MockConfigHandler_SaveConfig_OngoingVerification ¶
type MockConfigHandler_SaveConfig_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockConfigHandler_SaveConfig_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockConfigHandler_SaveConfig_OngoingVerification) GetAllCapturedArguments() (_param0 []*auth.AuthConfig)
func (*MockConfigHandler_SaveConfig_OngoingVerification) GetCapturedArguments ¶
func (c *MockConfigHandler_SaveConfig_OngoingVerification) GetCapturedArguments() *auth.AuthConfig
type VerifierMockConfigHandler ¶
type VerifierMockConfigHandler struct {
// contains filtered or unexported fields
}
func (*VerifierMockConfigHandler) LoadConfig ¶
func (verifier *VerifierMockConfigHandler) LoadConfig() *MockConfigHandler_LoadConfig_OngoingVerification
func (*VerifierMockConfigHandler) SaveConfig ¶
func (verifier *VerifierMockConfigHandler) SaveConfig(_param0 *auth.AuthConfig) *MockConfigHandler_SaveConfig_OngoingVerification
Click to show internal directories.
Click to hide internal directories.