core

package
v0.0.0-...-5c7ffcf Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BusyboxLocalPath = "/usr/local/holoinsight/agent/bin/busybox"
View Source
var BusyboxPath = "/tmp/holoinsight/busybox"
View Source
var HelperToolLocalPath = "/usr/local/holoinsight/agent/bin/helper"
View Source
var HelperToolPath = "/tmp/holoinsight/helper"

Functions

func FindFirstSockInHostfs

func FindFirstSockInHostfs(env string, defaultAddrs ...string) string

func GetHostfs

func GetHostfs() string

Types

type AgentMode

type AgentMode string
const (
	AgentModeSidecar      AgentMode = "sidecar"
	AgentModeDaemonset    AgentMode = "daemonset"
	AgentModeClusteragent AgentMode = "clusteragent"
	AgentModeCentral      AgentMode = "central"
)

func ParseAgentMode

func ParseAgentMode(mode string) (AgentMode, error)

type HelperBaseResp

type HelperBaseResp struct {
	Success bool   `json:"success"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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