delete

package
v2.17.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All added in v2.8.1

func All(ctx context.Context, clients client.ClientSet, apis api.APIs) error

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 client.ClientSet, entriesToDelete DeleteEntries) error

Configs removes all given entriesToDelete from the Dynatrace environment the given client connects to

func GenerateJSONSchema added in v2.10.0

func GenerateJSONSchema() ([]byte, error)

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 LoadEntriesFromFile added in v2.14.0

func LoadEntriesFromFile(fs afero.Fs, deleteFile string) (DeleteEntries, error)

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL