mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-07 04:35:58 +08:00
pull-request/2414
2
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
4c2cd016d0 |
build: bump the go-dependencies group across 8 directories with 12 updates (#2251)
* build: bump the go-dependencies group across 8 directories with 12 updates Bumps the go-dependencies group with 12 updates in the / directory: | Package | From | To | | --- | --- | --- | | [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) | `4.1.7` | `4.1.9` | | [github.com/spf13/pflag](https://github.com/spf13/pflag) | `1.0.10` | `1.1.0` | | [golang.org/x/sync](https://github.com/golang/sync) | `0.24.0` | `0.25.0` | | [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) | `2.33.1` | `2.34.0` | | [github.com/caarlos0/env/v11](https://github.com/caarlos0/env) | `11.4.1` | `11.4.2` | | [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) | `1.14.52` | `1.14.53` | | [github.com/spiffe/spire-api-sdk](https://github.com/spiffe/spire-api-sdk) | `1.15.3` | `1.16.0` | | [github.com/spiffe/spire-controller-manager](https://github.com/spiffe/spire-controller-manager) | `0.8.0` | `0.8.1` | | go.temporal.io/api | `1.64.1` | `1.64.2` | | [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml) | `4.0.0-rc.7` | `4.0.0` | | [github.com/osrg/gobgp/v4](https://github.com/osrg/gobgp) | `4.10.0` | `4.11.0` | | [google.golang.org/api](https://github.com/googleapis/google-api-go-client) | `0.307.0` | `0.311.0` | Bumps the go-dependencies group with 2 updates in the /auth directory: [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) and [golang.org/x/sync](https://github.com/golang/sync). Bumps the go-dependencies group with 1 update in the /cli directory: [github.com/spf13/pflag](https://github.com/spf13/pflag). Bumps the go-dependencies group with 8 updates in the /controller directory: | Package | From | To | | --- | --- | --- | | [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) | `4.1.7` | `4.1.9` | | [golang.org/x/sync](https://github.com/golang/sync) | `0.24.0` | `0.25.0` | | [github.com/caarlos0/env/v11](https://github.com/caarlos0/env) | `11.4.1` | `11.4.2` | | [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) | `1.14.52` | `1.14.53` | | [github.com/spiffe/spire-api-sdk](https://github.com/spiffe/spire-api-sdk) | `1.15.3` | `1.16.0` | | [github.com/spiffe/spire-controller-manager](https://github.com/spiffe/spire-controller-manager) | `0.8.0` | `0.8.1` | | go.temporal.io/api | `1.64.1` | `1.64.2` | | [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml) | `4.0.0-rc.7` | `4.0.0` | Bumps the go-dependencies group with 3 updates in the /controller/nico-sim directory: [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3), [go.yaml.in/yaml/v4](https://github.com/yaml/go-yaml) and [github.com/osrg/gobgp/v4](https://github.com/osrg/gobgp). Bumps the go-dependencies group with 2 updates in the /controller/test/e2e directory: [golang.org/x/sync](https://github.com/golang/sync) and [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo). Bumps the go-dependencies group with 1 update in the /management-engine directory: [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo). Bumps the go-dependencies group with 2 updates in the /release directory: [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) and [google.golang.org/api](https://github.com/googleapis/google-api-go-client). Updates `github.com/go-jose/go-jose/v4` from 4.1.7 to 4.1.9 - [Release notes](https://github.com/go-jose/go-jose/releases) - [Commits](https://github.com/go-jose/go-jose/compare/v4.1.7...v4.1.9) Updates `github.com/spf13/pflag` from 1.0.10 to 1.1.0 - [Release notes](https://github.com/spf13/pflag/releases) - [Commits](https://github.com/spf13/pflag/compare/v1.0.10...v1.1.0) Updates `golang.org/x/sync` from 0.24.0 to 0.25.0 - [Commits](https://github.com/golang/sync/compare/v0.24.0...v0.25.0) Updates `github.com/onsi/ginkgo/v2` from 2.33.1 to 2.34.0 - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v2.33.1...v2.34.0) Updates `github.com/caarlos0/env/v11` from 11.4.1 to 11.4.2 - [Release notes](https://github.com/caarlos0/env/releases) - [Commits](https://github.com/caarlos0/env/compare/v11.4.1...v11.4.2) Updates `github.com/mattn/go-sqlite3` from 1.14.52 to 1.14.53 - [Release notes](https://github.com/mattn/go-sqlite3/releases) - [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.52...v1.14.53) Updates `github.com/spiffe/spire-api-sdk` from 1.15.3 to 1.16.0 - [Commits](https://github.com/spiffe/spire-api-sdk/compare/v1.15.3...v1.16.0) Updates `github.com/spiffe/spire-controller-manager` from 0.8.0 to 0.8.1 - [Release notes](https://github.com/spiffe/spire-controller-manager/releases) - [Changelog](https://github.com/spiffe/spire-controller-manager/blob/main/CHANGELOG.md) - [Commits](https://github.com/spiffe/spire-controller-manager/compare/v0.8.0...v0.8.1) Updates `go.temporal.io/api` from 1.64.1 to 1.64.2 Updates `go.yaml.in/yaml/v4` from 4.0.0-rc.7 to 4.0.0 - [Release notes](https://github.com/yaml/go-yaml/releases) - [Commits](https://github.com/yaml/go-yaml/compare/v4.0.0-rc.7...v4.0.0) Updates `github.com/osrg/gobgp/v4` from 4.10.0 to 4.11.0 - [Release notes](https://github.com/osrg/gobgp/releases) - [Commits](https://github.com/osrg/gobgp/compare/v4.10.0...v4.11.0) Updates `google.golang.org/api` from 0.307.0 to 0.311.0 - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.307.0...v0.311.0) Updates `github.com/go-jose/go-jose/v4` from 4.1.7 to 4.1.9 - [Release notes](https://github.com/go-jose/go-jose/releases) - [Commits](https://github.com/go-jose/go-jose/compare/v4.1.7...v4.1.9) Updates `golang.org/x/sync` from 0.24.0 to 0.25.0 - [Commits](https://github.com/golang/sync/compare/v0.24.0...v0.25.0) Updates `github.com/spf13/pflag` from 1.0.10 to 1.1.0 - [Release notes](https://github.com/spf13/pflag/releases) - [Commits](https://github.com/spf13/pflag/compare/v1.0.10...v1.1.0) Updates `github.com/go-jose/go-jose/v4` from 4.1.7 to 4.1.9 - [Release notes](https://github.com/go-jose/go-jose/releases) - [Commits](https://github.com/go-jose/go-jose/compare/v4.1.7...v4.1.9) Updates `golang.org/x/sync` from 0.24.0 to 0.25.0 - [Commits](https://github.com/golang/sync/compare/v0.24.0...v0.25.0) Updates `github.com/caarlos0/env/v11` from 11.4.1 to 11.4.2 - [Release notes](https://github.com/caarlos0/env/releases) - [Commits](https://github.com/caarlos0/env/compare/v11.4.1...v11.4.2) Updates `github.com/mattn/go-sqlite3` from 1.14.52 to 1.14.53 - [Release notes](https://github.com/mattn/go-sqlite3/releases) - [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.52...v1.14.53) Updates `github.com/spiffe/spire-api-sdk` from 1.15.3 to 1.16.0 - [Commits](https://github.com/spiffe/spire-api-sdk/compare/v1.15.3...v1.16.0) Updates `github.com/spiffe/spire-controller-manager` from 0.8.0 to 0.8.1 - [Release notes](https://github.com/spiffe/spire-controller-manager/releases) - [Changelog](https://github.com/spiffe/spire-controller-manager/blob/main/CHANGELOG.md) - [Commits](https://github.com/spiffe/spire-controller-manager/compare/v0.8.0...v0.8.1) Updates `go.temporal.io/api` from 1.64.1 to 1.64.2 Updates `go.yaml.in/yaml/v4` from 4.0.0-rc.7 to 4.0.0 - [Release notes](https://github.com/yaml/go-yaml/releases) - [Commits](https://github.com/yaml/go-yaml/compare/v4.0.0-rc.7...v4.0.0) Updates `github.com/mattn/go-sqlite3` from 1.14.52 to 1.14.53 - [Release notes](https://github.com/mattn/go-sqlite3/releases) - [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.52...v1.14.53) Updates `go.yaml.in/yaml/v4` from 4.0.0-rc.7 to 4.0.0 - [Release notes](https://github.com/yaml/go-yaml/releases) - [Commits](https://github.com/yaml/go-yaml/compare/v4.0.0-rc.7...v4.0.0) Updates `github.com/osrg/gobgp/v4` from 4.10.0 to 4.11.0 - [Release notes](https://github.com/osrg/gobgp/releases) - [Commits](https://github.com/osrg/gobgp/compare/v4.10.0...v4.11.0) Updates `golang.org/x/sync` from 0.24.0 to 0.25.0 - [Commits](https://github.com/golang/sync/compare/v0.24.0...v0.25.0) Updates `github.com/onsi/ginkgo/v2` from 2.33.1 to 2.34.0 - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v2.33.1...v2.34.0) Updates `github.com/onsi/ginkgo/v2` from 2.33.1 to 2.34.0 - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v2.33.1...v2.34.0) Updates `github.com/onsi/ginkgo/v2` from 2.33.1 to 2.34.0 - [Release notes](https://github.com/onsi/ginkgo/releases) - [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md) - [Commits](https://github.com/onsi/ginkgo/compare/v2.33.1...v2.34.0) Updates `google.golang.org/api` from 0.307.0 to 0.311.0 - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.307.0...v0.311.0) --- updated-dependencies: - dependency-name: github.com/go-jose/go-jose/v4 dependency-version: 4.1.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/spf13/pflag dependency-version: 1.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: golang.org/x/sync dependency-version: 0.25.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.34.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/caarlos0/env/v11 dependency-version: 11.4.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/mattn/go-sqlite3 dependency-version: 1.14.53 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/spiffe/spire-api-sdk dependency-version: 1.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/spiffe/spire-controller-manager dependency-version: 0.8.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: go.temporal.io/api dependency-version: 1.64.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: go.yaml.in/yaml/v4 dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/osrg/gobgp/v4 dependency-version: 4.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: google.golang.org/api dependency-version: 0.311.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/go-jose/go-jose/v4 dependency-version: 4.1.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: golang.org/x/sync dependency-version: 0.25.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/spf13/pflag dependency-version: 1.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/go-jose/go-jose/v4 dependency-version: 4.1.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: golang.org/x/sync dependency-version: 0.25.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/caarlos0/env/v11 dependency-version: 11.4.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/mattn/go-sqlite3 dependency-version: 1.14.53 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/spiffe/spire-api-sdk dependency-version: 1.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/spiffe/spire-controller-manager dependency-version: 0.8.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: go.temporal.io/api dependency-version: 1.64.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: go.yaml.in/yaml/v4 dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/mattn/go-sqlite3 dependency-version: 1.14.53 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: go.yaml.in/yaml/v4 dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/osrg/gobgp/v4 dependency-version: 4.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: golang.org/x/sync dependency-version: 0.25.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.34.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.34.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/onsi/ginkgo/v2 dependency-version: 2.34.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: google.golang.org/api dependency-version: 0.311.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * chore: regenerate third-party notices for dependency bumps Signed-off-by: Terry Howe <thowe@nvidia.com> * chore: regenerate workspace sums and nvkectl reference for dependency bumps Signed-off-by: Terry Howe <thowe@nvidia.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Terry Howe <thowe@nvidia.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Terry Howe <thowe@nvidia.com> |
||
|
|
bc75b98193 |
docs(cli): generate the nvkectl command reference from the command tree (#1773)
The repository has a hand-maintained quick reference and workflow guides, but
no complete reference. An operator cannot browse the whole public CLI without
a built binary, and nothing ties the prose to the commands, so the two drift
apart silently.
Add cli/docs/reference: an index and one page per public command, generated
from the cobra tree nvkectl itself runs. Each page carries the command's
purpose, invocation and positional arguments, aliases, examples, local and
inherited options with types and defaults, the required and mutually exclusive
option groups, and a deprecation notice when it has one.
cobra's doc package writes the body of each page. It does not emit aliases,
deprecation notices, flag-group constraints or an index, and it never removes
the page of a deleted command, so internal/clidocs adds those around it. All
of it is read from the command, so there is no second catalogue to maintain.
Deterministic, so repeated generation from unchanged source produces identical
files:
- cobra's generated-on timestamp is switched off on every command.
- The NVKECTL_ and NKECTL_ variables are cleared before the tree is built.
Two of `bootstrap site`'s flag defaults -- --diagnostics-dir and --timeout
-- are read from the environment by the command constructor, through
internal/envalias, which still honours the old prefix. Without this the
pages would record whatever the generating shell happened to have set.
- HOME and the XDG config directory are pinned, and the build metadata is a
fixed placeholder.
Generation runs no command and contacts nothing: it builds the tree and reads
its metadata, so it needs no credential, kubeconfig, configured site or
cluster. newRootCmd is exported for it, which is what the move to an
importable package was for.
`make -C cli docs` regenerates and `make -C cli docs-check` verifies, failing
on output that is stale, missing, obsolete, or newly generated and never
committed. The check joins the generated-artefact gate, which already covers
the provisioned-provider manifest and the generated API code, and joins
`make gate` and `make preflight` locally.
Two commands lazily added by cobra needed initialising before the traversal,
or the root page would link to pages that were never written: `help` and
`completion`. cobra's doc package also calls InitDefaultHelpCmd on every
command it renders, not just the root, which invented a `help` subcommand
under each group command -- `nvkectl bootstrap help` is not a command -- so
each one is given a hidden help command first to decide what cobra adds.
Hidden commands and help topics are excluded, which is why `render` and
`inspect` do not appear; a deprecated command keeps its page for as long as it
still runs.
Constraints enforced inside RunE are invisible to cobra. Those on `config
set-site` and the two patch commands are now stated in the flag usage strings
and Long text, so --help and the reference agree. No behaviour changes: the
checks still run where they did, with the messages they had.
cobra/doc brings go-md2man and blackfriday into cli/go.mod. Neither is
reachable from ./cmd/nvkectl, so the shipped binary is unaffected and
THIRD_PARTY_NOTICES.md is unchanged.
Signed-off-by: Jonathan Meier <jomeier@nvidia.com>
|