Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkpoint ¶
type CheckpointParam ¶
type CheckpointParam struct { // Describes whether automatic triggering is enabled // Default: false AutoTrigger bool `json:"auto_trigger,omitempty"` // Backup description Description string `json:"description,omitempty"` // Whether bacup is incremental or not // Default: true Incremental bool `json:"incremental,omitempty"` // Backup name Name string `json:"name,omitempty"` // UUID list of resources to be backed up Resources []string `json:"resources,omitempty"` // Additional information on Resource ResourceDetails []Resource `json:"resource_details,omitempty"` }
type CheckpointResources ¶
type CheckpointResources struct { ExtraInfo string `json:"extra_info"` ID string `json:"id"` Name string `json:"name"` ProtectStatus string `json:"protect_status"` ResourceSize string `json:"resource_size"` Type string `json:"type"` BackupSize string `json:"backup_size"` BackupCount string `json:"backup_count"` }
type CreateOpts ¶
type CreateOpts struct { // ID of the vault VaultID string `json:"vault_id" required:"true"` // Checkpoint parameters Parameters CheckpointParam `json:"parameters,omitempty"` }
func (CreateOpts) ToCheckpointCreateMap ¶
func (opts CreateOpts) ToCheckpointCreateMap() (map[string]interface{}, error)
type CreateOptsBuilder ¶
type CreateResult ¶
type CreateResult struct {
// contains filtered or unexported fields
}
func Create ¶
func Create(client *golangsdk.ServiceClient, opts CreateOptsBuilder) (r CreateResult)
func (CreateResult) Extract ¶
func (r CreateResult) Extract() (*Checkpoint, error)
type GetResult ¶
type GetResult struct {
// contains filtered or unexported fields
}
func (GetResult) Extract ¶
func (r GetResult) Extract() (*Checkpoint, error)
type SkippedResources ¶
type Vault ¶
type Vault struct { ID string `json:"id"` Name string `json:"name"` Resources []CheckpointResources `json:"resources"` SkippedResources []SkippedResources `json:"skipped_resources"` }
Click to show internal directories.
Click to hide internal directories.