pkg/

directory
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2026 License: Apache-2.0

Directories

Path Synopsis
The OAuth flow, token manager, and cross-process refresh lock moved to github.com/Dynatrace/dtctl/sdk/session: every long-running consumer of the shared token store must refresh through the same locked path, so the machinery is part of the shared session layer.
The OAuth flow, token manager, and cross-process refresh lock moved to github.com/Dynatrace/dtctl/sdk/session: every long-running consumer of the shared token store must refresh through the same locked path, so the machinery is part of the shared session layer.
Package client re-exports the authenticated Dynatrace HTTP client from github.com/Dynatrace/dtctl/sdk/session, where the implementation moved: client construction from a context — token resolution, OAuth refresh, the 401 retry — is shared session behavior, and the User-Agent is parameterized there so each consumer ships its own identity.
Package client re-exports the authenticated Dynatrace HTTP client from github.com/Dynatrace/dtctl/sdk/session, where the implementation moved: client construction from a context — token resolution, OAuth refresh, the 401 retry — is shared session behavior, and the User-Agent is parameterized there so each consumer ships its own identity.
Package commands builds a machine-readable catalog of dtctl's command tree.
Package commands builds a machine-readable catalog of dtctl's command tree.
Package config re-exports the dtctl session layer from github.com/Dynatrace/dtctl/sdk/session, where the implementation moved: the config model, load/save, credential stores, and token resolution are the shared contract consumed by dtctl and dtctl-* plugins; this package remains so the root module's import surface is stable.
Package config re-exports the dtctl session layer from github.com/Dynatrace/dtctl/sdk/session, where the implementation moved: the config model, load/save, credential stores, and token resolution are the shared contract consumed by dtctl and dtctl-* plugins; this package remains so the root module's import surface is stable.
Package dqlhint turns a DQL error reported by the Grail query API into repair hints: a caret-marked snippet of the offending query text, and — for a small table of known authoring traps — a corrected query.
Package dqlhint turns a DQL error reported by the Grail query API into repair hints: a caret-marked snippet of the offending query text, and — for a small table of known authoring traps — a corrected query.
Package engine executes dtctl command lines in-process for services.
Package engine executes dtctl command lines in-process for services.
Package inspect implements `dtctl inspect`: a small, fixed set of pure-Go analytics primitives over a spilled query-result file (Layer 2 of the result spill design).
Package inspect implements `dtctl inspect`: a small, fixed set of pure-Go analytics primitives over a spilled query-result file (Layer 2 of the result spill design).
Package plugin implements dtctl's kubectl-style exec plugin convention: an executable named dtctl-<name> on PATH extends dtctl with the `dtctl <name>` command.
Package plugin implements dtctl's kubectl-style exec plugin convention: an executable named dtctl-<name> on PATH extends dtctl with the `dtctl <name>` command.
proto
resources
anomalydetector
Package anomalydetector provides a handler for custom anomaly detectors (Settings schema: builtin:davis.anomaly-detectors).
Package anomalydetector provides a handler for custom anomaly detectors (Settings schema: builtin:davis.anomaly-detectors).
api
Package api is the CLI layer over the platform's own OpenAPI documents.
Package api is the CLI layer over the platform's own OpenAPI documents.
awsconnection
Package awsconnection implements CRUD operations for the Settings 2.0 schema builtin:hyperscaler-authentication.connections.aws (AWS authentication for Dynatrace data acquisition extensions, e.g.
Package awsconnection implements CRUD operations for the Settings 2.0 schema builtin:hyperscaler-authentication.connections.aws (AWS authentication for Dynatrace data acquisition extensions, e.g.
awsmonitoringconfig
Package awsmonitoringconfig manages monitoring configurations for the Dynatrace AWS data acquisition extension (com.dynatrace.extension.da-aws).
Package awsmonitoringconfig manages monitoring configurations for the Dynatrace AWS data acquisition extension (com.dynatrace.extension.da-aws).
classicpipelinestranslate
Package classicpipelinestranslate is the CLI resource layer for the OpenPipeline classic pipelines translation endpoint.
Package classicpipelinestranslate is the CLI resource layer for the OpenPipeline classic pipelines translation endpoint.
dqlprocessorverify
Package dqlprocessorverify is the CLI resource layer for the OpenPipeline DQL processor verify endpoint.
Package dqlprocessorverify is the CLI resource layer for the OpenPipeline DQL processor verify endpoint.
hub
iam
matcherlqltodql
Package matcherlqltodql is the CLI resource layer for the LQL-to-DQL translation endpoint.
Package matcherlqltodql is the CLI resource layer for the LQL-to-DQL translation endpoint.
matcherverify
Package matcherverify is the CLI resource layer for the OpenPipeline matcher verify endpoint.
Package matcherverify is the CLI resource layer for the OpenPipeline matcher verify endpoint.
previewprocessor
Package previewprocessor is the CLI resource layer for the OpenPipeline preview processor endpoint.
Package previewprocessor is the CLI resource layer for the OpenPipeline preview processor endpoint.
schedulingrule
Package schedulingrule provides the CLI resource handler for Dynatrace scheduling rules.
Package schedulingrule provides the CLI resource handler for Dynatrace scheduling rules.
slo
Package safety re-exports the safety-level semantics from github.com/Dynatrace/dtctl/sdk/session, where the implementation moved: a readonly context must mean the same thing in dtctl and every dtctl-* plugin, so the checker is part of the shared session layer.
Package safety re-exports the safety-level semantics from github.com/Dynatrace/dtctl/sdk/session, where the implementation moved: a readonly context must mean the same thing in dtctl and every dtctl-* plugin, so the checker is part of the shared session layer.
Package serve is the command surface for running dtctl as a server on top of pkg/engine.
Package serve is the command surface for running dtctl as a server on top of pkg/engine.
Package skills provides installation and management of AI coding assistant skill files for dtctl.
Package skills provides installation and management of AI coding assistant skill files for dtctl.
Package stability declares and resolves dtctl's command stability contract: what we promise about a command's, flag's or output field's shape over time.
Package stability declares and resolves dtctl's command stability contract: what we promise about a command's, flag's or output field's shape over time.
Package tracing configures OpenTelemetry for dtctl using the OTLP HTTP exporter.
Package tracing configures OpenTelemetry for dtctl using the OTLP HTTP exporter.
Package usage keeps dtctl's opt-in local usage ledger: a per-day tally of the DQL queries this machine's dtctl ran and the data they scanned.
Package usage keeps dtctl's opt-in local usage ledger: a per-day tally of the DQL queries this machine's dtctl ran and the data they scanned.
util
unknownfields
Package unknownfields lets a typed struct carry the JSON object members it does not model through a decode/encode round trip.
Package unknownfields lets a typed struct carry the JSON object members it does not model through a decode/encode round trip.
Package vfs is the file-access seam between dtctl commands and the filesystem.
Package vfs is the file-access seam between dtctl commands and the filesystem.

Jump to

Keyboard shortcuts

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