Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key struct { Cluster string `json:"cluster"` Group string `json:"group"` Resource string `json:"resource"` Namespace string `json:"namespace"` Name string `json:"name"` }
func (Key) GroupResource ¶
func (key Key) GroupResource() schema.GroupResource
type Rich ¶
type Rich struct { VersionedKey Uid types.UID Raw *unstructured.Unstructured `json:"-"` }
func RichFromAudit ¶
func RichFromAudit(object *auditv1.ObjectReference, cluster string) Rich
func RichFromUnstructured ¶
func RichFromUnstructured( uns *unstructured.Unstructured, cluster string, gvr schema.GroupVersionResource, ) Rich
type VersionedKey ¶
func FromObject ¶
func FromObject(object metav1.Object, cluster string, gvr schema.GroupVersionResource) VersionedKey
func (VersionedKey) Clone ¶
func (key VersionedKey) Clone() VersionedKey
func (VersionedKey) GroupVersion ¶
func (key VersionedKey) GroupVersion() schema.GroupVersion
func (VersionedKey) GroupVersionResource ¶
func (key VersionedKey) GroupVersionResource() schema.GroupVersionResource
Click to show internal directories.
Click to hide internal directories.