feat:group authorizetion. Add group and groupbinding crds, generated clientset

Signed-off-by: Roland.Ma <rolandma@yunify.com>
This commit is contained in:
Roland.Ma
2020-10-15 13:57:24 +00:00
parent 44799ae68a
commit 7c6723da46
23 changed files with 1404 additions and 0 deletions

View File

@@ -28,6 +28,10 @@ type Interface interface {
GlobalRoles() GlobalRoleInformer
// GlobalRoleBindings returns a GlobalRoleBindingInformer.
GlobalRoleBindings() GlobalRoleBindingInformer
// Groups returns a GroupInformer.
Groups() GroupInformer
// GroupBindings returns a GroupBindingInformer.
GroupBindings() GroupBindingInformer
// LoginRecords returns a LoginRecordInformer.
LoginRecords() LoginRecordInformer
// RoleBases returns a RoleBaseInformer.
@@ -61,6 +65,16 @@ func (v *version) GlobalRoleBindings() GlobalRoleBindingInformer {
return &globalRoleBindingInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// Groups returns a GroupInformer.
func (v *version) Groups() GroupInformer {
return &groupInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// GroupBindings returns a GroupBindingInformer.
func (v *version) GroupBindings() GroupBindingInformer {
return &groupBindingInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}
// LoginRecords returns a LoginRecordInformer.
func (v *version) LoginRecords() LoginRecordInformer {
return &loginRecordInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}