mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-07 04:35:58 +08:00
fix(license): normalise SPDX headers to Apache-2.0, and assert it (#197)
* chore(license): normalise SPDX headers to Apache-2.0 [machine generated] MACHINE GENERATED. Every added line in this commit is `SPDX-License-Identifier: Apache-2.0` and nothing else; every removed line is the identifier it replaces, or the notice paragraph that followed it. Verified: 0 added lines are anything other than that SPDX line. 829 files. The repository ships Apache-2.0 -- LICENSE says so and GitHub reports it -- while 676 Go files and 153 others declared a different identifier, followed by a notice that contradicted it. The copyright line, the comment style and the indentation are left alone. Files carrying the short form, two SPDX lines with no notice paragraph, have the identifier swapped and nothing else. Markdown is excluded: there the identifier appears in prose describing the mismatch rather than in a header, so rewriting it would turn the sentence into a tautology. That file is handled in the next commit. Three shapes needed care, and each is worth knowing about if this is ever repeated. controller/api/prepend-license.go carries the block inside a Go raw string, so the paragraph's last line ends with a backtick; the closing delimiter is carried back onto the SPDX line rather than dropped, or the string would be left unterminated. Two shell scripts under controller/hack/ word the final sentence differently, so matching on the common ending alone misses them. And controller/.golangci.yml prefixes each line with "# //", which has to be stripped before the paragraph text can be recognised. The templates that produce these headers are rewritten here too, so this commit is self-consistent: the five addlicense boilerplates, the five goheader templates in .golangci.yml, and the block in prepend-license.go. Every header in the tree now names the same identifier. Review the next commit. This one is a substitution. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> * fix(license): one header template, and a check that reads it The previous commit fixed the headers. This one stops them drifting again, and is the part worth reviewing. Nothing here could catch a header that named the wrong licence. addlicense only ADDS a header to a file that has none; it never rewrites one already present. So `make file-license-check` runs addlicense, finds every file already stamped, produces no diff, and passes -- whatever the header says. agent/ is the proof: its template and its check have both been correct all along, and six of its files disagreed with them. Three mechanisms defined the header and could disagree with each other: an addlicense boilerplate per module, a goheader template in five .golangci.yml files, and a hardcoded block in controller/api/prepend-license.go that stamps generated API code. They are now one file, hack/license-header.tmpl, and every module reads it. make license-header-check replaces the per-module matrix and asserts two things rather than one: that a header exists, and that it names Apache-2.0. The second assertion is what this repository never had. Verified by planting a different identifier in a file and confirming the check fails and names it. Modules resolve the template through `git rev-parse --show-toplevel`, not a relative path. A relative ../hack path silently changes meaning when a module moves, which is how cli/ broke when it moved out of controller/. The file set is the union of what the per-module targets already ignored, so this covers exactly the files stamped today. 120 files carry no header at all -- generated output, testdata, fixtures, build tooling, three .github files -- and widening the set to reach them is a separate change. Mixing headers that are WRONG with headers that are MISSING would hide both. Dockerfiles stay out: addlicense keys off the file extension and gives Dockerfile.proto C-style // comments, which Docker cannot parse. AGENTS.md's licence-header rule now describes the current state: one identifier, added by `make license` rather than copied from a neighbouring file. The ban on relicensing as a side effect of unrelated work stays. The header-check job is renamed from "License headers (<module>)" to "License headers". The merge gate calls this workflow whole rather than naming its jobs, and the branch ruleset requires only `gate` and `DCO`, so no required check changes name. Verified: GOPROXY=off make build links all five binaries with no credentials; golangci-lint goheader reports 0 issues on cli and controller; `make license` is a no-op in all five modules; make license-header-check passes over 828 files and fails on a planted mismatched header. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> stderr is not captured when reading addlicense's output. addlicense prints the offending paths to stdout, while `go run` writes "go: downloading ..." on a cold module cache and "exit status 1" on failure -- both to stderr. Folding the two together reports a module download as a file with no header, which is how the first CI run of this check failed while passing on a machine whose cache was already warm. Reproduced locally against an empty GOMODCACHE. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> --------- Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com>
This commit is contained in:
@@ -90,7 +90,6 @@ jobs:
|
||||
contents: read
|
||||
outputs:
|
||||
modules: ${{ steps.find.outputs.modules }}
|
||||
header_modules: ${{ steps.find.outputs.header_modules }}
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
@@ -113,19 +112,11 @@ jobs:
|
||||
modules=$(printf '%s\n' "$all" | jq -R . | jq -sc .)
|
||||
echo "modules=$modules" >> "$GITHUB_OUTPUT"
|
||||
|
||||
# Header checks: every module that exposes the Makefile target, with
|
||||
# no private-dependency exclusions (see the note at the top of this
|
||||
# file). A module without the target is silently absent from the
|
||||
# matrix, so list what was found to keep the gap visible in the log.
|
||||
header_modules=$(printf '%s\n' "$all" | while read -r m; do
|
||||
if [ -f "$m/Makefile" ] && grep -qE '^file-license-check:' "$m/Makefile"; then
|
||||
echo "$m"
|
||||
fi
|
||||
done | jq -R . | jq -sc .)
|
||||
echo "header_modules=$header_modules" >> "$GITHUB_OUTPUT"
|
||||
|
||||
# Header checks are no longer discovered per module. They run once,
|
||||
# from the repository root, against one template -- see the
|
||||
# header-check job below for why the per-module shape could not catch
|
||||
# a header that named the wrong licence.
|
||||
echo "dependency-license modules: $modules"
|
||||
echo "license-header modules: $header_modules"
|
||||
|
||||
license-check:
|
||||
name: License check (${{ matrix.module }})
|
||||
@@ -199,17 +190,24 @@ jobs:
|
||||
--ignore github.com/NVIDIA/nke \
|
||||
--ignore github.com/NVIDIA/cluster-api-provider-nico
|
||||
|
||||
# One job for the whole repository, not one per module.
|
||||
#
|
||||
# The per-module matrix this replaces could not catch the defect it existed to
|
||||
# prevent. addlicense only ADDS a header to a file that has none, so
|
||||
# `make file-license-check` passes on a file already stamped with the WRONG
|
||||
# licence -- which is how 830 files carried a proprietary identifier in an
|
||||
# Apache-2.0 repository with every module green, including six under agent/,
|
||||
# whose template had said Apache-2.0 all along.
|
||||
#
|
||||
# make license-header-check asserts both things: a header exists, and it names
|
||||
# Apache-2.0. It reads one template, hack/license-header.tmpl, so the modules
|
||||
# cannot disagree about the answer.
|
||||
header-check:
|
||||
name: License headers (${{ matrix.module }})
|
||||
needs: [discover-modules]
|
||||
name: License headers
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
permissions:
|
||||
contents: read
|
||||
strategy:
|
||||
matrix:
|
||||
module: ${{ fromJson(needs.discover-modules.outputs.header_modules) }}
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
@@ -217,14 +215,11 @@ jobs:
|
||||
|
||||
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
|
||||
with:
|
||||
go-version-file: '${{ matrix.module }}/go.mod'
|
||||
go-version-file: go.work
|
||||
cache: true
|
||||
|
||||
# file-license-check runs addlicense in place and then fails on any
|
||||
# resulting git diff, so it needs a clean tree — which a fresh checkout is.
|
||||
- name: Verify license headers
|
||||
working-directory: ${{ matrix.module }}
|
||||
run: make file-license-check
|
||||
run: make license-header-check
|
||||
|
||||
shipped-licenses:
|
||||
name: Shipped LICENSE and NOTICE copies
|
||||
|
||||
@@ -109,11 +109,11 @@ build pass. Removing those dependencies is tracked work with its own design.
|
||||
`agent/pkg/agent/proto/*.pb.go`, and `agent/THIRD_PARTY_NOTICES.md` are
|
||||
produced by `make generate`, `make protos`, and `make notices`. Change the
|
||||
source — the OpenAPI spec, the `.proto` file, or `go.mod` — and regenerate.
|
||||
- **Do not rewrite license headers in bulk.** Most Go files here carry
|
||||
`LicenseRef-NvidiaProprietary` while the repository ships Apache-2.0. That
|
||||
mismatch is real and is being resolved by a single tracked sweep. Match the
|
||||
header of the file you are editing; copy it from a neighbouring file for new
|
||||
files. A pull request that relicenses files as a side effect will be rejected.
|
||||
- **Do not rewrite license headers in bulk.** Every source file carries
|
||||
`SPDX-License-Identifier: Apache-2.0`, matching the repository's LICENSE.
|
||||
Match the header of the file you are editing; `make license` adds it for new
|
||||
files. A pull request that relicenses files as a side effect will be
|
||||
rejected.
|
||||
- **Do not weaken linters to make a change pass.** The `.golangci.yml` files are
|
||||
the project's standard. Fix the code instead. Do not add `//nolint` without a
|
||||
reason on the same line.
|
||||
|
||||
@@ -15,6 +15,35 @@ unexport GOWORK
|
||||
GO ?= go
|
||||
BIN_DIR ?= $(CURDIR)/bin
|
||||
|
||||
# One template for the whole repository. Every module's `make license` reads
|
||||
# this file, so the header text has a single definition and cannot drift
|
||||
# between modules -- which is how four of the five modules ended up stamping a
|
||||
# proprietary identifier into a repository that ships Apache-2.0.
|
||||
LICENSE_HOLDER ?= NVIDIA CORPORATION & AFFILIATES
|
||||
LICENSE_TEMPLATE ?= $(CURDIR)/hack/license-header.tmpl
|
||||
ADDLICENSE ?= $(GO) run github.com/google/addlicense@v1.1.1
|
||||
|
||||
# The files that carry a licence header.
|
||||
#
|
||||
# Dockerfiles are absent deliberately: addlicense keys off the file extension
|
||||
# and would give Dockerfile.proto C-style `//` comments, which Docker cannot
|
||||
# parse.
|
||||
#
|
||||
# The exclusions are the union of what the per-module targets already ignore --
|
||||
# vendored and generated trees, testdata, fixtures, build tooling, and the
|
||||
# chart templates the chart ships. This set is exactly the files stamped today.
|
||||
# Widening it is a separate change: this one fixes headers that are WRONG, and
|
||||
# mixing that with headers that are MISSING would hide both.
|
||||
LICENSE_FILES = git ls-files -- '*.go' '*.sh' '*.py' '*.js' '*.css' '*.html' '*.yaml' '*.yml' \
|
||||
| grep -vE '(^|/)vendor/' \
|
||||
| grep -vE '(^|/)testdata/' \
|
||||
| grep -vE '(^|/)hack/' \
|
||||
| grep -vE '^generated/' \
|
||||
| grep -vE '\.pb\.go$$' \
|
||||
| grep -vE '^controller/deploy/charts/' \
|
||||
| grep -vE '^controller/test/fixtures/' \
|
||||
| grep -vE '^(\.github/|build/|\.grype\.yaml$$)'
|
||||
|
||||
# Modules in go.work — every module in the repository. Building needs no
|
||||
# NVIDIA credentials: the one still-INTERNAL dependency
|
||||
# (github.com/NVIDIA/cluster-api-provider-nico) is carried in the committed
|
||||
@@ -347,5 +376,42 @@ licenses-check: licenses ## Verify the shipped LICENSE and NOTICE copies match t
|
||||
|| { echo "ERROR: these shipped licence files are not tracked:"; printf '%s\n' "$$untracked" | sed 's/^/ /'; exit 1; }
|
||||
@echo "Shipped LICENSE and NOTICE copies are current."
|
||||
|
||||
license-header-check: ## Verify every source file carries the Apache-2.0 SPDX header.
|
||||
@# Two assertions, because either one alone passes while the tree is wrong.
|
||||
@#
|
||||
@# addlicense only ADDS a header to a file that has none. It never rewrites
|
||||
@# one that is already there, so a per-module `make license` reports success
|
||||
@# on a file stamped with a different licence -- which is how 830 files here
|
||||
@# carried LicenseRef-NvidiaProprietary for months with every gate green,
|
||||
@# including six under agent/, whose template has said Apache-2.0 all along.
|
||||
@#
|
||||
@# So the first assertion catches a MISSING header, and the second catches a
|
||||
@# header naming the WRONG licence. The second is the one this repository
|
||||
@# lacked.
|
||||
@#
|
||||
@# stderr is deliberately NOT captured. addlicense prints the offending paths
|
||||
@# to stdout, while `go run` writes "go: downloading ..." there on a cold
|
||||
@# module cache and "exit status 1" on any failure -- to stderr. Folding the
|
||||
@# two together reports a module download as a file with no licence header,
|
||||
@# which is exactly how the first CI run of this check failed while passing
|
||||
@# on a developer machine whose cache was already warm.
|
||||
@missing=$$($(LICENSE_FILES) | xargs $(ADDLICENSE) -check -c "$(LICENSE_HOLDER)" -f $(LICENSE_TEMPLATE) | grep -v '^$$' || true); \
|
||||
if [ -n "$$missing" ]; then \
|
||||
echo "ERROR: these files carry no licence header. Run 'make license':"; \
|
||||
printf '%s\n' "$$missing" | sed 's/^/ /'; \
|
||||
exit 1; \
|
||||
fi
|
||||
@wrong=$$($(LICENSE_FILES) | while read -r f; do \
|
||||
grep -qE '^.{0,3} ?Code generated .* DO NOT EDIT\.$$' "$$f" && continue; \
|
||||
head -20 "$$f" | grep -q 'SPDX-License-Identifier: Apache-2.0' || echo "$$f"; \
|
||||
done); \
|
||||
if [ -n "$$wrong" ]; then \
|
||||
echo "ERROR: these files carry a header that is not Apache-2.0:"; \
|
||||
printf '%s\n' "$$wrong" | sed 's/^/ /'; \
|
||||
echo "The repository ships Apache-2.0. Fix the header rather than the check."; \
|
||||
exit 1; \
|
||||
fi
|
||||
@echo "Licence headers: every tracked source file declares Apache-2.0."
|
||||
|
||||
clean: ## Remove the built binaries.
|
||||
@rm -rf $(BIN_DIR)
|
||||
|
||||
+1
-8
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
version: "2"
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
---
|
||||
|
||||
|
||||
+5
-9
@@ -1,12 +1,8 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# The licence header template lives once, at the repository root.
|
||||
REPO_ROOT ?= $(shell git rev-parse --show-toplevel)
|
||||
|
||||
# Makefile for multi-arch agent
|
||||
|
||||
@@ -201,7 +197,7 @@ ADDLICENSE_IGNORES := \
|
||||
|
||||
.PHONY: license
|
||||
license: ## Ensure license headers at code.
|
||||
go run github.com/google/addlicense@v1.1.1 -f ./hack/boilerplate.addlicense.txt $(ADDLICENSE_IGNORES) .
|
||||
go run github.com/google/addlicense@v1.1.1 -f $(REPO_ROOT)/hack/license-header.tmpl -c "NVIDIA CORPORATION & AFFILIATES" $(ADDLICENSE_IGNORES) .
|
||||
|
||||
# Expected to be run on clean working directory.
|
||||
.PHONY: file-license-check
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
SPDX-FileCopyrightText: Copyright (c) {{.Year}} NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package agent
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package agent
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package agent
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package agent
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package grpcserver_test
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package grpcserver
|
||||
|
||||
|
||||
+2
-16
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Upstream nkectl carries no config of its own: it sat inside a repository
|
||||
# whose root .golangci.yml covered it. Imported here it becomes a module in a
|
||||
@@ -42,14 +35,7 @@ linters:
|
||||
goheader:
|
||||
template: |-
|
||||
SPDX-FileCopyrightText: Copyright (c) {{MOD_YEAR-RANGE}} NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
|
||||
NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
property and proprietary rights in and to this material, related
|
||||
documentation and any modifications thereto. Any use, reproduction,
|
||||
disclosure or distribution of this material and related documentation
|
||||
without an express license agreement from NVIDIA CORPORATION or
|
||||
its affiliates is strictly prohibited.
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
exclusions:
|
||||
generated: lax
|
||||
# std-error-handling is what makes the default errcheck usable: it drops
|
||||
|
||||
+5
-2
@@ -1,5 +1,8 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# The licence header template lives once, at the repository root.
|
||||
REPO_ROOT ?= $(shell git rev-parse --show-toplevel)
|
||||
|
||||
# Module-level targets, matching the other workspace members. The root Makefile
|
||||
# builds nkectl into the repository's bin/ as part of `make build`; this file is
|
||||
@@ -125,7 +128,7 @@ lint:
|
||||
$(GOBIN)/golangci-lint run --timeout 10m --max-same-issues 0 --max-issues-per-linter 0 ./...
|
||||
|
||||
license: ## Ensure license headers at code.
|
||||
$(GO) run github.com/google/addlicense@v1.1.1 -f ./hack/boilerplate.addlicense.txt .
|
||||
$(GO) run github.com/google/addlicense@v1.1.1 -f $(REPO_ROOT)/hack/license-header.tmpl -c "NVIDIA CORPORATION & AFFILIATES" .
|
||||
|
||||
# nkectl is a redistributed binary, so it carries its own attribution. It reuses
|
||||
# the controller's generator rather than copying it: the script discovers the
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Example CreateClusterRequest for a local CAPD (Docker-backed CAPI) cluster.
|
||||
# Field names match the CWE API exactly — see /api/docs on your site controller.
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Example inventory file for: nkectl bootstrap site -i <inventory-file>
|
||||
#
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
SPDX-FileCopyrightText: Copyright (c) {{.Year}} NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
|
||||
NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
property and proprietary rights in and to this material, related
|
||||
documentation and any modifications thereto. Any use, reproduction,
|
||||
disclosure or distribution of this material and related documentation
|
||||
without an express license agreement from NVIDIA CORPORATION or
|
||||
its affiliates is strictly prohibited.
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package client wraps the generated CWE API client with typed, error-parsed
|
||||
// methods. Auth is intentionally a no-op for now — the design for how nkectl
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package client
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package config
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package clusters provides cobra subcommands for the nkectl cluster resource.
|
||||
// All commands here are backed by the CWE REST API.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package cwe
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package inventory loads and validates the declarative inventory file that
|
||||
// drives "nkectl bootstrap site".
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package inventory
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# // SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# // SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# // NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# // property and proprietary rights in and to this material, related
|
||||
# // documentation and any modifications thereto. Any use, reproduction,
|
||||
# // disclosure or distribution of this material and related documentation
|
||||
# // without an express license agreement from NVIDIA CORPORATION or
|
||||
# // its affiliates is strictly prohibited.
|
||||
# // SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
version: "2"
|
||||
|
||||
@@ -170,14 +163,7 @@ linters:
|
||||
goheader:
|
||||
template: |-
|
||||
SPDX-FileCopyrightText: Copyright (c) {{MOD_YEAR-RANGE}} NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
|
||||
NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
property and proprietary rights in and to this material, related
|
||||
documentation and any modifications thereto. Any use, reproduction,
|
||||
disclosure or distribution of this material and related documentation
|
||||
without an express license agreement from NVIDIA CORPORATION or
|
||||
its affiliates is strictly prohibited.
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
goimports:
|
||||
# Might need customization per project
|
||||
local-prefixes:
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
version: "1.0"
|
||||
project: "cloud-workflow-engine"
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Base image registry. Defaults to Docker Hub so the image builds for anyone
|
||||
# with no NVIDIA network access. Internal builds override it, e.g.
|
||||
|
||||
+5
-9
@@ -1,17 +1,13 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
WORKER_BIN_NAME ?= cloud-workflow-engine
|
||||
TEMPORAL_CLI_DOWNLOAD_DIR ?= $(CURDIR)/.go/temporal-cli
|
||||
CWE_GOFAIL_E2E_WORKER_BINARY ?= $(CURDIR)/.go/bin/cwe-worker-gofail
|
||||
GOFAIL ?= $(shell go env GOPATH)/bin/gofail
|
||||
|
||||
# The licence header template lives once, at the repository root.
|
||||
REPO_ROOT ?= $(shell git rev-parse --show-toplevel)
|
||||
|
||||
# Go tool install location (GOPATH/bin, unless GOBIN is set); matches agent/Makefile.
|
||||
GOBIN ?= $(shell go env GOBIN)
|
||||
ifeq (,$(GOBIN))
|
||||
@@ -56,7 +52,7 @@ lint: ## Lint source files.
|
||||
|
||||
.PHONY: license
|
||||
license: ## Ensure license headers at code.
|
||||
go run github.com/google/addlicense@v1.1.1 -f ./hack/boilerplate.addlicense.txt -ignore '.local/**' -ignore 'hack/**' -ignore 'test/fixtures/profiles/**' -ignore '**/testUserData.yaml' -ignore 'internal/kubeadmconfig/testdata/**' -ignore 'internal/controllers/tenantaccess/testdata/**' -ignore 'forge-vms/ui/vendor/**' -ignore 'forge-vms/test/integration/testutil/testdata/**' -ignore 'forge-vms/.dev/**' -ignore 'deploy/charts/**' .
|
||||
go run github.com/google/addlicense@v1.1.1 -f $(REPO_ROOT)/hack/license-header.tmpl -c "NVIDIA CORPORATION & AFFILIATES" -ignore '.local/**' -ignore 'hack/**' -ignore 'test/fixtures/profiles/**' -ignore '**/testUserData.yaml' -ignore 'internal/kubeadmconfig/testdata/**' -ignore 'internal/controllers/tenantaccess/testdata/**' -ignore 'forge-vms/ui/vendor/**' -ignore 'forge-vms/test/integration/testutil/testdata/**' -ignore 'forge-vms/.dev/**' -ignore 'deploy/charts/**' .
|
||||
|
||||
# Expected to be run on clean working directory.
|
||||
.PHONY: file-license-check
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Development Environment Makefile
|
||||
# This file contains targets for managing the local and remote development environment
|
||||
|
||||
+1
-8
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
load("ext://helm_resource", "helm_repo", "helm_resource")
|
||||
load("ext://restart_process", "custom_build_with_restart")
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package api provides primitives to interact with the openapi HTTP API.
|
||||
//
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# https://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen#Configuration
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/oapi-codegen/oapi-codegen/HEAD/configuration-schema.json
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# https://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen#Configuration
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/oapi-codegen/oapi-codegen/HEAD/configuration-schema.json
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# https://pkg.go.dev/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen#Configuration
|
||||
# yaml-language-server: $schema=https://raw.githubusercontent.com/oapi-codegen/oapi-codegen/HEAD/configuration-schema.json
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package api
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package api provides primitives to interact with the openapi HTTP API.
|
||||
//
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
openapi: 3.0.3
|
||||
info:
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
//go:build tools
|
||||
// +build tools
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
//go:build tools
|
||||
// +build tools
|
||||
@@ -28,18 +21,12 @@ var generatedFiles = []string{"models.gen.go", "server.gen.go", "client.gen.go"}
|
||||
// idempotency check.
|
||||
const licenseMarker = "// SPDX-FileCopyrightText"
|
||||
|
||||
// licenseHeader is the repo's canonical 9-line SPDX/NVIDIA header block, copied
|
||||
// from generate.go. Keep it byte-for-byte identical to the boilerplate so the
|
||||
// file-license-check (addlicense) job stays satisfied.
|
||||
// licenseHeader is the repository's canonical header block. Keep it
|
||||
// byte-for-byte identical to hack/license-header.tmpl, which is what addlicense
|
||||
// stamps everywhere else, so file-license-check stays satisfied and a generated
|
||||
// file carries the same header as a hand-written one.
|
||||
const licenseHeader = `// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.`
|
||||
// SPDX-License-Identifier: Apache-2.0`
|
||||
|
||||
// Prepend the canonical NVIDIA license header to the generated API files.
|
||||
//
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
//go:build go1.22
|
||||
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package api provides primitives to interact with the openapi HTTP API.
|
||||
//
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,13 +1,6 @@
|
||||
{{- if .Values.secrets.createDbSecret }}
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Install CRDs as part of the chart so we can apply our own Issuer/Certificate
|
||||
# resources right away. Single replica is plenty for tilt.
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
auth:
|
||||
username: postgres
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Note: example.org values, the TPM attestor checksum, and the OIDC leaf cert
|
||||
# IP SANs are replaced in the Tiltfile via --set-string overrides.
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# The two sql.password fields below are supplied by the Tiltfile from
|
||||
# CNPG_SUPERUSER_PASSWORD — do not hardcode them here.
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# The CWE Helm chart owns the OIDC RBAC ConfigMap. Tilt owns only the shared
|
||||
# namespace so Helm can create cross-namespace RBAC and tenant-access Secrets
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# OIDC upstream CA chain. cert-manager generates the CA private key inside
|
||||
# the cluster from a one-time SelfSigned Issuer; the resulting CA Secret
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
apiVersion: spire.spiffe.io/v1alpha1
|
||||
kind: ClusterSPIFFEID
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Override NodePort for the OIDC discovery provider — the upstream chart's
|
||||
# service is ClusterIP only, and we need a stable nodePort tenants can reach.
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Implemented as an override because the upstream SPIRE charts don't support explicitly setting the node port
|
||||
# Copy of nke-site-deploy/overrides/spire/templates/nodeport-service.yaml
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Mounted into spire-server to provide trusted TPM pubhashes to the SPIRE TPM attestor.
|
||||
# Contents are managed dynamically by CWE.
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
//go:build gofail
|
||||
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package framework
|
||||
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
//go:build gofail
|
||||
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package framework
|
||||
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
//go:build gofail
|
||||
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package framework
|
||||
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
//go:build gofail
|
||||
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package framework
|
||||
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
//go:build gofail
|
||||
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package framework
|
||||
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
//go:build gofail
|
||||
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package framework
|
||||
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
//go:build gofail
|
||||
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package gofail
|
||||
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
//go:build gofail
|
||||
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package gofail
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Lint config for the forge-vms module. The rule is unchanged: enable only
|
||||
# linters that pass cleanly today, and tighten incrementally. controller's
|
||||
@@ -115,14 +108,7 @@ linters:
|
||||
goheader:
|
||||
template: |-
|
||||
SPDX-FileCopyrightText: Copyright (c) {{MOD_YEAR-RANGE}} NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
|
||||
NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
property and proprietary rights in and to this material, related
|
||||
documentation and any modifications thereto. Any use, reproduction,
|
||||
disclosure or distribution of this material and related documentation
|
||||
without an express license agreement from NVIDIA CORPORATION or
|
||||
its affiliates is strictly prohibited.
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
govet:
|
||||
enable-all: true
|
||||
disable:
|
||||
|
||||
@@ -114,7 +114,7 @@ lint:
|
||||
$(GOBIN)/golangci-lint run --timeout 10m --max-same-issues 0 --max-issues-per-linter 0 ./...
|
||||
|
||||
license: ## Ensure license headers at code.
|
||||
$(GO) run github.com/google/addlicense@v1.1.1 -f ./hack/boilerplate.addlicense.txt \
|
||||
$(GO) run github.com/google/addlicense@v1.1.1 -f $(REPO_ROOT)/hack/license-header.tmpl -c "NVIDIA CORPORATION & AFFILIATES" \
|
||||
-ignore 'ui/vendor/**' \
|
||||
-ignore 'test/integration/testutil/testdata/**' \
|
||||
-ignore '.dev/**' \
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
load("ext://helm_resource", "helm_repo", "helm_resource")
|
||||
load("ext://uibutton", "cmd_button", "text_input")
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Grafana -- pre-configured with Loki datasource for dev convenience.
|
||||
adminPassword: admin
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Loki -- monolithic single-binary mode for local development.
|
||||
# No auth, filesystem storage, minimal resources.
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Promtail DaemonSet -- auto-discovers and ships all K8s pod logs to Loki.
|
||||
config:
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
#
|
||||
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
# property and proprietary rights in and to this material, related
|
||||
# documentation and any modifications thereto. Any use, reproduction,
|
||||
# disclosure or distribution of this material and related documentation
|
||||
# without an express license agreement from NVIDIA CORPORATION or
|
||||
# its affiliates is strictly prohibited.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Host Promtail config -- ships forge-vms and VM console logs to Loki in K8s.
|
||||
# Runs as a Docker container; Loki is reachable via port-forward on localhost:3100.
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
SPDX-FileCopyrightText: Copyright (c) {{.Year}} NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
|
||||
NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
property and proprietary rights in and to this material, related
|
||||
documentation and any modifications thereto. Any use, reproduction,
|
||||
disclosure or distribution of this material and related documentation
|
||||
without an express license agreement from NVIDIA CORPORATION or
|
||||
its affiliates is strictly prohibited.
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package app provides the shared forge-vms application setup used by both the
|
||||
// production server and integration tests.
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package app
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package app
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package bgp implements a lightweight BGP speaker that accepts kube-vip
|
||||
// sessions and installs ECMP routes via netlink.
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package bgp
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package cloudinit
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package cloudinit
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package cloudinit
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package config contains forge-vms runtime configuration parsing and validation.
|
||||
package config
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package consolessh provides an SSH server that streams VM console logs.
|
||||
// Clients connect with the instance ID as the SSH username; the server
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package consolessh
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package http
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package http
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package http
|
||||
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
// SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
|
||||
//
|
||||
// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
|
||||
// property and proprietary rights in and to this material, related
|
||||
// documentation and any modifications thereto. Any use, reproduction,
|
||||
// disclosure or distribution of this material and related documentation
|
||||
// without an express license agreement from NVIDIA CORPORATION or
|
||||
// its affiliates is strictly prohibited.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
package http
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user