pods

package
v0.21.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddEphemeralContainer added in v0.11.0

func AddEphemeralContainer(ctx *synccontext.SyncContext, physicalClusterClient kubernetes.Interface, physicalPod *corev1.Pod, virtualPod *corev1.Pod) error

AddEphemeralContainer runs an EphemeralContainer in the target Pod for use as a debug container

func New added in v0.6.0

Types

type FakeMetricsRecorder added in v0.7.0

type FakeMetricsRecorder struct{}

func (*FakeMetricsRecorder) RecordError added in v0.7.0

func (n *FakeMetricsRecorder) RecordError(_ bool, _ api.Attributes)

func (*FakeMetricsRecorder) RecordEvaluation added in v0.7.0

func (n *FakeMetricsRecorder) RecordEvaluation(_ metrics.Decision, _ api.LevelVersion, _ metrics.Mode, _ api.Attributes)

func (*FakeMetricsRecorder) RecordExemption added in v0.7.0

func (n *FakeMetricsRecorder) RecordExemption(api.Attributes)

type PodAttributes added in v0.7.0

type PodAttributes struct {
	*corev1.Pod
}

func (*PodAttributes) GetKind added in v0.7.0

func (a *PodAttributes) GetKind() schema.GroupVersionKind

func (*PodAttributes) GetObject added in v0.7.0

func (a *PodAttributes) GetObject() (runtime.Object, error)

func (*PodAttributes) GetOldObject added in v0.7.0

func (a *PodAttributes) GetOldObject() (runtime.Object, error)

func (*PodAttributes) GetOperation added in v0.7.0

func (a *PodAttributes) GetOperation() admissionv1.Operation

func (*PodAttributes) GetResource added in v0.7.0

func (a *PodAttributes) GetResource() schema.GroupVersionResource

func (*PodAttributes) GetSubresource added in v0.7.0

func (a *PodAttributes) GetSubresource() string

func (*PodAttributes) GetUserName added in v0.7.0

func (a *PodAttributes) GetUserName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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