From 0fde796b981e037c338ec688ce9c0df4a21b7cab Mon Sep 17 00:00:00 2001 From: Spolti Date: Tue, 28 Nov 2023 14:17:13 -0300 Subject: [PATCH] remove tab from license and add new line after it Signed-off-by: Spolti --- internal/envconfig/envconfig.go | 1 + internal/modelschema/modelschema.go | 1 + internal/util/connect.go | 1 + internal/util/connect_test.go | 1 + internal/util/fileutil.go | 2 +- internal/util/join.go | 1 + internal/util/join_test.go | 1 + internal/util/loadmodel.go | 1 + model-mesh-mlserver-adapter/main.go | 1 + model-mesh-mlserver-adapter/mlserver/mock_mlserver_server.go | 1 + model-mesh-mlserver-adapter/server/adaptmodellayout_test.go | 1 + model-mesh-mlserver-adapter/server/config.go | 1 + model-mesh-mlserver-adapter/server/server.go | 1 + model-mesh-mlserver-adapter/server/server_test.go | 1 + model-mesh-ovms-adapter/main.go | 1 + model-mesh-ovms-adapter/server/adaptmodellayout.go | 1 + model-mesh-ovms-adapter/server/adaptmodellayout_test.go | 1 + model-mesh-ovms-adapter/server/config.go | 1 + model-mesh-ovms-adapter/server/const.go | 1 + model-mesh-ovms-adapter/server/modelconfig.go | 1 + model-mesh-ovms-adapter/server/modelmanager_test.go | 1 + model-mesh-ovms-adapter/server/server.go | 1 + model-mesh-ovms-adapter/server/server_test.go | 1 + model-mesh-torchserve-adapter/main.go | 1 + model-mesh-torchserve-adapter/server/config.go | 1 + .../torchserve/mock_torchserve_server.go | 1 + model-mesh-triton-adapter/main.go | 1 + model-mesh-triton-adapter/server/adaptmodellayout_test.go | 1 + model-mesh-triton-adapter/server/config.go | 1 + model-mesh-triton-adapter/server/const.go | 1 + model-mesh-triton-adapter/server/schema.go | 1 + model-mesh-triton-adapter/server/schema_test.go | 1 + model-mesh-triton-adapter/server/server.go | 1 + model-mesh-triton-adapter/server/server_test.go | 1 + .../triton/adapter_client/adapter_client.go | 1 + model-mesh-triton-adapter/triton/mesh_client/mesh_client.go | 1 + model-mesh-triton-adapter/triton/mock_triton_server.go | 1 + model-serving-puller/main.go | 1 + model-serving-puller/puller/config.go | 1 + model-serving-puller/puller/dotpath.go | 1 + model-serving-puller/puller/dotpath_test.go | 1 + model-serving-puller/puller/puller.go | 1 + model-serving-puller/puller/puller_test.go | 1 + model-serving-puller/server/config.go | 1 + model-serving-puller/server/modelstate.go | 1 + model-serving-puller/server/modelstate_test.go | 1 + model-serving-puller/server/server.go | 1 + model-serving-puller/server/server_test.go | 1 + pullman/cache.go | 1 + pullman/cache_test.go | 1 + pullman/cmd/main.go | 1 + pullman/config.go | 1 + pullman/config_test.go | 1 + pullman/helpers.go | 1 + pullman/pullman.go | 1 + pullman/pullman_test.go | 1 + pullman/storageproviders/azure/downloader.go | 1 + pullman/storageproviders/azure/provider.go | 1 + pullman/storageproviders/azure/provider_test.go | 1 + pullman/storageproviders/gcs/downloader.go | 1 + pullman/storageproviders/gcs/provider.go | 1 + pullman/storageproviders/gcs/provider_test.go | 1 + pullman/storageproviders/http/downloader.go | 1 + pullman/storageproviders/http/provider.go | 1 + pullman/storageproviders/http/provider_test.go | 1 + pullman/storageproviders/pvc/provider.go | 1 + pullman/storageproviders/pvc/provider_test.go | 1 + pullman/storageproviders/s3/downloader.go | 1 + pullman/storageproviders/s3/downloader_test.go | 1 + pullman/storageproviders/s3/provider.go | 1 + pullman/storageproviders/s3/provider_test.go | 1 + pullman/types.go | 1 + scripts/fmt.sh | 2 +- 73 files changed, 73 insertions(+), 2 deletions(-) diff --git a/internal/envconfig/envconfig.go b/internal/envconfig/envconfig.go index a56060f3..e58f6500 100644 --- a/internal/envconfig/envconfig.go +++ b/internal/envconfig/envconfig.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package envconfig import ( diff --git a/internal/modelschema/modelschema.go b/internal/modelschema/modelschema.go index 11874037..3383c3fb 100644 --- a/internal/modelschema/modelschema.go +++ b/internal/modelschema/modelschema.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package modelschema import ( diff --git a/internal/util/connect.go b/internal/util/connect.go index 11166df9..aa1dbd47 100644 --- a/internal/util/connect.go +++ b/internal/util/connect.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package util import ( diff --git a/internal/util/connect_test.go b/internal/util/connect_test.go index 8d4fd218..8c154965 100644 --- a/internal/util/connect_test.go +++ b/internal/util/connect_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package util import ( diff --git a/internal/util/fileutil.go b/internal/util/fileutil.go index b2d29727..7092ee2d 100644 --- a/internal/util/fileutil.go +++ b/internal/util/fileutil.go @@ -4,7 +4,7 @@ // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // -// http://www.apache.org/licenses/LICENSE-2.0 +// http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, diff --git a/internal/util/join.go b/internal/util/join.go index 57f7607e..12610c73 100644 --- a/internal/util/join.go +++ b/internal/util/join.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package util import ( diff --git a/internal/util/join_test.go b/internal/util/join_test.go index 325c5819..224036fd 100644 --- a/internal/util/join_test.go +++ b/internal/util/join_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package util import ( diff --git a/internal/util/loadmodel.go b/internal/util/loadmodel.go index b9621b66..24c1f5e2 100644 --- a/internal/util/loadmodel.go +++ b/internal/util/loadmodel.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package util import ( diff --git a/model-mesh-mlserver-adapter/main.go b/model-mesh-mlserver-adapter/main.go index 368f47e4..93d895b3 100644 --- a/model-mesh-mlserver-adapter/main.go +++ b/model-mesh-mlserver-adapter/main.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package main import ( diff --git a/model-mesh-mlserver-adapter/mlserver/mock_mlserver_server.go b/model-mesh-mlserver-adapter/mlserver/mock_mlserver_server.go index a577c1cd..0d74e289 100644 --- a/model-mesh-mlserver-adapter/mlserver/mock_mlserver_server.go +++ b/model-mesh-mlserver-adapter/mlserver/mock_mlserver_server.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package main import ( diff --git a/model-mesh-mlserver-adapter/server/adaptmodellayout_test.go b/model-mesh-mlserver-adapter/server/adaptmodellayout_test.go index 5e9c3914..54cbcc37 100644 --- a/model-mesh-mlserver-adapter/server/adaptmodellayout_test.go +++ b/model-mesh-mlserver-adapter/server/adaptmodellayout_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-mlserver-adapter/server/config.go b/model-mesh-mlserver-adapter/server/config.go index 0ceef9d9..99defd37 100644 --- a/model-mesh-mlserver-adapter/server/config.go +++ b/model-mesh-mlserver-adapter/server/config.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-mlserver-adapter/server/server.go b/model-mesh-mlserver-adapter/server/server.go index 5fc499f0..d1919752 100644 --- a/model-mesh-mlserver-adapter/server/server.go +++ b/model-mesh-mlserver-adapter/server/server.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-mlserver-adapter/server/server_test.go b/model-mesh-mlserver-adapter/server/server_test.go index 0e1d3726..ef089016 100644 --- a/model-mesh-mlserver-adapter/server/server_test.go +++ b/model-mesh-mlserver-adapter/server/server_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-ovms-adapter/main.go b/model-mesh-ovms-adapter/main.go index 92f48f6f..c417ffb0 100644 --- a/model-mesh-ovms-adapter/main.go +++ b/model-mesh-ovms-adapter/main.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package main import ( diff --git a/model-mesh-ovms-adapter/server/adaptmodellayout.go b/model-mesh-ovms-adapter/server/adaptmodellayout.go index 09d6a0eb..7b8ce83f 100644 --- a/model-mesh-ovms-adapter/server/adaptmodellayout.go +++ b/model-mesh-ovms-adapter/server/adaptmodellayout.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-ovms-adapter/server/adaptmodellayout_test.go b/model-mesh-ovms-adapter/server/adaptmodellayout_test.go index 3d750027..a6430699 100644 --- a/model-mesh-ovms-adapter/server/adaptmodellayout_test.go +++ b/model-mesh-ovms-adapter/server/adaptmodellayout_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-ovms-adapter/server/config.go b/model-mesh-ovms-adapter/server/config.go index d24fd135..a8621d83 100644 --- a/model-mesh-ovms-adapter/server/config.go +++ b/model-mesh-ovms-adapter/server/config.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-ovms-adapter/server/const.go b/model-mesh-ovms-adapter/server/const.go index ff0f5bbe..79c4e423 100644 --- a/model-mesh-ovms-adapter/server/const.go +++ b/model-mesh-ovms-adapter/server/const.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server const ( diff --git a/model-mesh-ovms-adapter/server/modelconfig.go b/model-mesh-ovms-adapter/server/modelconfig.go index 9477a36e..27d3e4c0 100644 --- a/model-mesh-ovms-adapter/server/modelconfig.go +++ b/model-mesh-ovms-adapter/server/modelconfig.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server // Types defining the structure of the OVMS Multi-Model config file diff --git a/model-mesh-ovms-adapter/server/modelmanager_test.go b/model-mesh-ovms-adapter/server/modelmanager_test.go index 2355278a..f4189f04 100644 --- a/model-mesh-ovms-adapter/server/modelmanager_test.go +++ b/model-mesh-ovms-adapter/server/modelmanager_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-ovms-adapter/server/server.go b/model-mesh-ovms-adapter/server/server.go index 3c7399d8..079d3aa0 100644 --- a/model-mesh-ovms-adapter/server/server.go +++ b/model-mesh-ovms-adapter/server/server.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-ovms-adapter/server/server_test.go b/model-mesh-ovms-adapter/server/server_test.go index 7ef32e7f..98c6d367 100644 --- a/model-mesh-ovms-adapter/server/server_test.go +++ b/model-mesh-ovms-adapter/server/server_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-torchserve-adapter/main.go b/model-mesh-torchserve-adapter/main.go index 43c45071..7d949cb7 100644 --- a/model-mesh-torchserve-adapter/main.go +++ b/model-mesh-torchserve-adapter/main.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package main import ( diff --git a/model-mesh-torchserve-adapter/server/config.go b/model-mesh-torchserve-adapter/server/config.go index 1af6d858..b3647475 100644 --- a/model-mesh-torchserve-adapter/server/config.go +++ b/model-mesh-torchserve-adapter/server/config.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-torchserve-adapter/torchserve/mock_torchserve_server.go b/model-mesh-torchserve-adapter/torchserve/mock_torchserve_server.go index 9cf2e4d1..4a59a19a 100644 --- a/model-mesh-torchserve-adapter/torchserve/mock_torchserve_server.go +++ b/model-mesh-torchserve-adapter/torchserve/mock_torchserve_server.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package main import ( diff --git a/model-mesh-triton-adapter/main.go b/model-mesh-triton-adapter/main.go index 8391fd66..fedfce23 100644 --- a/model-mesh-triton-adapter/main.go +++ b/model-mesh-triton-adapter/main.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package main import ( diff --git a/model-mesh-triton-adapter/server/adaptmodellayout_test.go b/model-mesh-triton-adapter/server/adaptmodellayout_test.go index c077440d..1359455d 100644 --- a/model-mesh-triton-adapter/server/adaptmodellayout_test.go +++ b/model-mesh-triton-adapter/server/adaptmodellayout_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-triton-adapter/server/config.go b/model-mesh-triton-adapter/server/config.go index 1fa136aa..8177d7c9 100644 --- a/model-mesh-triton-adapter/server/config.go +++ b/model-mesh-triton-adapter/server/config.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-triton-adapter/server/const.go b/model-mesh-triton-adapter/server/const.go index c7e3b768..36fc2949 100644 --- a/model-mesh-triton-adapter/server/const.go +++ b/model-mesh-triton-adapter/server/const.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server const ( diff --git a/model-mesh-triton-adapter/server/schema.go b/model-mesh-triton-adapter/server/schema.go index da459e88..a2bdce1d 100644 --- a/model-mesh-triton-adapter/server/schema.go +++ b/model-mesh-triton-adapter/server/schema.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server // Refer to this proto file for schema and supported data types diff --git a/model-mesh-triton-adapter/server/schema_test.go b/model-mesh-triton-adapter/server/schema_test.go index 8f6959d7..b57bb58b 100644 --- a/model-mesh-triton-adapter/server/schema_test.go +++ b/model-mesh-triton-adapter/server/schema_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-triton-adapter/server/server.go b/model-mesh-triton-adapter/server/server.go index 6b831f14..5507d767 100644 --- a/model-mesh-triton-adapter/server/server.go +++ b/model-mesh-triton-adapter/server/server.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-triton-adapter/server/server_test.go b/model-mesh-triton-adapter/server/server_test.go index 9434ed70..8d68f40e 100644 --- a/model-mesh-triton-adapter/server/server_test.go +++ b/model-mesh-triton-adapter/server/server_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-mesh-triton-adapter/triton/adapter_client/adapter_client.go b/model-mesh-triton-adapter/triton/adapter_client/adapter_client.go index 079428bc..cf0a5f3b 100644 --- a/model-mesh-triton-adapter/triton/adapter_client/adapter_client.go +++ b/model-mesh-triton-adapter/triton/adapter_client/adapter_client.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package main import ( diff --git a/model-mesh-triton-adapter/triton/mesh_client/mesh_client.go b/model-mesh-triton-adapter/triton/mesh_client/mesh_client.go index ab0c27b3..8529cb6a 100644 --- a/model-mesh-triton-adapter/triton/mesh_client/mesh_client.go +++ b/model-mesh-triton-adapter/triton/mesh_client/mesh_client.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package main import ( diff --git a/model-mesh-triton-adapter/triton/mock_triton_server.go b/model-mesh-triton-adapter/triton/mock_triton_server.go index a9ba2b4b..93f8808d 100644 --- a/model-mesh-triton-adapter/triton/mock_triton_server.go +++ b/model-mesh-triton-adapter/triton/mock_triton_server.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package main import ( diff --git a/model-serving-puller/main.go b/model-serving-puller/main.go index 487b021e..458b9d0a 100644 --- a/model-serving-puller/main.go +++ b/model-serving-puller/main.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package main import ( diff --git a/model-serving-puller/puller/config.go b/model-serving-puller/puller/config.go index 2af39601..fe1dc0f0 100644 --- a/model-serving-puller/puller/config.go +++ b/model-serving-puller/puller/config.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package puller import ( diff --git a/model-serving-puller/puller/dotpath.go b/model-serving-puller/puller/dotpath.go index 42329d15..4d042993 100644 --- a/model-serving-puller/puller/dotpath.go +++ b/model-serving-puller/puller/dotpath.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package puller import ( diff --git a/model-serving-puller/puller/dotpath_test.go b/model-serving-puller/puller/dotpath_test.go index 7441b913..98611aac 100644 --- a/model-serving-puller/puller/dotpath_test.go +++ b/model-serving-puller/puller/dotpath_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package puller import ( diff --git a/model-serving-puller/puller/puller.go b/model-serving-puller/puller/puller.go index 89481e91..af1b06dd 100644 --- a/model-serving-puller/puller/puller.go +++ b/model-serving-puller/puller/puller.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package puller import ( diff --git a/model-serving-puller/puller/puller_test.go b/model-serving-puller/puller/puller_test.go index 5d86a4ff..9a037442 100644 --- a/model-serving-puller/puller/puller_test.go +++ b/model-serving-puller/puller/puller_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package puller import ( diff --git a/model-serving-puller/server/config.go b/model-serving-puller/server/config.go index aa8c4797..b49ad763 100644 --- a/model-serving-puller/server/config.go +++ b/model-serving-puller/server/config.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-serving-puller/server/modelstate.go b/model-serving-puller/server/modelstate.go index 68b601a8..c2d2d594 100644 --- a/model-serving-puller/server/modelstate.go +++ b/model-serving-puller/server/modelstate.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-serving-puller/server/modelstate_test.go b/model-serving-puller/server/modelstate_test.go index ada5a067..53e3722d 100644 --- a/model-serving-puller/server/modelstate_test.go +++ b/model-serving-puller/server/modelstate_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-serving-puller/server/server.go b/model-serving-puller/server/server.go index d3b97026..5e7ea7ad 100644 --- a/model-serving-puller/server/server.go +++ b/model-serving-puller/server/server.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/model-serving-puller/server/server_test.go b/model-serving-puller/server/server_test.go index 0478f396..3c653251 100644 --- a/model-serving-puller/server/server_test.go +++ b/model-serving-puller/server/server_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package server import ( diff --git a/pullman/cache.go b/pullman/cache.go index d6573450..21cdaba1 100644 --- a/pullman/cache.go +++ b/pullman/cache.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package pullman import ( diff --git a/pullman/cache_test.go b/pullman/cache_test.go index 9d49a6af..d7ec8922 100644 --- a/pullman/cache_test.go +++ b/pullman/cache_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package pullman import ( diff --git a/pullman/cmd/main.go b/pullman/cmd/main.go index ff6fc6ba..f496e654 100644 --- a/pullman/cmd/main.go +++ b/pullman/cmd/main.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package main import ( diff --git a/pullman/config.go b/pullman/config.go index 909a74b0..08e9310a 100644 --- a/pullman/config.go +++ b/pullman/config.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package pullman import ( diff --git a/pullman/config_test.go b/pullman/config_test.go index 006166b1..70c61e8a 100644 --- a/pullman/config_test.go +++ b/pullman/config_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package pullman import ( diff --git a/pullman/helpers.go b/pullman/helpers.go index 85d53428..87ec3fdd 100644 --- a/pullman/helpers.go +++ b/pullman/helpers.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package pullman import ( diff --git a/pullman/pullman.go b/pullman/pullman.go index 51369c16..b0ad7f78 100644 --- a/pullman/pullman.go +++ b/pullman/pullman.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package pullman import ( diff --git a/pullman/pullman_test.go b/pullman/pullman_test.go index a647e263..230d7714 100644 --- a/pullman/pullman_test.go +++ b/pullman/pullman_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package pullman import ( diff --git a/pullman/storageproviders/azure/downloader.go b/pullman/storageproviders/azure/downloader.go index 6a38595d..e199d414 100644 --- a/pullman/storageproviders/azure/downloader.go +++ b/pullman/storageproviders/azure/downloader.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package azureprovider import ( diff --git a/pullman/storageproviders/azure/provider.go b/pullman/storageproviders/azure/provider.go index 92bd721b..c2a4210c 100644 --- a/pullman/storageproviders/azure/provider.go +++ b/pullman/storageproviders/azure/provider.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package azureprovider import ( diff --git a/pullman/storageproviders/azure/provider_test.go b/pullman/storageproviders/azure/provider_test.go index ce327e6b..d73203be 100644 --- a/pullman/storageproviders/azure/provider_test.go +++ b/pullman/storageproviders/azure/provider_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package azureprovider import ( diff --git a/pullman/storageproviders/gcs/downloader.go b/pullman/storageproviders/gcs/downloader.go index d9ebb631..97d28b7c 100644 --- a/pullman/storageproviders/gcs/downloader.go +++ b/pullman/storageproviders/gcs/downloader.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package gcsprovider import ( diff --git a/pullman/storageproviders/gcs/provider.go b/pullman/storageproviders/gcs/provider.go index 69cbaead..889f6ed1 100644 --- a/pullman/storageproviders/gcs/provider.go +++ b/pullman/storageproviders/gcs/provider.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package gcsprovider import ( diff --git a/pullman/storageproviders/gcs/provider_test.go b/pullman/storageproviders/gcs/provider_test.go index b113b714..4412cdaa 100644 --- a/pullman/storageproviders/gcs/provider_test.go +++ b/pullman/storageproviders/gcs/provider_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package gcsprovider import ( diff --git a/pullman/storageproviders/http/downloader.go b/pullman/storageproviders/http/downloader.go index dc3332cf..15fe08e6 100644 --- a/pullman/storageproviders/http/downloader.go +++ b/pullman/storageproviders/http/downloader.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package httpprovider import ( diff --git a/pullman/storageproviders/http/provider.go b/pullman/storageproviders/http/provider.go index 18a97cc5..2e8458d6 100644 --- a/pullman/storageproviders/http/provider.go +++ b/pullman/storageproviders/http/provider.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package httpprovider import ( diff --git a/pullman/storageproviders/http/provider_test.go b/pullman/storageproviders/http/provider_test.go index a51a455f..968963b9 100644 --- a/pullman/storageproviders/http/provider_test.go +++ b/pullman/storageproviders/http/provider_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package httpprovider import ( diff --git a/pullman/storageproviders/pvc/provider.go b/pullman/storageproviders/pvc/provider.go index 949c71f4..27335f35 100644 --- a/pullman/storageproviders/pvc/provider.go +++ b/pullman/storageproviders/pvc/provider.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package pvcprovider import ( diff --git a/pullman/storageproviders/pvc/provider_test.go b/pullman/storageproviders/pvc/provider_test.go index ca316745..5652a4bc 100644 --- a/pullman/storageproviders/pvc/provider_test.go +++ b/pullman/storageproviders/pvc/provider_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package pvcprovider import ( diff --git a/pullman/storageproviders/s3/downloader.go b/pullman/storageproviders/s3/downloader.go index 0cb8be14..13235793 100644 --- a/pullman/storageproviders/s3/downloader.go +++ b/pullman/storageproviders/s3/downloader.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package s3provider import ( diff --git a/pullman/storageproviders/s3/downloader_test.go b/pullman/storageproviders/s3/downloader_test.go index fd88e02c..11d991c8 100644 --- a/pullman/storageproviders/s3/downloader_test.go +++ b/pullman/storageproviders/s3/downloader_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package s3provider import ( diff --git a/pullman/storageproviders/s3/provider.go b/pullman/storageproviders/s3/provider.go index a33aba7c..b1e9dc88 100644 --- a/pullman/storageproviders/s3/provider.go +++ b/pullman/storageproviders/s3/provider.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package s3provider import ( diff --git a/pullman/storageproviders/s3/provider_test.go b/pullman/storageproviders/s3/provider_test.go index 429fdcc5..7e5ecfc1 100644 --- a/pullman/storageproviders/s3/provider_test.go +++ b/pullman/storageproviders/s3/provider_test.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package s3provider import ( diff --git a/pullman/types.go b/pullman/types.go index e11a3b4a..eba9508f 100644 --- a/pullman/types.go +++ b/pullman/types.go @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. + package pullman import ( diff --git a/scripts/fmt.sh b/scripts/fmt.sh index 51234c45..474307b8 100755 --- a/scripts/fmt.sh +++ b/scripts/fmt.sh @@ -11,7 +11,7 @@ # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and -# limitations under the License.# +# limitations under the License. pre-commit run --all-files RETURN_CODE=$?