// +build !ignore_autogenerated_openshift

// Code generated by conversion-gen. DO NOT EDIT.

package v1

import (
	unsafe "unsafe"

	config "github.com/openshift/origin/pkg/template/servicebroker/apis/config"
	conversion "k8s.io/apimachinery/pkg/conversion"
	runtime "k8s.io/apimachinery/pkg/runtime"
)

func init() {
	localSchemeBuilder.Register(RegisterConversions)
}

// RegisterConversions adds conversion functions to the given scheme.
// Public to allow building arbitrary schemes.
func RegisterConversions(s *runtime.Scheme) error {
	if err := s.AddGeneratedConversionFunc((*TemplateServiceBrokerConfig)(nil), (*config.TemplateServiceBrokerConfig)(nil), func(a, b interface{}, scope conversion.Scope) error {
		return Convert_v1_TemplateServiceBrokerConfig_To_config_TemplateServiceBrokerConfig(a.(*TemplateServiceBrokerConfig), b.(*config.TemplateServiceBrokerConfig), scope)
	}); err != nil {
		return err
	}
	if err := s.AddGeneratedConversionFunc((*config.TemplateServiceBrokerConfig)(nil), (*TemplateServiceBrokerConfig)(nil), func(a, b interface{}, scope conversion.Scope) error {
		return Convert_config_TemplateServiceBrokerConfig_To_v1_TemplateServiceBrokerConfig(a.(*config.TemplateServiceBrokerConfig), b.(*TemplateServiceBrokerConfig), scope)
	}); err != nil {
		return err
	}
	return nil
}

func autoConvert_v1_TemplateServiceBrokerConfig_To_config_TemplateServiceBrokerConfig(in *TemplateServiceBrokerConfig, out *config.TemplateServiceBrokerConfig, s conversion.Scope) error {
	out.TemplateNamespaces = *(*[]string)(unsafe.Pointer(&in.TemplateNamespaces))
	return nil
}

// Convert_v1_TemplateServiceBrokerConfig_To_config_TemplateServiceBrokerConfig is an autogenerated conversion function.
func Convert_v1_TemplateServiceBrokerConfig_To_config_TemplateServiceBrokerConfig(in *TemplateServiceBrokerConfig, out *config.TemplateServiceBrokerConfig, s conversion.Scope) error {
	return autoConvert_v1_TemplateServiceBrokerConfig_To_config_TemplateServiceBrokerConfig(in, out, s)
}

func autoConvert_config_TemplateServiceBrokerConfig_To_v1_TemplateServiceBrokerConfig(in *config.TemplateServiceBrokerConfig, out *TemplateServiceBrokerConfig, s conversion.Scope) error {
	out.TemplateNamespaces = *(*[]string)(unsafe.Pointer(&in.TemplateNamespaces))
	return nil
}

// Convert_config_TemplateServiceBrokerConfig_To_v1_TemplateServiceBrokerConfig is an autogenerated conversion function.
func Convert_config_TemplateServiceBrokerConfig_To_v1_TemplateServiceBrokerConfig(in *config.TemplateServiceBrokerConfig, out *TemplateServiceBrokerConfig, s conversion.Scope) error {
	return autoConvert_config_TemplateServiceBrokerConfig_To_v1_TemplateServiceBrokerConfig(in, out, s)
}
