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

package fake

import (
	v1alpha1 "github.com/openshift/api/machineconfiguration/v1alpha1"
	machineconfigurationv1alpha1 "github.com/openshift/client-go/machineconfiguration/applyconfigurations/machineconfiguration/v1alpha1"
	typedmachineconfigurationv1alpha1 "github.com/openshift/client-go/machineconfiguration/clientset/versioned/typed/machineconfiguration/v1alpha1"
	gentype "k8s.io/client-go/gentype"
)

// fakeInternalReleaseImages implements InternalReleaseImageInterface
type fakeInternalReleaseImages struct {
	*gentype.FakeClientWithListAndApply[*v1alpha1.InternalReleaseImage, *v1alpha1.InternalReleaseImageList, *machineconfigurationv1alpha1.InternalReleaseImageApplyConfiguration]
	Fake *FakeMachineconfigurationV1alpha1
}

func newFakeInternalReleaseImages(fake *FakeMachineconfigurationV1alpha1) typedmachineconfigurationv1alpha1.InternalReleaseImageInterface {
	return &fakeInternalReleaseImages{
		gentype.NewFakeClientWithListAndApply[*v1alpha1.InternalReleaseImage, *v1alpha1.InternalReleaseImageList, *machineconfigurationv1alpha1.InternalReleaseImageApplyConfiguration](
			fake.Fake,
			"",
			v1alpha1.SchemeGroupVersion.WithResource("internalreleaseimages"),
			v1alpha1.SchemeGroupVersion.WithKind("InternalReleaseImage"),
			func() *v1alpha1.InternalReleaseImage { return &v1alpha1.InternalReleaseImage{} },
			func() *v1alpha1.InternalReleaseImageList { return &v1alpha1.InternalReleaseImageList{} },
			func(dst, src *v1alpha1.InternalReleaseImageList) { dst.ListMeta = src.ListMeta },
			func(list *v1alpha1.InternalReleaseImageList) []*v1alpha1.InternalReleaseImage {
				return gentype.ToPointerSlice(list.Items)
			},
			func(list *v1alpha1.InternalReleaseImageList, items []*v1alpha1.InternalReleaseImage) {
				list.Items = gentype.FromPointerSlice(items)
			},
		),
		fake,
	}
}
