policybased

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2016 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewVirtualStorage

NewVirtualStorage creates a new REST for policies.

Types

type VirtualStorage

type VirtualStorage struct {
	BindingRegistry policybindingregistry.Registry

	RuleResolver   rulevalidation.AuthorizationRuleResolver
	CreateStrategy rest.RESTCreateStrategy
	UpdateStrategy rest.RESTUpdateStrategy
}

func (*VirtualStorage) Create

func (m *VirtualStorage) Create(ctx kapi.Context, obj runtime.Object) (runtime.Object, error)

func (*VirtualStorage) CreateRoleBindingWithEscalation

func (m *VirtualStorage) CreateRoleBindingWithEscalation(ctx kapi.Context, obj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, error)

func (*VirtualStorage) Delete

func (m *VirtualStorage) Delete(ctx kapi.Context, name string, options *kapi.DeleteOptions) (runtime.Object, error)

func (*VirtualStorage) Get

func (m *VirtualStorage) Get(ctx kapi.Context, name string) (runtime.Object, error)

func (*VirtualStorage) List

func (m *VirtualStorage) List(ctx kapi.Context, options *kapi.ListOptions) (runtime.Object, error)

func (*VirtualStorage) New

func (m *VirtualStorage) New() runtime.Object

func (*VirtualStorage) NewList

func (m *VirtualStorage) NewList() runtime.Object

func (*VirtualStorage) Update

func (m *VirtualStorage) Update(ctx kapi.Context, name string, objInfo rest.UpdatedObjectInfo) (runtime.Object, bool, error)

func (*VirtualStorage) UpdateRoleBindingWithEscalation

func (m *VirtualStorage) UpdateRoleBindingWithEscalation(ctx kapi.Context, obj *authorizationapi.RoleBinding) (*authorizationapi.RoleBinding, bool, error)

Jump to

Keyboard shortcuts

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