diff --git a/.golangci.yml b/.golangci.yml index fbdf995e2..9617fbd06 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -110,7 +110,7 @@ linters-settings: nakedret: # Make an issue if func has more lines of code than this setting, and it has naked returns. # Default: 30 - max-func-lines: 0 + max-func-lines: 30 nolintlint: # Exclude following linters from requiring an explanation. @@ -135,6 +135,30 @@ linters-settings: # Default: false all: true + goheader: + # Supports two types 'const` and `regexp`. + # Values can be used recursively. + # Default: {} + values: + const: + # Define here const type values in format k:v. + # For example: + COMPANY: Harness Inc. + regexp: + # Define here regexp type values. + # for example: + # AUTHOR: .*@mycompany\.com + # The template use for checking. + # Default: "" + template: |- + Copyright 2022 {{ COMPANY }} All rights reserved. + Use of this source code is governed by the Polyform Free Trial License + that can be found in the LICENSE.md file for this repository. + # As alternative of directive 'template', you may put the path to file with the template source. + # Useful if you need to load the template from a specific file. + # Default: "" + # template-path: /path/to/my/template.tmpl + linters: disable-all: true @@ -184,7 +208,7 @@ linters: - nilnil # checks that there is no simultaneous return of nil error and an invalid value - noctx # finds sending http request without context.Context - nolintlint # reports ill-formed or insufficient nolint directives - - nonamedreturns # reports all named returns + # - nonamedreturns # reports all named returns - nosprintfhostport # checks for misuse of Sprintf to construct a host with port in a URL - predeclared # finds code that shadows one of Go's predeclared identifiers - promlinter # checks Prometheus metrics naming via promlint @@ -207,7 +231,7 @@ linters: #- exhaustruct # checks if all structure fields are initialized #- gci # controls golang package import order and makes it always deterministic #- godox # detects FIXME, TODO and other comment keywords - #- goheader # checks is file header matches to pattern + - goheader # checks is file header matches to pattern #- interfacebloat # checks the number of methods inside an interface #- ireturn # accept interfaces, return concrete types #- prealloc # [premature optimization, but can be used in some cases] finds slice declarations that could potentially be preallocated diff --git a/cli/cli.go b/cli/cli.go index 22bfc177b..57f3c1064 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/operations/account/login.go b/cli/operations/account/login.go index b922acac4..e7739e6ee 100644 --- a/cli/operations/account/login.go +++ b/cli/operations/account/login.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/operations/account/logout.go b/cli/operations/account/logout.go index 7d8fdeb88..cef127f3d 100644 --- a/cli/operations/account/logout.go +++ b/cli/operations/account/logout.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/operations/account/register.go b/cli/operations/account/register.go index 824cd8ef3..69103b2cf 100644 --- a/cli/operations/account/register.go +++ b/cli/operations/account/register.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/operations/user/user.go b/cli/operations/user/user.go index e8ecd6c0c..2aa2206de 100644 --- a/cli/operations/user/user.go +++ b/cli/operations/user/user.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/operations/users/create.go b/cli/operations/users/create.go index da5f21e47..d34628cf7 100644 --- a/cli/operations/users/create.go +++ b/cli/operations/users/create.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/operations/users/delete.go b/cli/operations/users/delete.go index 8afa713a3..c5335b913 100644 --- a/cli/operations/users/delete.go +++ b/cli/operations/users/delete.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/operations/users/find.go b/cli/operations/users/find.go index d454fb3ef..38269c3d7 100644 --- a/cli/operations/users/find.go +++ b/cli/operations/users/find.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/operations/users/list.go b/cli/operations/users/list.go index a81a38c55..8bf4183c8 100644 --- a/cli/operations/users/list.go +++ b/cli/operations/users/list.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/operations/users/update.go b/cli/operations/users/update.go index 89c306383..07964ac8f 100644 --- a/cli/operations/users/update.go +++ b/cli/operations/users/update.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/operations/users/users.go b/cli/operations/users/users.go index 3efa63498..2323f8fa9 100644 --- a/cli/operations/users/users.go +++ b/cli/operations/users/users.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/server/config.go b/cli/server/config.go index 2701e19d3..b767ccf29 100644 --- a/cli/server/config.go +++ b/cli/server/config.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/server/server.go b/cli/server/server.go index 27e4fd299..40d8a2a90 100644 --- a/cli/server/server.go +++ b/cli/server/server.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/server/system.go b/cli/server/system.go index e5d21ef8e..2d11a9777 100644 --- a/cli/server/system.go +++ b/cli/server/system.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/swagger.go b/cli/swagger.go index 4f836ce26..615592bb6 100644 --- a/cli/swagger.go +++ b/cli/swagger.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/util/util.go b/cli/util/util.go index d014deb03..2418ca640 100644 --- a/cli/util/util.go +++ b/cli/util/util.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/cli/util/util_test.go b/cli/util/util_test.go index 18d0551cf..cf6f6851b 100644 --- a/cli/util/util_test.go +++ b/cli/util/util_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/client/client.go b/client/client.go index 464336b2b..2c2f61027 100644 --- a/client/client.go +++ b/client/client.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/client/interface.go b/client/interface.go index 3ca1456e3..e3c106079 100644 --- a/client/interface.go +++ b/client/interface.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/api.go b/internal/api/api.go index 4d2fe063d..bae842024 100644 --- a/internal/api/api.go +++ b/internal/api/api.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/auth/auth.go b/internal/api/auth/auth.go index 1dbba5c5b..fabf63649 100644 --- a/internal/api/auth/auth.go +++ b/internal/api/auth/auth.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/auth/repo.go b/internal/api/auth/repo.go index aa341bd98..dd36d0439 100644 --- a/internal/api/auth/repo.go +++ b/internal/api/auth/repo.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/auth/service.go b/internal/api/auth/service.go index 8c034f7cf..03673bcc3 100644 --- a/internal/api/auth/service.go +++ b/internal/api/auth/service.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/auth/serviceAccount.go b/internal/api/auth/serviceAccount.go index e3f84ccf7..7a9c65a3b 100644 --- a/internal/api/auth/serviceAccount.go +++ b/internal/api/auth/serviceAccount.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/auth/space.go b/internal/api/auth/space.go index 31cdf7769..755bdfd60 100644 --- a/internal/api/auth/space.go +++ b/internal/api/auth/space.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/auth/user.go b/internal/api/auth/user.go index e93d46815..c0f766d51 100644 --- a/internal/api/auth/user.go +++ b/internal/api/auth/user.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/repo/controller.go b/internal/api/controller/repo/controller.go index f457496a2..e807310b6 100644 --- a/internal/api/controller/repo/controller.go +++ b/internal/api/controller/repo/controller.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/repo/create.go b/internal/api/controller/repo/create.go index 3f64b5cc0..37f5b102d 100644 --- a/internal/api/controller/repo/create.go +++ b/internal/api/controller/repo/create.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/repo/createPath.go b/internal/api/controller/repo/createPath.go index 513c498c7..595f03423 100644 --- a/internal/api/controller/repo/createPath.go +++ b/internal/api/controller/repo/createPath.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/repo/delete.go b/internal/api/controller/repo/delete.go index 92a08cf91..d90c2b10a 100644 --- a/internal/api/controller/repo/delete.go +++ b/internal/api/controller/repo/delete.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/repo/deletePath.go b/internal/api/controller/repo/deletePath.go index acf69cfb6..80b73b574 100644 --- a/internal/api/controller/repo/deletePath.go +++ b/internal/api/controller/repo/deletePath.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/repo/find.go b/internal/api/controller/repo/find.go index 1a294b262..12ac6ee21 100644 --- a/internal/api/controller/repo/find.go +++ b/internal/api/controller/repo/find.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/repo/helper.go b/internal/api/controller/repo/helper.go index 0120e7727..ca0137859 100644 --- a/internal/api/controller/repo/helper.go +++ b/internal/api/controller/repo/helper.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/repo/listPaths.go b/internal/api/controller/repo/listPaths.go index 8ae22d33c..1dcc5a9bd 100644 --- a/internal/api/controller/repo/listPaths.go +++ b/internal/api/controller/repo/listPaths.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/repo/listServiceAccounts.go b/internal/api/controller/repo/listServiceAccounts.go index 5745dcc0c..1cbc94ac4 100644 --- a/internal/api/controller/repo/listServiceAccounts.go +++ b/internal/api/controller/repo/listServiceAccounts.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/repo/move.go b/internal/api/controller/repo/move.go index 1ca2f5540..582915d0f 100644 --- a/internal/api/controller/repo/move.go +++ b/internal/api/controller/repo/move.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/repo/update.go b/internal/api/controller/repo/update.go index 5a07140a7..506c5b143 100644 --- a/internal/api/controller/repo/update.go +++ b/internal/api/controller/repo/update.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/repo/wire.go b/internal/api/controller/repo/wire.go index 6c5decd83..64035eff4 100644 --- a/internal/api/controller/repo/wire.go +++ b/internal/api/controller/repo/wire.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/service/controller.go b/internal/api/controller/service/controller.go index 1729e5816..c20f031e6 100644 --- a/internal/api/controller/service/controller.go +++ b/internal/api/controller/service/controller.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/service/create.go b/internal/api/controller/service/create.go index 4d7a16fd0..5abc363a1 100644 --- a/internal/api/controller/service/create.go +++ b/internal/api/controller/service/create.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/service/delete.go b/internal/api/controller/service/delete.go index 5775fdb77..362714df0 100644 --- a/internal/api/controller/service/delete.go +++ b/internal/api/controller/service/delete.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/service/find.go b/internal/api/controller/service/find.go index 9d95d0705..f1c2ed63d 100644 --- a/internal/api/controller/service/find.go +++ b/internal/api/controller/service/find.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/service/helper.go b/internal/api/controller/service/helper.go index 59986a718..13bc34113 100644 --- a/internal/api/controller/service/helper.go +++ b/internal/api/controller/service/helper.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/service/list.go b/internal/api/controller/service/list.go index cda5e577a..65c2858c0 100644 --- a/internal/api/controller/service/list.go +++ b/internal/api/controller/service/list.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/service/update.go b/internal/api/controller/service/update.go index aa0c849ae..d7633c86e 100644 --- a/internal/api/controller/service/update.go +++ b/internal/api/controller/service/update.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/service/updateAdmin.go b/internal/api/controller/service/updateAdmin.go index a24812471..cd9d5f6c8 100644 --- a/internal/api/controller/service/updateAdmin.go +++ b/internal/api/controller/service/updateAdmin.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/service/wire.go b/internal/api/controller/service/wire.go index d7b9e4fea..b1094eb37 100644 --- a/internal/api/controller/service/wire.go +++ b/internal/api/controller/service/wire.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/serviceaccount/controller.go b/internal/api/controller/serviceaccount/controller.go index 87c34ff8b..9137844f3 100644 --- a/internal/api/controller/serviceaccount/controller.go +++ b/internal/api/controller/serviceaccount/controller.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/serviceaccount/create.go b/internal/api/controller/serviceaccount/create.go index c7f2acce0..a3b997526 100644 --- a/internal/api/controller/serviceaccount/create.go +++ b/internal/api/controller/serviceaccount/create.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/serviceaccount/createToken.go b/internal/api/controller/serviceaccount/createToken.go index c2425a5e5..22b0505f9 100644 --- a/internal/api/controller/serviceaccount/createToken.go +++ b/internal/api/controller/serviceaccount/createToken.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/serviceaccount/delete.go b/internal/api/controller/serviceaccount/delete.go index 71fa41082..8e67974ab 100644 --- a/internal/api/controller/serviceaccount/delete.go +++ b/internal/api/controller/serviceaccount/delete.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/serviceaccount/deleteToken.go b/internal/api/controller/serviceaccount/deleteToken.go index db840c5e5..2da748f30 100644 --- a/internal/api/controller/serviceaccount/deleteToken.go +++ b/internal/api/controller/serviceaccount/deleteToken.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/serviceaccount/find.go b/internal/api/controller/serviceaccount/find.go index 00c906fd0..4f18acc11 100644 --- a/internal/api/controller/serviceaccount/find.go +++ b/internal/api/controller/serviceaccount/find.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/serviceaccount/helper.go b/internal/api/controller/serviceaccount/helper.go index 002eb0d21..8cf327561 100644 --- a/internal/api/controller/serviceaccount/helper.go +++ b/internal/api/controller/serviceaccount/helper.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/serviceaccount/listTokens.go b/internal/api/controller/serviceaccount/listTokens.go index 15d95f57e..1c6bb8119 100644 --- a/internal/api/controller/serviceaccount/listTokens.go +++ b/internal/api/controller/serviceaccount/listTokens.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/serviceaccount/wire.go b/internal/api/controller/serviceaccount/wire.go index 06404f789..550157041 100644 --- a/internal/api/controller/serviceaccount/wire.go +++ b/internal/api/controller/serviceaccount/wire.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/controller.go b/internal/api/controller/space/controller.go index 479798ca4..1c9c389dd 100644 --- a/internal/api/controller/space/controller.go +++ b/internal/api/controller/space/controller.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/create.go b/internal/api/controller/space/create.go index b7a4fb884..e39e8e11c 100644 --- a/internal/api/controller/space/create.go +++ b/internal/api/controller/space/create.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/createPath.go b/internal/api/controller/space/createPath.go index 57497c4ac..da3419588 100644 --- a/internal/api/controller/space/createPath.go +++ b/internal/api/controller/space/createPath.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/delete.go b/internal/api/controller/space/delete.go index e415296bf..1c439cb5b 100644 --- a/internal/api/controller/space/delete.go +++ b/internal/api/controller/space/delete.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/deletePath.go b/internal/api/controller/space/deletePath.go index cefc197c8..389c8dacf 100644 --- a/internal/api/controller/space/deletePath.go +++ b/internal/api/controller/space/deletePath.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/find.go b/internal/api/controller/space/find.go index bbbbf5482..6b20c4139 100644 --- a/internal/api/controller/space/find.go +++ b/internal/api/controller/space/find.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/helper.go b/internal/api/controller/space/helper.go index 271585ead..88a13365a 100644 --- a/internal/api/controller/space/helper.go +++ b/internal/api/controller/space/helper.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/listPaths.go b/internal/api/controller/space/listPaths.go index 4a9e8434b..b3f700a5e 100644 --- a/internal/api/controller/space/listPaths.go +++ b/internal/api/controller/space/listPaths.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/listRepositories.go b/internal/api/controller/space/listRepositories.go index cecf5465c..2192aecee 100644 --- a/internal/api/controller/space/listRepositories.go +++ b/internal/api/controller/space/listRepositories.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/listServiceAccounts.go b/internal/api/controller/space/listServiceAccounts.go index 5da71ba0f..43922bf29 100644 --- a/internal/api/controller/space/listServiceAccounts.go +++ b/internal/api/controller/space/listServiceAccounts.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/listSpaces.go b/internal/api/controller/space/listSpaces.go index 1b098a249..78135e87d 100644 --- a/internal/api/controller/space/listSpaces.go +++ b/internal/api/controller/space/listSpaces.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/move.go b/internal/api/controller/space/move.go index faaf1a256..d42488cde 100644 --- a/internal/api/controller/space/move.go +++ b/internal/api/controller/space/move.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/update.go b/internal/api/controller/space/update.go index 0ee8b16a7..5b44aba0b 100644 --- a/internal/api/controller/space/update.go +++ b/internal/api/controller/space/update.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/space/wire.go b/internal/api/controller/space/wire.go index ec1881002..9a5b9eef5 100644 --- a/internal/api/controller/space/wire.go +++ b/internal/api/controller/space/wire.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/controller.go b/internal/api/controller/user/controller.go index 9373968c7..f68117b5b 100644 --- a/internal/api/controller/user/controller.go +++ b/internal/api/controller/user/controller.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/create.go b/internal/api/controller/user/create.go index a8b812bfb..e13cfa372 100644 --- a/internal/api/controller/user/create.go +++ b/internal/api/controller/user/create.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/createAccessToken.go b/internal/api/controller/user/createAccessToken.go index 6734ce19d..4c81a3d77 100644 --- a/internal/api/controller/user/createAccessToken.go +++ b/internal/api/controller/user/createAccessToken.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/delete.go b/internal/api/controller/user/delete.go index 2949e8cc5..2d0faf334 100644 --- a/internal/api/controller/user/delete.go +++ b/internal/api/controller/user/delete.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/deleteToken.go b/internal/api/controller/user/deleteToken.go index 99c2f466e..36dd1bf17 100644 --- a/internal/api/controller/user/deleteToken.go +++ b/internal/api/controller/user/deleteToken.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/find.go b/internal/api/controller/user/find.go index 2d516d080..1f33f542e 100644 --- a/internal/api/controller/user/find.go +++ b/internal/api/controller/user/find.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/findEmail.go b/internal/api/controller/user/findEmail.go index 9d8d8b435..79fb08e28 100644 --- a/internal/api/controller/user/findEmail.go +++ b/internal/api/controller/user/findEmail.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/helper.go b/internal/api/controller/user/helper.go index 4147768b6..a7e70ac2e 100644 --- a/internal/api/controller/user/helper.go +++ b/internal/api/controller/user/helper.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/list.go b/internal/api/controller/user/list.go index 9e043dab1..80c402905 100644 --- a/internal/api/controller/user/list.go +++ b/internal/api/controller/user/list.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/listTokens.go b/internal/api/controller/user/listTokens.go index 756dabd6e..55125cec8 100644 --- a/internal/api/controller/user/listTokens.go +++ b/internal/api/controller/user/listTokens.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/login.go b/internal/api/controller/user/login.go index 17631def0..a80f2388d 100644 --- a/internal/api/controller/user/login.go +++ b/internal/api/controller/user/login.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/register.go b/internal/api/controller/user/register.go index 13b662f82..4e13aa29a 100644 --- a/internal/api/controller/user/register.go +++ b/internal/api/controller/user/register.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/update.go b/internal/api/controller/user/update.go index 0ca8b5b10..04b1f1b57 100644 --- a/internal/api/controller/user/update.go +++ b/internal/api/controller/user/update.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/updateAdmin.go b/internal/api/controller/user/updateAdmin.go index 58a6485ba..0213350e6 100644 --- a/internal/api/controller/user/updateAdmin.go +++ b/internal/api/controller/user/updateAdmin.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/controller/user/wire.go b/internal/api/controller/user/wire.go index 1c6a72331..ef5b5f37c 100644 --- a/internal/api/controller/user/wire.go +++ b/internal/api/controller/user/wire.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/account/login.go b/internal/api/handler/account/login.go index ef0fb71a6..b7b774135 100644 --- a/internal/api/handler/account/login.go +++ b/internal/api/handler/account/login.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/account/login_test.go b/internal/api/handler/account/login_test.go index 0b1057461..ae562ce44 100644 --- a/internal/api/handler/account/login_test.go +++ b/internal/api/handler/account/login_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/account/register.go b/internal/api/handler/account/register.go index 4347d3071..5ff5bdd64 100644 --- a/internal/api/handler/account/register.go +++ b/internal/api/handler/account/register.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/account/register_test.go b/internal/api/handler/account/register_test.go index 440844de5..273bffd3e 100644 --- a/internal/api/handler/account/register_test.go +++ b/internal/api/handler/account/register_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/repo/create.go b/internal/api/handler/repo/create.go index 484b12650..5aef741c9 100644 --- a/internal/api/handler/repo/create.go +++ b/internal/api/handler/repo/create.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/repo/createPath.go b/internal/api/handler/repo/createPath.go index a70237645..6bb261801 100644 --- a/internal/api/handler/repo/createPath.go +++ b/internal/api/handler/repo/createPath.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/repo/delete.go b/internal/api/handler/repo/delete.go index 3ce23da99..0b68db122 100644 --- a/internal/api/handler/repo/delete.go +++ b/internal/api/handler/repo/delete.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/repo/deletePath.go b/internal/api/handler/repo/deletePath.go index 6fe08243d..312af331c 100644 --- a/internal/api/handler/repo/deletePath.go +++ b/internal/api/handler/repo/deletePath.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/repo/find.go b/internal/api/handler/repo/find.go index c8a01d34f..a713727e2 100644 --- a/internal/api/handler/repo/find.go +++ b/internal/api/handler/repo/find.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/repo/listPaths.go b/internal/api/handler/repo/listPaths.go index ef3aa0f4d..29e70fc47 100644 --- a/internal/api/handler/repo/listPaths.go +++ b/internal/api/handler/repo/listPaths.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/repo/listServiceAccounts.go b/internal/api/handler/repo/listServiceAccounts.go index ced3d47d4..21fd6c9b2 100644 --- a/internal/api/handler/repo/listServiceAccounts.go +++ b/internal/api/handler/repo/listServiceAccounts.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/repo/move.go b/internal/api/handler/repo/move.go index c350f61df..c8ee05b80 100644 --- a/internal/api/handler/repo/move.go +++ b/internal/api/handler/repo/move.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/repo/update.go b/internal/api/handler/repo/update.go index 38d062ae2..4219369eb 100644 --- a/internal/api/handler/repo/update.go +++ b/internal/api/handler/repo/update.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/serviceaccount/create.go b/internal/api/handler/serviceaccount/create.go index c601c49cd..4cb1098d3 100644 --- a/internal/api/handler/serviceaccount/create.go +++ b/internal/api/handler/serviceaccount/create.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/serviceaccount/createToken.go b/internal/api/handler/serviceaccount/createToken.go index bac8e8031..7565a3b82 100644 --- a/internal/api/handler/serviceaccount/createToken.go +++ b/internal/api/handler/serviceaccount/createToken.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/serviceaccount/delete.go b/internal/api/handler/serviceaccount/delete.go index 7c0291765..b93c28383 100644 --- a/internal/api/handler/serviceaccount/delete.go +++ b/internal/api/handler/serviceaccount/delete.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/serviceaccount/deleteToken.go b/internal/api/handler/serviceaccount/deleteToken.go index 0b1013f5f..96bd05aee 100644 --- a/internal/api/handler/serviceaccount/deleteToken.go +++ b/internal/api/handler/serviceaccount/deleteToken.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/serviceaccount/find.go b/internal/api/handler/serviceaccount/find.go index 5e14c224b..2911c9313 100644 --- a/internal/api/handler/serviceaccount/find.go +++ b/internal/api/handler/serviceaccount/find.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/serviceaccount/listTokens.go b/internal/api/handler/serviceaccount/listTokens.go index 6785a67d1..09139c580 100644 --- a/internal/api/handler/serviceaccount/listTokens.go +++ b/internal/api/handler/serviceaccount/listTokens.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/space/create.go b/internal/api/handler/space/create.go index 6821fb85d..419bea858 100644 --- a/internal/api/handler/space/create.go +++ b/internal/api/handler/space/create.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/space/createPath.go b/internal/api/handler/space/createPath.go index ca49e9500..7e021a649 100644 --- a/internal/api/handler/space/createPath.go +++ b/internal/api/handler/space/createPath.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/space/delete.go b/internal/api/handler/space/delete.go index 4b6f970b7..1c74d7a00 100644 --- a/internal/api/handler/space/delete.go +++ b/internal/api/handler/space/delete.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/space/deletePath.go b/internal/api/handler/space/deletePath.go index e61a1b94c..78a581dd2 100644 --- a/internal/api/handler/space/deletePath.go +++ b/internal/api/handler/space/deletePath.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/space/find.go b/internal/api/handler/space/find.go index f255b2771..8ff02f0d6 100644 --- a/internal/api/handler/space/find.go +++ b/internal/api/handler/space/find.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/space/list.go b/internal/api/handler/space/list.go index a8e7968cf..50e7f4c85 100644 --- a/internal/api/handler/space/list.go +++ b/internal/api/handler/space/list.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/space/listPaths.go b/internal/api/handler/space/listPaths.go index e33bbf420..57f07cef0 100644 --- a/internal/api/handler/space/listPaths.go +++ b/internal/api/handler/space/listPaths.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/space/listRepos.go b/internal/api/handler/space/listRepos.go index c35cc1faa..d5f086d83 100644 --- a/internal/api/handler/space/listRepos.go +++ b/internal/api/handler/space/listRepos.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/space/listServiceAccounts.go b/internal/api/handler/space/listServiceAccounts.go index 839b7bb06..fe2d580fa 100644 --- a/internal/api/handler/space/listServiceAccounts.go +++ b/internal/api/handler/space/listServiceAccounts.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/space/move.go b/internal/api/handler/space/move.go index 2d25e76e8..f4917e9cc 100644 --- a/internal/api/handler/space/move.go +++ b/internal/api/handler/space/move.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/space/update.go b/internal/api/handler/space/update.go index f40238ae4..3041e9389 100644 --- a/internal/api/handler/space/update.go +++ b/internal/api/handler/space/update.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/system/health.go b/internal/api/handler/system/health.go index 955ef9da3..5edb0514d 100644 --- a/internal/api/handler/system/health.go +++ b/internal/api/handler/system/health.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/system/health_test.go b/internal/api/handler/system/health_test.go index 65a184384..70059b827 100644 --- a/internal/api/handler/system/health_test.go +++ b/internal/api/handler/system/health_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/system/version.go b/internal/api/handler/system/version.go index 21a129b67..a9cf2c29d 100644 --- a/internal/api/handler/system/version.go +++ b/internal/api/handler/system/version.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/system/version_test.go b/internal/api/handler/system/version_test.go index 254139a40..57b454242 100644 --- a/internal/api/handler/system/version_test.go +++ b/internal/api/handler/system/version_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/user/createAccessToken.go b/internal/api/handler/user/createAccessToken.go index b49b55de7..94238584e 100644 --- a/internal/api/handler/user/createAccessToken.go +++ b/internal/api/handler/user/createAccessToken.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/user/deleteToken.go b/internal/api/handler/user/deleteToken.go index 47e406375..11634bc49 100644 --- a/internal/api/handler/user/deleteToken.go +++ b/internal/api/handler/user/deleteToken.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/user/find.go b/internal/api/handler/user/find.go index 751977c16..a4a096a18 100644 --- a/internal/api/handler/user/find.go +++ b/internal/api/handler/user/find.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/user/listTokens.go b/internal/api/handler/user/listTokens.go index eccfc121f..71fc00e2f 100644 --- a/internal/api/handler/user/listTokens.go +++ b/internal/api/handler/user/listTokens.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/user/update.go b/internal/api/handler/user/update.go index 52bbfa0d5..11e807c09 100644 --- a/internal/api/handler/user/update.go +++ b/internal/api/handler/user/update.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/users/create.go b/internal/api/handler/users/create.go index 43fa5d7c7..ddd31d8f0 100644 --- a/internal/api/handler/users/create.go +++ b/internal/api/handler/users/create.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/users/create_test.go b/internal/api/handler/users/create_test.go index eb3a125de..cc574c090 100644 --- a/internal/api/handler/users/create_test.go +++ b/internal/api/handler/users/create_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/users/delete.go b/internal/api/handler/users/delete.go index 58bd75d9b..81994acd5 100644 --- a/internal/api/handler/users/delete.go +++ b/internal/api/handler/users/delete.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/users/delete_test.go b/internal/api/handler/users/delete_test.go index eb3a125de..cc574c090 100644 --- a/internal/api/handler/users/delete_test.go +++ b/internal/api/handler/users/delete_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/users/find.go b/internal/api/handler/users/find.go index b064a55a2..94e689532 100644 --- a/internal/api/handler/users/find.go +++ b/internal/api/handler/users/find.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/users/find_test.go b/internal/api/handler/users/find_test.go index eb3a125de..cc574c090 100644 --- a/internal/api/handler/users/find_test.go +++ b/internal/api/handler/users/find_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/users/list.go b/internal/api/handler/users/list.go index 2e08619d0..54175789c 100644 --- a/internal/api/handler/users/list.go +++ b/internal/api/handler/users/list.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/users/list_test.go b/internal/api/handler/users/list_test.go index eb3a125de..cc574c090 100644 --- a/internal/api/handler/users/list_test.go +++ b/internal/api/handler/users/list_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/users/update.go b/internal/api/handler/users/update.go index 2151a90a1..359684b16 100644 --- a/internal/api/handler/users/update.go +++ b/internal/api/handler/users/update.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/handler/users/update_test.go b/internal/api/handler/users/update_test.go index eb3a125de..cc574c090 100644 --- a/internal/api/handler/users/update_test.go +++ b/internal/api/handler/users/update_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/middleware/accesslog/accesslog.go b/internal/api/middleware/accesslog/accesslog.go index 12cbfc623..3a9dc1476 100644 --- a/internal/api/middleware/accesslog/accesslog.go +++ b/internal/api/middleware/accesslog/accesslog.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/middleware/address/address.go b/internal/api/middleware/address/address.go index d520c629a..27b7e0327 100644 --- a/internal/api/middleware/address/address.go +++ b/internal/api/middleware/address/address.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/middleware/address/address_test.go b/internal/api/middleware/address/address_test.go index c186dc746..75b1048d8 100644 --- a/internal/api/middleware/address/address_test.go +++ b/internal/api/middleware/address/address_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/middleware/authn/authn.go b/internal/api/middleware/authn/authn.go index 5fa292f80..ad645d88b 100644 --- a/internal/api/middleware/authn/authn.go +++ b/internal/api/middleware/authn/authn.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/middleware/principal/principal.go b/internal/api/middleware/principal/principal.go index 182cf1a4c..8b8fddc61 100644 --- a/internal/api/middleware/principal/principal.go +++ b/internal/api/middleware/principal/principal.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/openapi/account.go b/internal/api/openapi/account.go index 52911e578..7795efd14 100644 --- a/internal/api/openapi/account.go +++ b/internal/api/openapi/account.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/openapi/openapi.go b/internal/api/openapi/openapi.go index 16deb942d..0b09761b3 100644 --- a/internal/api/openapi/openapi.go +++ b/internal/api/openapi/openapi.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/openapi/openapi_test.go b/internal/api/openapi/openapi_test.go index bf1f643dc..13534a35b 100644 --- a/internal/api/openapi/openapi_test.go +++ b/internal/api/openapi/openapi_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/openapi/user.go b/internal/api/openapi/user.go index b8150e27a..ffa5ced29 100644 --- a/internal/api/openapi/user.go +++ b/internal/api/openapi/user.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/openapi/users.go b/internal/api/openapi/users.go index 4323cc8da..96df85547 100644 --- a/internal/api/openapi/users.go +++ b/internal/api/openapi/users.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/render/header.go b/internal/api/render/header.go index bb9d46757..cd74adcc0 100644 --- a/internal/api/render/header.go +++ b/internal/api/render/header.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/render/header_test.go b/internal/api/render/header_test.go index 3efccd684..45dde52d2 100644 --- a/internal/api/render/header_test.go +++ b/internal/api/render/header_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/render/render.go b/internal/api/render/render.go index 572a3ddd8..d7f232786 100644 --- a/internal/api/render/render.go +++ b/internal/api/render/render.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/render/render_test.go b/internal/api/render/render_test.go index d69c8bc4a..61d273aba 100644 --- a/internal/api/render/render_test.go +++ b/internal/api/render/render_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/render/util.go b/internal/api/render/util.go index 62aa1b851..dd5832685 100644 --- a/internal/api/render/util.go +++ b/internal/api/render/util.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/render/util_test.go b/internal/api/render/util_test.go index 5d9bd9245..34e12b054 100644 --- a/internal/api/render/util_test.go +++ b/internal/api/render/util_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/request/context.go b/internal/api/request/context.go index d3a16f786..3bfabfb5d 100644 --- a/internal/api/request/context.go +++ b/internal/api/request/context.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/request/context_test.go b/internal/api/request/context_test.go index 1c45304a9..9be9661d8 100644 --- a/internal/api/request/context_test.go +++ b/internal/api/request/context_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/request/util.go b/internal/api/request/util.go index 3eebe1531..a019e2ff8 100644 --- a/internal/api/request/util.go +++ b/internal/api/request/util.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/request/util_test.go b/internal/api/request/util_test.go index 2b16f486f..7866119b0 100644 --- a/internal/api/request/util_test.go +++ b/internal/api/request/util_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/usererror/usererror.go b/internal/api/usererror/usererror.go index 293122465..cb6f6f0a7 100644 --- a/internal/api/usererror/usererror.go +++ b/internal/api/usererror/usererror.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/api/usererror/usererror_test.go b/internal/api/usererror/usererror_test.go index fd9e5e908..9b9c58df9 100644 --- a/internal/api/usererror/usererror_test.go +++ b/internal/api/usererror/usererror_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/auth/authn/wire.go b/internal/auth/authn/wire.go index bc8ca0ca8..1cc07cd61 100644 --- a/internal/auth/authn/wire.go +++ b/internal/auth/authn/wire.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/auth/authz/wire.go b/internal/auth/authz/wire.go index a2b54fabf..1e55f48a4 100644 --- a/internal/auth/authz/wire.go +++ b/internal/auth/authz/wire.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/bootstrap/bootstrap.go b/internal/bootstrap/bootstrap.go index dc1130441..32b63d69f 100644 --- a/internal/bootstrap/bootstrap.go +++ b/internal/bootstrap/bootstrap.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/bootstrap/wire.go b/internal/bootstrap/wire.go index 2fa592425..1a7cad246 100644 --- a/internal/bootstrap/wire.go +++ b/internal/bootstrap/wire.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/cron/nightly.go b/internal/cron/nightly.go index 32cc48496..b2070dbc9 100644 --- a/internal/cron/nightly.go +++ b/internal/cron/nightly.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/cron/nightly_test.go b/internal/cron/nightly_test.go index 1d17b7e4a..457189306 100644 --- a/internal/cron/nightly_test.go +++ b/internal/cron/nightly_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/cron/wire.go b/internal/cron/wire.go index 1548db168..15a615f3b 100644 --- a/internal/cron/wire.go +++ b/internal/cron/wire.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/inernal_test.go b/internal/inernal_test.go index 1c0522efc..1d079b8d5 100644 --- a/internal/inernal_test.go +++ b/internal/inernal_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/internal.go b/internal/internal.go index 1c0522efc..1d079b8d5 100644 --- a/internal/internal.go +++ b/internal/internal.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/paths/paths.go b/internal/paths/paths.go index 1050143e2..cf6c6a4da 100644 --- a/internal/paths/paths.go +++ b/internal/paths/paths.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/request/request.go b/internal/request/request.go index f6eccd467..c8dc89c90 100644 --- a/internal/request/request.go +++ b/internal/request/request.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/router/router.go b/internal/router/router.go index 15a70705e..5fdedd149 100644 --- a/internal/router/router.go +++ b/internal/router/router.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/router/router_test.go b/internal/router/router_test.go index ff88c8f8d..5096bd9ad 100644 --- a/internal/router/router_test.go +++ b/internal/router/router_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/router/wire.go b/internal/router/wire.go index 1ecd34ad3..821df1c39 100644 --- a/internal/router/wire.go +++ b/internal/router/wire.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/server/server.go b/internal/server/server.go index 53f7a5195..f643c006d 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/server/server_test.go b/internal/server/server_test.go index 9cc33d7b1..d156cda6e 100644 --- a/internal/server/server_test.go +++ b/internal/server/server_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/server/wire.go b/internal/server/wire.go index 895641469..2887b98c7 100644 --- a/internal/server/wire.go +++ b/internal/server/wire.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/migrate/migrate.go b/internal/store/database/migrate/migrate.go index e0d459f84..2bb8b0b3a 100644 --- a/internal/store/database/migrate/migrate.go +++ b/internal/store/database/migrate/migrate.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/mutex/mutex.go b/internal/store/database/mutex/mutex.go index 3f1b7aa44..07c300e4c 100644 --- a/internal/store/database/mutex/mutex.go +++ b/internal/store/database/mutex/mutex.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/path.go b/internal/store/database/path.go index 6105d80c3..26cbfa4fd 100644 --- a/internal/store/database/path.go +++ b/internal/store/database/path.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/repo.go b/internal/store/database/repo.go index fd2204c3b..8d511a4bd 100644 --- a/internal/store/database/repo.go +++ b/internal/store/database/repo.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/repo_sync.go b/internal/store/database/repo_sync.go index 37c4f8f82..dee76b94f 100644 --- a/internal/store/database/repo_sync.go +++ b/internal/store/database/repo_sync.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/service.go b/internal/store/database/service.go index c851fea71..1577d2ab3 100644 --- a/internal/store/database/service.go +++ b/internal/store/database/service.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/serviceAccount.go b/internal/store/database/serviceAccount.go index 9fd201721..caf3c2874 100644 --- a/internal/store/database/serviceAccount.go +++ b/internal/store/database/serviceAccount.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/serviceAccount_sync.go b/internal/store/database/serviceAccount_sync.go index cf2d4899c..1c3048b4c 100644 --- a/internal/store/database/serviceAccount_sync.go +++ b/internal/store/database/serviceAccount_sync.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/service_sync.go b/internal/store/database/service_sync.go index 94ecb4f2c..9df3b7737 100644 --- a/internal/store/database/service_sync.go +++ b/internal/store/database/service_sync.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/space.go b/internal/store/database/space.go index b6e3cfcda..c142dfe83 100644 --- a/internal/store/database/space.go +++ b/internal/store/database/space.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/space_sync.go b/internal/store/database/space_sync.go index 9756eeaba..4412ad4e5 100644 --- a/internal/store/database/space_sync.go +++ b/internal/store/database/space_sync.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/store.go b/internal/store/database/store.go index 8408c2571..cd510a539 100644 --- a/internal/store/database/store.go +++ b/internal/store/database/store.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/store_test.go b/internal/store/database/store_test.go index aa45a1dfe..0f27b4e5a 100644 --- a/internal/store/database/store_test.go +++ b/internal/store/database/store_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/token.go b/internal/store/database/token.go index 576f791fa..37f03355e 100644 --- a/internal/store/database/token.go +++ b/internal/store/database/token.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/token_sync.go b/internal/store/database/token_sync.go index 14ee6cb91..8f766f42f 100644 --- a/internal/store/database/token_sync.go +++ b/internal/store/database/token_sync.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/user.go b/internal/store/database/user.go index 2b8b9a5f6..ba318e269 100644 --- a/internal/store/database/user.go +++ b/internal/store/database/user.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/user_sync.go b/internal/store/database/user_sync.go index 154866bbf..99e9bfc78 100644 --- a/internal/store/database/user_sync.go +++ b/internal/store/database/user_sync.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/user_test.go b/internal/store/database/user_test.go index 9312eefd1..02ca67f9a 100644 --- a/internal/store/database/user_test.go +++ b/internal/store/database/user_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/util.go b/internal/store/database/util.go index f97ee9429..a51c9faab 100644 --- a/internal/store/database/util.go +++ b/internal/store/database/util.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/util_test.go b/internal/store/database/util_test.go index a938e2853..3e635902d 100644 --- a/internal/store/database/util_test.go +++ b/internal/store/database/util_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/database/wire.go b/internal/store/database/wire.go index 04a9e1d11..37aec0020 100644 --- a/internal/store/database/wire.go +++ b/internal/store/database/wire.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/errors.go b/internal/store/errors.go index f8101ae25..155df24ef 100644 --- a/internal/store/errors.go +++ b/internal/store/errors.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/memory/config.go b/internal/store/memory/config.go index 07746b556..e3961d8f6 100644 --- a/internal/store/memory/config.go +++ b/internal/store/memory/config.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/memory/config_test.go b/internal/store/memory/config_test.go index 969e19c47..128506db5 100644 --- a/internal/store/memory/config_test.go +++ b/internal/store/memory/config_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/memory/wire.go b/internal/store/memory/wire.go index 5ddff8330..f41a8ca49 100644 --- a/internal/store/memory/wire.go +++ b/internal/store/memory/wire.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/store.go b/internal/store/store.go index c5ba7cb7a..eee438186 100644 --- a/internal/store/store.go +++ b/internal/store/store.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/store/store_test.go b/internal/store/store_test.go index 7fc5da5dc..301fac2c7 100644 --- a/internal/store/store_test.go +++ b/internal/store/store_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/testing/integration/integration.go b/internal/testing/integration/integration.go index 3bdf3be1e..76fbf8f5a 100644 --- a/internal/testing/integration/integration.go +++ b/internal/testing/integration/integration.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/testing/testing.go b/internal/testing/testing.go index 3db7f16ed..4c1a473a7 100644 --- a/internal/testing/testing.go +++ b/internal/testing/testing.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/token/jwt.go b/internal/token/jwt.go index 493795e79..51634bad5 100644 --- a/internal/token/jwt.go +++ b/internal/token/jwt.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/token/token.go b/internal/token/token.go index 42bfb2ea7..0f5c0d465 100644 --- a/internal/token/token.go +++ b/internal/token/token.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/internal/token/token_test.go b/internal/token/token_test.go index ca21e721b..855ba67f4 100644 --- a/internal/token/token_test.go +++ b/internal/token/token_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/main.go b/main.go index dc2f1dea5..036999a1a 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/mocks/mock.go b/mocks/mock.go index a3c08c6cf..ea0ba5dbd 100644 --- a/mocks/mock.go +++ b/mocks/mock.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/authz.go b/types/authz.go index e7bc2d91b..f418bb287 100644 --- a/types/authz.go +++ b/types/authz.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/check/common.go b/types/check/common.go index 6f0c47f8a..95a7992f2 100644 --- a/types/check/common.go +++ b/types/check/common.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/check/error.go b/types/check/error.go index 66fa0b15f..a6c7803a0 100644 --- a/types/check/error.go +++ b/types/check/error.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/check/password.go b/types/check/password.go index 39eb7cedb..4181592c1 100644 --- a/types/check/password.go +++ b/types/check/password.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/check/path.go b/types/check/path.go index 9469bbbcd..5c16cc0f2 100644 --- a/types/check/path.go +++ b/types/check/path.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/check/repo.go b/types/check/repo.go index 4f74cf19b..b28e34739 100644 --- a/types/check/repo.go +++ b/types/check/repo.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/check/service.go b/types/check/service.go index f9e64c574..0f8c829f2 100644 --- a/types/check/service.go +++ b/types/check/service.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/check/serviceAccount.go b/types/check/serviceAccount.go index b2e2b0967..636f6689a 100644 --- a/types/check/serviceAccount.go +++ b/types/check/serviceAccount.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/check/space.go b/types/check/space.go index 1abe4fe83..fee7b39f6 100644 --- a/types/check/space.go +++ b/types/check/space.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/check/token.go b/types/check/token.go index 345f52bf2..decc47d8a 100644 --- a/types/check/token.go +++ b/types/check/token.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/check/user.go b/types/check/user.go index e1f6f925b..21e27ee96 100644 --- a/types/check/user.go +++ b/types/check/user.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/check/user_test.go b/types/check/user_test.go index 331d36d03..21141901b 100644 --- a/types/check/user_test.go +++ b/types/check/user_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/config.go b/types/config.go index ea1eff5fe..7d5ca2140 100644 --- a/types/config.go +++ b/types/config.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/config_test.go b/types/config_test.go index 679f1390b..3f0b02b78 100644 --- a/types/config_test.go +++ b/types/config_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/enum/enum.go b/types/enum/enum.go index cc002286d..34370ae60 100644 --- a/types/enum/enum.go +++ b/types/enum/enum.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/enum/order.go b/types/enum/order.go index b0f418eeb..2812eb9f0 100644 --- a/types/enum/order.go +++ b/types/enum/order.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/enum/order_test.go b/types/enum/order_test.go index e1ab53dc6..101a794c6 100644 --- a/types/enum/order_test.go +++ b/types/enum/order_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/enum/path.go b/types/enum/path.go index a36310c08..dba03e836 100644 --- a/types/enum/path.go +++ b/types/enum/path.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/enum/repo.go b/types/enum/repo.go index d40b101ad..4c392785d 100644 --- a/types/enum/repo.go +++ b/types/enum/repo.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/enum/resource.go b/types/enum/resource.go index 87eb8d94e..67254094c 100644 --- a/types/enum/resource.go +++ b/types/enum/resource.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/enum/space.go b/types/enum/space.go index 4594716de..fa87a7544 100644 --- a/types/enum/space.go +++ b/types/enum/space.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/enum/user.go b/types/enum/user.go index ff890735d..8385359a2 100644 --- a/types/enum/user.go +++ b/types/enum/user.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/enum/user_test.go b/types/enum/user_test.go index c16c135ec..cc0845499 100644 --- a/types/enum/user_test.go +++ b/types/enum/user_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/path.go b/types/path.go index 77b537190..aeffd159b 100644 --- a/types/path.go +++ b/types/path.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/principal.go b/types/principal.go index 288d1c40b..f3bc2c3f9 100644 --- a/types/principal.go +++ b/types/principal.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/repo.go b/types/repo.go index 52c61530e..792364b1c 100644 --- a/types/repo.go +++ b/types/repo.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/service.go b/types/service.go index 387c49f21..fc1d91273 100644 --- a/types/service.go +++ b/types/service.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/serviceAccount.go b/types/serviceAccount.go index 1ed4900cc..c7cab7d32 100644 --- a/types/serviceAccount.go +++ b/types/serviceAccount.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/space.go b/types/space.go index 36753a5ec..d3e148106 100644 --- a/types/space.go +++ b/types/space.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/types.go b/types/types.go index ca11bb6ef..c13a08ebc 100644 --- a/types/types.go +++ b/types/types.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/types_test.go b/types/types_test.go index 679f1390b..3f0b02b78 100644 --- a/types/types_test.go +++ b/types/types_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/types/user.go b/types/user.go index 0cfe5833b..312551e56 100644 --- a/types/user.go +++ b/types/user.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/version/version.go b/version/version.go index b12616601..abc55c0d1 100644 --- a/version/version.go +++ b/version/version.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/version/version_test.go b/version/version_test.go index cdc062615..550080dfa 100644 --- a/version/version_test.go +++ b/version/version_test.go @@ -1,4 +1,4 @@ -// Copyright 2021 Harness Inc. All rights reserved. +// Copyright 2022 Harness Inc. All rights reserved. // Use of this source code is governed by the Polyform Free Trial License // that can be found in the LICENSE.md file for this repository. diff --git a/web/dist.go b/web/dist.go index 3e3f9e6ab..d1b816c9e 100644 --- a/web/dist.go +++ b/web/dist.go @@ -1,6 +1,6 @@ -// Copyright 2021 Harness, Inc. All rights reserved. -// Use of this source code is governed by the Polyform License -// that can be found in the LICENSE.md file. +// Copyright 2022 Harness Inc. All rights reserved. +// Use of this source code is governed by the Polyform Free Trial License +// that can be found in the LICENSE.md file for this repository. //go:build !proxy // +build !proxy