package
5.1.1+incompatible
Repository: https://github.com/logicmonitor/k8s-argus.git
Documentation: pkg.go.dev

# Functions

GetCollectorID - get collectorID from csc.
GetConflictCategoryByResourceType return conflict system category by its respetive type.
GetDesiredDisplayNameByResourceAndConfig returns desired display name based on FullDisplayNameIncludeClusterName and FullDisplayNameIncludeNamespace properties.
GetDisplayNameWithNamespace return displayName in the format - name-type-namespace.
GetFullDisplayName returns complete display name for a device.
GetLabelByPrefix takes a list of labels returns the first label matching the specified prefix.
GetNameWithResourceTypeAndNamespace return name with resource_type and namespace.
GetPropertyValue get device property value by property name.
GetShortUUID returns short ids.
IsConflictingDevice checks wheather there is conflicts in device names.
LogDeleteEventLatency logs latency of receiving delete event to argus.
SelfLink utility to create self links.
TrimName it will trim the name to 244 char if greater than 244.
WatcherContext adds metadata in LMContext.