Documentation
¶
Index ¶
- Constants
- type Instance
- type Manager
- func (m *Manager) DeleteInstance(instanceID string) error
- func (m *Manager) GenerateInstanceID() string
- func (m *Manager) GetInstance(instanceID string) (*Instance, error)
- func (m *Manager) GetInstanceByFilename(filename string) (*Instance, error)
- func (m *Manager) GetInstanceCacheFile(instanceID string) string
- func (m *Manager) ListInstances() ([]Instance, error)
Constants ¶
View Source
const ( // InstanceLabelKey is the key used to label AWS instances InstanceLabelKey = "holodeck-instance-id" // InstanceProvisionedLabelKey is the key used to label AWS instances with their provisioning status InstanceProvisionedLabelKey = "holodeck-instance-provisioned" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct {
ID string
Name string
Provider v1alpha1.Provider
CreatedAt time.Time
Status string
CacheFile string
Provisioned bool
}
Instance represents a running Holodeck instance
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles instance operations
func NewManager ¶
NewManager creates a new instance manager
func (*Manager) DeleteInstance ¶
DeleteInstance removes an instance
func (*Manager) GenerateInstanceID ¶
GenerateInstanceID creates a unique ID for a new instance
func (*Manager) GetInstance ¶
GetInstance returns details for a specific instance
func (*Manager) GetInstanceByFilename ¶
GetInstanceByFilename returns details for a specific instance by its filename
func (*Manager) GetInstanceCacheFile ¶
GetInstanceCacheFile returns the cache file path for an instance
func (*Manager) ListInstances ¶
ListInstances returns all running instances
Click to show internal directories.
Click to hide internal directories.