controllers

package
v0.25.2 Latest Latest
Warning

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

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

Documentation

Overview

Package controllers contains k8s reconciliation controllers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller added in v0.18.0

type Controller struct {
	pomerium.IngressReconciler
	pomerium.ConfigReconciler
	databroker.DataBrokerServiceClient
	MgrOpts runtime_ctrl.Options
	// IngressCtrlOpts are the ingress controller options
	IngressCtrlOpts []ingress.Option
	// GlobalSettings if provided, will also reconcile configuration options
	GlobalSettings *types.NamespacedName
	// contains filtered or unexported fields
}

Controller runs Pomerium configuration reconciliation controllers for Ingress and Pomerium Settings CRD objects, if specified

func (*Controller) GetDataBrokerServiceClient added in v0.18.0

func (c *Controller) GetDataBrokerServiceClient() databroker.DataBrokerServiceClient

GetDataBrokerServiceClient implements databroker.LeaseHandler

func (*Controller) ReadyzCheck added in v0.18.0

func (c *Controller) ReadyzCheck(_ *http.Request) error

ReadyzCheck reports whether controller is ready

func (*Controller) Run added in v0.18.0

func (c *Controller) Run(ctx context.Context) error

Run runs controller using lease

func (*Controller) RunLeased added in v0.18.0

func (c *Controller) RunLeased(ctx context.Context) (err error)

RunLeased implements databroker.LeaseHandler

Directories

Path Synopsis
Package deps implements dependencies management
Package deps implements dependencies management
Package ingress implements Ingress controller functions
Package ingress implements Ingress controller functions
Package mock_test is a generated GoMock package.
Package mock_test is a generated GoMock package.
Package reporter contains various methods to report status updates
Package reporter contains various methods to report status updates
Package settings implements controller for Settings CRD
Package settings implements controller for Settings CRD

Jump to

Keyboard shortcuts

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