Documentation ¶
Index ¶
- type MockClient
- func (mock *MockClient) Config() (url.URL, string, error)
- func (mock *MockClient) FailHandler() pegomock.FailHandler
- func (mock *MockClient) List(_param0 string) ([]string, error)
- func (mock *MockClient) Read(_param0 string) (map[string]interface{}, error)
- func (mock *MockClient) ReadObject(_param0 string, _param1 interface{}) error
- func (mock *MockClient) ReadYaml(_param0 string) (string, 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)
- func (mock *MockClient) WriteYaml(_param0 string, _param1 string) (map[string]interface{}, error)
- type MockClient_Config_OngoingVerification
- type MockClient_List_OngoingVerification
- type MockClient_ReadObject_OngoingVerification
- type MockClient_ReadYaml_OngoingVerification
- type MockClient_Read_OngoingVerification
- type MockClient_ReplaceURIs_OngoingVerification
- type MockClient_WriteObject_OngoingVerification
- type MockClient_WriteYaml_OngoingVerification
- type MockClient_Write_OngoingVerification
- type VerifierMockClient
- func (verifier *VerifierMockClient) Config() *MockClient_Config_OngoingVerification
- func (verifier *VerifierMockClient) List(_param0 string) *MockClient_List_OngoingVerification
- func (verifier *VerifierMockClient) Read(_param0 string) *MockClient_Read_OngoingVerification
- func (verifier *VerifierMockClient) ReadObject(_param0 string, _param1 interface{}) *MockClient_ReadObject_OngoingVerification
- func (verifier *VerifierMockClient) ReadYaml(_param0 string) *MockClient_ReadYaml_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
- func (verifier *VerifierMockClient) WriteYaml(_param0 string, _param1 string) *MockClient_WriteYaml_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_Config_OngoingVerification ¶
type MockClient_Config_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockClient_Config_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockClient_Config_OngoingVerification) GetAllCapturedArguments()
func (*MockClient_Config_OngoingVerification) GetCapturedArguments ¶
func (c *MockClient_Config_OngoingVerification) GetCapturedArguments()
type MockClient_List_OngoingVerification ¶
type MockClient_List_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockClient_List_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockClient_List_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockClient_List_OngoingVerification) GetCapturedArguments ¶
func (c *MockClient_List_OngoingVerification) GetCapturedArguments() string
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_ReadYaml_OngoingVerification ¶
type MockClient_ReadYaml_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockClient_ReadYaml_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockClient_ReadYaml_OngoingVerification) GetAllCapturedArguments() (_param0 []string)
func (*MockClient_ReadYaml_OngoingVerification) GetCapturedArguments ¶
func (c *MockClient_ReadYaml_OngoingVerification) GetCapturedArguments() string
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_WriteYaml_OngoingVerification ¶
type MockClient_WriteYaml_OngoingVerification struct {
// contains filtered or unexported fields
}
func (*MockClient_WriteYaml_OngoingVerification) GetAllCapturedArguments ¶
func (c *MockClient_WriteYaml_OngoingVerification) GetAllCapturedArguments() (_param0 []string, _param1 []string)
func (*MockClient_WriteYaml_OngoingVerification) GetCapturedArguments ¶
func (c *MockClient_WriteYaml_OngoingVerification) GetCapturedArguments() (string, string)
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) Config ¶
func (verifier *VerifierMockClient) Config() *MockClient_Config_OngoingVerification
func (*VerifierMockClient) List ¶
func (verifier *VerifierMockClient) List(_param0 string) *MockClient_List_OngoingVerification
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) ReadYaml ¶
func (verifier *VerifierMockClient) ReadYaml(_param0 string) *MockClient_ReadYaml_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
func (*VerifierMockClient) WriteYaml ¶
func (verifier *VerifierMockClient) WriteYaml(_param0 string, _param1 string) *MockClient_WriteYaml_OngoingVerification
Click to show internal directories.
Click to hide internal directories.