aboutsummaryrefslogtreecommitdiff
path: root/vendor/k8s.io/kubernetes/pkg/apis/extensions/register.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/k8s.io/kubernetes/pkg/apis/extensions/register.go')
-rw-r--r--vendor/k8s.io/kubernetes/pkg/apis/extensions/register.go14
1 files changed, 6 insertions, 8 deletions
diff --git a/vendor/k8s.io/kubernetes/pkg/apis/extensions/register.go b/vendor/k8s.io/kubernetes/pkg/apis/extensions/register.go
index 5983636c2..48137fc69 100644
--- a/vendor/k8s.io/kubernetes/pkg/apis/extensions/register.go
+++ b/vendor/k8s.io/kubernetes/pkg/apis/extensions/register.go
@@ -19,6 +19,8 @@ package extensions
import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
+ "k8s.io/kubernetes/pkg/apis/autoscaling"
+ "k8s.io/kubernetes/pkg/apis/networking"
)
// GroupName is the group name use in this package
@@ -42,7 +44,7 @@ var (
AddToScheme = SchemeBuilder.AddToScheme
)
-// Adds the list of known types to api.Scheme.
+// Adds the list of known types to the given scheme.
func addKnownTypes(scheme *runtime.Scheme) error {
// TODO this gets cleaned up when the types are fixed
scheme.AddKnownTypes(SchemeGroupVersion,
@@ -50,21 +52,17 @@ func addKnownTypes(scheme *runtime.Scheme) error {
&DeploymentList{},
&DeploymentRollback{},
&ReplicationControllerDummy{},
- &Scale{},
- &ThirdPartyResource{},
- &ThirdPartyResourceList{},
&DaemonSetList{},
&DaemonSet{},
- &ThirdPartyResourceData{},
- &ThirdPartyResourceDataList{},
&Ingress{},
&IngressList{},
&ReplicaSet{},
&ReplicaSetList{},
&PodSecurityPolicy{},
&PodSecurityPolicyList{},
- &NetworkPolicy{},
- &NetworkPolicyList{},
+ &autoscaling.Scale{},
+ &networking.NetworkPolicy{},
+ &networking.NetworkPolicyList{},
)
return nil
}