Skip to content

Commit

Permalink
Add missing boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
KnVerey committed Apr 4, 2022
1 parent 3e652d6 commit 0fa010c
Show file tree
Hide file tree
Showing 93 changed files with 279 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/filters/doc.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package filters

// Package filters collects various implementations
Expand Down
3 changes: 3 additions & 0 deletions api/filters/filtersutil/setters.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package filtersutil

import (
Expand Down
3 changes: 3 additions & 0 deletions api/filters/iampolicygenerator/doc.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

// Package gkesagenerator contains a kio.Filter that that generates a
// iampolicy-related resources for a given cloud provider
package iampolicygenerator
3 changes: 3 additions & 0 deletions api/filters/nameref/doc.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

// Package nameref contains a kio.Filter implementation of the kustomize
// name reference transformer.
package nameref
3 changes: 3 additions & 0 deletions api/filters/nameref/nameref.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package nameref

import (
Expand Down
3 changes: 3 additions & 0 deletions api/filters/nameref/nameref_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package nameref

import (
Expand Down
3 changes: 3 additions & 0 deletions api/filters/nameref/seqfilter.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package nameref

import (
Expand Down
3 changes: 3 additions & 0 deletions api/filters/nameref/seqfilter_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package nameref

import (
Expand Down
3 changes: 3 additions & 0 deletions api/filters/patchstrategicmerge/patchstrategicmerge_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package patchstrategicmerge

import (
Expand Down
3 changes: 3 additions & 0 deletions api/filters/refvar/doc.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

// Package refvar contains a kio.Filter implementation of the kustomize
// refvar transformer (find and replace $(FOO) style variables in strings).
package refvar
3 changes: 3 additions & 0 deletions api/filters/refvar/refvar.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package refvar

import (
Expand Down
3 changes: 3 additions & 0 deletions api/filters/refvar/refvar_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package refvar_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/filters/replacement/doc.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

// Package replacement contains a kio.Filter implementation of the kustomize
// replacement transformer (accepts sources and looks for targets to replace
// their values with values from the sources).
Expand Down
3 changes: 3 additions & 0 deletions api/filters/replicacount/example_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package replicacount

import (
Expand Down
3 changes: 3 additions & 0 deletions api/filters/replicacount/replicacount.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package replicacount

import (
Expand Down
3 changes: 3 additions & 0 deletions api/filters/replicacount/replicacount_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package replicacount

import (
Expand Down
3 changes: 3 additions & 0 deletions api/internal/utils/annotations.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package utils

import "sigs.k8s.io/kustomize/api/konfig"
Expand Down
3 changes: 3 additions & 0 deletions api/internal/utils/makeResIds.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package utils

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/blankvalues_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/duplicatekeys_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/fnplugin_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/iampolicygenerator_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/intermediateresourceid_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/keepemptyarray_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/kustomizationmetadata_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/legacy_order_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/multibytecharacter_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/namereference_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/nameupdateinroleref_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/patchdelete_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/replacementtransformer_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/rolebindingacrossnamespace_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/krusty/stringquoteblank_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package krusty_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/loader/errors.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package loader

import "fmt"
Expand Down
3 changes: 3 additions & 0 deletions api/types/kustomization_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package types

import (
Expand Down
3 changes: 3 additions & 0 deletions api/types/patch_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package types_test

import (
Expand Down
3 changes: 3 additions & 0 deletions api/types/replacementfield.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package types

type ReplacementField struct {
Expand Down
3 changes: 3 additions & 0 deletions api/types/selector_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package types_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/depprobcheck/main.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/arguments/args.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package arguments

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/edit/editor.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package edit

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/edit/editor_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package edit

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/gen/main.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/git/runner.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package git

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/misc/interfaces.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package misc

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/misc/moduleshortname.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package misc

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/misc/moduleshortname_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package misc_test

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/misc/taggedmodule.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package misc

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/misc/trackedrepo.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package misc

// TrackedRepo identifies a git remote repository.
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/mod/module.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package mod

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/mod/module_test.go
@@ -1 +1,4 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package mod_test
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/repo/dotgitdata.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package repo

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/repo/dotgitdata_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package repo

import "testing"
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/repo/manager.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package repo

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/repo/managerfactory.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package repo

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/repo/protomodule.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package repo

import (
Expand Down
3 changes: 3 additions & 0 deletions cmd/gorepomod/internal/repo/protomodule_test.go
@@ -1,3 +1,6 @@
// Copyright 2022 The Kubernetes Authors.
// SPDX-License-Identifier: Apache-2.0

package repo

import (
Expand Down

0 comments on commit 0fa010c

Please sign in to comment.