authorizationsync

package
v3.6.104-1+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2017 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizePolicyRules

func NormalizePolicyRules(rules []rbac.PolicyRule)

NormalizePolicyRules mutates the given rules and lowercases verbs, resources and API groups. Origin's authorizer is case-insensitive to these fields but Kubernetes RBAC is not. Thus normalizing the Origin rules before persisting them as RBAC will allow authorization to continue to work.

Types

type OriginClusterRoleBindingToRBACClusterRoleBindingController

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

func (*OriginClusterRoleBindingToRBACClusterRoleBindingController) Run

func (c *OriginClusterRoleBindingToRBACClusterRoleBindingController) Run(workers int, stopCh <-chan struct{})

type OriginClusterRoleToRBACClusterRoleController

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

func NewOriginToRBACClusterRoleController

func NewOriginToRBACClusterRoleController(rbacClusterRoleInformer rbacinformers.ClusterRoleInformer, originClusterPolicyInformer origininformers.ClusterPolicyInformer, rbacClient rbacclient.ClusterRolesGetter) *OriginClusterRoleToRBACClusterRoleController

func (*OriginClusterRoleToRBACClusterRoleController) Run

func (c *OriginClusterRoleToRBACClusterRoleController) Run(workers int, stopCh <-chan struct{})

type OriginRoleBindingToRBACRoleBindingController

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

func NewOriginToRBACRoleBindingController

func NewOriginToRBACRoleBindingController(rbacRoleBindingInformer rbacinformers.RoleBindingInformer, originPolicyBindingInformer origininformers.PolicyBindingInformer, rbacClient rbacclient.RoleBindingsGetter) *OriginRoleBindingToRBACRoleBindingController

func (*OriginRoleBindingToRBACRoleBindingController) Run

func (c *OriginRoleBindingToRBACRoleBindingController) Run(workers int, stopCh <-chan struct{})

type OriginRoleToRBACRoleController

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

func NewOriginToRBACRoleController

func NewOriginToRBACRoleController(rbacRoleInformer rbacinformers.RoleInformer, originPolicyInformer origininformers.PolicyInformer, rbacClient rbacclient.RolesGetter) *OriginRoleToRBACRoleController

func (*OriginRoleToRBACRoleController) Run

func (c *OriginRoleToRBACRoleController) Run(workers int, stopCh <-chan struct{})

Jump to

Keyboard shortcuts

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