Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

687 B
Raw Blame
package tools

import "context"

// AgentProfileManager manages centralized agent profiles and assignments.
type AgentProfileManager interface {
	ApplyAgentScope(ctx context.Context, agentID, agentLabel string, settings map[string]interface{}) (profileID, profileName string, created bool, err error)
	AssignProfile(ctx context.Context, agentID, profileID string) (profileName string, err error)
	GetAgentScope(ctx context.Context, agentID string) (*AgentScope, error)
}

// AgentScope summarizes profile scope applied to an agent.
type AgentScope struct {
	AgentID        string
	ProfileID      string
	ProfileName    string
	ProfileVersion int
	Settings       map[string]interface{}
}