command

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDaemonMode string = "multiple"
	FsDriverFusedev   string = "fusedev"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Address                  string `toml:"address"`
	LogLevel                 string `toml:"log_level"`
	LogDir                   string `toml:"log_dir"`
	ConfigPath               string `toml:"config_path"`
	RootDir                  string `toml:"root_dir"`
	CacheDir                 string `toml:"cache_dir"`
	GCPeriod                 string `toml:"gc_period"`
	ValidateSignature        bool   `toml:"validate_signature"`
	PublicKeyFile            string `toml:"public_key_file"`
	ConvertVpcRegistry       bool   `toml:"convert_vpc_registry"`
	NydusdBinaryPath         string `toml:"nydusd_binary_path"`
	NydusImageBinaryPath     string `toml:"nydus_image_binary_path"`
	SharedDaemon             bool   `toml:"-"`
	DaemonMode               string `toml:"daemon_mode"`
	FsDriver                 string `toml:"fs_driver"`
	SyncRemove               bool   `toml:"sync_remove"`
	MetricsAddress           string `toml:"metrics_address"`
	MetricsFile              string `toml:"metrics_file"`
	EnableStargz             bool   `toml:"enable_stargz"`
	DisableCacheManager      bool   `toml:"disable_cache_manager"`
	LogToStdout              bool   `toml:"log_to_stdout"`
	EnableNydusOverlayFS     bool   `toml:"enable_nydus_overlay_fs"`
	NydusdThreadNum          int    `toml:"nydusd_thread_num"`
	CleanupOnClose           bool   `toml:"cleanup_on_close"`
	KubeconfigPath           string `toml:"kubeconfig_path"`
	EnableKubeconfigKeychain bool   `toml:"enable_kubeconfig_keychain"`
	RecoverPolicy            string `toml:"recover_policy"`
	PrintVersion             bool   `toml:"-"`
	EnableSystemController   bool
	EnableCRIKeychain        bool   `toml:"enable_cri_keychain"`
	ImageServiceAddress      string `toml:"image_service_address"`
}

type Flags

type Flags struct {
	Args *Args
	F    []cli.Flag
}

func NewFlags

func NewFlags() *Flags

Jump to

Keyboard shortcuts

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