customattrs

package
v0.0.0-...-ee57881 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccessControlViolated = apierrors.Forbidden.WithReason("AccessControlViolated")

Functions

This section is empty.

Types

type T

type T map[string]interface{}

T is the representation form of custom attributes. The keys are derived from pointers.

func (T) Clone

func (t T) Clone() T

func (T) ReadWithAccessControl

func (t T) ReadWithAccessControl(accessControl accesscontrol.T, role accesscontrol.Role) T

func (T) ToMap

func (t T) ToMap() map[string]interface{}

func (T) Update

func (t T) Update(accessControl accesscontrol.T, role accesscontrol.Role, pointerStrs []string, incoming T) (T, error)

Jump to

Keyboard shortcuts

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