Exemplo n.º 1
0
func autoConvert_v1_ProjectStatus_To_api_ProjectStatus(in *ProjectStatus, out *project_api.ProjectStatus, s conversion.Scope) error {
	if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
		defaulting.(func(*ProjectStatus))(in)
	}
	out.Phase = api.NamespacePhase(in.Phase)
	return nil
}
Exemplo n.º 2
0
func autoConvert_v1_ProjectStatus_To_api_ProjectStatus(in *ProjectStatus, out *project_api.ProjectStatus, s conversion.Scope) error {
	out.Phase = api.NamespacePhase(in.Phase)
	return nil
}