policybased

package
v1.31.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 13 Imported by: 31

Documentation

Overview

Package policybased implements a standard storage for RoleBinding that prevents privilege escalation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	rest.StandardStorage
	// contains filtered or unexported fields
}

func (*Storage) Create

func (s *Storage) Create(ctx context.Context, obj runtime.Object, createValidation rest.ValidateObjectFunc, options *metav1.CreateOptions) (runtime.Object, error)

func (*Storage) Destroy added in v1.25.0

func (r *Storage) Destroy()

Destroy cleans up resources on shutdown.

func (*Storage) GetSingularName added in v1.27.0

func (s *Storage) GetSingularName() string

func (*Storage) NamespaceScoped added in v1.11.0

func (r *Storage) NamespaceScoped() bool

func (*Storage) StorageVersion added in v1.14.0

func (r *Storage) StorageVersion() runtime.GroupVersioner

func (*Storage) Update

func (s *Storage) Update(ctx context.Context, name string, obj rest.UpdatedObjectInfo, createValidation rest.ValidateObjectFunc, updateValidation rest.ValidateObjectUpdateFunc, forceAllowCreate bool, options *metav1.UpdateOptions) (runtime.Object, bool, error)

Jump to

Keyboard shortcuts

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