Exemplo n.º 1
0
func autoConvert_v1_ImageLayer_To_api_ImageLayer(in *ImageLayer, out *image_api.ImageLayer, s conversion.Scope) error {
	if defaulting, found := s.DefaultingInterface(reflect.TypeOf(*in)); found {
		defaulting.(func(*ImageLayer))(in)
	}
	out.Name = in.Name
	out.Size = in.Size
	return nil
}
func autoConvert_v1_ImageLayer_To_api_ImageLayer(in *ImageLayer, out *api.ImageLayer, s conversion.Scope) error {
	out.Name = in.Name
	out.LayerSize = in.LayerSize
	out.MediaType = in.MediaType
	return nil
}