Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrSettingsNotBeenLoaded = errors.New("agent: settings has not been initialized")
)
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { Zk *util.ZkClient Debug bool Server string Token string Port int ProfileEnabled bool ProfileEnabledStr string K8sEnabled bool K8sCluster bool K8sNodeName string K8sPodName string K8sPodIp string K8sNamespace string Workspace string LoggingDir string PluginDir string IsFromDocker bool Client api.Client VolumesStr string Volumes []*domain.DockerVolume AppCtx context.Context Cancel context.CancelFunc // contains filtered or unexported fields }
Manager to handle server connection and config
func (*Manager) FetchProfile ¶
func (m *Manager) FetchProfile() *domain.AgentProfile
Click to show internal directories.
Click to hide internal directories.