Documentation
¶
Overview ¶
Package responseobserver governs secondary agents that may observe response post-conditions.
Index ¶
Constants ¶
View Source
const MaxBindingLifetime = 24 * time.Hour
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignInput ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(store ports.ResponseObserverBindingAuditStore, agents ports.FleetAgentStore, bindings ports.TelemetryAssetBindingLister, audit ports.IdempotentAuditLogger, clock ports.Clock) (*Service, error)
func (*Service) Assign ¶
func (s *Service) Assign(ctx context.Context, input AssignInput) (fleetagent.ResponseObserverBinding, error)
Assign authorizes one independently enrolled agent to observe a canonical asset. The assignment is operator-owned and cannot be inferred from agent-supplied heartbeat or inventory fields.
Click to show internal directories.
Click to hide internal directories.