Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
pkg
|
|
|
auth
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. |
|
client
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. |
|
commands
Package commands builds a machine-readable catalog of dtctl's command tree.
|
Package commands builds a machine-readable catalog of dtctl's command tree. |
|
config
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. |
|
dqlhint
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. |
|
engine
Package engine executes dtctl command lines in-process for services.
|
Package engine executes dtctl command lines in-process for services. |
|
inspect
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). |
|
plugin
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. |
|
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). |
|
resources/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. |
|
resources/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. |
|
resources/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). |
|
resources/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. |
|
resources/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. |
|
resources/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. |
|
resources/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. |
|
resources/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. |
|
resources/schedulingrule
Package schedulingrule provides the CLI resource handler for Dynatrace scheduling rules.
|
Package schedulingrule provides the CLI resource handler for Dynatrace scheduling rules. |
|
safety
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. |
|
serve
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. |
|
skills
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. |
|
stability
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. |
|
tracing
Package tracing configures OpenTelemetry for dtctl using the OTLP HTTP exporter.
|
Package tracing configures OpenTelemetry for dtctl using the OTLP HTTP exporter. |
|
usage
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. |
|
vfs
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. |
|
sdk
module
|
|
|
skills
|
|
|
dtctl
Package dtctlskill embeds the full dtctl skill content (SKILL.md and all reference files) so that other packages can access it without filesystem reads or build-time code generation.
|
Package dtctlskill embeds the full dtctl skill content (SKILL.md and all reference files) so that other packages can access it without filesystem reads or build-time code generation. |
Click to show internal directories.
Click to hide internal directories.
