From 7700d38e471ab3345f1ee89fd429869005887388 Mon Sep 17 00:00:00 2001 From: Clayton Coleman Date: Wed, 7 Dec 2016 16:36:45 -0500 Subject: [PATCH] Create a stub metatypes package for backwards compatibility --- pkg/api/meta/metatypes/BUILD | 17 +++++++++++++++++ pkg/api/meta/metatypes/doc.go | 18 ++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 pkg/api/meta/metatypes/BUILD create mode 100644 pkg/api/meta/metatypes/doc.go diff --git a/pkg/api/meta/metatypes/BUILD b/pkg/api/meta/metatypes/BUILD new file mode 100644 index 00000000000..b80bb3379f2 --- /dev/null +++ b/pkg/api/meta/metatypes/BUILD @@ -0,0 +1,17 @@ +package(default_visibility = ["//visibility:public"]) + +licenses(["notice"]) + +load( + "@io_bazel_rules_go//go:def.bzl", + "go_binary", + "go_library", + "go_test", + "cgo_library", +) + +go_library( + name = "go_default_library", + srcs = ["doc.go"], + tags = ["automanaged"], +) diff --git a/pkg/api/meta/metatypes/doc.go b/pkg/api/meta/metatypes/doc.go new file mode 100644 index 00000000000..a2b9d5e1d9d --- /dev/null +++ b/pkg/api/meta/metatypes/doc.go @@ -0,0 +1,18 @@ +/* +Copyright 2016 The Kubernetes Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +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 + +Unless required by applicable law or agreed to in writing, software +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. +*/ + +// Package metatypes has been deprecated and removed. +package meta // import "k8s.io/kubernetes/pkg/api/meta/metatypes"