audit

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VerbCreate = "create"
	VerbUpdate = "update"
	VerbDelete = "delete"
	VerbPatch  = "patch"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterOnlyMessage

type ClusterOnlyMessage struct {
	Cluster string `json:"cluster"`
}

ClusterOnlyMessage is a trimmed version of Message/RawMessage that only deserializes the `cluster` field.

type Decorator

type Decorator interface {
	Decorate(ctx context.Context, message *Message, event *aggregatorevent.Event)
}

type Message

type Message struct {
	Cluster       string `json:"cluster"`
	ApiserverAddr string `json:"sourceAddr"`
	auditv1.Event
}

type RawMessage

type RawMessage struct {
	Cluster    string `json:"cluster"`
	SourceAddr string `json:"sourceAddr"`
	*auditv1.EventList
}

Directories

Path Synopsis
mq

Jump to

Keyboard shortcuts

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