pods

package
v0.1.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvalidMountConfig  = "InvalidMountConfig"  // 用户自身问题  hostPath卷配置错误
	AccessError         = "AccessError"         // 权限错误or延迟
	NFSError            = "NFSError"            // NFS版本或转换协议不支持
	NoSpaceLeftOnDevice = "NoSpaceLeftOnDevice" // 磁盘空间不足

	FailedMount = "FailedMount" // 其他原因
)

Functions

func AdmissionReason

func AdmissionReason(auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *time.Time) (result string, hasError bool)

func ContainerCreateReason

func ContainerCreateReason(auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *time.Time) (result string, hasError bool)

func ContainerKillReason

func ContainerKillReason(auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *time.Time) (result string, hasError bool)

func ContainerPostHookReason

func ContainerPostHookReason(auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *time.Time) (result string, hasError bool)

func ContainerReadinessReason

func ContainerReadinessReason(auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *time.Time) (result string, hasError bool)

func ContainerStartReason

func ContainerStartReason(auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *time.Time) (result string, hasError bool)

func ImageReason

func ImageReason(auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *time.Time) (result string, hasError bool)

func KubeletDelayReason

func KubeletDelayReason(auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *time.Time) (result string, hasError bool)

func NetworkReason

func NetworkReason(auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *time.Time) (result string, hasError bool)

func PodReadinessReason

func PodReadinessReason(auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *time.Time) (result string, hasError bool)

func SandboxReason

func SandboxReason(auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *time.Time) (result string, hasError bool)

func SchedulerReason

func SchedulerReason(auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *time.Time) (result string, hasError bool)

func VolumeReason

func VolumeReason(auditEvents []*shares.AuditEvent, beginTime *time.Time, endTime *time.Time) (result string, hasError bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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