/*
Copyright 2020 The KubeSphere Authors.

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,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

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

package v1alpha2

import (
	internalinterfaces "kubesphere.io/kubesphere/pkg/client/informers/externalversions/internalinterfaces"
)

// Interface provides access to all the informers in this group version.
type Interface interface {
	// GlobalRoles returns a GlobalRoleInformer.
	GlobalRoles() GlobalRoleInformer
	// GlobalRoleBindings returns a GlobalRoleBindingInformer.
	GlobalRoleBindings() GlobalRoleBindingInformer
	// LoginRecords returns a LoginRecordInformer.
	LoginRecords() LoginRecordInformer
	// RoleBases returns a RoleBaseInformer.
	RoleBases() RoleBaseInformer
	// Users returns a UserInformer.
	Users() UserInformer
	// WorkspaceRoles returns a WorkspaceRoleInformer.
	WorkspaceRoles() WorkspaceRoleInformer
	// WorkspaceRoleBindings returns a WorkspaceRoleBindingInformer.
	WorkspaceRoleBindings() WorkspaceRoleBindingInformer
}

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}
}

// GlobalRoles returns a GlobalRoleInformer.
func (v *version) GlobalRoles() GlobalRoleInformer {
	return &globalRoleInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}

// GlobalRoleBindings returns a GlobalRoleBindingInformer.
func (v *version) GlobalRoleBindings() GlobalRoleBindingInformer {
	return &globalRoleBindingInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}

// LoginRecords returns a LoginRecordInformer.
func (v *version) LoginRecords() LoginRecordInformer {
	return &loginRecordInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}

// RoleBases returns a RoleBaseInformer.
func (v *version) RoleBases() RoleBaseInformer {
	return &roleBaseInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}

// Users returns a UserInformer.
func (v *version) Users() UserInformer {
	return &userInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}

// WorkspaceRoles returns a WorkspaceRoleInformer.
func (v *version) WorkspaceRoles() WorkspaceRoleInformer {
	return &workspaceRoleInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}

// WorkspaceRoleBindings returns a WorkspaceRoleBindingInformer.
func (v *version) WorkspaceRoleBindings() WorkspaceRoleBindingInformer {
	return &workspaceRoleBindingInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
