// 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"
)

// fakeSchedulers implements SchedulerInterface
type fakeSchedulers struct {
	*gentype.FakeClientWithListAndApply[*v1.Scheduler, *v1.SchedulerList, *configv1.SchedulerApplyConfiguration]
	Fake *FakeConfigV1
}

func newFakeSchedulers(fake *FakeConfigV1) typedconfigv1.SchedulerInterface {
	return &fakeSchedulers{
		gentype.NewFakeClientWithListAndApply[*v1.Scheduler, *v1.SchedulerList, *configv1.SchedulerApplyConfiguration](
			fake.Fake,
			"",
			v1.SchemeGroupVersion.WithResource("schedulers"),
			v1.SchemeGroupVersion.WithKind("Scheduler"),
			func() *v1.Scheduler { return &v1.Scheduler{} },
			func() *v1.SchedulerList { return &v1.SchedulerList{} },
			func(dst, src *v1.SchedulerList) { dst.ListMeta = src.ListMeta },
			func(list *v1.SchedulerList) []*v1.Scheduler { return gentype.ToPointerSlice(list.Items) },
			func(list *v1.SchedulerList, items []*v1.Scheduler) { list.Items = gentype.FromPointerSlice(items) },
		),
		fake,
	}
}
