command

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(args *Args, cfg *config.Config) error

Types

type Args

type Args struct {
	Address              string
	LogLevel             string
	LogDir               string
	ConfigPath           string
	RootDir              string
	CacheDir             string
	GCPeriod             string
	ValidateSignature    bool
	PublicKeyFile        string
	ConvertVpcRegistry   bool
	NydusdBinaryPath     string
	NydusImageBinaryPath string
	SharedDaemon         bool
	DaemonMode           string
	AsyncRemove          bool
	EnableMetrics        bool
	MetricsFile          string
	EnableStargz         bool
	DisableCacheManager  bool
	LogToStdout          bool
	EnableNydusOverlayFS bool
	NydusdThreadNum      int
	CleanupOnClose       bool
}

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