Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnOptionsChange ¶
func OnOptionsChange(oldO, newO interface{}) bool
Types ¶
type SImageOptions ¶
type SImageOptions struct { common_options.HostCommonOptions common_options.DBOptions pending_delete.SPendingDeleteOptions DefaultImageQuota int `default:"10" help:"Common image quota per tenant, default 10"` PortV2 int `help:"Listening port for region V2"` FilesystemStoreDatadir string `help:"Directory that the Filesystem backend store writes image data to"` TorrentStoreDir string `help:"directory to store image torrent files"` EnableTorrentService bool `help:"Enable torrent service" default:"false"` TargetImageFormats []string `help:"target image formats that the system will automatically convert to" default:"qcow2"` TorrentClientPath string `help:"path to torrent executable" default:"/opt/yunion/bin/torrent"` StorageDriver string `help:"image backend storage" default:"local" choices:"s3|local"` S3AccessKey string `help:"s3 access key"` S3SecretKey string `help:"s3 secret key"` S3Endpoint string `help:"s3 endpoint"` S3UseSSL bool `help:"s3 access use ssl"` S3BucketName string `help:"s3 bucket name" default:"onecloud-images"` S3MountPoint string `help:"s3fs mount point" default:"/opt/cloud/workspace/data/glance/s3images"` S3CheckImageStatus bool `help:"Enable s3 check image status"` }
var (
Options SImageOptions
)
Click to show internal directories.
Click to hide internal directories.