extractor

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

* 创建Pod动作

* 删除Pod动作

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodBindingProcessor

type PodBindingProcessor struct {
}

func (*PodBindingProcessor) CanProcess

func (p *PodBindingProcessor) CanProcess(event *shares.AuditEvent) bool

func (*PodBindingProcessor) Process

func (p *PodBindingProcessor) Process(event *shares.AuditEvent) error

type PodCreateProcessor

type PodCreateProcessor struct {
}

func (*PodCreateProcessor) CanProcess

func (p *PodCreateProcessor) CanProcess(event *shares.AuditEvent) bool

func (*PodCreateProcessor) Process

func (p *PodCreateProcessor) Process(event *shares.AuditEvent) error

用于在 tracing API 中添加一个 apicreate 的 phase

type PodDeleteProcessor

type PodDeleteProcessor struct {
}

func (*PodDeleteProcessor) CanProcess

func (p *PodDeleteProcessor) CanProcess(event *shares.AuditEvent) bool

func (*PodDeleteProcessor) Process

func (p *PodDeleteProcessor) Process(event *shares.AuditEvent) error

type PodEventProcessor

type PodEventProcessor struct {
}

func (*PodEventProcessor) CanProcess

func (p *PodEventProcessor) CanProcess(event *shares.AuditEvent) bool

func (*PodEventProcessor) Process

func (p *PodEventProcessor) Process(event *shares.AuditEvent) error

用于在 tracing API 中添加一个 apicreate 的 phase

type PodPatchProcessor

type PodPatchProcessor struct {
}

func (*PodPatchProcessor) CanProcess

func (p *PodPatchProcessor) CanProcess(event *shares.AuditEvent) bool

func (*PodPatchProcessor) Process

func (p *PodPatchProcessor) Process(event *shares.AuditEvent) error

type PodUpdateProcessor

type PodUpdateProcessor struct {
}

func (*PodUpdateProcessor) CanProcess

func (p *PodUpdateProcessor) CanProcess(event *shares.AuditEvent) bool

func (*PodUpdateProcessor) Process

func (p *PodUpdateProcessor) Process(event *shares.AuditEvent) error

处理 Pod 的 Patch

Jump to

Keyboard shortcuts

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