types

package
v3.1.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// EventCacheEventIDKey the event instance id key in cache
	EventCacheEventIDKey             = common.BKCacheKeyV3Prefix + "event:inst_id"
	EventCacheEventQueueKey          = common.BKCacheKeyV3Prefix + "event:inst_queue"
	EventCacheEventQueueDuplicateKey = common.BKCacheKeyV3Prefix + "event:inst_queue_duplicate"
	EventCacheEventPendingKey        = common.BKCacheKeyV3Prefix + "event:inst_pending"
	EventCacheEventRunningPrefix     = common.BKCacheKeyV3Prefix + "event:inst_running_"
	EventCacheEventTimeoutKey        = common.BKCacheKeyV3Prefix + "event:inst_timeout"
	EventCacheEventDoneKey           = common.BKCacheKeyV3Prefix + "event:inst_done"

	EventCacheDistIDPrefix      = common.BKCacheKeyV3Prefix + "event:dist_id_"
	EventCacheDistQueuePrefix   = common.BKCacheKeyV3Prefix + "event:dist_queue_"
	EventCacheDistPendingPrefix = common.BKCacheKeyV3Prefix + "event:dist_pending_"
	EventCacheDistRunningPrefix = common.BKCacheKeyV3Prefix + "event:dist_running_"
	EventCacheDistTimeoutPrefix = common.BKCacheKeyV3Prefix + "event:dist_timeout_"
	EventCacheDistDonePrefix    = common.BKCacheKeyV3Prefix + "event:dist_done_"

	EventCacheDistCallBackCountPrefix = common.BKCacheKeyV3Prefix + "event:dist_callback_"

	// EventCacheSubscribeformKey the key prefix in cache
	EventCacheSubscribeformKey = common.BKCacheKeyV3Prefix + "event:subscribeform:"
	EventCacheSubscribesKey    = common.BKCacheKeyV3Prefix + "event:subscribers"
	EventCacheProcessChannel   = common.BKCacheKeyV3Prefix + "event_process_channel"

	EventCacheIdentInstPrefix = common.BKCacheKeyV3Prefix + "ident:inst_"
)

Event Cache Keys

Variables

This section is empty.

Functions

func EventSubscriberCacheKey

func EventSubscriberCacheKey(ownerID, eventtype string) string

EventSubscriberCacheKey returns EventSubscriberCacheKey

Types

This section is empty.

Jump to

Keyboard shortcuts

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