Create a stub metatypes package for backwards compatibility

pull/6/head
Clayton Coleman 2016-12-07 16:36:45 -05:00
parent 42d410fdde
commit 7700d38e47
No known key found for this signature in database
GPG Key ID: 3D16906B4F1C5CB3
2 changed files with 35 additions and 0 deletions

View File

@ -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"],
)

View File

@ -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"