controller

package
v0.0.0-...-adf2f75 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 29 Imported by: 1

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