Versions in this module Expand all Collapse all v6 v6.1.0 May 4, 2024 Changes in this version + const TypeBucket + const TypeContainer + const TypeCustom + const TypeUnknown + const TypeVM + const WorkingDirPrefix + func ConfigToInstanceDBArgs(state *state.State, c *config.Config, projectName string, applyProfiles bool) (*db.InstanceArgs, error) + func ParseConfigYamlFile(path string) (*config.Config, error) + func TarReader(r io.ReadSeeker, sysOS *sys.OS, outputPath string) (*tar.Reader, context.CancelFunc, error) + func UpdateInstanceConfig(c *db.Cluster, b Info, mountPath string) error + type BucketBackup struct + func NewBucketBackup(s *state.State, projectName, poolName, bucketName string, ID int, name string, ...) *BucketBackup + func (b *BucketBackup) Delete() error + func (b *BucketBackup) Rename(newName string) error + func (b *BucketBackup) Render() *api.StorageBucketBackup + type CommonBackup struct + func (b *CommonBackup) CompressionAlgorithm() string + func (b *CommonBackup) Name() string + func (b *CommonBackup) OptimizedStorage() bool + func (b *CommonBackup) SetCompressionAlgorithm(compression string) + type Info struct + Backend string + Config *config.Config + Name string + OptimizedHeader *bool + OptimizedStorage *bool + Pool string + Project string + Snapshots []string + Type Type + func GetInfo(r io.ReadSeeker, sysOS *sys.OS, outputPath string) (*Info, error) + type Instance interface + Name func() string + Operation func() *operations.Operation + Project func() api.Project + type InstanceBackup struct + func NewInstanceBackup(state *state.State, inst Instance, ID int, name string, creationDate time.Time, ...) *InstanceBackup + func (b *InstanceBackup) Delete() error + func (b *InstanceBackup) Instance() Instance + func (b *InstanceBackup) InstanceOnly() bool + func (b *InstanceBackup) Rename(newName string) error + func (b *InstanceBackup) Render() *api.InstanceBackup + type Type string + func InstanceTypeToBackupType(instanceType api.InstanceType) Type + type VolumeBackup struct + func NewVolumeBackup(state *state.State, projectName, poolName, volumeName string, ID int, ...) *VolumeBackup + func (b *VolumeBackup) Delete() error + func (b *VolumeBackup) OptimizedStorage() bool + func (b *VolumeBackup) Rename(newName string) error + func (b *VolumeBackup) Render() *api.StoragePoolVolumeBackup + func (b *VolumeBackup) VolumeOnly() bool Other modules containing this package github.com/lxc/incus