Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type ActivateWorkflowInput ¶
type ActivateWorkflowInput struct {
ProjectID uuid.UUID
AgentID uuid.UUID
Name string
Type string
RoleSlug string
RoleName string
RoleDescription string
PlatformAccessAllowed []string
SkillNames []string
HarnessPath string
HarnessContent string
MaxConcurrent int
MaxRetryAttempts int
TimeoutMinutes int
StallTimeoutMinutes int
IsActive bool
PickupStatusIDs []uuid.UUID
FinishStatusIDs []uuid.UUID
}
type ActivationResult ¶
type ActivationResult struct {
ProjectID uuid.UUID
RoleSlug string
Agent catalogdomain.Agent
Workflow ActivationWorkflow
BootstrapTicket BootstrapTicketResult
}
type ActivationService ¶
type ActivationService struct {
// contains filtered or unexported fields
}
func NewActivationService ¶
func NewActivationService( catalog activationCatalog, workflows activationWorkflows, statuses activationStatuses, tickets activationTickets, ) *ActivationService
func (*ActivationService) Activate ¶
func (s *ActivationService) Activate( ctx context.Context, input hrdomain.ActivateRecommendationInput, ) (ActivationResult, error)
type ActivationTicket ¶
type ActivationWorkflow ¶
type ActivationWorkflow struct {
ID uuid.UUID
ProjectID uuid.UUID
AgentID *uuid.UUID
Name string
Type string
RoleSlug string
RoleName string
RoleDescription string
PlatformAccessAllowed []string
HarnessPath string
HarnessContent string
MaxConcurrent int
MaxRetryAttempts int
TimeoutMinutes int
StallTimeoutMinutes int
Version int
IsActive bool
PickupStatusIDs []uuid.UUID
FinishStatusIDs []uuid.UUID
}
type BootstrapTicketResult ¶
type BootstrapTicketResult struct {
Requested bool
Status string
Message string
Ticket *ActivationTicket
}
Click to show internal directories.
Click to hide internal directories.