operation

package
v0.0.0-...-21a76b1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 11 Imported by: 0

Documentation

Overview

Package operation contains the logic for the operation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssemblyInjector

type AssemblyInjector struct {
	client.Client
	// contains filtered or unexported fields
}

AssemblyInjector injects assembly operation container into Pods

func (*AssemblyInjector) Handle

Handle handles admission requests.

func (*AssemblyInjector) InjectDecoder

func (r *AssemblyInjector) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder.

func (*AssemblyInjector) LabelRequiredPods

func (r *AssemblyInjector) LabelRequiredPods(
	ctx context.Context,
	pod *corev1.Pod,
	label string,
) error

LabelRequiredPods labels the pods with the given label

Jump to

Keyboard shortcuts

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