Skip to content

Commit

Permalink
Update copyright headers
Browse files Browse the repository at this point in the history
Signed-off-by: Prashant Rewar <[email protected]>
  • Loading branch information
prashantrewar committed Mar 21, 2024
1 parent bd6adce commit 84de7c6
Show file tree
Hide file tree
Showing 145 changed files with 151 additions and 164 deletions.
2 changes: 1 addition & 1 deletion cmd/vendir/vendir.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package main
Expand Down
23 changes: 4 additions & 19 deletions hack/tools.go
Original file line number Diff line number Diff line change
@@ -1,26 +1,11 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

//go:build tools
// +build tools

package tools

import (
"k8s.io/code-generator"
// Needed for protoc

// Needed for protoc
"github.com/gogo/protobuf/proto"
"k8s.io/code-generator/cmd/go-to-protobuf/protoc-gen-gogo"
"github.com/gogo/protobuf/protoc-gen-gogo"
"github.com/gogo/protobuf/protoc-gen-gofast"
"golang.org/x/tools/cmd/goimports"

// Needed for k8s protobuf gen
"k8s.io/apimachinery/pkg/util/intstr"
"k8s.io/apimachinery/pkg/api/resource"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1beta1"
"k8s.io/apimachinery/pkg/apis/testapigroup/v1"
)
// Needed for k8s protobuf gen
2 changes: 1 addition & 1 deletion pkg/vendir/cmd/sort_semver.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/cmd/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/cmd/tools.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/cmd/ui_flags.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/cmd/vendir.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/cmd/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cmd
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/config_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/data.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/directory.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

// Package config contains logic for parsing config.
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/dockerconfigjson.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/dockerconfigjson_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/lock_config.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/lock_config_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/lock_directory.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/config/resources.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package config
Expand Down
3 changes: 2 additions & 1 deletion pkg/vendir/directory/directory.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand All @@ -9,6 +9,7 @@ import (
"fmt"
"os"
"path/filepath"

"sigs.k8s.io/yaml"

ctlconf "carvel.dev/vendir/pkg/vendir/config"
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/file_filter.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/info_log.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/named_ref_fetcher.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/staging_dir.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/sub_path.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/symlink.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/directory/symlink_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package directory
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/archive.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package fetch
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/cache.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cache
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/cache_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package cache_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/resources/amount.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.

Check failure on line 1 in pkg/vendir/fetch/cache/resources/amount.go

View workflow job for this annotation

GitHub Actions / lint

Actual: The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package resources
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/resources/math.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.

Check failure on line 1 in pkg/vendir/fetch/cache/resources/math.go

View workflow job for this annotation

GitHub Actions / lint

Actual: The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package resources
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/resources/quantity.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.

Check failure on line 1 in pkg/vendir/fetch/cache/resources/quantity.go

View workflow job for this annotation

GitHub Actions / lint

Actual: The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package resources
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/resources/scale_int.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.

Check failure on line 1 in pkg/vendir/fetch/cache/resources/scale_int.go

View workflow job for this annotation

GitHub Actions / lint

Actual: The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package resources
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/cache/resources/suffix.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.

Check failure on line 1 in pkg/vendir/fetch/cache/resources/suffix.go

View workflow job for this annotation

GitHub Actions / lint

Actual: The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package resources
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/git/git.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package git
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/git/git_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package git_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/git/line_section_reader.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package git
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/git/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package git
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/git/verification.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package git
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/githubrelease/release_notes_checksums.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package githubrelease
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package githubrelease_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/githubrelease/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package githubrelease
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/helmchart/http_source.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package helmchart
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/helmchart/oci_source.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package helmchart
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/helmchart/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package helmchart
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/hg/hg.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package hg
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/hg/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package hg
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/http/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package http
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/image/guessed_ref.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package image
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/image/guessed_ref_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package image_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/image/imgpkg.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package image
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/image/imgpkg_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package image_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/image/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package image
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/imgpkgbundle/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0
package imgpkgbundle

Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/inline/sync.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package inline
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/move.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package fetch
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/move_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package fetch_test
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/ref_fetcher.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package fetch
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/fetch/temp_area.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package fetch
Expand Down
2 changes: 1 addition & 1 deletion pkg/vendir/openpgparmor/armor.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020 VMware, Inc.
// Copyright 2024 The Carvel Authors.

Check failure on line 1 in pkg/vendir/openpgparmor/armor.go

View workflow job for this annotation

GitHub Actions / lint

Actual: The Carvel Authors.
// SPDX-License-Identifier: Apache-2.0

package openpgparmor
Expand Down
Loading

0 comments on commit 84de7c6

Please sign in to comment.