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

package fake

import (
	v1 "github.com/openshift/api/config/v1"
	configv1 "github.com/openshift/client-go/config/applyconfigurations/config/v1"
	typedconfigv1 "github.com/openshift/client-go/config/clientset/versioned/typed/config/v1"
	gentype "k8s.io/client-go/gentype"
)

// fakeInsightsDataGathers implements InsightsDataGatherInterface
type fakeInsightsDataGathers struct {
	*gentype.FakeClientWithListAndApply[*v1.InsightsDataGather, *v1.InsightsDataGatherList, *configv1.InsightsDataGatherApplyConfiguration]
	Fake *FakeConfigV1
}

func newFakeInsightsDataGathers(fake *FakeConfigV1) typedconfigv1.InsightsDataGatherInterface {
	return &fakeInsightsDataGathers{
		gentype.NewFakeClientWithListAndApply[*v1.InsightsDataGather, *v1.InsightsDataGatherList, *configv1.InsightsDataGatherApplyConfiguration](
			fake.Fake,
			"",
			v1.SchemeGroupVersion.WithResource("insightsdatagathers"),
			v1.SchemeGroupVersion.WithKind("InsightsDataGather"),
			func() *v1.InsightsDataGather { return &v1.InsightsDataGather{} },
			func() *v1.InsightsDataGatherList { return &v1.InsightsDataGatherList{} },
			func(dst, src *v1.InsightsDataGatherList) { dst.ListMeta = src.ListMeta },
			func(list *v1.InsightsDataGatherList) []*v1.InsightsDataGather {
				return gentype.ToPointerSlice(list.Items)
			},
			func(list *v1.InsightsDataGatherList, items []*v1.InsightsDataGather) {
				list.Items = gentype.FromPointerSlice(items)
			},
		),
		fake,
	}
}
