accessgroup

package
v0.33.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL