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