command

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 9 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
	FsDriver                 string
	SyncRemove               bool
	EnableMetrics            bool
	MetricsFile              string
	EnableStargz             bool
	DisableCacheManager      bool
	LogToStdout              bool
	EnableNydusOverlayFS     bool
	NydusdThreadNum          int
	CleanupOnClose           bool
	KubeconfigPath           string
	EnableKubeconfigKeychain bool
	RecoverPolicy            string
	PrintVersion             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