Documentation ¶
Overview ¶
Package versioned provides tools for making sure the objects sent to a webhook are in a version the webhook understands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
Attributes is a wrapper around the original admission attributes. It allows override the internal objects with the versioned ones.
func (Attributes) GetObject ¶
func (v Attributes) GetObject() runtime.Object
GetObject overrides the original GetObjects() and it returns the versioned object.
func (Attributes) GetOldObject ¶
func (v Attributes) GetOldObject() runtime.Object
GetOldObject overrides the original GetOldObjects() and it returns the versioned oldObject.
Click to show internal directories.
Click to hide internal directories.