Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GroupsToSubjects ¶
func GroupsToSubjects(groups []AccessGroup) []rbacv1.Subject
func ValidateGroups ¶
func ValidateGroups(groups []AccessGroup) bool
Types ¶
type AccessGroup ¶
type AccessGroup struct {
Name string
}
type AccessGroups ¶
type AccessGroups struct { WriteAllCustomerGroups []AccessGroup WriteAllGiantswarmGroups []AccessGroup }
func (*AccessGroups) AddLegacyCustomerAdminGroup ¶
func (a *AccessGroups) AddLegacyCustomerAdminGroup(legacyGroupName string)
func (*AccessGroups) AddLegacyGiantswarmAdminGroup ¶
func (a *AccessGroups) AddLegacyGiantswarmAdminGroup(legacyGroupName string)
func (*AccessGroups) HasValidWriteAllGiantswarmAdminGroups ¶
func (a *AccessGroups) HasValidWriteAllGiantswarmAdminGroups() bool
Click to show internal directories.
Click to hide internal directories.