controller

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 30 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(parentLogger logger.Logger,
	namespace string,
	imagePullSecrets string,
	kubeClientSet kubernetes.Interface,
	nuclioClientSet nuclioioclient.Interface,
	functionresClient functionres.Client,
	apigatewayresClient apigatewayres.Client,
	resyncInterval time.Duration,
	functionMonitoringInterval time.Duration,
	scalingGracePeriod time.Duration,
	cronJobStaleResourcesCleanupInterval time.Duration,
	evictedPodsCleanupInterval time.Duration,
	platformConfiguration *platformconfig.Config,
	platformConfigurationName string,
	functionOperatorNumWorkers int,
	functionEventOperatorNumWorkers int,
	projectOperatorNumWorkers int,
	apiGatewayOperatorNumWorkers int) (*Controller, error)

func (*Controller) GetExternalIPAddresses

func (c *Controller) GetExternalIPAddresses() []string

func (*Controller) GetFunctionMonitoring

func (c *Controller) GetFunctionMonitoring() *monitoring.FunctionMonitor

func (*Controller) GetFunctionMonitoringInterval

func (c *Controller) GetFunctionMonitoringInterval() time.Duration

func (*Controller) GetPlatformConfiguration

func (c *Controller) GetPlatformConfiguration() *platformconfig.Config

func (*Controller) GetPlatformConfigurationName

func (c *Controller) GetPlatformConfigurationName() string

func (*Controller) GetResyncInterval

func (c *Controller) GetResyncInterval() time.Duration

func (*Controller) SetFunctionMonitoringInterval

func (c *Controller) SetFunctionMonitoringInterval(interval time.Duration)

func (*Controller) Start

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

func (*Controller) Stop

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

type CronJobMonitoring

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

func NewCronJobMonitoring

func NewCronJobMonitoring(ctx context.Context,
	parentLogger logger.Logger,
	controller *Controller,
	cronJobStaleResourcesCleanupInterval *time.Duration) *CronJobMonitoring

type EvictedPodsMonitoring

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

func NewEvictedPodsMonitoring

func NewEvictedPodsMonitoring(ctx context.Context,
	parentLogger logger.Logger,
	controller *Controller,
	evictedPodsCleanupInterval *time.Duration) *EvictedPodsMonitoring

Jump to

Keyboard shortcuts

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