Documentation ¶
Overview ¶
Package mock_jsoncreator is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONCreator ¶
type JSONCreator interface { CreateJSONConfig(client rest.DynatraceClient, api api.Api, value api.Value, creator files.FileCreator, path string) (name string, filter bool, err error) }
JSONCreator interface allows to mock the methods for unit testing
type JsonCreatorImp ¶
type JsonCreatorImp struct{}
JSONCreatorImp object
func NewJSONCreator ¶
func NewJSONCreator() *JsonCreatorImp
NewJSONCreator creates a new instance of the jsonCreator
func (*JsonCreatorImp) CreateJSONConfig ¶
func (d *JsonCreatorImp) CreateJSONConfig(client rest.DynatraceClient, api api.Api, value api.Value, creator files.FileCreator, path string) (name string, filter bool, err error)
CreateJSONConfig creates a json file using the specified path and API data
type MockJSONCreator ¶
type MockJSONCreator struct {
// contains filtered or unexported fields
}
MockJSONCreator is a mock of JSONCreator interface
func CreateJSONCreatorMock ¶
func CreateJSONCreatorMock(t *testing.T) *MockJSONCreator
func NewMockJSONCreator ¶
func NewMockJSONCreator(ctrl *gomock.Controller) *MockJSONCreator
NewMockJSONCreator creates a new mock instance
func (*MockJSONCreator) CreateJSONConfig ¶
func (m *MockJSONCreator) CreateJSONConfig(arg0 rest.DynatraceClient, arg1 api.Api, arg2 api.Value, arg3 files.FileCreator, arg4 string) (string, bool, error)
CreateJSONConfig mocks base method
func (*MockJSONCreator) EXPECT ¶
func (m *MockJSONCreator) EXPECT() *MockJSONCreatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockJSONCreatorMockRecorder ¶
type MockJSONCreatorMockRecorder struct {
// contains filtered or unexported fields
}
MockJSONCreatorMockRecorder is the mock recorder for MockJSONCreator
func (*MockJSONCreatorMockRecorder) CreateJSONConfig ¶
func (mr *MockJSONCreatorMockRecorder) CreateJSONConfig(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
CreateJSONConfig indicates an expected call of CreateJSONConfig
Click to show internal directories.
Click to hide internal directories.