Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupJob ¶
type BackupJob struct { XMLName xml.Name `xml:"BACKUPJOB"` ID int `xml:"ID,omitempty"` UID int `xml:"UID,omitempty"` GID int `xml:"GID,omitempty"` UName string `xml:"UNAME,omitempty"` GName string `xml:"GNAME,omitempty"` Name string `xml:"NAME"` LockInfos *shared.Lock `xml:"LOCK,omitempty"` Permissions *shared.Permissions `xml:"PERMISSIONS,omitempty"` Priority int `xml:"PRIORITY,omitempty"` LastBackupTime int `xml:"LAST_BACKUP_TIME,omitempty"` LastBackupDuration int `xml:"LAST_BACKUP_DURATION,omitempty"` UpdatedVMs shared.EntitiesID `xml:"UPDATED_VMS,omitempty"` OutdatedVMs shared.EntitiesID `xml:"OUTDATED_VMS,omitempty"` BackingUpVMs shared.EntitiesID `xml:"BACKING_UP_VMS,omitempty"` ErrorVMs shared.EntitiesID `xml:"ERROR_VMS,omitempty"` Template Template `xml:"TEMPLATE"` }
BackupJob represents an OpenNebula Backup Job
type Pool ¶
type Pool struct { XMLName xml.Name `xml:"BACKUPJOB_POOL"` BackupJobs []BackupJob `xml:"BACKUPJOB"` }
Pool represents an OpenNebula Backup Job pool
type SchedAction ¶
func (*SchedAction) Add ¶
func (t *SchedAction) Add(key keys.SchedAction, value interface{})
Add adds a SchedAction key, value pair
func (*SchedAction) Get ¶
func (t *SchedAction) Get(key keys.SchedAction) (string, error)
Get retrieve a SchedAction key
type Template ¶
Template is the dynamic part of the Backup Job entity
func (*Template) GetSchedActions ¶
func (t *Template) GetSchedActions() []SchedAction
GetSchedActions allow to get Scheduled Actions from Template
Click to show internal directories.
Click to hide internal directories.