deployment

package
v1.106.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(ctx context.Context,
	kubeClient kubernetes.Interface,
	radixClient radixclient.Interface,
	handler common.Handler,
	kubeInformerFactory kubeinformers.SharedInformerFactory,
	radixInformerFactory informers.SharedInformerFactory) *common.Controller

NewController creates a new controller that handles RadixDeployments

func NewHandler

func NewHandler(kubeclient kubernetes.Interface,
	kubeutil *kube.Kube,
	radixclient radixclient.Interface,
	kedaClient kedav2.Interface,
	prometheusperatorclient monitoring.Interface,
	certClient certclient.Interface,
	eventRecorder record.EventRecorder,
	config *config.Config,
	options ...HandlerConfigOption) common.Handler

NewHandler Constructor

Types

type HandlerConfigOption

type HandlerConfigOption func(*handler)

HandlerConfigOption defines a configuration function used for additional configuration of Handler

func WithDeploymentSyncerFactory

func WithDeploymentSyncerFactory(factory deployment.DeploymentSyncerFactory) HandlerConfigOption

WithDeploymentSyncerFactory configures the deploymentSyncerFactory for the Handler

func WithIngressConfiguration

func WithIngressConfiguration(config ingress.IngressConfiguration) HandlerConfigOption

WithIngressConfiguration sets the list of custom ingress confiigurations

func WithOAuth2DefaultConfig

func WithOAuth2DefaultConfig(oauth2Config defaults.OAuth2Config) HandlerConfigOption

WithOAuth2DefaultConfig configures default OAuth2 settings

func WithOAuth2ProxyDockerImage

func WithOAuth2ProxyDockerImage(image string) HandlerConfigOption

WithOAuth2ProxyDockerImage configures the Docker image to use for OAuth2 proxy auxiliary component

func WithOAuth2RedisDockerImage

func WithOAuth2RedisDockerImage(image string) HandlerConfigOption

WithOAuth2RedisDockerImage configures the Docker image to use for OAuth2 redis auxiliary component

Jump to

Keyboard shortcuts

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