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

package fake

import (
	v1alpha1 "github.com/openshift/api/config/v1alpha1"
	configv1alpha1 "github.com/openshift/client-go/config/applyconfigurations/config/v1alpha1"
	typedconfigv1alpha1 "github.com/openshift/client-go/config/clientset/versioned/typed/config/v1alpha1"
	gentype "k8s.io/client-go/gentype"
)

// fakeClusterMonitorings implements ClusterMonitoringInterface
type fakeClusterMonitorings struct {
	*gentype.FakeClientWithListAndApply[*v1alpha1.ClusterMonitoring, *v1alpha1.ClusterMonitoringList, *configv1alpha1.ClusterMonitoringApplyConfiguration]
	Fake *FakeConfigV1alpha1
}

func newFakeClusterMonitorings(fake *FakeConfigV1alpha1) typedconfigv1alpha1.ClusterMonitoringInterface {
	return &fakeClusterMonitorings{
		gentype.NewFakeClientWithListAndApply[*v1alpha1.ClusterMonitoring, *v1alpha1.ClusterMonitoringList, *configv1alpha1.ClusterMonitoringApplyConfiguration](
			fake.Fake,
			"",
			v1alpha1.SchemeGroupVersion.WithResource("clustermonitorings"),
			v1alpha1.SchemeGroupVersion.WithKind("ClusterMonitoring"),
			func() *v1alpha1.ClusterMonitoring { return &v1alpha1.ClusterMonitoring{} },
			func() *v1alpha1.ClusterMonitoringList { return &v1alpha1.ClusterMonitoringList{} },
			func(dst, src *v1alpha1.ClusterMonitoringList) { dst.ListMeta = src.ListMeta },
			func(list *v1alpha1.ClusterMonitoringList) []*v1alpha1.ClusterMonitoring {
				return gentype.ToPointerSlice(list.Items)
			},
			func(list *v1alpha1.ClusterMonitoringList, items []*v1alpha1.ClusterMonitoring) {
				list.Items = gentype.FromPointerSlice(items)
			},
		),
		fake,
	}
}
