Documentation ¶
Index ¶
Constants ¶
View Source
const ( Opa = "opa" FileChange = "filechange" Prometheus = "prometheus" BaseFile = "basefile" Data = "data" Sysctl = "sysctl" Systemd = "systemd" FileFilter = "filefilter" ServiceConnect = "serviceconnect" Component = "component" CustomCommand = "customcommand" NodeInfo = "nodeinfo" )
View Source
const ( Cpu = "cpu" Memory = "memory" Filesystem = "filesystem" LoadAvg = "loadavg" Inode = "inode" )
View Source
const ( LabelName = "kubeeye.kubesphere.io/name" LabelPlanName = "kubeeye.kubesphere.io/plan-name" LabelRuleType = "kubeeye.kubesphere.io/rule-type" LabelTaskName = "kubeeye.kubesphere.io/task-name" LabelNodeName = "kubeeye.kubesphere.io/node-name" LabelConfigType = "kubeeye.kubesphere.io/config-type" LabelRuleGroup = "kubeeye.kubesphere.io/rule-group" LabelInspectRuleGroup = "kubeeye.kubesphere.io/inspect-rule-group" LabelSystemWorkspace = "kubesphere.io/workspace" )
View Source
const ( AnnotationStartTime = "kubeeye.kubesphere.io/task-start-time" AnnotationEndTime = "kubeeye.kubesphere.io/task-end-time" AnnotationInspectPolicy = "kubeeye.kubesphere.io/task-inspect-policy" AnnotationJoinPlanNum = "kubeeye.kubesphere.io/join-plan-num" AnnotationJoinRuleNum = "kubeeye.kubesphere.io/join-rule-num" AnnotationDescription = "kubeeye.kubesphere.io/description" AnnotationInspectType = "kubeeye.kubesphere.io/inspect-type" )
View Source
const ( ProcPathPrefix = "/hosts/proc" RootPathPrefix = "/hosts/root" ResultPathPrefix = "/kubeeye/data" )
View Source
const AuditorServiceAddrConfigMap = "auditor-service-addr"
View Source
const BaseFilePrefix = "kubeeye-base-file"
View Source
const (
DefaultNamespace = "kubeeye-system"
)
View Source
const DefaultTimeout = 10 * time.Minute
Variables ¶
View Source
var SystemNamespaces = []string{"kubesphere-system", "kubesphere-logging-system", "kubesphere-monitoring-system", "openpitrix-system", "kube-system", "istio-system", "kubesphere-devops-system", "porter-system"}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.