dynatrace-bootstrapper

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

README

dynatrace-bootstrapper

The dynatrace-bootstrapper is a small CLI binary built into a Dynatrace CodeModule (after version <to-be-determined-codemodule-version>) so that it can be used in conjunction with the dynatrace-operator to optimize the download and configuration of a CodeModule in Kubernetes.

Responsibilities

  • Copy a Dynatrace CodeModule to a target directory
  • Configure the Dynatrace CodeModule according to the configuration options provided

How to use

Args
--source

Example: --source="/opt/dynatrace/oneagent"

  • ⚠️This is a required arg⚠️
  • The --source arg defines the base path where to copy the CodeModule FROM.
--target

Example: --target="example/bins/1.2.3"

  • ⚠️This is a required arg⚠️
  • The --target arg defines the base path where to copy the CodeModule TO.
--work

Example: --work="/example/work"

  • This is an optional arg
  • The --work arg defines the base path for a tmp folder, this is where the command will do its work, to make sure the operations are atomic. It must be on the same disk as the target folder.

Development

  • To run tests: make test
  • To run linting: make lint
  • To build a testing image: make build

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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