kubernetes/staging/src/k8s.io/pod-security-admission/api/attributes.go

type Attributes

type AttributesRecord

func (a *AttributesRecord) GetName() string {}

func (a *AttributesRecord) GetNamespace() string {}

func (a *AttributesRecord) GetKind() schema.GroupVersionKind {}

func (a *AttributesRecord) GetResource() schema.GroupVersionResource {}

func (a *AttributesRecord) GetSubresource() string {}

func (a *AttributesRecord) GetOperation() admissionv1.Operation {}

func (a *AttributesRecord) GetUserName() string {}

func (a *AttributesRecord) GetObject() (runtime.Object, error) {}

func (a *AttributesRecord) GetOldObject() (runtime.Object, error) {}

var _

// RequestAttributes adapts an admission.Request to the Attributes interface.
func RequestAttributes(request *admissionv1.AdmissionRequest, decoder runtime.Decoder) Attributes {}

type attributes

func (a *attributes) GetName() string {}

func (a *attributes) GetNamespace() string {}

func (a *attributes) GetKind() schema.GroupVersionKind {}

func (a *attributes) GetResource() schema.GroupVersionResource {}

func (a *attributes) GetSubresource() string {}

func (a *attributes) GetOperation() admissionv1.Operation {}

func (a *attributes) GetUserName() string {}

func (a *attributes) GetObject() (runtime.Object, error) {}

func (a *attributes) GetOldObject() (runtime.Object, error) {}

func (a *attributes) decode(in runtime.RawExtension) (runtime.Object, error) {}

var _