Documentation
¶
Index ¶
- func NewController(ctx context.Context, kubeClient kubernetes.Interface, ...) *common.Controller
- func NewHandler(kubeclient kubernetes.Interface, kubeutil *kube.Kube, ...) common.Handler
- type HandlerConfigOption
- func WithDeploymentSyncerFactory(factory deployment.DeploymentSyncerFactory) HandlerConfigOption
- func WithHasSyncedCallback(callback common.HasSynced) HandlerConfigOption
- func WithIngressConfiguration(config ingress.IngressConfiguration) HandlerConfigOption
- func WithOAuth2DefaultConfig(oauth2Config defaults.OAuth2Config) HandlerConfigOption
- func WithOAuth2ProxyDockerImage(image string) HandlerConfigOption
- func WithOAuth2RedisDockerImage(image string) HandlerConfigOption
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 WithHasSyncedCallback ¶
func WithHasSyncedCallback(callback common.HasSynced) HandlerConfigOption
WithHasSyncedCallback configures Handler callback when RD has synced successfully
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