forked from LaconicNetwork/kompose
reason for this is that openshift/kubernetes backported k8s.io/kubernetes/pkg/securitycontextconstraints/util that is currently required by something that github.com/openshift/origin/pkg/deploy/api/v1 depends on
20 lines
871 B
Go
20 lines
871 B
Go
package api
|
|
|
|
import (
|
|
kapi "k8s.io/kubernetes/pkg/api"
|
|
"k8s.io/kubernetes/pkg/conversion"
|
|
"k8s.io/kubernetes/pkg/runtime"
|
|
|
|
"github.com/openshift/origin/pkg/api/extension"
|
|
)
|
|
|
|
// Convert_runtime_Object_To_runtime_RawExtension ensures an object is converted to the destination version of the conversion.
|
|
func Convert_runtime_Object_To_runtime_RawExtension(in *runtime.Object, out *runtime.RawExtension, s conversion.Scope) error {
|
|
return extension.Convert_runtime_Object_To_runtime_RawExtension(kapi.Scheme, in, out, s)
|
|
}
|
|
|
|
// Convert_runtime_RawExtension_To_runtime_Object ensures an object is converted to the destination version of the conversion.
|
|
func Convert_runtime_RawExtension_To_runtime_Object(in *runtime.RawExtension, out *runtime.Object, s conversion.Scope) error {
|
|
return extension.Convert_runtime_RawExtension_To_runtime_Object(kapi.Scheme, in, out, s)
|
|
}
|