// Copyright 2017 PingCAP, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// See the License for the specific language governing permissions and
// limitations under the License.

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

package v1

import (
	internalinterfaces "github.com/pingcap/tidb-operator/pkg/client/informers/externalversions/internalinterfaces"
)

// Interface provides access to all the informers in this group version.
type Interface interface {
	// TidbClusters returns a TidbClusterInformer.
	TidbClusters() TidbClusterInformer
	// TidbClusterBackups returns a TidbClusterBackupInformer.
	TidbClusterBackups() TidbClusterBackupInformer
	// TidbReviews returns a TidbReviewInformer.
	TidbReviews() TidbReviewInformer
	// TidbSets returns a TidbSetInformer.
	TidbSets() TidbSetInformer
}

type version struct {
	factory          internalinterfaces.SharedInformerFactory
	namespace        string
	tweakListOptions internalinterfaces.TweakListOptionsFunc
}

// New returns a new Interface.
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
	return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
}

// TidbClusters returns a TidbClusterInformer.
func (v *version) TidbClusters() TidbClusterInformer {
	return &tidbClusterInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}

// TidbClusterBackups returns a TidbClusterBackupInformer.
func (v *version) TidbClusterBackups() TidbClusterBackupInformer {
	return &tidbClusterBackupInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}

// TidbReviews returns a TidbReviewInformer.
func (v *version) TidbReviews() TidbReviewInformer {
	return &tidbReviewInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}

// TidbSets returns a TidbSetInformer.
func (v *version) TidbSets() TidbSetInformer {
	return &tidbSetInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
}
