Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BackupSet ¶ added in v0.0.2
type BackupSet struct { ID uint IsValid bool Size int64 BackupTime time.Time ResourceID uint Retention int }
func GetBackupSet ¶ added in v0.0.2
func (*BackupSet) SetAvailability ¶ added in v0.0.2
func (*BackupSet) SetBackupTime ¶ added in v0.0.2
type NasResourceArgs ¶ added in v0.0.2
type NasResourceArgs struct {
Dir string `json:"dir"`
}
type Policy ¶ added in v0.0.2
func GetPolicyByResource ¶ added in v0.0.2
type PolicyStatus ¶ added in v0.0.2
type PolicyStatus string
const ( Enabled PolicyStatus = "enabled" Disabled PolicyStatus = "disabled" )
type ResourceType ¶ added in v0.0.2
type ResourceType string
const ( NAS ResourceType = "nas" Database ResourceType = "database" )
Click to show internal directories.
Click to hide internal directories.