export

package
v3.21.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateOrCreateConnectionPodStatus added in v3.20.0

func UpdateOrCreateConnectionPodStatus(
	ctx context.Context,
	reader client.Reader,
	writer client.Writer,
	scheme *runtime.Scheme,
	connObjName string,
	exportErrors []*statusv1alpha1.ConnectionError,
	activeConnection *bool,
	getPod func(context.Context) (*corev1.Pod, error),
) error

Types

type Adder

type Adder struct {
	ExportSystem export.Exporter
	// GetPod returns an instance of the currently running Gatekeeper pod
	GetPod func(context.Context) (*corev1.Pod, error)
}

func (*Adder) Add

func (a *Adder) Add(mgr manager.Manager) error

func (*Adder) InjectExportSystem

func (a *Adder) InjectExportSystem(exportSystem export.Exporter)

func (*Adder) InjectGetPod added in v3.20.0

func (a *Adder) InjectGetPod(getPod func(ctx context.Context) (*corev1.Pod, error))

func (*Adder) InjectTracker

func (a *Adder) InjectTracker(_ *readiness.Tracker)

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)

+kubebuilder:rbac:groups=connection.gatekeeper.sh,resources=*,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=status.gatekeeper.sh,resources=*,verbs=get;list;watch;create;update;patch;delete

Jump to

Keyboard shortcuts

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