acl

package
v0.0.0-...-0227cab Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOperatorUser

func NewOperatorUser(ctx context.Context, clientset kubernetes.ClientSet, name, namespace string, ownerRefs []metav1.OwnerReference, ACL2Support bool) (*core.User, error)

Types

type Users

type Users []*core.User

Users

func LoadACLUsers

func LoadACLUsers(ctx context.Context, clientset kubernetes.ClientSet, cm *corev1.ConfigMap) (Users, error)

LoadACLUsers load acls from configmap

func (Users) Encode

func (us Users) Encode() map[string]string

Encode

func (Users) GetDefaultUser

func (us Users) GetDefaultUser() *core.User

GetDefaultUser

func (Users) GetOpUser

func (us Users) GetOpUser() *core.User

GetByRole

func (Users) IsChanged

func (us Users) IsChanged(n Users) bool

IsChanged

Jump to

Keyboard shortcuts

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