options

package
v0.0.0-...-6410feb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL