Merge pull request #3073 from RolandMa1986/feat-group-api

feat: group auth, add group & groupbinding api
This commit is contained in:
KubeSphere CI Bot
2020-11-11 17:10:30 +08:00
committed by GitHub
11 changed files with 908 additions and 9 deletions

View File

@@ -20,6 +20,10 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
const (
ResourcePluralGroupBinding = "groupbindings"
)
// GroupRef defines the desired relation of GroupBinding
type GroupRef struct {
APIGroup string `json:"apiGroup,omitempty"`