Documentation ¶
Index ¶
- Constants
- Variables
- func DecreaseSubscriptionCount()
- func IncreaseMessageCount(trigname, trignamespace string)
- func IncreaseSubscriptionCount()
- func SetMessageLagCount(trigname, trignamespace, topic, partition string, lag int64)
- func StartScalerManager(ctx context.Context, logger *zap.Logger, routerURL string) error
- type MessageQueueTriggerManager
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 StartScalerManager ¶ added in v1.11.0
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
func (mqt *MessageQueueTriggerManager) Run(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.