mqtrigger

package
v1.19.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ADD_TRIGGER requestType = iota
	DELETE_TRIGGER
	GET_TRIGGER_SUBSCRIPTION
)

Variables

View Source
var (
	// Group refers to the group name in KEDA CRD
	Group = "keda.sh"
	// Version refers to the version name in KEDA CRD
	Version = "v1alpha1"
)

Functions

func DecreaseSubscriptionCount added in v1.16.0

func DecreaseSubscriptionCount()

func IncreaseMessageCount added in v1.16.0

func IncreaseMessageCount(trigname, trignamespace string)

func IncreaseSubscriptionCount added in v1.16.0

func IncreaseSubscriptionCount()

func SetMessageLagCount added in v1.16.3

func SetMessageLagCount(trigname, trignamespace, topic, partition string, lag int64)

func StartScalerManager added in v1.11.0

func StartScalerManager(ctx context.Context, logger *zap.Logger, routerURL string) error

StartScalerManager watches for changes in MessageQueueTrigger and, Based on changes, it Creates, Updates and Deletes Objects of Kind ScaledObjects, AuthenticationTriggers and Deployments

Types

type MessageQueueTriggerManager added in v1.9.0

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

func MakeMessageQueueTriggerManager added in v1.9.0

func MakeMessageQueueTriggerManager(logger *zap.Logger,
	fissionClient versioned.Interface, mqType fv1.MessageQueueType, messageQueue messageQueue.MessageQueue) *MessageQueueTriggerManager

func (*MessageQueueTriggerManager) RegisterTrigger added in v1.16.0

func (mqt *MessageQueueTriggerManager) RegisterTrigger(trigger *fv1.MessageQueueTrigger)

func (*MessageQueueTriggerManager) Run added in v1.9.0

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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