controllers

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CapsuleUserGroups sets.Set[string]

Functions

func OwnerRoleBindingsIndexFunc

func OwnerRoleBindingsIndexFunc(obj interface{}) (result []string, err error)

Types

type CapsuleConfiguration

type CapsuleConfiguration struct {
	Client                      client.Client
	CapsuleConfigurationName    string
	DeprecatedCapsuleUserGroups []string
}

func (*CapsuleConfiguration) Reconcile

func (*CapsuleConfiguration) SetupWithManager

func (c *CapsuleConfiguration) SetupWithManager(ctx context.Context, mgr ctrl.Manager) error

type RoleBindingReflector

type RoleBindingReflector struct {
	// contains filtered or unexported fields
}

func NewRoleBindingReflector

func NewRoleBindingReflector(config *rest.Config, resyncPeriod time.Duration) (*RoleBindingReflector, error)

func (*RoleBindingReflector) GetUserNamespacesFromRequest

func (r *RoleBindingReflector) GetUserNamespacesFromRequest(req request.Request) ([]string, error)

func (*RoleBindingReflector) Start

func (r *RoleBindingReflector) Start(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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