Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONCreator ¶
type JSONCreator interface { CreateJSONConfig( fs afero.Fs, client rest.DynatraceClient, api api.Api, entityId string, path 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(fs afero.Fs, client rest.DynatraceClient, api api.Api, entityId string, jsonFilePath string) (filter bool, err error)
CreateJSONConfig creates a json file using the specified path and API data
Click to show internal directories.
Click to hide internal directories.