Documentation
¶
Overview ¶
Package virtual implements the Virtual Models service.
Responsibilities:
- CRUD operations for Agent records
- Validation of virtual model configurations
- Aggregated limits and capabilities across the fall-through list
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service manages virtual model records.
func (*Service) Create ¶
func (s *Service) Create(vm *models.VirtualModel) error
Create creates a new virtual model with a slug ID derived from its name.
func (*Service) Get ¶
func (s *Service) Get(id string) (*models.VirtualModel, error)
Get retrieves a virtual model by ID.
Click to show internal directories.
Click to hide internal directories.