cachemsg

package
v2.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AllShadowReportTimeCache set report time , type is map. ex :shadow-time : "{ "aaa": "0001-01-01T00:00:00Z", "d-33949349": "0001-01-01T00:00:00Z"}"
	AllShadowReportTimeCache = "shadow-%s-time"
	// ShadowReportDataCache set report cache  ex: shadow-aaa-report : "{"apps": []}"
	ShadowReportDataCache = "shadow-%s-%s-report"
	// CacheReportSetLock set report cache running flag key
	CacheReportSetLock = "cache-report-lock"
	// CacheUpdateReportTimeLock set update report time cache running flag key
	CacheUpdateReportTimeLock = "cache-report-time-lock"
)

Variables

This section is empty.

Functions

func GetShadowReportCacheKey

func GetShadowReportCacheKey(namespace, nodeName string) string

GetShadowReportCacheKey get node report key

func GetShadowReportTimeCacheKey

func GetShadowReportTimeCacheKey(namespace string) string

GetShadowReportTimeCacheKey GetShadowReportTime get namesapce report time key

Types

This section is empty.

Jump to

Keyboard shortcuts

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