Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶ added in v2.8.1
All collects and deletes ALL configuration objects using the provided ClientSet. To delete specific configurations use Configs instead!
Parameters:
- ctx (context.Context): The context in which the function operates.
- clients (ClientSet): A set of API clients used to collect and delete configurations from an environment.
func Configs ¶
func Configs(ctx context.Context, clients ClientSet, apis api.APIs, automationResources map[string]config.AutomationResource, entriesToDelete DeleteEntries) error
Configs removes all given entriesToDelete from the Dynatrace environment the given client connects to
func GenerateJSONSchema ¶ added in v2.10.0
Types ¶
type DeleteEntries ¶ added in v2.8.1
type DeleteEntries = map[configurationType][]pointer.DeletePointer
DeleteEntries is a map of configuration type to slice of delete pointers
func LoadEntriesToDelete ¶
func LoadEntriesToDelete(fs afero.Fs, deleteFile string) (DeleteEntries, error)
Click to show internal directories.
Click to hide internal directories.