kubernetes/staging/src/k8s.io/apiserver/pkg/admission/attributes.go

type attributesRecord

type annotation

func NewAttributesRecord(object runtime.Object, oldObject runtime.Object, kind schema.GroupVersionKind, namespace, name string, resource schema.GroupVersionResource, subresource string, operation Operation, operationOptions runtime.Object, dryRun bool, userInfo user.Info) Attributes {}

func (record *attributesRecord) GetKind() schema.GroupVersionKind {}

func (record *attributesRecord) GetNamespace() string {}

func (record *attributesRecord) GetName() string {}

func (record *attributesRecord) GetResource() schema.GroupVersionResource {}

func (record *attributesRecord) GetSubresource() string {}

func (record *attributesRecord) GetOperation() Operation {}

func (record *attributesRecord) GetOperationOptions() runtime.Object {}

func (record *attributesRecord) IsDryRun() bool {}

func (record *attributesRecord) GetObject() runtime.Object {}

func (record *attributesRecord) GetOldObject() runtime.Object {}

func (record *attributesRecord) GetUserInfo() user.Info {}

// getAnnotations implements privateAnnotationsGetter.It's a private method used
// by WithAudit decorator.
func (record *attributesRecord) getAnnotations(maxLevel auditinternal.Level) map[string]string {}

// AddAnnotation adds an annotation to attributesRecord with Metadata audit level
func (record *attributesRecord) AddAnnotation(key, value string) error {}

func (record *attributesRecord) AddAnnotationWithLevel(key, value string, level auditinternal.Level) error {}

func (record *attributesRecord) GetReinvocationContext() ReinvocationContext {}

type reinvocationContext

func (rc *reinvocationContext) IsReinvoke() bool {}

func (rc *reinvocationContext) SetIsReinvoke() {}

func (rc *reinvocationContext) ShouldReinvoke() bool {}

func (rc *reinvocationContext) SetShouldReinvoke() {}

func (rc *reinvocationContext) SetValue(plugin string, v interface{}

func (rc *reinvocationContext) Value(plugin string) interface{}

func checkKeyFormat(key string) error {}