Documentation ¶
Index ¶
- type MockClient
- func (mock *MockClient) FailHandler() pegomock.FailHandler
- func (mock *MockClient) Read(_param0 string) (map[string]interface{}, error)
- func (mock *MockClient) ReadObject(_param0 string, _param1 interface{}) error
- func (mock *MockClient) ReplaceURIs(_param0 string) (string, error)
- func (mock *MockClient) SetFailHandler(fh pegomock.FailHandler)
- func (mock *MockClient) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockClient
- func (mock *MockClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockClient
- func (mock *MockClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, ...) *VerifierMockClient
- func (mock *MockClient) VerifyWasCalledOnce() *VerifierMockClient
- func (mock *MockClient) Write(_param0 string, _param1 map[string]interface{}) (map[string]interface{}, error)
- func (mock *MockClient) WriteObject(_param0 string, _param1 interface{}) (map[string]interface{}, error)
- type MockClient_ReadObject_OngoingVerification
- type MockClient_Read_OngoingVerification
- type MockClient_ReplaceURIs_OngoingVerification
- type MockClient_WriteObject_OngoingVerification
- type MockClient_Write_OngoingVerification
- type VerifierMockClient
- func (verifier *VerifierMockClient) Read(_param0 string) *MockClient_Read_OngoingVerification
- func (verifier *VerifierMockClient) ReadObject(_param0 string, _param1 interface{}) *MockClient_ReadObject_OngoingVerification
- func (verifier *VerifierMockClient) ReplaceURIs(_param0 string) *MockClient_ReplaceURIs_OngoingVerification
- func (verifier *VerifierMockClient) Write(_param0 string, _param1 map[string]interface{}) *MockClient_Write_OngoingVerification
- func (verifier *VerifierMockClient) WriteObject(_param0 string, _param1 interface{}) *MockClient_WriteObject_OngoingVerification
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
func NewMockClient ¶
func NewMockClient(options ...pegomock.Option) *MockClient
func (*MockClient) FailHandler ¶
func (mock *MockClient) FailHandler() pegomock.FailHandler
func (*MockClient) Read ¶
func (mock *MockClient) Read(_param0 string) (map[string]interface{}, error)
func (*MockClient) ReadObject ¶
func (mock *MockClient) ReadObject(_param0 string, _param1 interface{}) error
func (*MockClient) ReplaceURIs ¶
func (mock *MockClient) ReplaceURIs(_param0 string) (string, error)
func (*MockClient) SetFailHandler ¶
func (mock *MockClient) SetFailHandler(fh pegomock.FailHandler)
func (*MockClient) VerifyWasCalled ¶
func (mock *MockClient) VerifyWasCalled(invocationCountMatcher pegomock.Matcher) *VerifierMockClient
func (*MockClient) VerifyWasCalledEventually ¶
func (mock *MockClient) VerifyWasCalledEventually(invocationCountMatcher pegomock.Matcher, timeout time.Duration) *VerifierMockClient
func (*MockClient) VerifyWasCalledInOrder ¶
func (mock *MockClient) VerifyWasCalledInOrder(invocationCountMatcher pegomock.Matcher, inOrderContext *pegomock.InOrderContext) *VerifierMockClient
func (*MockClient) VerifyWasCalledOnce ¶
func (mock *MockClient) VerifyWasCalledOnce() *VerifierMockClient
func (*MockClient) Write ¶
func (mock *MockClient) Write(_param0 string, _param1 map[string]interface{}) (map[string]interface{}, error)
func (*MockClient) WriteObject ¶
func (mock *MockClient) WriteObject(_param0 string, _param1 interface{}) (map[string]interface{}, error)
type MockClient_ReadObject_OngoingVerification ¶
type MockClient_ReadObject_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockClient_ReadObject_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockClient_ReadObject_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []interface{})
func (*MockClient_ReadObject_OngoingVerification) GetCapturedArguments ¶
func (c *MockClient_ReadObject_OngoingVerification) GetCapturedArguments() (string, interface{})
type MockClient_Read_OngoingVerification ¶
type MockClient_Read_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockClient_Read_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockClient_Read_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockClient_Read_OngoingVerification) GetCapturedArguments ¶
func (c *MockClient_Read_OngoingVerification) GetCapturedArguments() string
type MockClient_ReplaceURIs_OngoingVerification ¶
type MockClient_ReplaceURIs_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockClient_ReplaceURIs_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockClient_ReplaceURIs_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockClient_ReplaceURIs_OngoingVerification) GetCapturedArguments ¶
func (c *MockClient_ReplaceURIs_OngoingVerification) GetCapturedArguments() string
type MockClient_WriteObject_OngoingVerification ¶
type MockClient_WriteObject_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockClient_WriteObject_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockClient_WriteObject_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []interface{})
func (*MockClient_WriteObject_OngoingVerification) GetCapturedArguments ¶
func (c *MockClient_WriteObject_OngoingVerification) GetCapturedArguments() (string, interface{})
type MockClient_Write_OngoingVerification ¶
type MockClient_Write_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockClient_Write_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockClient_Write_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []map[string]interface{})
func (*MockClient_Write_OngoingVerification) GetCapturedArguments ¶
func (c *MockClient_Write_OngoingVerification) GetCapturedArguments() (string, map[string]interface{})
type VerifierMockClient ¶
type VerifierMockClient struct {
// contains filtered or unexported fields
}
func (*VerifierMockClient) Read ¶
func (verifier *VerifierMockClient) Read(_param0 string) *MockClient_Read_OngoingVerification
func (*VerifierMockClient) ReadObject ¶
func (verifier *VerifierMockClient) ReadObject(_param0 string, _param1 interface{}) *MockClient_ReadObject_OngoingVerification
func (*VerifierMockClient) ReplaceURIs ¶
func (verifier *VerifierMockClient) ReplaceURIs(_param0 string) *MockClient_ReplaceURIs_OngoingVerification
func (*VerifierMockClient) Write ¶
func (verifier *VerifierMockClient) Write(_param0 string, _param1 map[string]interface{}) *MockClient_Write_OngoingVerification
func (*VerifierMockClient) WriteObject ¶
func (verifier *VerifierMockClient) WriteObject(_param0 string, _param1 interface{}) *MockClient_WriteObject_OngoingVerification
Click to show internal directories.
Click to hide internal directories.