Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand returns the root "d8 package" command. Thin adapter so the rest of d8-cli (cmd/d8/root.go) can register via the standard NewCommand() entry point used by other built-ins; the actual command tree lives under pkg/cmd to mirror the original d8-package-plugin layout.
Two things from the upstream plugin are deliberately left out: its standalone entry point (cmd/package/main.go) and the "version" subcommand, whose value is injected by the plugin's own ldflags. d8 reports its version itself.
Vendored from d8-package-plugin v0.0.29 (1ad1db5). Keep this in sync when re-syncing internal/, pkg/ and templates/ from upstream.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
packages/values/schema/defaults
Package defaults synthesizes an example value map from an OpenAPI schema.
|
Package defaults synthesizes an example value map from an OpenAPI schema. |
|
packages/values/schema/reggen
Package reggen produces example strings that match a Perl-flavored regular expression.
|
Package reggen produces example strings that match a Perl-flavored regular expression. |
|
tools/iconutil
Package iconutil discovers the package icon at the package root and exposes its on-disk and decoded properties as a single Icon value.
|
Package iconutil discovers the package icon at the package root and exposes its on-disk and decoded properties as a single Icon value. |
|
verify/lint/doc
Package doc serves the reference documentation for the verify linters and their rules, as printed by `package doc`.
|
Package doc serves the reference documentation for the verify linters and their rules, as printed by `package doc`. |
|
verify/lint/linters/icon
Package icon validates package-icon content (format, size, dimensions).
|
Package icon validates package-icon content (format, size, dimensions). |
|
verify/lint/linters/oss
Package oss validates optional oss.yaml package metadata.
|
Package oss validates optional oss.yaml package metadata. |
|
verify/lint/linters/package
Package pkglint holds the linter that inspects the package as an artifact: the shape of its root, and the metadata that describes it.
|
Package pkglint holds the linter that inspects the package as an artifact: the shape of its root, and the metadata that describes it. |
|
verify/lint/settings
Package settings maps the on-disk .pkglint.yaml document onto typed configuration and converts it into runtime-ready linter severities.
|
Package settings maps the on-disk .pkglint.yaml document onto typed configuration and converts it into runtime-ready linter severities. |
|
pkg
|
|