Documentation ¶
Index ¶
- func ConfigNamesFromContainer(namespace string, container *corev1.Container) []string
- func ConfigNamesFromEphemeralContainer(namespace string, container *corev1.EphemeralContainer) []string
- func ConfigNamesFromPod(pod *corev1.Pod) []string
- func New(ctx *synccontext.RegisterContext) (syncer.Object, error)
- func SecretNamesFromContainer(namespace string, container *corev1.Container) []string
- func SecretNamesFromEphemeralContainer(namespace string, container *corev1.EphemeralContainer) []string
- func SecretNamesFromPod(pod *corev1.Pod) []string
- func SecretNamesFromVolumes(pod *corev1.Pod) []string
- type FakeMetricsRecorder
- type PodAttributes
- func (a *PodAttributes) GetKind() schema.GroupVersionKind
- func (a *PodAttributes) GetObject() (runtime.Object, error)
- func (a *PodAttributes) GetOldObject() (runtime.Object, error)
- func (a *PodAttributes) GetOperation() admissionv1.Operation
- func (a *PodAttributes) GetResource() schema.GroupVersionResource
- func (a *PodAttributes) GetSubresource() string
- func (a *PodAttributes) GetUserName() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigNamesFromEphemeralContainer ¶
func ConfigNamesFromEphemeralContainer(namespace string, container *corev1.EphemeralContainer) []string
func ConfigNamesFromPod ¶
func New ¶ added in v0.6.0
func New(ctx *synccontext.RegisterContext) (syncer.Object, error)
func SecretNamesFromEphemeralContainer ¶
func SecretNamesFromEphemeralContainer(namespace string, container *corev1.EphemeralContainer) []string
func SecretNamesFromPod ¶
func SecretNamesFromVolumes ¶ added in v0.4.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
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
Click to show internal directories.
Click to hide internal directories.