Versions in this module Expand all Collapse all v0 v0.0.1 Sep 3, 2017 Changes in this version + func Decrypt(file, pass string) error + func Encrypt(file, pass string) error + func GetSwiftClient(opts SwiftAuthOpts) (*gophercloud.ServiceClient, error) + func SwiftCreateContainer(client *gophercloud.ServiceClient, name string, create, archive bool) error + type ErrObjectDoesNotExist struct + func (e ErrObjectDoesNotExist) Error() string + type LXDConfig struct + Config *lxd_config.Config + ConfigDirectory string + RemoteName string + func NewLXDConfig(c LXDConfig) (LXDConfig, error) + func (r LXDConfig) GetContainerServer() (lxd.ContainerServer, error) + func (r LXDConfig) GetImageServer() (lxd.ImageServer, error) + type LXDDownloadOpts struct + Fingerprint string + Name string + TmpDir string + type LXDDownloadResult struct + MetaFilename string + RootfsFilename string + func LXDDownloadImage(lxdConfig LXDConfig, opts LXDDownloadOpts) (*LXDDownloadResult, error) + type LXDImportOpts struct + Aliases []string + MetaFilename string + Name string + RootfsFilename string + TmpDir string + type LXDImportResult struct + Fingerprint string + func LXDImportImage(lxdConfig LXDConfig, opts LXDImportOpts) (*LXDImportResult, error) + type LXDPublishOpts struct + CompressionAlgorithm string + Name string + Properties *map[string]string + Stop bool + type LXDPublishResult struct + Fingerprint string + func LXDPublishImage(lxdConfig LXDConfig, opts LXDPublishOpts) (*LXDPublishResult, error) + type SwiftAuthOpts struct + CACert string + DomainID string + DomainName string + IdentityEndpoint string + Insecure bool + Password string + RegionName string + Swauth bool + TenantID string + TenantName string + TokenID string + UserID string + Username string + type SwiftDownloadOpts struct + Filename string + ObjectName string + StorageContainer string + type SwiftDownloadResult struct + Headers *objects.DownloadHeader + func SwiftDownloadObject(client *gophercloud.ServiceClient, opts SwiftDownloadOpts) (*SwiftDownloadResult, error) + type SwiftUploadOpts struct + ObjectName string + SourceName string + StorageContainer string + type SwiftUploadResults struct + Headers *objects.CreateHeader + func SwiftUploadObject(client *gophercloud.ServiceClient, opts SwiftUploadOpts) (*SwiftUploadResults, error)